Home
last modified time | relevance | path

Searched refs:load (Results 1 – 25 of 187) sorted by relevance

12345678

/drivers/misc/genwqe/
Dcard_dev.c503 struct genwqe_bitstream *load) in do_flash_update() argument
518 if ((load->size & 0x3) != 0) in do_flash_update()
521 if (((unsigned long)(load->data_addr) & ~PAGE_MASK) != 0) in do_flash_update()
525 switch ((char)load->partition) { in do_flash_update()
539 buf = (u8 __user *)load->data_addr; in do_flash_update()
544 blocks_to_flash = load->size / FLASH_BLOCK; in do_flash_update()
545 while (load->size) { in do_flash_update()
552 tocopy = min_t(size_t, load->size, FLASH_BLOCK); in do_flash_update()
582 req->__asiv[24] = load->uid; in do_flash_update()
586 *(__be64 *)&req->__asiv[88] = cpu_to_be64(load->slu_id); in do_flash_update()
[all …]
/drivers/watchdog/
Dsp805_wdt.c94 u64 load, rate; in wdt_setload() local
104 load = div_u64(rate, 2) * timeout - 1; in wdt_setload()
106 load = (load > LOAD_MAX) ? LOAD_MAX : load; in wdt_setload()
107 load = (load < LOAD_MIN) ? LOAD_MIN : load; in wdt_setload()
110 wdt->load_val = load; in wdt_setload()
112 wdd->timeout = div_u64((load + 1) * 2 + (rate / 2), rate); in wdt_setload()
122 u64 load; in wdt_timeleft() local
125 load = readl_relaxed(wdt->base + WDTVALUE); in wdt_timeleft()
129 load += wdt->load_val + 1; in wdt_timeleft()
132 return div_u64(load, wdt->rate); in wdt_timeleft()
/drivers/net/can/softing/
Dsofting_cs.c36 .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/thermal/
Dcpufreq_cooling.c146 u32 load; in get_load() local
155 load = 0; in get_load()
157 load = div64_u64(100 * (delta_time - delta_idle), delta_time); in get_load()
162 return load; in get_load()
223 u32 load; in cpufreq_get_requested_power() local
226 load = get_load(cpufreq_cdev, cpu, i); in cpufreq_get_requested_power()
228 load = 0; in cpufreq_get_requested_power()
230 total_load += load; in cpufreq_get_requested_power()
232 load_cpu[i] = load; in cpufreq_get_requested_power()
/drivers/clk/mvebu/
Ddove-divider.c37 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/
Dtimer-sp804.c39 .load = TIMER_LOAD,
48 .load = HISI_TIMER_LOAD,
135 writel(0xffffffff, clkevt->load); in sp804_clocksource_and_sched_clock_init()
190 writel(common_clkevt->reload, common_clkevt->load); in sp804_set_periodic()
201 writel(next, common_clkevt->load); in sp804_set_next_event()
256 clkevt->load = timer_base + timer->load; in sp804_clkevt_init()
Dtimer-sp.h35 int load; member
51 void __iomem *load; member
/drivers/cpufreq/
Dcpufreq_governor.c141 unsigned int load; in dbs_update() local
164 load = j_cdbs->prev_load; in dbs_update()
189 load = j_cdbs->prev_load; in dbs_update()
193 load = 100 * (time_elapsed - idle_time) / time_elapsed; in dbs_update()
210 load = (int)idle_time < 0 ? 100 : 0; in dbs_update()
212 j_cdbs->prev_load = load; in dbs_update()
222 if (load > max_load) in dbs_update()
223 max_load = load; in dbs_update()
/drivers/gpu/drm/nouveau/dispnv50/
Dlut.c33 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/gpu/drm/nouveau/include/nvkm/core/
Dfirmware.h27 for (_next = _list; !_fwif && _next->load; _next++) { \
38 for (_next = _fwif ? _fwif : _list; _next->load; _next++) { \
40 _ret = _next->load(p, _fwv, _next); \
/drivers/gpu/drm/nouveau/nvkm/subdev/acr/
Dgp108.c52 .load = gm200_acr_unload_load,
71 .load = gp102_acr_load_load,
90 .load = gp108_acr_load_fwif,
Dpriv.h8 int (*load)(struct nvkm_acr *, int version, member
19 const struct nvkm_acr_hsf_fwif *load; member
82 int (*load)(struct nvkm_acr *, const char *bl, const char *fw, member
114 int (*load)(struct nvkm_acr *, struct nvkm_acr_hsfw *); member
Dgm20b.c82 .load = gm20b_acr_load_load,
100 .load = gm20b_acr_load_fwif,
116 hsfwif = nvkm_firmware_load(subdev, fwif->func->load, "AcrLoad", in gm20b_acr_load()
/drivers/usb/host/
Dohci-q.c109 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()
289 ohci_to_hcd(ohci)->self.bandwidth_allocated -= ed->load / ed->interval; in periodic_unlink()
[all …]
Disp116x-hcd.c332 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()
530 len = (MAX_LOAD_LIMIT - load) / byte_time; in start_atl_transfers()
551 load += len * byte_time; in start_atl_transfers()
552 if (load > MAX_LOAD_LIMIT) in start_atl_transfers()
652 static int balance(struct isp116x *isp116x, u16 period, u16 load) in balance() argument
659 if (branch < 0 || isp116x->load[branch] > isp116x->load[i]) { in balance()
[all …]
Duhci-q.c279 qh->load = usb_calc_bus_time(udev->speed, in uhci_alloc_qh()
612 int highest_load = uhci->load[phase]; in uhci_highest_load()
615 highest_load = max_t(int, highest_load, uhci->load[phase]); in uhci_highest_load()
632 int phase, load; in uhci_check_bandwidth() local
638 load = uhci_highest_load(uhci, phase, qh->period); in uhci_check_bandwidth()
639 if (load < minimax_load) { in uhci_check_bandwidth()
640 minimax_load = load; in uhci_check_bandwidth()
647 if (minimax_load + qh->load > 900) { in uhci_check_bandwidth()
650 qh->period, qh->phase, minimax_load, qh->load); in uhci_check_bandwidth()
662 int load = qh->load; in uhci_reserve_bandwidth() local
[all …]
Dsl811-hcd.c460 sl811->load[i] -= ep->load; in finish_request()
465 -= ep->load / ep->period; in finish_request()
764 static int balance(struct sl811 *sl811, u16 period, u16 load) in balance() argument
772 if (branch < 0 || sl811->load[branch] > sl811->load[i]) { in balance()
776 if ((sl811->load[j] + load) in balance()
880 ep->load = usb_calc_bus_time(udev->speed, !is_out, in sl811h_urb_enqueue()
912 retval = balance(sl811, ep->period, ep->load); in sl811h_urb_enqueue()
940 sl811->load[i] += ep->load; in sl811h_urb_enqueue()
943 hcd->self.bandwidth_allocated += ep->load / ep->period; in sl811h_urb_enqueue()
1466 seq_printf(s, "%2d [%3d]:\n", i, sl811->load[i]); in sl811h_debug_show()
/drivers/rtc/
Drtc-pcf8523.c95 u32 load; in pcf8523_load_capacitance() local
103 load = 12500; in pcf8523_load_capacitance()
105 &load); in pcf8523_load_capacitance()
107 switch (load) { in pcf8523_load_capacitance()
110 load); in pcf8523_load_capacitance()
/drivers/staging/fbtft/
Dfb_uc1611.c53 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/net/wireless/intel/iwlwifi/mvm/
Dutils.c1034 u8 load = iwl_mvm_tcm_load_percentage(airtime, elapsed); in iwl_mvm_tcm_load() local
1036 if (load > IWL_MVM_TCM_LOAD_HIGH_THRESH) in iwl_mvm_tcm_load()
1038 if (load > IWL_MVM_TCM_LOAD_MEDIUM_THRESH) in iwl_mvm_tcm_load()
1215 enum iwl_mvm_traffic_load load, band_load; in iwl_mvm_calc_tcm_stats() local
1238 load = iwl_mvm_tcm_load(mvm, airtime, elapsed); in iwl_mvm_calc_tcm_stats()
1239 mvm->tcm.result.change[mac] = load != mvm->tcm.result.load[mac]; in iwl_mvm_calc_tcm_stats()
1240 mvm->tcm.result.load[mac] = load; in iwl_mvm_calc_tcm_stats()
1270 load = iwl_mvm_tcm_load(mvm, total_airtime, elapsed); in iwl_mvm_calc_tcm_stats()
1271 mvm->tcm.result.global_change = load != mvm->tcm.result.global_load; in iwl_mvm_calc_tcm_stats()
1272 mvm->tcm.result.global_load = load; in iwl_mvm_calc_tcm_stats()
[all …]
/drivers/media/rc/keymaps/
DKconfig10 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/
Dcesa.h461 atomic_t load; member
741 u32 load = atomic_read(&engine->load); in mv_cesa_select_engine() local
743 if (load < min_load) { in mv_cesa_select_engine()
744 min_load = load; in mv_cesa_select_engine()
749 atomic_add(weight, &selected->load); in mv_cesa_select_engine()
/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/
Dgk20a.c68 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/i2c/busses/
Di2c-qcom-cci.c392 u8 load[12] = { 0 }; in cci_i2c_write() local
407 load[i++] = CCI_I2C_WRITE | len << 4; in cci_i2c_write()
410 load[i++] = buf[j]; in cci_i2c_write()
413 val = load[j]; in cci_i2c_write()
414 val |= load[j + 1] << 8; in cci_i2c_write()
415 val |= load[j + 2] << 16; in cci_i2c_write()
416 val |= load[j + 3] << 24; in cci_i2c_write()
/drivers/gpu/drm/
Ddrm_mode_object.c45 WARN_ON(!dev->driver->load && dev->registered && !obj_free_cb); in __drm_mode_object_add()
107 WARN_ON(!dev->driver->load && dev->registered && !object->free_cb); in drm_mode_object_unregister()
242 WARN_ON(!dev->driver->load && in drm_object_attach_property()
245 WARN_ON(!dev->driver->load && dev->registered); in drm_object_attach_property()

12345678