| /drivers/misc/genwqe/ |
| A D | card_dev.c | 545 while (load->size) { in do_flash_update() 612 load->retc = req->retc; in do_flash_update() 613 load->attn = req->attn; in do_flash_update() 627 load->size -= tocopy; in do_flash_update() 681 while (load->size) { in do_flash_read() 730 load->retc = cmd->retc; in do_flash_read() 756 load->size -= tocopy; in do_flash_read() 1160 sizeof(load))) in genwqe_ioctl() 1165 if (copy_to_user((void __user *)arg, &load, sizeof(load))) in genwqe_ioctl() 1180 if (copy_from_user(&load, (void __user *)arg, sizeof(load))) in genwqe_ioctl() [all …]
|
| /drivers/watchdog/ |
| A D | sp805_wdt.c | 95 u64 load, rate; in wdt_setload() local 105 load = div_u64(rate, 2) * timeout - 1; in wdt_setload() 107 load = (load > LOAD_MAX) ? LOAD_MAX : load; in wdt_setload() 108 load = (load < LOAD_MIN) ? LOAD_MIN : load; in wdt_setload() 111 wdt->load_val = load; in wdt_setload() 113 wdd->timeout = div_u64((load + 1) * 2 + (rate / 2), rate); in wdt_setload() 123 u64 load; in wdt_timeleft() local 126 load = readl_relaxed(wdt->base + WDTVALUE); in wdt_timeleft() 130 load += (u64)wdt->load_val + 1; in wdt_timeleft() 133 return div_u64(load, wdt->rate); in wdt_timeleft()
|
| /drivers/net/can/softing/ |
| A D | softing_cs.c | 36 .load = {0x0120, 0x00f600, fw_dir "ldcard.bin",}, 48 .load = {0x0120, 0x00f600, fw_dir "ldcard.bin",}, 60 .load = {0x0120, 0x00f600, fw_dir "ldcard.bin",}, 72 .load = {0x0120, 0x00f600, fw_dir "ldcard2.bin",}, 84 .load = {0x0120, 0x00f600, fw_dir "ldcard.bin",}, 96 .load = {0x0120, 0x00f600, fw_dir "ldcard.bin",}, 108 .load = {0x0120, 0x00f600, fw_dir "ldcard2.bin",}, 120 .load = {0x0120, 0x00f600, fw_dir "ldcard.bin",}, 132 .load = {0x0120, 0x00f600, fw_dir "ldcard2.bin",},
|
| /drivers/clk/mvebu/ |
| A D | dove-divider.c | 37 static void dove_load_divider(void __iomem *base, u32 val, u32 mask, u32 load) in dove_load_divider() argument 44 v = (readl_relaxed(base + DIV_CTRL0) & ~(mask | load)) | val; in dove_load_divider() 46 writel_relaxed(v | load, base + DIV_CTRL0); in dove_load_divider() 134 u32 mask, load, div; in dove_set_clock() local 146 load = BIT(dc->div_bit_load); in dove_set_clock() 149 dove_load_divider(dc->base, div, mask, load); in dove_set_clock()
|
| /drivers/clocksource/ |
| A D | timer-sp804.c | 41 .load = TIMER_LOAD, 50 .load = HISI_TIMER_LOAD, 120 writel(0xffffffff, clkevt->load); in sp804_clocksource_and_sched_clock_init() 175 writel(common_clkevt->reload, common_clkevt->load); in sp804_set_periodic() 186 writel(next, common_clkevt->load); in sp804_set_next_event() 241 clkevt->load = timer_base + timer->load; in sp804_clkevt_init()
|
| A D | timer-sp.h | 35 int load; member 51 void __iomem *load; member
|
| /drivers/thermal/ |
| A D | cpufreq_cooling.c | 171 u32 load; in get_load() local 180 load = 0; in get_load() 182 load = div64_u64(100 * (delta_time - delta_idle), delta_time); in get_load() 187 return load; in get_load() 242 u32 load; in cpufreq_get_requested_power() local 245 load = get_load(cpufreq_cdev, cpu, i); in cpufreq_get_requested_power() 247 load = 0; in cpufreq_get_requested_power() 249 total_load += load; in cpufreq_get_requested_power()
|
| /drivers/cpufreq/ |
| A D | cpufreq_governor.c | 141 unsigned int load; in dbs_update() local 180 load = j_cdbs->prev_load; in dbs_update() 205 load = j_cdbs->prev_load; in dbs_update() 209 load = 100 * (time_elapsed - idle_time) / time_elapsed; in dbs_update() 211 load = 0; in dbs_update() 213 j_cdbs->prev_load = load; in dbs_update() 223 if (load > max_load) in dbs_update() 224 max_load = load; in dbs_update()
|
| /drivers/gpu/drm/nouveau/dispnv50/ |
| A D | lut.c | 33 void (*load)(struct drm_color_lut *, int, void __iomem *)) in nv50_lut_load() 48 load(in, 1024, mem); in nv50_lut_load() 52 load(in, drm_color_lut_size(blob), mem); in nv50_lut_load()
|
| /drivers/usb/host/ |
| A D | ohci-q.c | 109 static int balance (struct ohci_hcd *ohci, int interval, int load) in balance() argument 121 if (branch < 0 || ohci->load [branch] > ohci->load [i]) { in balance() 126 if ((ohci->load [j] + load) > 900) in balance() 149 ed, ed->branch, ed->load, ed->interval); in periodic_link() 176 ohci->load [i] += ed->load; in periodic_link() 178 ohci_to_hcd(ohci)->self.bandwidth_allocated += ed->load / ed->interval; in periodic_link() 247 branch = balance (ohci, ed->interval, ed->load); in ed_schedule() 251 branch, ed->interval, ed->load); in ed_schedule() 287 ohci->load [i] -= ed->load; in periodic_unlink() 293 ed, ed->branch, ed->load, ed->interval); in periodic_unlink() [all …]
|
| A D | isp116x-hcd.c | 332 isp116x->load[i] -= ep->load; in finish_request() 336 ep->load / ep->period; in finish_request() 484 u16 load = 0; in start_atl_transfers() local 504 load = isp116x->load[index]; in start_atl_transfers() 505 if (load) { in start_atl_transfers() 551 load += len * byte_time; in start_atl_transfers() 552 if (load > MAX_LOAD_LIMIT) in start_atl_transfers() 659 if (branch < 0 || isp116x->load[branch] > isp116x->load[i]) { in balance() 663 if ((isp116x->load[j] + load) in balance() 757 ep->load = usb_calc_bus_time(udev->speed, in isp116x_urb_enqueue() [all …]
|
| A D | uhci-q.c | 632 int phase, load; in uhci_check_bandwidth() local 639 if (load < minimax_load) { in uhci_check_bandwidth() 640 minimax_load = load; in uhci_check_bandwidth() 662 int load = qh->load; in uhci_reserve_bandwidth() local 666 uhci->load[i] += load; in uhci_reserve_bandwidth() 667 uhci->total_load += load; in uhci_reserve_bandwidth() 686 qh->period, qh->phase, load); in uhci_reserve_bandwidth() 695 int load = qh->load; in uhci_release_bandwidth() local 699 uhci->load[i] -= load; in uhci_release_bandwidth() 700 uhci->total_load -= load; in uhci_release_bandwidth() [all …]
|
| A D | sl811-hcd.c | 461 sl811->load[i] -= ep->load; in finish_request() 466 -= ep->load / ep->period; in finish_request() 767 static int balance(struct sl811 *sl811, u16 period, u16 load) in balance() argument 775 if (branch < 0 || sl811->load[branch] > sl811->load[i]) { in balance() 779 if ((sl811->load[j] + load) in balance() 883 ep->load = usb_calc_bus_time(udev->speed, !is_out, in sl811h_urb_enqueue() 915 retval = balance(sl811, ep->period, ep->load); in sl811h_urb_enqueue() 943 sl811->load[i] += ep->load; in sl811h_urb_enqueue() 946 hcd->self.bandwidth_allocated += ep->load / ep->period; in sl811h_urb_enqueue() 1469 seq_printf(s, "%2d [%3d]:\n", i, sl811->load[i]); in sl811h_debug_show()
|
| /drivers/gpu/drm/nouveau/nvkm/subdev/acr/ |
| A D | gp108.c | 54 .load = gm200_flcn_fw_load, 73 .load = gm200_flcn_fw_load, 89 .load = gp108_acr_load_fwif,
|
| A D | gm20b.c | 86 .load = gm200_flcn_fw_load, 104 .load = gm20b_acr_load_fwif, 120 hsfwif = nvkm_firmware_load(subdev, fwif->func->load, "AcrLoad", in gm20b_acr_load()
|
| A D | priv.h | 8 int (*load)(struct nvkm_acr *, int version, member 19 const struct nvkm_acr_hsf_fwif *load; member 75 int (*load)(struct nvkm_acr *, const char *bl, const char *fw, member
|
| /drivers/gpu/drm/nouveau/include/nvkm/core/ |
| A D | firmware.h | 56 for (_next = _list; !_fwif && _next->load; _next++) { \ 67 for (_next = _fwif ? _fwif : _list; _next->load; _next++) { \ 69 _ret = _next->load(p, _fwv, _next); \
|
| /drivers/staging/media/sunxi/sun6i-isp/ |
| A D | sun6i_isp.c | 30 u32 *data = (u32 *)(isp_dev->tables.load.data + offset); in sun6i_isp_load_read() 38 u32 *data = (u32 *)(isp_dev->tables.load.data + offset); in sun6i_isp_load_write() 117 SUN6I_ISP_ADDR_VALUE(isp_dev->tables.load.address)); in sun6i_isp_tables_configure() 138 tables->load.size = variant->table_load_save_size; in sun6i_isp_tables_setup() 139 ret = sun6i_isp_table_setup(isp_dev, &tables->load); in sun6i_isp_tables_setup() 174 sun6i_isp_table_cleanup(isp_dev, &tables->load); in sun6i_isp_tables_cleanup()
|
| /drivers/net/wireless/intel/iwlwifi/mvm/ |
| A D | utils.c | 815 u8 load = iwl_mvm_tcm_load_percentage(airtime, elapsed); in iwl_mvm_tcm_load() local 817 if (load > IWL_MVM_TCM_LOAD_HIGH_THRESH) in iwl_mvm_tcm_load() 819 if (load > IWL_MVM_TCM_LOAD_MEDIUM_THRESH) in iwl_mvm_tcm_load() 982 enum iwl_mvm_traffic_load load, band_load; in iwl_mvm_calc_tcm_stats() local 1005 load = iwl_mvm_tcm_load(mvm, airtime, elapsed); in iwl_mvm_calc_tcm_stats() 1006 mvm->tcm.result.change[mac] = load != mvm->tcm.result.load[mac]; in iwl_mvm_calc_tcm_stats() 1007 mvm->tcm.result.load[mac] = load; in iwl_mvm_calc_tcm_stats() 1037 load = iwl_mvm_tcm_load(mvm, total_airtime, elapsed); in iwl_mvm_calc_tcm_stats() 1038 mvm->tcm.result.global_load = load; in iwl_mvm_calc_tcm_stats() 1051 if (load != IWL_MVM_TRAFFIC_LOW) in iwl_mvm_calc_tcm_stats()
|
| /drivers/staging/fbtft/ |
| A D | fb_uc1611.c | 53 static unsigned int load = 1; variable 54 module_param(load, uint, 0000); 55 MODULE_PARM_DESC(load, "PC[1:0] Panel Loading: 0-3 (default: 1)"); 94 write_reg(par, 0x28 | (load & 0x03)); in init_display()
|
| /drivers/media/rc/keymaps/ |
| A D | Kconfig | 10 don't use a remote controller, or prefer to load the 14 provide the tool and the same RC maps for load from
|
| /drivers/crypto/marvell/cesa/ |
| A D | cesa.h | 467 atomic_t load; member 748 u32 load = atomic_read(&engine->load); in mv_cesa_select_engine() local 750 if (load < min_load) { in mv_cesa_select_engine() 751 min_load = load; in mv_cesa_select_engine() 756 atomic_add(weight, &selected->load); in mv_cesa_select_engine()
|
| /drivers/gpu/drm/nouveau/nvkm/subdev/pmu/ |
| A D | gk20a.c | 68 int *state, int load) in gk20a_pmu_dvfs_get_target_state() argument 77 if (load > data->p_load_max) { in gk20a_pmu_dvfs_get_target_state() 80 level += ((load - data->p_load_target) * 10 / in gk20a_pmu_dvfs_get_target_state()
|
| /drivers/rtc/ |
| A D | rtc-pcf8523.c | 57 u32 load, value = 0; in pcf8523_load_capacitance() local 59 load = 12500; in pcf8523_load_capacitance() 60 of_property_read_u32(node, "quartz-load-femtofarads", &load); in pcf8523_load_capacitance() 62 switch (load) { in pcf8523_load_capacitance() 65 load); in pcf8523_load_capacitance()
|
| /drivers/net/wireless/realtek/rtw89/ |
| A D | acpi.c | 895 .load = rtw89_acpi_geo_sar_load_ ## type, \ 914 .load = rtw89_acpi_sar_load_std_legacy, 926 .load = rtw89_acpi_sar_load_std_has_6ghz, 938 .load = rtw89_acpi_sar_load_std_legacy, 950 .load = rtw89_acpi_sar_load_std_has_6ghz, 962 .load = rtw89_acpi_sar_load_sml_legacy, 974 .load = rtw89_acpi_sar_load_sml_has_6ghz, 1083 rec->load(rtwdev, rec, hdr->content, &tmp); in rtw89_acpi_evaluate_static_sar() 1134 rec->load(rtwdev, rec, content, &tmp); in rtw89_acpi_evaluate_dynamic_sar() 1229 hdl->load(rtwdev, data->buf, regd, &cfg->tables[i].entries[regd]); in rtw89_acpi_evaluate_geo_sar()
|