30 asm volatile (
"mrc p15, 0, %0, c0, c0, 0" :
"=r"(
value));
38 asm volatile (
"mrc p15, 0, %0, c0, c0, 5" :
"=r"(
value));
46 asm volatile (
"mrc p15, 0, %0, c1, c0, 1" :
"=r"(
val));
53 asm volatile (
"mcr p15, 0, %0, c1, c0, 1" : :
"r" (
val));
57 static inline void wfi(
void)
59 asm volatile (
"wfi" : : :
"memory");
63 static inline void wfe(
void)
69 static inline void sev(
void)
77 asm volatile(
"msr cpsr_c, %0" ::
"r"(0x1f | 0xc0));
static uint32_t read_actlr(void)
static uint32_t read_midr(void)
static void write_actlr(uint32_t val)
static void cpu_relax(void)
static uint32_t read_mpidr(void)
static void set_system_mode(void)
const struct cpu_device_id * id_table
struct device_operations * ops