Home
last modified time | relevance | path

Searched refs:REG (Results 1 – 4 of 4) sorted by relevance

/platform/armemu/
A Dtimer.c22 *REG(PIT_CLEAR) = 1; in platform_set_periodic_timer()
23 *REG(PIT_INTERVAL) = interval; in platform_set_periodic_timer()
24 *REG(PIT_START_PERIODIC) = 1; in platform_set_periodic_timer()
33 *REG(SYSINFO_TIME_LATCH) = 1; in current_time_hires()
34 time = *REG(SYSINFO_TIME_SECS) * 1000000ULL; in current_time_hires()
35 time += *REG(SYSINFO_TIME_USECS); in current_time_hires()
42 *REG(SYSINFO_TIME_LATCH) = 1; in current_time()
43 time = *REG(SYSINFO_TIME_SECS) * 1000; in current_time()
44 time += *REG(SYSINFO_TIME_USECS) / 1000; in current_time()
50 *REG(PIT_CLEAR_INT) = 1; in platform_tick()
A Dnet.c140 *REG(NET_SEND_LEN) = i; in low_level_output()
141 *REG(NET_SEND) = 1; in low_level_output()
173 head = *REG(NET_HEAD); in low_level_input()
174 tail = *REG(NET_TAIL); in low_level_input()
181 len = *REG(NET_IN_BUF_LEN); in low_level_input()
223 *REG(NET_TAIL) = (tail + 1) % NET_IN_BUF_COUNT; in low_level_input()
347 if ((*REG(SYSINFO_FEATURES) & SYSINFO_FEATURE_NETWORK) == 0) in ethernet_init()
/platform/pc/include/platform/pc/
A Dmemmap.h11 #define REG(x) ((volatile unsigned int *)(x)) macro
/platform/armemu/include/platform/armemu/
A Dmemmap.h13 #define REG(x) ((volatile unsigned int *)(x)) macro

Completed in 5 milliseconds