Home
last modified time | relevance | path

Searched refs:usecs (Results 1 – 25 of 34) sorted by relevance

12

/drivers/usb/host/
Dehci-sched.c215 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 …]
Dfotg210-hcd.c520 (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 …]
Doxu210hp-hcd.c1384 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 …]
Dfotg210.h457 u8 usecs; /* intr bandwidth */ member
515 u8 usecs, c_usecs; member
Dehci-q.c811 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()
Doxu210hp.h315 u8 usecs; /* intr bandwidth */ member
Dehci.h72 u8 usecs, c_usecs; /* times on the HS bus */ member
/drivers/spi/
Dspi-lp8841-rtc.c77 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()
Dspi-sc18is602.c61 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/
Dvivid-cec.c113 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()
Dvivid-core.h142 unsigned int usecs; member
/drivers/cpufreq/
Dsparc-us2e-cpufreq.c104 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/
Dsi4713.c169 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/
Dlirc_sir.c182 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()
Dlirc_serial.c300 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/
Dvmxnet3_int.h438 #define VMXNET3_COAL_RBC_RATE(usecs) (1000000 / usecs) argument
/drivers/base/power/
Dmain.c366 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/
Defx.h207 unsigned int efx_usecs_to_ticks(struct efx_nic *efx, unsigned int usecs);
/drivers/net/ethernet/intel/i40evf/
Di40e_txrx.c364 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/
Dimon.c1163 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/
Dmusb_cppi41.c299 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/
Dsi476x-cmd.c272 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/
Domap.c1201 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/
Di40e_txrx.c876 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/
Dintel_sprite.c58 int usecs) in intel_usecs_to_scanlines() argument
64 return DIV_ROUND_UP(usecs * adjusted_mode->crtc_clock, in intel_usecs_to_scanlines()

12