/drivers/usb/host/ |
D | ehci-sched.c | 215 ps->usecs, ps->c_usecs, ps->cs_mask); in bandwidth_dbg() 223 int usecs = qh->ps.usecs; in reserve_release_intr_bandwidth() local 235 usecs = -usecs; in reserve_release_intr_bandwidth() 243 ehci->bandwidth[i] += usecs; in reserve_release_intr_bandwidth() 388 unsigned usecs = ps->tt_usecs; in tt_available() local 398 if (tt->bandwidth[frame] + usecs > 900) in tt_available() 413 if (usecs > 125) { in tt_available() 414 int ufs = (usecs / 125); in tt_available() 421 tt_usecs[uframe] += usecs; in tt_available() 555 qh, qh->ps.phase, qh->ps.usecs, qh->ps.c_usecs); in qh_link_periodic() [all …]
|
D | fotg210-hcd.c | 520 (scratch >> 8) & 0x000f, type, qh->usecs, in output_buf_tds_dir() 2777 qh->usecs = NS_TO_US(usb_calc_bus_time(USB_SPEED_HIGH, in qh_make() 2806 qh->c_usecs = qh->usecs + HS_USECS(0); in qh_make() 2807 qh->usecs = HS_USECS(1); in qh_make() 2809 qh->usecs += HS_USECS(1); in qh_make() 3365 unsigned usecs = 0; in periodic_usecs() local 3374 usecs += q->qh->usecs; in periodic_usecs() 3378 usecs += q->qh->c_usecs; in periodic_usecs() 3395 usecs += q->itd->stream->usecs; in periodic_usecs() 3401 if (usecs > fotg210->uframe_periodic_max) in periodic_usecs() [all …]
|
D | oxu210hp-hcd.c | 1384 qh->usecs = NS_TO_US(usb_calc_bus_time(USB_SPEED_HIGH, in qh_make() 1413 qh->c_usecs = qh->usecs + HS_USECS(0); in qh_make() 1414 qh->usecs = HS_USECS(1); in qh_make() 1416 qh->usecs += HS_USECS(1); in qh_make() 1846 unsigned usecs = 0; in periodic_usecs() local 1854 usecs += q->qh->usecs; in periodic_usecs() 1857 usecs += q->qh->c_usecs; in periodic_usecs() 1864 if (usecs > 100) in periodic_usecs() 1866 frame * 8 + uframe, usecs); in periodic_usecs() 1868 return usecs; in periodic_usecs() [all …]
|
D | fotg210.h | 457 u8 usecs; /* intr bandwidth */ member 515 u8 usecs, c_usecs; member
|
D | ehci-q.c | 811 qh->ps.usecs = NS_TO_US(usb_calc_bus_time(USB_SPEED_HIGH, in qh_make() 847 qh->ps.c_usecs = qh->ps.usecs + HS_USECS(0); in qh_make() 848 qh->ps.usecs = HS_USECS(1); in qh_make() 850 qh->ps.usecs += HS_USECS(1); in qh_make()
|
D | oxu210hp.h | 315 u8 usecs; /* intr bandwidth */ member
|
D | ehci.h | 72 u8 usecs, c_usecs; /* times on the HS bus */ member
|
/drivers/spi/ |
D | spi-lp8841-rtc.c | 77 unsigned usecs, unsigned cpol, unsigned flags, in bitbang_txrx_be_cpha0_lsb() argument 90 usleep_range(usecs, usecs + 1); /* T(setup) */ in bitbang_txrx_be_cpha0_lsb() 98 usleep_range(usecs, usecs + 1); in bitbang_txrx_be_cpha0_lsb()
|
D | spi-sc18is602.c | 61 int usecs = 1000000 * len / hw->speed + 1; in sc18is602_wait_ready() local 68 usleep_range(usecs, usecs * 2); in sc18is602_wait_ready()
|
/drivers/media/platform/vivid/ |
D | vivid-cec.c | 113 dev->cec_xfer_time_jiffies = usecs_to_jiffies(cw->usecs); in vivid_cec_xfer_try_worker() 146 cw->usecs = CEC_FREE_TIME_TO_USEC(signal_free_time) + in vivid_cec_adap_transmit() 155 dev->cec_xfer_time_jiffies = usecs_to_jiffies(cw->usecs); in vivid_cec_adap_transmit()
|
D | vivid-core.h | 142 unsigned int usecs; member
|
/drivers/cpufreq/ |
D | sparc-us2e-cpufreq.c | 104 unsigned long usecs; in frob_mem_refresh() local 109 usecs = (MCTRL0_REFR_CLKS_P_CNT * in frob_mem_refresh() 113 udelay(usecs + 1UL); in frob_mem_refresh()
|
/drivers/media/radio/si4713/ |
D | si4713.c | 169 static int usecs_to_dev(unsigned long usecs, unsigned long const array[], in usecs_to_dev() argument 176 if (array[(i * 2) + 1] >= usecs) { in usecs_to_dev() 208 u8 response[], const int respn, const int usecs) in si4713_send_command() argument 230 until_jiffies = jiffies + usecs_to_jiffies(usecs) + 1; in si4713_send_command() 235 usecs_to_jiffies(usecs) + 1)) in si4713_send_command() 256 if (usecs <= 1000) in si4713_send_command() 257 usleep_range(usecs, 1000); in si4713_send_command() 507 static int si4713_wait_stc(struct si4713_device *sdev, const int usecs) in si4713_wait_stc() argument 515 !wait_for_completion_timeout(&sdev->work, usecs_to_jiffies(usecs) + 1)) in si4713_wait_stc() 534 if (jiffies_to_usecs(jiffies - start_jiffies) > usecs) in si4713_wait_stc()
|
/drivers/staging/media/lirc/ |
D | lirc_sir.c | 182 static void safe_udelay(unsigned long usecs) in safe_udelay() argument 184 while (usecs > MAX_UDELAY_US) { in safe_udelay() 186 usecs -= MAX_UDELAY_US; in safe_udelay() 188 udelay(usecs); in safe_udelay()
|
D | lirc_serial.c | 300 static void safe_udelay(unsigned long usecs) in safe_udelay() argument 302 while (usecs > MAX_UDELAY_US) { in safe_udelay() 304 usecs -= MAX_UDELAY_US; in safe_udelay() 306 udelay(usecs); in safe_udelay()
|
/drivers/net/vmxnet3/ |
D | vmxnet3_int.h | 438 #define VMXNET3_COAL_RBC_RATE(usecs) (1000000 / usecs) argument
|
/drivers/base/power/ |
D | main.c | 366 int usecs; in dpm_show_time() local 371 usecs = usecs64; in dpm_show_time() 372 if (usecs == 0) in dpm_show_time() 373 usecs = 1; in dpm_show_time() 376 usecs / USEC_PER_MSEC, usecs % USEC_PER_MSEC); in dpm_show_time()
|
/drivers/net/ethernet/sfc/ |
D | efx.h | 207 unsigned int efx_usecs_to_ticks(struct efx_nic *efx, unsigned int usecs);
|
/drivers/net/ethernet/intel/i40evf/ |
D | i40e_txrx.c | 364 int usecs; in i40e_set_new_dynamic_itr() local 381 usecs = (rc->itr << 1) * ITR_COUNTDOWN_START; in i40e_set_new_dynamic_itr() 382 bytes_per_int = rc->total_bytes / usecs; in i40e_set_new_dynamic_itr() 410 if ((((rc->total_packets * 1000000) / usecs) > RX_ULTRA_PACKET_RATE) && in i40e_set_new_dynamic_itr()
|
/drivers/media/rc/ |
D | imon.c | 1163 int usecs = 0; in tv2int() local 1167 usecs = 1000000; in tv2int() 1171 usecs += a->tv_usec - b->tv_usec; in tv2int() 1175 usecs /= 1000; in tv2int() 1176 sec += usecs; in tv2int()
|
/drivers/usb/musb/ |
D | musb_cppi41.c | 299 unsigned long usecs = cppi41_channel->total_len / 10; in cppi41_dma_callback() local 302 ktime_set(0, usecs * NSEC_PER_USEC), in cppi41_dma_callback()
|
/drivers/mfd/ |
D | si476x-cmd.c | 272 const int usecs) in si476x_core_send_command() argument 309 usecs_to_jiffies(usecs) + 1)) in si476x_core_send_command() 324 usecs_to_jiffies(usecs) + 1)) in si476x_core_send_command()
|
/drivers/mmc/host/ |
D | omap.c | 1201 int usecs = 250; in mmc_omap_set_ios() local 1207 while (usecs > 0 && (OMAP_MMC_READ(host, STAT) & 1) == 0) { in mmc_omap_set_ios() 1209 usecs--; in mmc_omap_set_ios()
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e_txrx.c | 876 int usecs; in i40e_set_new_dynamic_itr() local 893 usecs = (rc->itr << 1) * ITR_COUNTDOWN_START; in i40e_set_new_dynamic_itr() 894 bytes_per_int = rc->total_bytes / usecs; in i40e_set_new_dynamic_itr() 922 if ((((rc->total_packets * 1000000) / usecs) > RX_ULTRA_PACKET_RATE) && in i40e_set_new_dynamic_itr()
|
/drivers/gpu/drm/i915/ |
D | intel_sprite.c | 58 int usecs) in intel_usecs_to_scanlines() argument 64 return DIV_ROUND_UP(usecs * adjusted_mode->crtc_clock, in intel_usecs_to_scanlines()
|