Home
last modified time | relevance | path

Searched refs:tick (Results 1 – 25 of 77) sorted by relevance

1234

/openbmc/qemu/hw/nvram/
H A Deeprom93xx.c77 uint8_t tick; member
135 VMSTATE_UINT8(tick, eeprom_t),
157 uint8_t tick = eeprom->tick; in eeprom93xx_write() local
163 eecs, eesk, eedi, eedo, tick); in eeprom93xx_write()
168 tick = 0; in eeprom93xx_write()
183 } else if (tick >= 2 + 2 + eeprom->addrbits + 16) { in eeprom93xx_write()
199 if (tick == 0) { in eeprom93xx_write()
203 tick++; in eeprom93xx_write()
206 tick = 2; in eeprom93xx_write()
209 } else if (tick == 1) { in eeprom93xx_write()
[all …]
/openbmc/qemu/tests/qtest/
H A Dcmsdk-apb-watchdog-test.c42 int64_t tick; member
60 .tick = 80,
65 .tick = 40,
85 int64_t tick = args->tick; in test_watchdog() local
95 clock_step(500 * tick + 1); in test_watchdog()
100 clock_step(500 * tick); in test_watchdog()
105 clock_step(tick); in test_watchdog()
109 clock_step(500 * tick); in test_watchdog()
177 int64_t tick = args->tick; in test_watchdog_reset() local
191 clock_step(15 * tick + 1); in test_watchdog_reset()
[all …]
/openbmc/u-boot/drivers/i2c/
H A Dmvtwsi.c94 uint tick; member
266 uint tick) in twsi_wait() argument
282 ndelay(tick); /* One clock cycle */ in twsi_wait()
303 uint tick) in twsi_start() argument
309 return twsi_wait(twsi, expected_status, tick); in twsi_start()
326 int expected_status, uint tick) in twsi_send() argument
334 return twsi_wait(twsi, expected_status, tick); in twsi_send()
351 uint tick) in twsi_recv() argument
363 status = twsi_wait(twsi, expected_status, tick); in twsi_recv()
381 static int twsi_stop(struct mvtwsi_registers *twsi, uint tick) in twsi_stop() argument
[all …]
/openbmc/u-boot/lib/
H A Dtime.c117 static uint64_t notrace tick_to_time(uint64_t tick) in tick_to_time() argument
121 tick *= CONFIG_SYS_HZ; in tick_to_time()
122 do_div(tick, div); in tick_to_time()
123 return tick; in tick_to_time()
144 uint64_t tick = usec; in usec_to_tick() local
145 tick *= get_tbclk(); in usec_to_tick()
146 do_div(tick, 1000000); in usec_to_tick()
147 return tick; in usec_to_tick()
/openbmc/u-boot/arch/arm/cpu/arm926ejs/mx27/
H A Dtimer.c40 static inline unsigned long long tick_to_time(unsigned long long tick) in tick_to_time() argument
42 tick *= CONFIG_SYS_HZ; in tick_to_time()
43 do_div(tick, CONFIG_MX27_CLK32); in tick_to_time()
44 return tick; in tick_to_time()
66 static inline unsigned long long tick_to_time(unsigned long long tick) in tick_to_time() argument
68 do_div(tick, TICK_PER_TIME); in tick_to_time()
69 return tick; in tick_to_time()
/openbmc/u-boot/arch/arm/cpu/armv7/vf610/
H A Dtimer.c18 static inline unsigned long long tick_to_time(unsigned long long tick) in tick_to_time() argument
20 tick *= CONFIG_SYS_HZ; in tick_to_time()
21 do_div(tick, mxc_get_clock(MXC_IPG_CLK)); in tick_to_time()
23 return tick; in tick_to_time()
/openbmc/u-boot/arch/arm/cpu/armv7/ls102xa/
H A Dtimer.c31 static inline unsigned long long tick_to_time(unsigned long long tick) in tick_to_time() argument
37 tick *= CONFIG_SYS_HZ; in tick_to_time()
38 do_div(tick, freq); in tick_to_time()
40 return tick; in tick_to_time()
/openbmc/qemu/hw/timer/
H A Dstellaris-gptm.c32 int64_t tick; in gptm_reload() local
34 tick = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL); in gptm_reload()
36 tick = s->tick[n]; in gptm_reload()
43 tick += clock_ticks_to_ns(s->clk, count); in gptm_reload()
46 tick += NANOSECONDS_PER_SECOND; in gptm_reload()
55 s->tick[n] = tick; in gptm_reload()
56 timer_mod(s->timer[n], tick); in gptm_reload()
265 VMSTATE_INT64_ARRAY(tick, gptm_state, 2),
H A Dsse-counter.c114 uint64_t sse_counter_tick_to_time(SSECounter *s, uint64_t tick) in sse_counter_tick_to_time() argument
120 tick -= s->ticks_then; in sse_counter_tick_to_time()
124 tick = muldiv64(tick, 0x01000000, s->cntscr0); in sse_counter_tick_to_time()
127 return s->ns_then + clock_ticks_to_ns(s->clk, tick); in sse_counter_tick_to_time()
H A Drenesas_cmt.c82 delta = (now - cmt->tick[ch]); in read_cmcnt()
86 cmt->tick[ch] = now; in read_cmcnt()
194 cmt->tick[ch] = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL); in timer_events()
250 VMSTATE_INT64_ARRAY(tick, RCMTState, CMT_CH),
/openbmc/u-boot/arch/arm/mach-imx/
H A Dsyscounter.c34 static inline unsigned long long tick_to_time(unsigned long long tick) in tick_to_time() argument
40 tick *= CONFIG_SYS_HZ; in tick_to_time()
41 do_div(tick, freq); in tick_to_time()
43 return tick; in tick_to_time()
/openbmc/u-boot/arch/arm/mach-rockchip/
H A Drk_timer.c25 uint64_t tick = usec; in usec_to_tick() local
26 tick *= CONFIG_SYS_TIMER_RATE / (1000 * 1000); in usec_to_tick()
27 return tick; in usec_to_tick()
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/open-vm-tools/open-vm-tools/
H A D0014-timeSync-Portable-way-to-print-64bit-time_t.patch31 - "const %ld precision %ld tolerance %ld tick %ld\n",
33 - tx->status, tx->constant, tx->precision, tx->tolerance, tx->tick);
35 + "const %jd precision %jd tolerance %jd tick %jd\n",
37 …tus, (intmax_t)tx->constant, (intmax_t)tx->precision, (intmax_t)tx->tolerance, (intmax_t)tx->tick);
49 - g_debug("time slew start: %ld\n", tx.tick);
50 + g_debug("time slew start: %jd\n", (intmax_t)tx.tick);
/openbmc/u-boot/drivers/spi/
H A Dath79_spi.c66 u64 tick; in ath79_spi_xfer() local
99 tick = get_ticks() + priv->rrw_delay; in ath79_spi_xfer()
100 while (get_ticks() < tick) in ath79_spi_xfer()
109 tick = get_ticks() + priv->rrw_delay; in ath79_spi_xfer()
110 while (get_ticks() < tick) in ath79_spi_xfer()
/openbmc/qemu/hw/mips/
H A Dmalta.c159 uint8_t tick; member
296 eeprom->tick, eeprom->scl, eeprom->sda, eeprom->data); in eeprom24c0x_read()
304 eeprom->tick, eeprom->scl, scl, eeprom->sda, sda, in eeprom24c0x_write()
307 eeprom->tick = 1; in eeprom24c0x_write()
310 } else if (eeprom->tick == 0 && !eeprom->ack) { in eeprom24c0x_write()
313 eeprom->tick, eeprom->scl, scl, eeprom->sda, sda); in eeprom24c0x_write()
316 eeprom->tick, eeprom->scl, scl, eeprom->sda, sda); in eeprom24c0x_write()
324 if (eeprom->tick < 9) { in eeprom24c0x_write()
327 eeprom->tick++; in eeprom24c0x_write()
328 if (eeprom->tick == 9) { in eeprom24c0x_write()
[all …]
/openbmc/u-boot/arch/arm/cpu/arm926ejs/mxs/
H A Dtimer.c34 static inline unsigned long tick_to_time(unsigned long tick) in tick_to_time() argument
36 return tick / (MXS_INCREMENTER_HZ / CONFIG_SYS_HZ); in tick_to_time()
/openbmc/qemu/include/hw/timer/
H A Darmv7m_systick.h42 int64_t tick; member
H A Drenesas_cmt.h38 int64_t tick[CMT_CH]; member
H A Dsse-counter.h89 uint64_t sse_counter_tick_to_time(SSECounter *counter, uint64_t tick);
H A Dstellaris-gptm.h42 int64_t tick[2]; member
H A Drenesas_tmr.h42 int64_t tick; member
/openbmc/u-boot/doc/device-tree-bindings/
H A Dchosen.txt25 tick-timer property
28 as the tick-timer. Earlier it was hardcoded in the timer driver now
30 used as tick timer.
36 tick-timer = "/timer2@f00";
/openbmc/qemu/hw/sparc64/
H A Dsparc64.c117 cpu_timer_reset(env->tick); in main_cpu_reset()
138 CPUTimer *timer = env->tick; in tick_irq()
281 env->tick = cpu_timer_create("tick", cpu, tick_irq, in sparc64_cpu_devinit()
/openbmc/phosphor-webui/app/common/styles/components/
H A Dform-elements.scss154 /* Checkbox tick */
165 /* Disabled tick colour */
237 /* Disabled tick colour */
/openbmc/dbus-sensors/src/tests/
H A Dtest_MCTPReactor.cpp162 reactor->tick(); in TEST_F()
198 reactor->tick(); in TEST_F()
258 reactor->tick(); in TEST()

1234