Home
last modified time | relevance | path

Searched refs:xtensa_get_sr (Results 1 – 8 of 8) sorted by relevance

/linux-6.12.1/arch/xtensa/include/asm/
Dmtd-xip.h8 #define xip_irqpending() (xtensa_get_sr(interrupt) & xtensa_get_sr(intenable))
9 #define xip_currtime() (xtensa_get_sr(ccount))
10 #define xip_elapsed_since(x) ((xtensa_get_sr(ccount) - (x)) / 1000) /* should work up to 1GHz */
Dtimex.h40 return xtensa_get_sr(ccount); in get_ccount()
50 return xtensa_get_sr(SREG_CCOMPARE + LINUX_TIMER); in get_linux_timer()
Dprocessor.h238 #define xtensa_get_sr(sr) \ macro
/linux-6.12.1/arch/xtensa/kernel/
Dsetup.c280 xtensa_get_sr(SREG_EPC), xtensa_get_sr(SREG_EXCSAVE)); in setup_arch()
281 if (xtensa_get_sr(SREG_EPC) != XCHAL_HW_CONFIGID0 || in setup_arch()
282 xtensa_get_sr(SREG_EXCSAVE) != XCHAL_HW_CONFIGID1) in setup_arch()
572 xtensa_get_sr(SREG_EPC), xtensa_get_sr(SREG_EXCSAVE), in c_show()
Dtraps.c240 unsigned intread = xtensa_get_sr(interrupt); in check_valid_nmi()
241 unsigned intenable = xtensa_get_sr(intenable); in check_valid_nmi()
292 unsigned intread = xtensa_get_sr(interrupt); in do_interrupt()
293 unsigned intenable = xtensa_get_sr(intenable); in do_interrupt()
Dhw_breakpoint.c154 ibreakenable = xtensa_get_sr(SREG_IBREAKENABLE); in set_ibreak_regs()
218 ibreakenable = xtensa_get_sr(SREG_IBREAKENABLE); in arch_uninstall_hw_breakpoint()
/linux-6.12.1/drivers/irqchip/
Dirq-xtensa-pic.c48 irq_mask = xtensa_get_sr(intenable); in xtensa_irq_mask()
57 irq_mask = xtensa_get_sr(intenable); in xtensa_irq_unmask()
/linux-6.12.1/drivers/gpio/
Dgpio-xtensa.c47 *cpenable = xtensa_get_sr(cpenable); in enable_cp()