Home
last modified time | relevance | path

Searched refs:msr (Results 1 – 17 of 17) sorted by relevance

/Zephyr-latest/include/zephyr/arch/x86/
Dmsr.h58 static inline void z_x86_msr_write(unsigned int msr, uint64_t data) in z_x86_msr_write() argument
63 __asm__ volatile ("wrmsr" : : "c"(msr), "a"(low), "d"(high)); in z_x86_msr_write()
68 static inline uint64_t z_x86_msr_read(unsigned int msr) in z_x86_msr_read() argument
78 __asm__ volatile ("rdmsr" : "=a" (rv.lo), "=d" (rv.hi) : "c" (msr)); in z_x86_msr_read()
85 static inline uint64_t z_x86_msr_read(unsigned int msr) in z_x86_msr_read() argument
89 __asm__ volatile("rdmsr" : "=A" (ret) : "c" (msr)); in z_x86_msr_read()
/Zephyr-latest/arch/arm64/core/
Dreset.S49 msr sctlr_el3, x0
56 msr sp_el1, x24
64 msr sctlr_el2, x0
71 msr sp_el1, x24
78 msr sctlr_el1, x0
85 msr SPSel, #1
91 msr SPSel, #0
122 msr DAIFSet, #0xf
239 msr spsr_el2, x0
242 msr elr_el2, x0
[all …]
Dcpu_idle.S26 msr daifclr, #(DAIFCLR_IRQ_BIT)
38 msr daifset, #(DAIFSET_IRQ_BIT)
43 msr daifclr, #(DAIFCLR_IRQ_BIT)
Duserspace.S62 msr DAIFSET, #DAIFSET_IRQ_BIT
80 msr DAIF, x3
85 msr DAIF, x3
120 msr daifclr, #(DAIFSET_IRQ_BIT)
122 msr daifset, #(DAIFSET_IRQ_BIT)
Dvector_table.S50 msr SPSel, #0
91 msr sp_el0, x1
100 msr tpidrro_el0, \xreg0
263 msr SPSel, #1 // switch sp to sp_el1
312 msr spsr_el1, x0
313 msr elr_el1, x1
322 msr tpidrro_el0, x0
327 msr sp_el0, x0
Dmmu.S21 msr ttbr0_el1, x0
Dfpu.S62 msr fpsr, x1
63 msr fpcr, x2
Dswitch.S64 msr tpidrro_el0, x4
90 msr tpidr_el0, x2
102 msr sp_el0, x4
Disr_wrapper.S96 msr daifclr, #(DAIFCLR_IRQ_BIT)
98 msr daifset, #(DAIFSET_IRQ_BIT)
/Zephyr-latest/arch/arm/core/cortex_m/
Dreset.S81 msr CONTROL, r0
86 msr MSPLIM, r0
87 msr PSPLIM, r0
109 msr msp, r0
120 msr BASEPRI, r0
152 msr PSP, r0
156 msr CONTROL, r0
Dswap_helper.S125 msr BASEPRI_MAX, r0
229 msr CONTROL, r3
257 msr BASEPRI, r0
284 msr CONTROL, r3
302 msr CONTROL, r3
319 msr PSP, ip
546 msr CONTROL, r2
561 msr PSPLIM, r1
Dpm_s2ram.S39 msr sr_name, tmp_reg;
/Zephyr-latest/arch/arm/core/cortex_a_r/
Dreset.S74 msr spsr_cxsf, r0
77 msr elr_hyp, r0
110 msr spsr_cxsf, r0 /* spsr_svc */
122 msr spsr_cxsf, r0 /* spsr_fiq */
129 msr spsr_cxsf, r0 /* spsr_irq */
136 msr spsr_cxsf, r0 /* spsr_abt */
143 msr spsr_cxsf, r0 /* spsr_und */
295 msr CPSR_c, #(MODE_FIQ | I_BIT | F_BIT)
299 msr CPSR_c, #(MODE_IRQ | I_BIT | F_BIT)
303 msr CPSR_c, #(MODE_ABT | I_BIT | F_BIT)
[all …]
/Zephyr-latest/arch/arm/core/
Duserspace.S93 msr PSP, r0
107 msr PSPLIM, r0
222 msr BASEPRI_MAX, r0
229 msr PSPLIM, r0
235 msr PSP, r0
240 msr BASEPRI, ip
249 msr CPSR_c, #MODE_USR
278 msr CONTROL, ip
378 msr PSP, ip
394 msr PSPLIM, ip
[all …]
/Zephyr-latest/drivers/interrupt_controller/
Dintc_loapic.c122 uint64_t msr = z_x86_msr_read(X86_APIC_BASE_MSR); in z_loapic_enable() local
123 msr |= X86_APIC_BASE_MSR_X2APIC; in z_loapic_enable()
124 z_x86_msr_write(X86_APIC_BASE_MSR, msr); in z_loapic_enable()
/Zephyr-latest/drivers/timer/
Dapic_tsc.c104 static inline void wrmsr(int32_t msr, uint64_t val) in wrmsr() argument
109 __asm__ volatile("wrmsr" :: "d"(hi), "a"(lo), "c"(msr)); in wrmsr()
/Zephyr-latest/drivers/serial/
Duart_lpc11u6x.h113 volatile uint32_t msr; /* Modem Status */ member