Home
last modified time | relevance | path

Searched refs:ccount (Results 1 – 2 of 2) sorted by relevance

/rk3399_rockchip-uboot/arch/xtensa/lib/
H A Dtime.c16 ulong ccount; in get_ccount() local
17 asm volatile ("rsr %0,"__stringify(CCOUNT) : "=a" (ccount)); in get_ccount()
18 return ccount; in get_ccount()
74 register ulong ccount; in get_timer() local
75 __asm__ volatile ("rsr %0, CCOUNT" : "=a"(ccount)); in get_timer()
76 return ccount / (CONFIG_SYS_CLK_FREQ / CONFIG_SYS_HZ) - base; in get_timer()
113 unsigned long ccount; in timer_get_us() local
115 __asm__ volatile ("rsr %0, CCOUNT" : "=a"(ccount)); in timer_get_us()
116 return ccount / (CONFIG_SYS_CLK_FREQ / 1000000); in timer_get_us()
/rk3399_rockchip-uboot/board/siemens/common/
H A Dboard.c193 unsigned char i, idx, pos1, pos2, ccount; in set_env_gpios() local
209 ccount = 0; in set_env_gpios()
212 if (ccount++ < 1) in set_env_gpios()
219 if (pos2 <= pos1 || ccount > 2) in set_env_gpios()