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

/u-boot/arch/arm/cpu/arm926ejs/mxs/
H A Dtimer.c37 static inline unsigned long tick_to_time(unsigned long tick) argument
39 return tick / (MXS_INCREMENTER_HZ / CONFIG_SYS_HZ);
89 /* Current tick value */
/u-boot/arch/arm/cpu/armv7/ls102xa/
H A Dtimer.c34 static inline unsigned long long tick_to_time(unsigned long long tick) argument
40 tick *= CONFIG_SYS_HZ;
41 do_div(tick, freq);
43 return tick;
/u-boot/arch/arm/cpu/armv7/vf610/
H A Dtimer.c21 static inline unsigned long long tick_to_time(unsigned long long tick) argument
23 tick *= CONFIG_SYS_HZ;
24 do_div(tick, mxc_get_clock(MXC_IPG_CLK));
26 return tick;
/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/mach-socfpga/
H A Dtimer_s10.c42 u64 tick = usec; local
46 tick *= cntfrq;
47 do_div(tick, 1000000);
49 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/drivers/spi/
H A Dath79_spi.c67 u64 tick; local
100 tick = get_ticks() + priv->rrw_delay;
101 while (get_ticks() < tick)
110 tick = get_ticks() + priv->rrw_delay;
111 while (get_ticks() < 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...]

Completed in 153 milliseconds