/kernel/linux/linux-6.6/arch/parisc/include/asm/ |
H A D | pdc.h | 67 int pdc_tod_set(unsigned long sec, unsigned long usec);
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | dim.h | 37 * @usec: CQ timer suggestion (by DIM) 43 u16 usec; member
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | dim.h | 37 * @usec: CQ timer suggestion (by DIM) 43 u16 usec; member
|
/third_party/libdrm/tests/vbltest/ |
H A D | vbltest.c | 58 unsigned int usec, void *data) in vblank_handler() 57 vblank_handler(int fd, unsigned int frame, unsigned int sec, unsigned int usec, void *data) vblank_handler() argument
|
/third_party/python/Include/cpython/ |
H A D | pytime.h | 104 usec is in the range [0; 999999] and rounded towards zero. 109 long *usec,
|
/third_party/ltp/testcases/kernel/io/ltp-aiodio/ |
H A D | aio-stress.c | 238 double sec, usec; in time_since() local 242 usec = stop_tv->tv_usec - start_tv->tv_usec; in time_since() 243 if (sec > 0 && usec < 0) { in time_since() 245 usec += 1000000; in time_since() 248 ret = sec + usec / (double)1000000; in time_since()
|
/third_party/mesa3d/include/android_stub/log/ |
H A D | log_time.h | 141 uint64_t usec() const { in usec() function
|
/third_party/ltp/include/ |
H A D | tst_test.h | 295 int (*sample)(int clk_id, long long usec);
|
/kernel/linux/linux-5.10/drivers/mtd/chips/ |
H A D | cfi_cmdset_0001.c | 1163 unsigned long usec, suspended, start, done; in xip_wait_for_operation() local 1167 usec = chip_op_time_max; in xip_wait_for_operation() 1168 if (usec == 0) in xip_wait_for_operation() 1169 usec = 500000; in xip_wait_for_operation() 1188 usec -= done; in xip_wait_for_operation() 1251 } else if (usec >= 1000000/HZ) { in xip_wait_for_operation() 1262 && done < usec); in xip_wait_for_operation() 1264 return (done >= usec) ? -ETIME : 0; in xip_wait_for_operation() 1277 #define INVAL_CACHE_AND_WAIT(map, chip, cmd_adr, inval_adr, inval_len, usec, usec_max) \
|
H A D | cfi_cmdset_0002.c | 1053 unsigned long adr, int usec) in xip_udelay() 1077 usec -= xip_elapsed_since(start); in xip_udelay() 1131 } else if (usec >= 1000000/HZ) { in xip_udelay() 1141 && xip_elapsed_since(start) < usec); in xip_udelay() 1144 #define UDELAY(map, chip, adr, usec) xip_udelay(map, chip, adr, usec) 1156 #define INVALIDATE_CACHE_UDELAY(map, chip, adr, len, usec) \ 1157 UDELAY(map, chip, adr, usec) 1182 #define UDELAY(map, chip, adr, usec) \ 1185 cfi_udelay(usec); \ 1052 xip_udelay(struct map_info *map, struct flchip *chip, unsigned long adr, int usec) xip_udelay() argument [all...] |
/kernel/linux/linux-6.6/drivers/mtd/chips/ |
H A D | cfi_cmdset_0001.c | 1165 unsigned long usec, suspended, start, done; in xip_wait_for_operation() local 1169 usec = chip_op_time_max; in xip_wait_for_operation() 1170 if (usec == 0) in xip_wait_for_operation() 1171 usec = 500000; in xip_wait_for_operation() 1190 usec -= done; in xip_wait_for_operation() 1253 } else if (usec >= 1000000/HZ) { in xip_wait_for_operation() 1264 && done < usec); in xip_wait_for_operation() 1266 return (done >= usec) ? -ETIME : 0; in xip_wait_for_operation() 1279 #define INVAL_CACHE_AND_WAIT(map, chip, cmd_adr, inval_adr, inval_len, usec, usec_max) \
|
H A D | cfi_cmdset_0002.c | 1057 unsigned long adr, int usec) in xip_udelay() 1081 usec -= xip_elapsed_since(start); in xip_udelay() 1135 } else if (usec >= 1000000/HZ) { in xip_udelay() 1145 && xip_elapsed_since(start) < usec); in xip_udelay() 1148 #define UDELAY(map, chip, adr, usec) xip_udelay(map, chip, adr, usec) 1160 #define INVALIDATE_CACHE_UDELAY(map, chip, adr, len, usec) \ 1161 UDELAY(map, chip, adr, usec) 1186 #define UDELAY(map, chip, adr, usec) \ 1189 cfi_udelay(usec); \ 1056 xip_udelay(struct map_info *map, struct flchip *chip, unsigned long adr, int usec) xip_udelay() argument [all...] |
/third_party/python/Lib/ |
H A D | datetime.py | 789 usec = self._to_microseconds() 791 return timedelta(0, 0, _divide_and_round(usec * a, b)) 803 usec = self._to_microseconds() 805 return usec // other._to_microseconds() 807 return timedelta(0, 0, usec // other) 812 usec = self._to_microseconds() 814 return usec / other._to_microseconds() 816 return timedelta(0, 0, _divide_and_round(usec, other)) 819 return timedelta(0, 0, _divide_and_round(b * usec, a))
|
/kernel/linux/linux-5.10/drivers/firmware/efi/libstub/ |
H A D | efi-stub-helper.c | 669 * @usec: number of microseconds to wait for key stroke 672 * Wait for up to @usec microseconds for a key stroke. 676 efi_status_t efi_wait_for_key(unsigned long usec, efi_input_key_t *key) in efi_wait_for_key() argument 693 EFI_100NSEC_PER_USEC * usec); in efi_wait_for_key()
|
/kernel/linux/linux-5.10/Documentation/trace/postprocess/ |
H A D | trace-vmscan-postprocess.pl | 259 # Convert sec.usec timestamp format 263 my ($sec, $usec) = split (/\./, $timestamp); 264 return ($sec * 1000) + ($usec / 1000);
|
/kernel/linux/linux-6.6/Documentation/trace/postprocess/ |
H A D | trace-vmscan-postprocess.pl | 259 # Convert sec.usec timestamp format 263 my ($sec, $usec) = split (/\./, $timestamp); 264 return ($sec * 1000) + ($usec / 1000);
|
/kernel/linux/linux-5.10/drivers/net/ethernet/samsung/sxgbe/ |
H A D | sxgbe_ethtool.c | 266 static u32 sxgbe_usec2riwt(u32 usec, struct sxgbe_priv_data *priv) in sxgbe_usec2riwt() argument 273 return (usec * (clk / 1000000)) / 256; in sxgbe_usec2riwt()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | time-utils.c | 531 u64 usec = (timestamp % NSEC_PER_SEC) / NSEC_PER_USEC; in timestamp__scnprintf_usec() local 533 return scnprintf(buf, sz, "%"PRIu64".%06"PRIu64, sec, usec); in timestamp__scnprintf_usec()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/samsung/sxgbe/ |
H A D | sxgbe_ethtool.c | 266 static u32 sxgbe_usec2riwt(u32 usec, struct sxgbe_priv_data *priv) in sxgbe_usec2riwt() argument 273 return (usec * (clk / 1000000)) / 256; in sxgbe_usec2riwt()
|
/kernel/linux/linux-6.6/drivers/firmware/efi/libstub/ |
H A D | efi-stub-helper.c | 615 * @usec: number of microseconds to wait for key stroke 618 * Wait for up to @usec microseconds for a key stroke. 622 efi_status_t efi_wait_for_key(unsigned long usec, efi_input_key_t *key) in efi_wait_for_key() argument 639 EFI_100NSEC_PER_USEC * usec); in efi_wait_for_key()
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | time-utils.c | 531 u64 usec = (timestamp % NSEC_PER_SEC) / NSEC_PER_USEC; in timestamp__scnprintf_usec() local 533 return scnprintf(buf, sz, "%"PRIu64".%06"PRIu64, sec, usec); in timestamp__scnprintf_usec()
|
/third_party/libwebsockets/lib/event-libs/sdevent/ |
H A D | sdevent.c | 22 sultimer_handler(sd_event_source *s, uint64_t usec, void *userdata) in sultimer_handler() argument 50 idle_handler(sd_event_source *s, uint64_t usec, void *userdata) in idle_handler() argument
|
/third_party/musl/libc-test/src/functionalext/supplement/time/time_gtest/ |
H A D | time_test.cpp | 676 auto usec = std::chrono::duration_cast<std::chrono::microseconds>(duration).count() % 1000000; in HWTEST_F() local 679 long usecDiff = usec - tv1.tv_usec; in HWTEST_F()
|
/kernel/linux/linux-5.10/drivers/hwmon/ |
H A D | aspeed-pwm-tacho.c | 529 u32 raw_data, tach_div, clk_source, msec, usec, val; in aspeed_get_fan_tach_ch_rpm() local 542 usec = msec * 1000; in aspeed_get_fan_tach_ch_rpm() 550 usec); in aspeed_get_fan_tach_ch_rpm()
|
/kernel/linux/linux-5.10/drivers/net/xen-netback/ |
H A D | xenbus.c | 81 "Credit timer_pending: %d, credit: %lu, usec: %lu\n" in xenvif_read_io_ring() 466 unsigned long *bytes, unsigned long *usec) in xen_net_read_rate() 474 *usec = 0; in xen_net_read_rate() 491 *usec = u; in xen_net_read_rate() 465 xen_net_read_rate(struct xenbus_device *dev, unsigned long *bytes, unsigned long *usec) xen_net_read_rate() argument
|