Searched refs:usecs (Results 1 - 18 of 18) sorted by relevance

/drivers/usb/host/
H A Dehci-sched.c132 /* how many of the uframe's 125 usecs are allocated? */
138 unsigned usecs = 0; local
147 usecs += q->qh->usecs;
151 usecs += q->qh->c_usecs;
168 usecs += q->itd->stream->usecs;
178 usecs += q->sitd->stream->usecs;
180 usecs
1296 itd_slot_ok( struct ehci_hcd *ehci, u32 mod, u32 uframe, u8 usecs, u32 period ) argument
[all...]
H A Doxu210hp-hcd.c1387 qh->usecs = NS_TO_US(usb_calc_bus_time(USB_SPEED_HIGH,
1416 qh->c_usecs = qh->usecs + HS_USECS(0);
1417 qh->usecs = HS_USECS(1);
1419 qh->usecs += HS_USECS(1);
1844 /* how many of the uframe's 125 usecs are allocated? */
1850 unsigned usecs = 0; local
1858 usecs += q->qh->usecs;
1861 usecs += q->qh->c_usecs;
1868 if (usecs > 10
2061 check_period(struct oxu_hcd *oxu, unsigned frame, unsigned uframe, unsigned period, unsigned usecs) argument
[all...]
H A Dehci.h381 u8 usecs; /* intr bandwidth */ member in struct:ehci_qh
440 u8 usecs, c_usecs; member in struct:ehci_iso_stream
H A Dehci-q.c835 qh->usecs = NS_TO_US(usb_calc_bus_time(USB_SPEED_HIGH,
865 qh->c_usecs = qh->usecs + HS_USECS (0);
866 qh->usecs = HS_USECS (1);
868 qh->usecs += HS_USECS (1);
H A Doxu210hp.h315 u8 usecs; /* intr bandwidth */ member in struct:ehci_qh
H A Dehci-dbg.c647 p.qh->usecs, p.qh->c_usecs,
/drivers/base/power/
H A Dmain.c194 pr_info("call %s+ returned %d after %Ld usecs\n", dev_name(dev),
366 int usecs; local
371 usecs = usecs64;
372 if (usecs == 0)
373 usecs = 1;
376 usecs / USEC_PER_MSEC, usecs % USEC_PER_MSEC);
/drivers/staging/media/lirc/
H A Dlirc_imon.c569 int usecs = 0; local
573 usecs = 1000000;
577 usecs += a->tv_usec - b->tv_usec;
581 usecs /= 1000;
582 sec += usecs;
H A Dlirc_serial.c346 static void safe_udelay(unsigned long usecs) argument
348 while (usecs > MAX_UDELAY_US) {
350 usecs -= MAX_UDELAY_US;
352 udelay(usecs);
H A Dlirc_sir.c233 static void safe_udelay(unsigned long usecs) argument
235 while (usecs > MAX_UDELAY_US) {
237 usecs -= MAX_UDELAY_US;
239 udelay(usecs);
/drivers/media/radio/
H A Dsi4713-i2c.c178 static int usecs_to_dev(unsigned long usecs, unsigned long const array[], argument
185 if (array[(i * 2) + 1] >= usecs) {
228 * @usecs: amount of time to wait before reading the response (in usecs)
232 u8 response[], const int respn, const int usecs)
255 usecs_to_jiffies(usecs) + 1))
488 * @usecs: timeout to wait for STC interrupt signal
490 static int si4713_wait_stc(struct si4713_device *sdev, const int usecs) argument
497 usecs_to_jiffies(usecs) + 1))
500 __func__, usecs);
230 si4713_send_command(struct si4713_device *sdev, const u8 command, const u8 args[], const int argn, u8 response[], const int respn, const int usecs) argument
[all...]
/drivers/tty/serial/
H A Dbfin_uart.c269 suseconds_t usecs; local
278 usecs = 0;
280 usecs += USEC_PER_SEC;
281 usecs += curr.tv_usec - anomaly_start.tv_usec;
283 if (usecs > UART_GET_ANOMALY_THRESHOLD(uart))
/drivers/media/rc/
H A Dimon.c1063 int usecs = 0; local
1067 usecs = 1000000;
1071 usecs += a->tv_usec - b->tv_usec;
1075 usecs /= 1000;
1076 sec += usecs;
/drivers/mmc/host/
H A Domap.c1281 int usecs = 250; local
1287 while (usecs > 0 && (OMAP_MMC_READ(host, STAT) & 1) == 0) {
1289 usecs--;
/drivers/net/ethernet/sfc/
H A Defx.c1615 static unsigned int irq_mod_ticks(unsigned int usecs, unsigned int quantum_ns) argument
1617 if (usecs == 0)
1619 if (usecs * 1000 < quantum_ns)
1621 return usecs * 1000 / quantum_ns;
/drivers/net/ethernet/freescale/
H A Dgianfar_ethtool.c241 static unsigned int gfar_usecs2ticks(struct gfar_private *priv, unsigned int usecs) argument
260 * if usecs > 0 */
261 return (usecs * 1000 + count - 1) / count;
/drivers/net/wireless/ath/ath9k/
H A Dhw.c117 static u32 ath9k_hw_mac_to_clks(struct ath_hw *ah, u32 usecs) argument
121 return usecs * common->clockrate;
/drivers/ata/
H A Dsata_mv.c94 "IRQ coalescing time threshold in usecs");
1078 unsigned int count, unsigned int usecs)
1089 if (!usecs || !count) {
1093 clks = usecs * COAL_CLOCKS_PER_USEC;
1193 /* ata_port_info(ap, "%s: %u+ usecs\n", __func__, i); */
1077 mv_set_irq_coalescing(struct ata_host *host, unsigned int count, unsigned int usecs) argument

Completed in 594 milliseconds