/drivers/usb/phy/ |
H A D | phy-ulpi-viewport.c | 32 unsigned long usec = 2000; local 34 while (usec--) {
|
/drivers/isdn/hardware/eicon/ |
H A D | divamnt.c | 89 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 D | debug.c | 37 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 D | platform.h | 268 void diva_os_get_time(dword *sec, dword *usec);
|
/drivers/gpu/drm/nouveau/core/subdev/bus/ |
H A D | hwsq.c | 137 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 D | ieee1284.c | 101 * @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 D | ir-rx51.c | 96 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 D | devices.c | 95 * 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 D | reset.c | 91 * 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 D | vnic_dev.h | 121 u32 vnic_dev_intr_coal_timer_usec_to_hw(struct vnic_dev *vdev, u32 usec);
|
H A D | vnic_dev.c | 908 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 D | solo6x10-core.c | 60 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 D | cfi_cmdset_0002.c | 959 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 D | cfi_cmdset_0001.c | 1113 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 D | sxgbe_ethtool.c | 290 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 D | events.c | 233 * | 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 D | hw.c | 1737 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 D | wmm.c | 120 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 D | xenbus.c | 105 "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 D | ehci-hcd.c | 148 * @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 D | ehci.h | 868 u32 mask, u32 done, int usec);
|
/drivers/scsi/aic7xxx/ |
H A D | aic7xxx_osm.c | 384 ahc_delay(long usec) argument 391 while (usec > 0) { 392 udelay(usec % 1024); 393 usec -= 1024;
|
H A D | aic7xxx_osm.h | 234 ahc_scb_timer_reset(struct scb *scb, u_int usec) argument
|
/drivers/iio/accel/ |
H A D | kxcjk-1013.c | 143 int usec; member in struct:__anon1380 371 return odr_start_up_times[idx][i].usec;
|
/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_ethtool.c | 638 static u32 stmmac_usec2riwt(u32 usec, struct stmmac_priv *priv) argument 645 return (usec * (clk / 1000000)) / 256;
|