Searched refs:tick (Results 1 - 8 of 8) sorted by relevance

/u-boot/arch/arm/mach-socfpga/
H A Dtimer_s10.c43 u64 tick = usec; local
47 tick *= cntfrq;
48 do_div(tick, 1000000);
50 return tick;
/u-boot/lib/
H A Dtime.c28 /* Returns tick rate in ticks per second */
129 static uint64_t notrace tick_to_time(uint64_t tick) argument
133 tick *= CONFIG_SYS_HZ;
134 do_div(tick, div);
135 return tick;
149 static uint64_t notrace tick_to_time_us(uint64_t tick) argument
153 tick *= CONFIG_SYS_HZ;
154 do_div(tick, div);
155 return tick;
175 uint64_t tick local
[all...]
/u-boot/arch/arm/cpu/armv7/ls102xa/
H A Dtimer.c35 static inline unsigned long long tick_to_time(unsigned long long tick) argument
41 tick *= CONFIG_SYS_HZ;
42 do_div(tick, freq);
44 return tick;
/u-boot/arch/arm/cpu/armv7/vf610/
H A Dtimer.c22 static inline unsigned long long tick_to_time(unsigned long long tick) argument
24 tick *= CONFIG_SYS_HZ;
25 do_div(tick, mxc_get_clock(MXC_IPG_CLK));
27 return tick;
/u-boot/drivers/i2c/
H A Dmvtwsi.c99 uint tick; member in struct:mvtwsi_i2c_dev
187 /* One tick = the duration of a period at the specified speed in ns (we
274 uint tick)
301 ndelay(tick); /* One clock cycle */
317 * @tick: The duration of a clock cycle at the current I2C speed.
322 uint tick)
328 return twsi_wait(twsi, expected_status, tick);
340 * @tick: The duration of a clock cycle at the current I2C speed.
345 int expected_status, uint tick)
353 return twsi_wait(twsi, expected_status, tick);
273 twsi_wait(struct mvtwsi_registers *twsi, int expected_status, uint tick) argument
321 twsi_start(struct mvtwsi_registers *twsi, int expected_status, uint tick) argument
344 twsi_send(struct mvtwsi_registers *twsi, u8 byte, int expected_status, uint tick) argument
369 twsi_recv(struct mvtwsi_registers *twsi, u8 *byte, int ack_flag, uint tick) argument
400 twsi_stop(struct mvtwsi_registers *twsi, uint tick) argument
540 __twsi_i2c_reinit(struct mvtwsi_registers *twsi, uint tick) argument
578 i2c_begin(struct mvtwsi_registers *twsi, int expected_start_status, u8 addr, uint tick) argument
610 __twsi_i2c_probe_chip(struct mvtwsi_registers *twsi, uchar chip, uint tick) argument
649 __twsi_i2c_read(struct mvtwsi_registers *twsi, uchar chip, u8 *addr, int alen, uchar *data, int length, uint tick) argument
703 __twsi_i2c_write(struct mvtwsi_registers *twsi, uchar chip, u8 *addr, int alen, uchar *data, int length, uint tick) argument
[all...]
/u-boot/arch/arm/mach-imx/
H A Dsyscounter.c38 static inline unsigned long long tick_to_time(unsigned long long tick) argument
44 tick *= CONFIG_SYS_HZ;
45 do_div(tick, freq);
47 return tick;
/u-boot/arch/arm/cpu/arm926ejs/mxs/
H A Dtimer.c38 static inline unsigned long tick_to_time(unsigned long tick) argument
40 return tick / (MXS_INCREMENTER_HZ / CONFIG_SYS_HZ);
90 /* Current tick value */
/u-boot/drivers/spi/
H A Dath79_spi.c68 u64 tick; local
101 tick = get_ticks() + priv->rrw_delay;
102 while (get_ticks() < tick)
111 tick = get_ticks() + priv->rrw_delay;
112 while (get_ticks() < tick)

Completed in 90 milliseconds