Home
last modified time | relevance | path

Searched refs:get_timer (Results 1 – 25 of 51) sorted by relevance

123

/arch/arm/mach-bcm283x/
A Dmbox.c21 ulong endtime = get_timer(0) + TIMEOUT; in bcm2835_mbox_call_raw()
24 debug("time: %lu timeout: %lu\n", get_timer(0), endtime); in bcm2835_mbox_call_raw()
37 if (get_timer(0) >= endtime) { in bcm2835_mbox_call_raw()
50 if (get_timer(0) >= endtime) { in bcm2835_mbox_call_raw()
68 if (get_timer(0) >= endtime) { in bcm2835_mbox_call_raw()
/arch/arm/mach-at91/
A Dclock.c80 start_time = get_timer(0); in at91_upll_clk_enable()
83 tmp_time = get_timer(0); in at91_upll_clk_enable()
98 start_time = get_timer(0); in at91_upll_clk_disable()
101 tmp_time = get_timer(0); in at91_upll_clk_disable()
A Dphy.c25 unsigned long start = get_timer(0); in at91_phy_reset()
49 if (get_timer(start) >= timeout) { in at91_phy_reset()
/arch/arm/mach-tegra/tegra210/
A Dxusb-padctl.c293 start = get_timer(0); in pcie_phy_enable()
295 while (get_timer(start) < 250) { in pcie_phy_enable()
312 start = get_timer(0); in pcie_phy_enable()
314 while (get_timer(start) < 250) { in pcie_phy_enable()
330 start = get_timer(0); in pcie_phy_enable()
332 while (get_timer(start) < 250) { in pcie_phy_enable()
349 start = get_timer(0); in pcie_phy_enable()
351 while (get_timer(start) < 250) { in pcie_phy_enable()
367 start = get_timer(0); in pcie_phy_enable()
369 while (get_timer(start) < 250) { in pcie_phy_enable()
/arch/arm/mach-at91/arm920t/
A Dclock.c166 start_time = get_timer(0); in at91_pllb_clk_enable()
169 tmp_time = get_timer(0); in at91_pllb_clk_enable()
184 start_time = get_timer(0); in at91_pllb_clk_disable()
187 tmp_time = get_timer(0); in at91_pllb_clk_disable()
A Dtimer.c84 ulong get_timer(ulong base) in get_timer() function
113 return get_timer(0); in get_ticks()
/arch/arm/mach-omap2/omap3/
A Dam35x_musb.c28 unsigned long start = get_timer(0); in am35x_musb_phy_power()
42 if (get_timer(start) > CONFIG_SYS_HZ / 10) { in am35x_musb_phy_power()
/arch/m68k/lib/
A Dtime.c108 ulong get_timer(ulong base) in get_timer() function
119 return get_timer(0); in get_ticks()
158 return get_timer(usec); in usec2ticks()
/arch/x86/cpu/apollolake/
A Dpunit.c65 start = get_timer(0); in punit_init()
67 if (get_timer(start) > 1) { in punit_init()
/arch/xtensa/lib/
A Dtime.c69 ulong get_timer(ulong base) in get_timer() function
97 return get_timer(0); in get_ticks()
/arch/arm/cpu/armv7/s5p-common/
A Dtimer.c64 unsigned long get_timer(unsigned long base) in get_timer() function
124 return get_timer(0); in get_ticks()
/arch/arm/mach-tegra/
A Dpowergate.c37 start = get_timer(0); in tegra_powergate_set()
39 while (get_timer(start) < timeout) { in tegra_powergate_set()
/arch/arm/mach-omap2/
A Dtimer.c55 ulong get_timer(ulong base) in get_timer() function
98 return get_timer(0); in get_ticks()
/arch/mips/mach-mtmips/mt7621/spl/
A Dlaunch.c85 wait_tick = get_timer(0) + WAIT_CPUS_TIMEOUT; in secondary_cpu_init()
87 while (time_before(get_timer(0), wait_tick)) { in secondary_cpu_init()
/arch/arm/mach-lpc32xx/
A Dtimer.c60 ulong get_timer(ulong base) in get_timer() function
80 return get_timer(0); in get_ticks()
/arch/arm/cpu/armv7/iproc-common/
A Dtimer.c47 unsigned long get_timer(unsigned long base) in get_timer() function
121 return get_timer(0); in get_ticks()
/arch/arm/mach-sunxi/
A Dtimer.c80 ulong get_timer(ulong base) in get_timer() function
107 return get_timer(0); in get_ticks()
/arch/arm/mach-at91/arm926ejs/
A Dclock.c260 start_time = get_timer(0); in at91_pllb_clk_enable()
263 tmp_time = get_timer(0); in at91_pllb_clk_enable()
278 start_time = get_timer(0); in at91_pllb_clk_disable()
281 tmp_time = get_timer(0); in at91_pllb_clk_disable()
/arch/x86/cpu/
A Dacpi_gpe.c41 start = get_timer(0); in acpi_gpe_read_and_clear()
43 if (get_timer(start) > 1) in acpi_gpe_read_and_clear()
/arch/arm/mach-uniphier/dram/
A Dddrphy-training.c115 ulong start = get_timer(0); in ddrphy_training()
142 pr_debug("DDR training: elapsed time %ld msec\n", get_timer(start)); in ddrphy_training()
/arch/arm/mach-imx/
A Di2c-mxv7.c43 start_time = get_timer(0); in force_idle_bus()
50 elapsed = get_timer(start_time); in force_idle_bus()
/arch/arm/mach-orion5x/
A Dtimer.c102 ulong get_timer(ulong base) in get_timer() function
164 return get_timer(0); in get_ticks()
/arch/arm/mach-tegra/tegra124/
A Dxusb-padctl.c200 start = get_timer(0); in pcie_phy_enable()
202 while (get_timer(start) < 50) { in pcie_phy_enable()
250 start = get_timer(0); in sata_phy_enable()
252 while (get_timer(start) < 50) { in sata_phy_enable()
/arch/mips/mach-octeon/include/mach/
A Dcvmx-regs.h129 u64 done = get_timer(0); \
136 } else if (get_timer(done) > ((to_us) / 1000)) { \
150 u64 done = get_timer(0); \
157 } else if (get_timer(done) > ((to_us) / 1000)) { \
/arch/powerpc/lib/
A Dinterrupts.c91 ulong get_timer (ulong base) in get_timer() function

Completed in 71 milliseconds

123