Home
last modified time | relevance | path

Searched refs:x86_write_loapic (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/drivers/interrupt_controller/
Dintc_loapic.c133 x86_write_loapic(LOAPIC_DFR, 0xffffffff); /* no DFR in x2APIC mode */ in z_loapic_enable()
136 x86_write_loapic(LOAPIC_TPR, 0x0); in z_loapic_enable()
137 x86_write_loapic(LOAPIC_TIMER_CONFIG, 0x0); in z_loapic_enable()
138 x86_write_loapic(LOAPIC_TIMER_ICR, 0x0); in z_loapic_enable()
144 x86_write_loapic(LOAPIC_LINT0, (x86_read_loapic(LOAPIC_LINT0) & in z_loapic_enable()
151 x86_write_loapic(LOAPIC_LINT1, (x86_read_loapic(LOAPIC_LINT1) & in z_loapic_enable()
158 x86_write_loapic(LOAPIC_TIMER, LOAPIC_LVT_MASKED); in z_loapic_enable()
159 x86_write_loapic(LOAPIC_ERROR, LOAPIC_LVT_MASKED); in z_loapic_enable()
162 x86_write_loapic(LOAPIC_PMC, LOAPIC_LVT_MASKED); in z_loapic_enable()
166 x86_write_loapic(LOAPIC_THERMAL, LOAPIC_LVT_MASKED); in z_loapic_enable()
[all …]
/Zephyr-latest/drivers/timer/
Dapic_timer.c97 x86_write_loapic(LOAPIC_TIMER_CONFIG, val); in sys_clock_driver_init()
102 x86_write_loapic(LOAPIC_TIMER, val); in sys_clock_driver_init()
110 x86_write_loapic(LOAPIC_TIMER_ICR, CYCLES_PER_TICK); in sys_clock_driver_init()
Dapic_tsc.c124 x86_write_loapic(LOAPIC_TIMER_ICR, icr); in set_trigger()
252 x86_write_loapic(LOAPIC_TIMER, lvt_reg.val); in smp_timer_init()
295 x86_write_loapic(LOAPIC_TIMER_CONFIG, timer_conf); in sys_clock_driver_init()
302 x86_write_loapic(LOAPIC_TIMER, lvt_reg.val); in sys_clock_driver_init()
/Zephyr-latest/include/zephyr/drivers/interrupt_controller/
Dsysapic.h30 x86_write_loapic(LOAPIC_EOI, 0); in z_irq_controller_eoi()
Dloapic.h147 static inline void x86_write_loapic(unsigned int reg, uint32_t val) in x86_write_loapic() function