| /OK3568_Linux_fs/kernel/lib/dim/ |
| H A D | net_dim.c | 21 {.usec = 1, .pkts = NET_DIM_DEFAULT_RX_CQ_PKTS_FROM_EQE,}, \ 22 {.usec = 8, .pkts = NET_DIM_DEFAULT_RX_CQ_PKTS_FROM_EQE,}, \ 23 {.usec = 64, .pkts = NET_DIM_DEFAULT_RX_CQ_PKTS_FROM_EQE,}, \ 24 {.usec = 128, .pkts = NET_DIM_DEFAULT_RX_CQ_PKTS_FROM_EQE,}, \ 25 {.usec = 256, .pkts = NET_DIM_DEFAULT_RX_CQ_PKTS_FROM_EQE,} \ 29 {.usec = 2, .pkts = 256,}, \ 30 {.usec = 8, .pkts = 128,}, \ 31 {.usec = 16, .pkts = 64,}, \ 32 {.usec = 32, .pkts = 64,}, \ 33 {.usec = 64, .pkts = 64,} \ [all …]
|
| /OK3568_Linux_fs/u-boot/arch/m68k/lib/ |
| H A D | time.c | 34 void __udelay(unsigned long usec) in __udelay() argument 39 while (usec > 0) { in __udelay() 40 if (usec > 65000) in __udelay() 43 tmp = usec; in __udelay() 44 usec = usec - tmp; in __udelay() 119 void __udelay(unsigned long usec) in __udelay() argument 124 while (usec > 0) { in __udelay() 125 if (usec > 65000) in __udelay() 128 tmp = usec; in __udelay() 129 usec = usec - tmp; in __udelay() [all …]
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-imx/ |
| H A D | syscounter.c | 23 unsigned long usec2ticks(unsigned long usec) in usec2ticks() argument 27 if (usec < 1000) in usec2ticks() 28 ticks = ((usec * (get_tbclk()/1000)) + 500) / 1000; in usec2ticks() 30 ticks = ((usec / 10) * (get_tbclk() / 100000)); in usec2ticks() 47 static inline unsigned long long us_to_tick(unsigned long long usec) in us_to_tick() argument 53 usec = usec * freq + 999999; in us_to_tick() 54 do_div(usec, 1000000); in us_to_tick() 56 return usec; in us_to_tick() 103 void __udelay(unsigned long usec) in __udelay() argument 108 tmo = us_to_tick(usec); in __udelay()
|
| H A D | timer.c | 131 unsigned long long usec = _usec; in usec2ticks() local 133 usec *= get_tbclk(); in usec2ticks() 134 usec += 999999; in usec2ticks() 135 do_div(usec, 1000000); in usec2ticks() 137 return usec; in usec2ticks()
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/i2c/ |
| H A D | xf86i2c.h | 24 void (*I2CUDelay) (I2CBusPtr b, int usec); 39 int HoldTime; /* 1 / bus clock frequency, 5 or 2 usec */ 41 int BitTimeout; /* usec */ 42 int ByteTimeout; /* usec */ 43 int AcknTimeout; /* usec */ 44 int StartTimeout; /* usec */ 45 int RiseFallTime; /* usec */ 71 int BitTimeout; /* usec */ 72 int ByteTimeout; /* usec */ 73 int AcknTimeout; /* usec */ [all …]
|
| /OK3568_Linux_fs/u-boot/arch/arm/cpu/armv7/ls102xa/ |
| H A D | timer.c | 20 unsigned long usec2ticks(unsigned long usec) in usec2ticks() argument 24 if (usec < 1000) in usec2ticks() 25 ticks = ((usec * (get_tbclk()/1000)) + 500) / 1000; in usec2ticks() 27 ticks = ((usec / 10) * (get_tbclk() / 100000)); in usec2ticks() 44 static inline unsigned long long us_to_tick(unsigned long long usec) in us_to_tick() argument 50 usec = usec * freq + 999999; in us_to_tick() 51 do_div(usec, 1000000); in us_to_tick() 53 return usec; in us_to_tick() 105 void __udelay(unsigned long usec) in __udelay() argument 111 tmo = us_to_tick(usec); /* convert usecs to ticks */ in __udelay()
|
| /OK3568_Linux_fs/u-boot/lib/ |
| H A D | time.c | 143 static uint64_t usec_to_tick(unsigned long usec) in usec_to_tick() argument 145 uint64_t tick = usec; in usec_to_tick() 151 void __weak __udelay(unsigned long usec) in __udelay() argument 155 tmp = get_ticks() + usec_to_tick(usec); /* get current timestamp */ in __udelay() 163 void udelay(unsigned long usec) in udelay() argument 169 kv = usec > CONFIG_WD_PERIOD ? CONFIG_WD_PERIOD : usec; in udelay() 171 usec -= kv; in udelay() 172 } while(usec); in udelay()
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/utouch/utouch-evemu/ |
| H A D | 0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch | 50 &sec, &usec, &type, &code, &value); 52 - ev->time.tv_usec = usec; 54 + ev->input_event_usec = usec; 64 - usec = 1000000L * (ev->time.tv_sec - evtime->tv_sec); 65 - usec += ev->time.tv_usec - evtime->tv_usec; 70 + usec = (ev->input_event_sec - evtime->tv_sec) * 1000000L; 71 + usec += ev->input_event_usec - evtime->tv_usec; 72 if (usec > 500) { 73 usleep(usec);
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/intel/iwlwifi/fw/api/ |
| H A D | sf.h | 95 /* SF Scenarios timers for default configuration (aligned to 32 uSec) */ 96 #define SF_SINGLE_UNICAST_IDLE_TIMER_DEF 160 /* 150 uSec */ 98 #define SF_AGG_UNICAST_IDLE_TIMER_DEF 160 /* 150 uSec */ 102 #define SF_BA_IDLE_TIMER_DEF 160 /* 150 uSec */ 104 #define SF_TX_RE_IDLE_TIMER_DEF 160 /* 150 uSec */ 107 /* SF Scenarios timers for BSS MAC configuration (aligned to 32 uSec) */ 108 #define SF_SINGLE_UNICAST_IDLE_TIMER 320 /* 300 uSec */ 110 #define SF_AGG_UNICAST_IDLE_TIMER 320 /* 300 uSec */ 114 #define SF_BA_IDLE_TIMER 320 /* 300 uSec */ 116 #define SF_TX_RE_IDLE_TIMER 320 /* 300 uSec */
|
| /OK3568_Linux_fs/buildroot/package/dahdi-linux/ |
| H A D | 0002-fix-build-with-32-bits-kernel.patch | 50 usec = ktime_us_delta(ticker->last_sample, 53 - ticker->tick_period = usec / ticker->cycle; 54 + ticker->tick_period = div_s64(usec, ticker->cycle); 95 s64 usec = ktime_us_delta(now, xframe->kt_queued); 96 + msec = div_s64_rem(usec, 1000, &rem); 99 - i++, usec / 1000, usec % 1000); 134 usec = 0; /* System clock jumped */ 135 if (usec > xusb->max_tx_delay) 136 xusb->max_tx_delay = usec; 137 - i = usec / USEC_BUCKET; [all …]
|
| /OK3568_Linux_fs/u-boot/arch/arm/cpu/armv7/vf610/ |
| H A D | timer.c | 27 static inline unsigned long long us_to_tick(unsigned long long usec) in us_to_tick() argument 29 usec = usec * mxc_get_clock(MXC_IPG_CLK) + 999999; in us_to_tick() 30 do_div(usec, 1000000); in us_to_tick() 32 return usec; in us_to_tick() 72 void __udelay(unsigned long usec) in __udelay() argument 78 tmo = us_to_tick(usec); /* convert usecs to ticks */ in __udelay()
|
| /OK3568_Linux_fs/u-boot/arch/powerpc/lib/ |
| H A D | time.c | 18 unsigned long usec2ticks(unsigned long usec) in usec2ticks() argument 22 if (usec < 1000) { in usec2ticks() 23 ticks = ((usec * (get_tbclk()/1000)) + 500) / 1000; in usec2ticks() 25 ticks = ((usec / 10) * (get_tbclk() / 100000)); in usec2ticks() 38 void __udelay(unsigned long usec) in __udelay() argument 40 ulong ticks = usec2ticks (usec); in __udelay() 50 /* usec = ticks * 1000000 / tbclk in ticks2usec() 53 * usec = ( ( ticks * 1000) / tbclk ) * 1000; in ticks2usec()
|
| /OK3568_Linux_fs/buildroot/package/evemu/ |
| H A D | 0002-evemu-Update-struct-input_event.patch | 60 - ev->time.tv_usec = usec; 62 + ev->input_event_usec = usec; 82 unsigned long usec; 91 - usec = time_to_long(&ev->time) - time_to_long(evtime); 98 + usec = time_to_long(&tv) - time_to_long(evtime); 99 if (usec > ERROR_MARGIN * 2) { 100 if (usec > s2us(10)) 101 error(INFO, "Sleeping for %lds.\n", us2s(usec)); 102 usleep(usec - ERROR_MARGIN);
|
| /OK3568_Linux_fs/kernel/drivers/leds/ |
| H A D | leds-ti-lmu-common.c | 57 static unsigned int ti_lmu_common_convert_ramp_to_index(unsigned int usec) in ti_lmu_common_convert_ramp_to_index() argument 62 if (usec <= ramp_table[0]) in ti_lmu_common_convert_ramp_to_index() 65 if (usec > ramp_table[size - 1]) in ti_lmu_common_convert_ramp_to_index() 69 if (usec == ramp_table[i]) in ti_lmu_common_convert_ramp_to_index() 73 if (usec > ramp_table[i - 1] && usec < ramp_table[i]) { in ti_lmu_common_convert_ramp_to_index() 74 if (usec - ramp_table[i - 1] < ramp_table[i] - usec) in ti_lmu_common_convert_ramp_to_index()
|
| /OK3568_Linux_fs/u-boot/arch/arm/cpu/sa1100/ |
| H A D | timer.c | 21 void __udelay (unsigned long usec) in __udelay() argument 23 udelay_masked (usec); in __udelay() 31 void udelay_masked (unsigned long usec) in udelay_masked() argument 37 if (usec >= 1000) { in udelay_masked() 38 tmo = usec / 1000; in udelay_masked() 42 tmo = usec * CONFIG_SYS_HZ; in udelay_masked()
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-rockchip/ |
| H A D | tpl.c | 44 void __weak __udelay(unsigned long usec) in __udelay() argument 50 /* usec to count,24MHz */ in __udelay() 51 j = usec * 24; in __udelay() 60 void __weak __udelay(unsigned long usec) in __udelay() argument 67 /* usec to count,24MHz */ in __udelay() 68 end_count = usec * 24 + cur_count; in __udelay() 79 void udelay(unsigned long usec) in udelay() argument 81 __udelay(usec); in udelay()
|
| /OK3568_Linux_fs/kernel/Documentation/accounting/ |
| H A D | taskstats-struct.rst | 81 /* The elapsed time of a task, in [usec]. */ 82 __u64 ac_etime; /* Elapsed time [usec] */ 84 /* The user CPU time of a task, in [usec]. */ 85 __u64 ac_utime; /* User CPU time [usec] */ 87 /* The system CPU time of a task, in [usec]. */ 88 __u64 ac_stime; /* System CPU time [usec] */ 159 __u64 coremem; /* accumulated RSS usage in MB-usec */ 164 __u64 virtmem; /* accumulated VM usage in MB-usec */
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-stm32/stm32f7/ |
| H A D | timer.c | 59 void __udelay(unsigned long usec) in __udelay() argument 66 rndoff = (usec % 10) ? 1 : 0; in __udelay() 69 tmo = ((usec / 10) + rndoff) * tenudelcnt; in __udelay() 91 void udelay_masked(unsigned long usec) in udelay_masked() argument 93 return udelay(usec); in udelay_masked()
|
| /OK3568_Linux_fs/u-boot/arch/arm/cpu/arm926ejs/spear/ |
| H A D | timer.c | 70 void __udelay(unsigned long usec) in __udelay() argument 77 rndoff = (usec % 10) ? 1 : 0; in __udelay() 80 tmo = ((usec / 10) + rndoff) * tenudelcnt; in __udelay() 102 void udelay_masked(unsigned long usec) in udelay_masked() argument 104 return udelay(usec); in udelay_masked()
|
| /OK3568_Linux_fs/u-boot/arch/arm/cpu/armv7/stv0991/ |
| H A D | timer.c | 61 void __udelay(unsigned long usec) in __udelay() argument 68 rndoff = (usec % 10) ? 1 : 0; in __udelay() 71 tmo = ((usec / 10) + rndoff) * tenudelcnt; in __udelay() 93 void udelay_masked(unsigned long usec) in udelay_masked() argument 95 return udelay(usec); in udelay_masked()
|
| /OK3568_Linux_fs/kernel/arch/powerpc/sysdev/ |
| H A D | fsl_gtm.c | 233 * @usec: timer interval in microseconds 243 int gtm_set_timer16(struct gtm_timer *tmr, unsigned long usec, bool reload) in gtm_set_timer16() argument 249 bit = fls_long(usec); in gtm_set_timer16() 252 usec >>= bit - 15; in gtm_set_timer16() 258 return gtm_set_ref_timer16(tmr, freq, usec, reload); in gtm_set_timer16() 265 * @usec: timer interval in microseconds 276 * crop precision of the "usec" argument, thus usec is limited to 16 bits 279 int gtm_set_exact_timer16(struct gtm_timer *tmr, u16 usec, bool reload) in gtm_set_exact_timer16() argument 286 * dividing both frequency and usec by 2 until there is no remainder. in gtm_set_exact_timer16() 291 return gtm_set_ref_timer16(tmr, freq, usec, reload); in gtm_set_exact_timer16()
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/ |
| H A D | timex.h | 67 __kernel_long_t offset; /* time offset (usec) */ 69 __kernel_long_t maxerror;/* maximum error (usec) */ 70 __kernel_long_t esterror;/* estimated error (usec) */ 73 __kernel_long_t precision;/* clock precision (usec) (read only) */ 105 long long offset; /* time offset (usec) */ 107 long long maxerror;/* maximum error (usec) */ 108 long long esterror;/* estimated error (usec) */ 112 long long precision;/* clock precision (usec) (read only) */
|
| /OK3568_Linux_fs/u-boot/arch/arm/cpu/armv8/ |
| H A D | generic_timer.c | 55 unsigned long usec2ticks(unsigned long usec) in usec2ticks() argument 58 if (usec < 1000) in usec2ticks() 59 ticks = ((usec * (get_tbclk()/1000)) + 500) / 1000; in usec2ticks() 61 ticks = ((usec / 10) * (get_tbclk() / 100000)); in usec2ticks()
|
| /OK3568_Linux_fs/kernel/fs/freevxfs/ |
| H A D | vxfs_inode.h | 107 __fs32 vdi_autime; /* Last time accessed - usec */ 109 __fs32 vdi_mutime; /* Last modify time - usec */ 111 __fs32 vdi_cutime; /* Create time - usec */ 163 __u32 vii_autime; /* Last time accessed - usec */ 165 __u32 vii_mutime; /* Last modify time - usec */ 167 __u32 vii_cutime; /* Create time - usec */
|
| /OK3568_Linux_fs/kernel/arch/xtensa/include/asm/ |
| H A D | delay.h | 47 static inline void udelay(unsigned long usec) in udelay() argument 49 if (__builtin_constant_p(usec) && usec >= __MAX_UDELAY) in udelay() 52 __udelay(usec); in udelay()
|