/openbmc/qemu/tests/qtest/ |
H A D | tco-test.c | 40 #define TCO_TICKS_TO_SECS(ticks) (((ticks) * 6) / 10) argument 107 static void set_tco_timeout(const TestData *d, uint16_t ticks) in set_tco_timeout() 165 const uint16_t ticks = TCO_SECS_TO_TICKS(4); in test_tco_timeout() local 209 const uint16_t ticks = 0xffff; in test_tco_max_timeout() local 253 const uint16_t ticks = TCO_SECS_TO_TICKS(32); in test_tco_second_timeout_pause() local 278 const uint16_t ticks = TCO_SECS_TO_TICKS(16); in test_tco_second_timeout_reset() local 303 const uint16_t ticks = TCO_SECS_TO_TICKS(128); in test_tco_second_timeout_shutdown() local 328 const uint16_t ticks = TCO_SECS_TO_TICKS(256); in test_tco_second_timeout_none() local 353 uint16_t ticks = TCO_SECS_TO_TICKS(8); in test_tco_ticks_counter() local 399 uint16_t ticks = 8; in test_tco1_status_bits() local [all …]
|
/openbmc/u-boot/arch/powerpc/lib/ |
H A D | time.c | 19 ulong ticks; in usec2ticks() local 39 ulong ticks = usec2ticks (usec); in __udelay() local 45 unsigned long ticks2usec(unsigned long ticks) in ticks2usec()
|
/openbmc/linux/arch/powerpc/sysdev/ |
H A D | mpic_timer.c | 85 const u64 ticks, time64_t *time) in convert_ticks_to_time() 92 time64_t time, u64 *ticks) in convert_time_to_ticks() 137 static int set_cascade_timer(struct timer_group_priv *priv, u64 ticks, in set_cascade_timer() 166 u64 ticks) in get_cascade_timer() 195 u64 ticks; in get_timer() local 292 u64 ticks; in mpic_get_remain_time() local
|
/openbmc/linux/drivers/char/hw_random/ |
H A D | n2-drv.c | 112 unsigned long hv_err, state, ticks, watchdog_delta, watchdog_status; in n2rng_generic_read_control_v2() local 158 unsigned long *ticks) in n2rng_write_ctl_one() 178 unsigned long ticks, hv_err; in n2rng_generic_read_data() local 205 unsigned long *ticks) in n2rng_read_diag_data_one() 225 unsigned long ticks, hv_err; in n2rng_generic_read_diag_data() local 254 unsigned long hv_err, ticks; in n2rng_generic_write_control() local
|
/openbmc/linux/drivers/rtc/ |
H A D | rtc-tps6586x.c | 59 unsigned long long ticks = 0; in tps6586x_rtc_read_time() local 85 unsigned long long ticks; in tps6586x_rtc_set_time() local 140 unsigned long ticks; in tps6586x_rtc_set_alarm() local 187 unsigned long ticks; in tps6586x_rtc_read_alarm() local
|
H A D | rtc-88pm80x.c | 103 unsigned long ticks, base, data; in pm80x_rtc_read_time() local 124 unsigned long ticks, base, data; in pm80x_rtc_set_time() local 148 unsigned long ticks, base, data; in pm80x_rtc_read_alarm() local 174 unsigned long ticks, base, data; in pm80x_rtc_set_alarm() local
|
H A D | rtc-88pm860x.c | 82 unsigned long ticks, base, data; in pm860x_rtc_read_time() local 107 unsigned long ticks, base, data; in pm860x_rtc_set_time() local 131 unsigned long ticks, base, data; in pm860x_rtc_read_alarm() local 157 unsigned long ticks, base, data; in pm860x_rtc_set_alarm() local
|
/openbmc/u-boot/arch/arm/cpu/armv8/ |
H A D | generic_timer.c | 90 unsigned long ticks = timer_read_counter(); in get_ticks() local 99 ulong ticks; in usec2ticks() local
|
/openbmc/qemu/hw/timer/ |
H A D | nrf51_timer.c | 35 static int64_t ticks_to_ns(NRF51TimerState *s, uint32_t ticks) in ticks_to_ns() 45 uint32_t ticks = ns_to_ticks(s, now - s->update_counter_ns); in update_counter() local 104 uint32_t ticks; in timer_expire() local
|
/openbmc/u-boot/arch/arm/cpu/arm920t/ep93xx/ |
H A D | timer.c | 28 unsigned long long ticks; member 34 unsigned long long ticks = (unsigned long long)usecs * TIMER_FREQ; in usecs_to_ticks() local
|
/openbmc/linux/drivers/ssb/ |
H A D | driver_extif.c | 115 u32 ssb_extif_watchdog_timer_set_wdt(struct bcm47xx_wdt *wdt, u32 ticks) in ssb_extif_watchdog_timer_set_wdt() 125 u32 ticks = (SSB_EXTIF_WATCHDOG_CLK / 1000) * ms; in ssb_extif_watchdog_timer_set_ms() local 132 u32 ssb_extif_watchdog_timer_set(struct ssb_extif *extif, u32 ticks) in ssb_extif_watchdog_timer_set()
|
H A D | driver_chipcommon.c | 311 u32 ssb_chipco_watchdog_timer_set_wdt(struct bcm47xx_wdt *wdt, u32 ticks) in ssb_chipco_watchdog_timer_set_wdt() 324 u32 ticks; in ssb_chipco_watchdog_timer_set_ms() local 471 u32 ssb_chipco_watchdog_timer_set(struct ssb_chipcommon *cc, u32 ticks) in ssb_chipco_watchdog_timer_set()
|
/openbmc/linux/net/bridge/ |
H A D | br_stp_bpdu.c | 66 unsigned long ticks = (STP_HZ * j)/ HZ; in br_set_ticks() local 73 unsigned long ticks = get_unaligned_be16(src); in br_get_ticks() local
|
/openbmc/qemu/system/ |
H A D | cpu-timers.c | 44 int64_t ticks = timers_state.cpu_ticks_offset; in cpu_get_ticks_locked() local 65 int64_t ticks; in cpu_get_ticks() local
|
/openbmc/linux/drivers/net/dsa/sja1105/ |
H A D | sja1105_ptp.c | 293 static int sja1105_ptpclkval_read(struct sja1105_private *priv, u64 *ticks, in sja1105_ptpclkval_read() 303 static int sja1105_ptpclkval_write(struct sja1105_private *priv, u64 ticks, in sja1105_ptpclkval_write() 347 u64 ticks, ts; in sja1105_rxtstamp_work() local 520 u64 ticks; in __sja1105_ptp_gettimex() local 572 u64 ticks = ns_to_sja1105_ticks(ns); in __sja1105_ptp_settime() local 638 s64 ticks = ns_to_sja1105_ticks(delta); in __sja1105_ptp_adjtime() local 946 u64 ticks, ts; in sja1105_ptp_txtstamp_skb() local
|
/openbmc/linux/sound/isa/gus/ |
H A D | gus_timer.c | 21 unsigned int ticks; in snd_gf1_timer1_start() local 57 unsigned int ticks; in snd_gf1_timer2_start() local
|
/openbmc/linux/drivers/hwmon/ |
H A D | hih6130.c | 50 static inline int hih6130_temp_ticks_to_millicelsius(int ticks) in hih6130_temp_ticks_to_millicelsius() 65 static inline int hih6130_rh_ticks_to_per_cent_mille(int ticks) in hih6130_rh_ticks_to_per_cent_mille()
|
H A D | sht21.c | 53 static inline int sht21_temp_ticks_to_millicelsius(int ticks) in sht21_temp_ticks_to_millicelsius() 68 static inline int sht21_rh_ticks_to_per_cent_mille(int ticks) in sht21_rh_ticks_to_per_cent_mille()
|
/openbmc/linux/kernel/time/ |
H A D | tick-legacy.c | 25 void legacy_timer_tick(unsigned long ticks) in legacy_timer_tick()
|
/openbmc/linux/drivers/macintosh/ |
H A D | windfarm_pm91.c | 102 int ticks; member 117 int ticks; member 130 int ticks; member
|
/openbmc/linux/drivers/bcma/ |
H A D | driver_chipcommon.c | 78 u32 ticks) in bcma_chipco_watchdog_timer_set_wdt() 89 u32 ticks; in bcma_chipco_watchdog_timer_set_ms_wdt() local 236 u32 bcma_chipco_watchdog_timer_set(struct bcma_drv_cc *cc, u32 ticks) in bcma_chipco_watchdog_timer_set()
|
/openbmc/linux/drivers/misc/ |
H A D | vcpu_stall_detector.c | 60 u32 ticks, ping_timeout_ms; in vcpu_stall_detect_timer_fn() local 82 u32 ticks, ping_timeout_ms; in start_stall_detector_cpu() local
|
/openbmc/u-boot/arch/powerpc/cpu/mpc85xx/ |
H A D | spl_minimal.c | 40 u32 ticks = ticks_per_usec * usec; in udelay() local
|
/openbmc/linux/arch/m68k/atari/ |
H A D | atasound.c | 53 void atari_mksound (unsigned int hz, unsigned int ticks) in atari_mksound()
|
/openbmc/linux/tools/perf/util/ |
H A D | spark.c | 13 static const char *ticks[NUM_SPARKS] = { in print_spark() local
|