/drivers/watchdog/ |
D | sp805_wdt.c | 81 u64 load, rate; in wdt_setload() local 91 load = div_u64(rate, 2) * timeout - 1; in wdt_setload() 93 load = (load > LOAD_MAX) ? LOAD_MAX : load; in wdt_setload() 94 load = (load < LOAD_MIN) ? LOAD_MIN : load; in wdt_setload() 97 wdt->load_val = load; in wdt_setload() 99 wdd->timeout = div_u64((load + 1) * 2 + (rate / 2), rate); in wdt_setload() 109 u64 load, rate; in wdt_timeleft() local 114 load = readl_relaxed(wdt->base + WDTVALUE); in wdt_timeleft() 118 load += wdt->load_val + 1; in wdt_timeleft() 121 return div_u64(load, rate); in wdt_timeleft()
|
/drivers/misc/genwqe/ |
D | card_dev.c | 507 struct genwqe_bitstream *load) in do_flash_update() argument 522 if ((load->size & 0x3) != 0) in do_flash_update() 525 if (((unsigned long)(load->data_addr) & ~PAGE_MASK) != 0) in do_flash_update() 529 switch ((char)load->partition) { in do_flash_update() 543 buf = (u8 __user *)load->data_addr; in do_flash_update() 548 blocks_to_flash = load->size / FLASH_BLOCK; in do_flash_update() 549 while (load->size) { in do_flash_update() 556 tocopy = min_t(size_t, load->size, FLASH_BLOCK); in do_flash_update() 586 req->__asiv[24] = load->uid; in do_flash_update() 590 *(__be64 *)&req->__asiv[88] = cpu_to_be64(load->slu_id); in do_flash_update() [all …]
|
/drivers/net/can/softing/ |
D | softing_cs.c | 47 .load = {0x0120, 0x00f600, fw_dir "ldcard.bin",}, 59 .load = {0x0120, 0x00f600, fw_dir "ldcard.bin",}, 71 .load = {0x0120, 0x00f600, fw_dir "ldcard.bin",}, 83 .load = {0x0120, 0x00f600, fw_dir "ldcard2.bin",}, 95 .load = {0x0120, 0x00f600, fw_dir "ldcard.bin",}, 107 .load = {0x0120, 0x00f600, fw_dir "ldcard.bin",}, 119 .load = {0x0120, 0x00f600, fw_dir "ldcard2.bin",}, 131 .load = {0x0120, 0x00f600, fw_dir "ldcard.bin",}, 143 .load = {0x0120, 0x00f600, fw_dir "ldcard2.bin",},
|
D | softing_platform.h | 31 } boot, load, app; member
|
/drivers/usb/host/ |
D | ohci-q.c | 108 static int balance (struct ohci_hcd *ohci, int interval, int load) in balance() argument 120 if (branch < 0 || ohci->load [branch] > ohci->load [i]) { in balance() 125 if ((ohci->load [j] + load) > 900) in balance() 148 ed, ed->branch, ed->load, ed->interval); in periodic_link() 175 ohci->load [i] += ed->load; in periodic_link() 177 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() 285 ohci->load [i] -= ed->load; in periodic_unlink() 287 ohci_to_hcd(ohci)->self.bandwidth_allocated -= ed->load / ed->interval; in periodic_unlink() [all …]
|
D | uhci-q.c | 280 qh->load = usb_calc_bus_time(udev->speed, in uhci_alloc_qh() 613 int highest_load = uhci->load[phase]; in uhci_highest_load() 616 highest_load = max_t(int, highest_load, uhci->load[phase]); in uhci_highest_load() 633 int phase, load; in uhci_check_bandwidth() local 639 load = uhci_highest_load(uhci, phase, qh->period); in uhci_check_bandwidth() 640 if (load < minimax_load) { in uhci_check_bandwidth() 641 minimax_load = load; in uhci_check_bandwidth() 648 if (minimax_load + qh->load > 900) { in uhci_check_bandwidth() 651 qh->period, qh->phase, minimax_load, qh->load); in uhci_check_bandwidth() 663 int load = qh->load; in uhci_reserve_bandwidth() local [all …]
|
D | isp116x-hcd.c | 331 isp116x->load[i] -= ep->load; in finish_request() 335 ep->load / ep->period; in finish_request() 483 u16 load = 0; in start_atl_transfers() local 503 if ((load = isp116x->load[index])) { in start_atl_transfers() 528 len = (MAX_LOAD_LIMIT - load) / byte_time; in start_atl_transfers() 549 load += len * byte_time; in start_atl_transfers() 550 if (load > MAX_LOAD_LIMIT) in start_atl_transfers() 650 static int balance(struct isp116x *isp116x, u16 period, u16 load) in balance() argument 657 if (branch < 0 || isp116x->load[branch] > isp116x->load[i]) { in balance() 661 if ((isp116x->load[j] + load) in balance() [all …]
|
D | sl811-hcd.c | 459 sl811->load[i] -= ep->load; in finish_request() 464 -= ep->load / ep->period; in finish_request() 763 static int balance(struct sl811 *sl811, u16 period, u16 load) in balance() argument 771 if (branch < 0 || sl811->load[branch] > sl811->load[i]) { in balance() 775 if ((sl811->load[j] + load) in balance() 879 ep->load = usb_calc_bus_time(udev->speed, !is_out, in sl811h_urb_enqueue() 911 retval = balance(sl811, ep->period, ep->load); in sl811h_urb_enqueue() 939 sl811->load[i] += ep->load; in sl811h_urb_enqueue() 942 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_show()
|
D | isp1362-hcd.c | 486 ep, ep->branch, ep->load, in finish_request() 487 isp1362_hcd->load[ep->branch], in finish_request() 488 isp1362_hcd->load[ep->branch] - ep->load); in finish_request() 489 isp1362_hcd->load[ep->branch] -= ep->load; in finish_request() 1182 static int balance(struct isp1362_hcd *isp1362_hcd, u16 interval, u16 load) in balance() argument 1190 if (branch < 0 || isp1362_hcd->load[branch] > isp1362_hcd->load[i]) { in balance() 1194 if ((isp1362_hcd->load[j] + load) > MAX_PERIODIC_LOAD) { in balance() 1196 load, j, isp1362_hcd->load[j], MAX_PERIODIC_LOAD); in balance() 1299 ep->load = usb_calc_bus_time(udev->speed, !is_out, in isp1362_urb_enqueue() 1326 retval = balance(isp1362_hcd, ep->interval, ep->load); in isp1362_urb_enqueue() [all …]
|
D | sl811.h | 153 u16 load[PERIODIC_SIZE]; member 184 u16 load; member
|
/drivers/remoteproc/ |
D | remoteproc_internal.h | 43 int (*load)(struct rproc *rproc, const struct firmware *fw); member 92 if (rproc->fw_ops->load) in rproc_load_segments() 93 return rproc->fw_ops->load(rproc, fw); in rproc_load_segments()
|
/drivers/cpufreq/ |
D | cpufreq_governor.c | 70 unsigned int load; in dbs_check_cpu() local 142 load = j_cdbs->prev_load; in dbs_check_cpu() 151 load = 100 * (wall_time - idle_time) / wall_time; in dbs_check_cpu() 152 j_cdbs->prev_load = load; in dbs_check_cpu() 155 if (load > max_load) in dbs_check_cpu() 156 max_load = load; in dbs_check_cpu()
|
D | cpufreq_conservative.c | 47 static void cs_check_cpu(int cpu, unsigned int load) in cs_check_cpu() argument 62 if (load > cs_tuners->up_threshold) { in cs_check_cpu() 85 if (load < cs_tuners->down_threshold) { in cs_check_cpu()
|
/drivers/cpuidle/governors/ |
D | menu.c | 137 static inline int get_loadavg(unsigned long load) in get_loadavg() argument 139 return LOAD_INT(load) * 10 + LOAD_FRAC(load) / 10; in get_loadavg() 175 static inline int performance_multiplier(unsigned long nr_iowaiters, unsigned long load) in performance_multiplier() argument
|
/drivers/media/rc/keymaps/ |
D | Kconfig | 9 don't use a remote controller, or prefer to load the 13 provide the tool and the same RC maps for load from
|
/drivers/media/rc/ |
D | ir-rx51.c | 78 u32 load, match; in init_timing_params() local 80 load = -(lirc_rx51->fclk_khz * 1000 / lirc_rx51->freq); in init_timing_params() 81 match = -(lirc_rx51->duty_cycle * -load / 100); in init_timing_params() 82 omap_dm_timer_set_load(lirc_rx51->pwm_timer, 1, load); in init_timing_params()
|
/drivers/gpu/drm/nouveau/core/engine/graph/fuc/ |
D | gpc.fuc | 301 // $p1 clear on save, set on load 303 // on save it means: "a load will follow this save" 304 // on load it means: "a save preceeded this load" 366 // if load, or a save without a load following, do some
|
D | hub.fuc | 464 // ctx_load - load's a channel's ctxctl data, and selects its vm 482 // load channel header, fetch PGRAPH context pointer 545 // Only executed on the first load of a channel. Might want to look into 594 // $p1 clear on save, set on load 596 // on save it means: "a load will follow this save" 597 // on load it means: "a save preceeded this load"
|
/drivers/ata/ |
D | libata-zpodd.c | 80 if (desc->mech_type == 0 && desc->load == 0 && desc->eject == 1) in zpodd_get_mech_type() 82 else if (desc->mech_type == 1 && desc->load == 0 && desc->eject == 1) in zpodd_get_mech_type()
|
/drivers/gpu/drm/i810/ |
D | i810_drv.c | 63 .load = i810_driver_load,
|
/drivers/gpu/drm/savage/ |
D | savage_drv.c | 55 .load = savage_driver_load,
|
/drivers/leds/trigger/ |
D | Kconfig | 48 This allows LEDs to be controlled by a CPU load average. 50 load average.
|
/drivers/macintosh/ |
D | rack-meter.c | 222 int i, offset, load, cumm, pause; in rackmeter_do_timer() local 235 load = (9 * (total_ticks - idle_ticks)) / total_ticks; in rackmeter_do_timer() 240 u8 ub = (load > i) ? 0xff : 0; in rackmeter_do_timer()
|
/drivers/gpu/drm/r128/ |
D | r128_drv.c | 62 .load = r128_driver_load,
|
/drivers/gpu/host1x/ |
D | dev.h | 76 u32 (*load)(struct host1x_syncpt *syncpt); member 162 return host->syncpt_op->load(sp); in host1x_hw_syncpt_load()
|