Searched refs:usec (Results 1 - 25 of 50) sorted by relevance

12

/drivers/usb/phy/
H A Dphy-ulpi-viewport.c32 unsigned long usec = 2000; local
34 while (usec--) {
/drivers/isdn/hardware/eicon/
H A Ddivamnt.c89 void diva_os_get_time(dword *sec, dword *usec) argument
101 *usec = (dword) (tv.tv_usec - start_time.tv_usec);
105 *usec = (dword) (tv.tv_usec - start_time.tv_usec);
107 *usec = 0;
111 *usec = (dword) tv.tv_usec;
H A Ddebug.c37 dword usec; member in struct:_diva_maint_client
376 dword sec, usec; local
380 diva_os_get_time(&sec, &usec);
430 clients[free_id].usec = usec;
469 pmsg->time_usec = usec;
487 dword sec, usec; local
492 diva_os_get_time(&sec, &usec);
541 pmsg->time_usec = usec;
578 dword sec, usec; local
863 dword sec, usec, logical, serial, org_mask; local
1029 dword sec, usec; local
1798 dword sec, usec; local
[all...]
H A Dplatform.h268 void diva_os_get_time(dword *sec, dword *usec);
/drivers/gpu/drm/nouveau/core/subdev/bus/
H A Dhwsq.c137 u8 shift = 0, usec = nsec / 1000; local
138 while (usec & ~3) {
139 usec >>= 2;
144 hwsq_cmd(hwsq, 1, (u8[]){ 0x00 | (shift << 2) | usec });
/drivers/parport/
H A Dieee1284.c101 * @usec: timeout
110 * using udelay(). It currently has a resolution of 5usec.
123 int usec)
126 int count = usec / 5 + 2;
159 * time is configurable (using /proc), and defaults to 500usec.
174 int usec; local
178 usec = port->physport->spintime; /* usecs of fast polling */
182 usec = 35000;
190 ret = parport_poll_peripheral (port, mask, result, usec);
120 parport_poll_peripheral(struct parport *port, unsigned char mask, unsigned char result, int usec) argument
/drivers/media/rc/
H A Dir-rx51.c96 static int pulse_timer_set_timeout(struct lirc_rx51 *lirc_rx51, int usec) argument
100 BUG_ON(usec < 0);
107 counter += (u32)(lirc_rx51->fclk_khz * usec / (1000));
/drivers/net/wireless/iwlwifi/dvm/
H A Ddevices.c95 * time in usec will be changed into a 32-bit value in extended:internal format
97 * the internal part is the time in usec within one beacon interval
99 static u32 iwl_usecs_to_beacons(struct iwl_priv *priv, u32 usec, argument
106 if (!interval || !usec)
109 quot = (usec / interval) &
112 rem = (usec % interval) & iwl_beacon_time_mask_low(priv,
/drivers/net/wireless/ath/ath5k/
H A Dreset.c91 * ath5k_hw_htoclock() - Translate usec to hw clock units
93 * @usec: value in microseconds
101 ath5k_hw_htoclock(struct ath5k_hw *ah, unsigned int usec) argument
104 return usec * common->clockrate;
108 * ath5k_hw_clocktoh() - Translate hw clock units to usec
128 * Initialize core clock parameters (usec, usec32, latencies etc),
136 u32 usec_reg, txlat, rxlat, usec, clock, sclock, txf2txs; local
176 usec = clock - 1;
177 usec = AR5K_REG_SM(usec, AR5K_USEC_
[all...]
/drivers/net/ethernet/cisco/enic/
H A Dvnic_dev.h121 u32 vnic_dev_intr_coal_timer_usec_to_hw(struct vnic_dev *vdev, u32 usec);
H A Dvnic_dev.c908 u32 vnic_dev_intr_coal_timer_usec_to_hw(struct vnic_dev *vdev, u32 usec) argument
910 return (usec * vdev->intr_coal_timer_info.mul) /
/drivers/media/pci/solo6x10/
H A Dsolo6x10-core.c60 u32 sec, usec; local
73 usec = solo_reg_read(solo_dev, SOLO_TIMER_USEC);
79 + ((long)(ts.tv_nsec / NSEC_PER_USEC) - (long)usec);
/drivers/mtd/chips/
H A Dcfi_cmdset_0002.c959 unsigned long adr, int usec)
983 usec -= xip_elapsed_since(start);
1037 } else if (usec >= 1000000/HZ) {
1047 && xip_elapsed_since(start) < usec);
1050 #define UDELAY(map, chip, adr, usec) xip_udelay(map, chip, adr, usec)
1062 #define INVALIDATE_CACHE_UDELAY(map, chip, adr, len, usec) \
1063 UDELAY(map, chip, adr, usec)
1088 #define UDELAY(map, chip, adr, usec) \
1091 cfi_udelay(usec); \
958 xip_udelay(struct map_info *map, struct flchip *chip, unsigned long adr, int usec) argument
[all...]
H A Dcfi_cmdset_0001.c1113 unsigned long usec, suspended, start, done; local
1117 usec = chip_op_time_max;
1118 if (usec == 0)
1119 usec = 500000;
1138 usec -= done;
1201 } else if (usec >= 1000000/HZ) {
1212 && done < usec);
1214 return (done >= usec) ? -ETIME : 0;
1227 #define INVAL_CACHE_AND_WAIT(map, chip, cmd_adr, inval_adr, inval_len, usec, usec_max) \
/drivers/net/ethernet/samsung/sxgbe/
H A Dsxgbe_ethtool.c290 static u32 sxgbe_usec2riwt(u32 usec, struct sxgbe_priv_data *priv) argument
297 return (usec * (clk / 1000000)) / 256;
/drivers/staging/lustre/lustre/ptlrpc/
H A Devents.c233 * | seconds | usec / 16 | sequence | CPT id |
249 __u32 usec = req->rq_arrival_time.tv_usec >> 4; /* usec / 16 */ local
256 (usec << REQS_USEC_SHIFT) |
265 /* NB: increase sequence number in current usec bucket,
267 * sequence and jumped into the next usec bucket (future time),
/drivers/net/wireless/ath/ath9k/
H A Dhw.c1737 s64 usec; local
1744 usec = cur->tv_sec * 1000000ULL + cur->tv_nsec / 1000;
1745 usec -= last->tv_sec * 1000000ULL + last->tv_nsec / 1000;
1747 return (u32) usec;
1759 s64 usec = 0; local
1804 usec = ktime_to_us(ktime_get_raw());
1837 usec = ktime_to_us(ktime_get_raw()) - usec;
1838 ath9k_hw_settsf64(ah, tsf + usec);
/drivers/net/wireless/mwifiex/
H A Dwmm.c120 u32 sec, usec; local
131 usec = (ba_tstamp.tv_usec & 0xFFFF) + (ba_tstamp.tv_usec >> 16);
132 ba_threshold = (((sec << 16) + usec) % BA_SETUP_MAX_PACKET_THRESHOLD)
/drivers/net/xen-netback/
H A Dxenbus.c105 "Credit timer_pending: %d, credit: %lu, usec: %lu\n"
590 unsigned long *bytes, unsigned long *usec)
598 *usec = 0;
615 *usec = u;
589 xen_net_read_rate(struct xenbus_device *dev, unsigned long *bytes, unsigned long *usec) argument
/drivers/usb/host/
H A Dehci-hcd.c148 * @usec: timeout in microseconds
153 * handshake done). There are two failure modes: "usec" have passed (major
161 u32 mask, u32 done, int usec)
173 usec--;
174 } while (usec > 0);
472 * by default set standard 80% (== 100 usec/uframe) max periodic
160 ehci_handshake(struct ehci_hcd *ehci, void __iomem *ptr, u32 mask, u32 done, int usec) argument
H A Dehci.h868 u32 mask, u32 done, int usec);
/drivers/scsi/aic7xxx/
H A Daic7xxx_osm.c384 ahc_delay(long usec) argument
391 while (usec > 0) {
392 udelay(usec % 1024);
393 usec -= 1024;
H A Daic7xxx_osm.h234 ahc_scb_timer_reset(struct scb *scb, u_int usec) argument
/drivers/iio/accel/
H A Dkxcjk-1013.c143 int usec; member in struct:__anon1380
371 return odr_start_up_times[idx][i].usec;
/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_ethtool.c638 static u32 stmmac_usec2riwt(u32 usec, struct stmmac_priv *priv) argument
645 return (usec * (clk / 1000000)) / 256;

Completed in 5843 milliseconds

12