Home
last modified time | relevance | path

Searched defs:irq (Results 1 – 25 of 126) sorted by relevance

123456

/Zephyr-Core-3.7.0/include/zephyr/
Dirq_multilevel.h32 static inline unsigned int irq_get_level(unsigned int irq) in irq_get_level()
60 static inline unsigned int irq_from_level_2(unsigned int irq) in irq_from_level_2()
77 #define IRQ_TO_L2(irq) ((irq + 1) << CONFIG_1ST_LEVEL_INTERRUPT_BITS) argument
91 static inline unsigned int irq_to_level_2(unsigned int irq) in irq_to_level_2()
106 static inline unsigned int irq_parent_level_2(unsigned int irq) in irq_parent_level_2()
122 static inline unsigned int irq_from_level_3(unsigned int irq) in irq_from_level_3()
134 #define IRQ_TO_L3(irq) \ argument
149 static inline unsigned int irq_to_level_3(unsigned int irq) in irq_to_level_3()
164 static inline unsigned int irq_parent_level_3(unsigned int irq) in irq_parent_level_3()
178 static inline unsigned int irq_from_level(unsigned int irq, unsigned int level) in irq_from_level()
[all …]
/Zephyr-Core-3.7.0/drivers/interrupt_controller/
Dintc_nrfx_clic.c11 void riscv_clic_irq_enable(uint32_t irq) in riscv_clic_irq_enable()
16 void riscv_clic_irq_disable(uint32_t irq) in riscv_clic_irq_disable()
21 int riscv_clic_irq_is_enabled(uint32_t irq) in riscv_clic_irq_is_enabled()
26 void riscv_clic_irq_priority_set(uint32_t irq, uint32_t pri, uint32_t flags) in riscv_clic_irq_priority_set()
31 void riscv_clic_irq_set_pending(uint32_t irq) in riscv_clic_irq_set_pending()
Dintc_system_apic.c22 #define IS_IOAPIC_IRQ(irq) ((irq) < z_loapic_irq_base()) argument
46 void z_irq_controller_irq_config(unsigned int vector, unsigned int irq, in z_irq_controller_irq_config()
73 void arch_irq_enable(unsigned int irq) in arch_irq_enable()
91 void arch_irq_disable(unsigned int irq) in arch_irq_disable()
Dintc_ioapic.c99 #define BIT_POS_FOR_IRQ_OPTION(irq, option) ((irq) * BITS_PER_IRQ + (option)) argument
195 void z_ioapic_irq_enable(unsigned int irq) in z_ioapic_irq_enable()
207 void z_ioapic_irq_disable(unsigned int irq) in z_ioapic_irq_disable()
216 void store_flags(unsigned int irq, uint32_t flags) in store_flags()
245 uint32_t restore_flags(unsigned int irq) in restore_flags()
276 int irq; in ioapic_suspend() local
298 int irq; in ioapic_resume_from_suspend() local
360 void z_ioapic_irq_set(unsigned int irq, unsigned int vector, uint32_t flags)
418 void z_ioapic_int_vec_set(unsigned int irq, unsigned int vector)
481 static uint32_t ioApicRedGetLo(unsigned int irq)
[all …]
Dintc_arcv2_irq_unit.c91 static inline void arc_core_intc_init_nolock(uint32_t irq, uint32_t state) in arc_core_intc_init_nolock()
125 for (uint32_t irq = CONFIG_GEN_IRQ_START_VECTOR; irq < ARC_CONNECT_IDU_IRQ_START; irq++) { in arc_core_private_intc_init() local
129 for (uint32_t irq = ARC_CONNECT_IDU_IRQ_START; irq < CONFIG_NUM_IRQS; irq++) { in arc_core_private_intc_init() local
133 for (uint32_t irq = CONFIG_GEN_IRQ_START_VECTOR; irq < CONFIG_NUM_IRQS; irq++) { in arc_core_private_intc_init() local
Dintc_vim.c52 void z_vim_irq_eoi(unsigned int irq) in z_vim_irq_eoi()
64 void z_vim_irq_priority_set(unsigned int irq, unsigned int prio, uint32_t flags) in z_vim_irq_priority_set()
91 void z_vim_irq_enable(unsigned int irq) in z_vim_irq_enable()
106 void z_vim_irq_disable(unsigned int irq) in z_vim_irq_disable()
121 int z_vim_irq_is_enabled(unsigned int irq) in z_vim_irq_is_enabled()
138 void z_vim_arm_enter_irq(int irq) in z_vim_arm_enter_irq()
/Zephyr-Core-3.7.0/subsys/testsuite/include/zephyr/
Dinterrupt_util.h60 static inline void trigger_irq(int irq) in trigger_irq()
77 static inline void trigger_irq(int irq) in trigger_irq()
100 static inline void trigger_irq(int irq) in trigger_irq()
163 static inline void trigger_irq(int irq) in trigger_irq()
171 static inline void trigger_irq(int irq) in trigger_irq()
176 static inline void trigger_irq(int irq) in trigger_irq()
186 static inline void trigger_irq(int irq) in trigger_irq()
194 static inline void trigger_irq(int irq) in trigger_irq()
202 static inline void trigger_irq(int irq) in trigger_irq()
211 static inline void trigger_irq(int irq) in trigger_irq()
/Zephyr-Core-3.7.0/soc/common/riscv-privileged/
Dsoc_common_irq.c20 void arch_irq_enable(unsigned int irq) in arch_irq_enable()
25 void arch_irq_disable(unsigned int irq) in arch_irq_disable()
30 int arch_irq_is_enabled(unsigned int irq) in arch_irq_is_enabled()
35 void z_riscv_irq_priority_set(unsigned int irq, unsigned int prio, uint32_t flags) in z_riscv_irq_priority_set()
42 void arch_irq_enable(unsigned int irq) in arch_irq_enable()
62 void arch_irq_disable(unsigned int irq) in arch_irq_disable()
82 int arch_irq_is_enabled(unsigned int irq) in arch_irq_is_enabled()
100 void z_riscv_irq_priority_set(unsigned int irq, unsigned int prio, uint32_t flags) in z_riscv_irq_priority_set()
/Zephyr-Core-3.7.0/arch/arm/core/cortex_m/
Dirq_manage.c32 #define REG_FROM_IRQ(irq) (irq / NUM_IRQS_PER_REG) argument
33 #define BIT_FROM_IRQ(irq) (irq % NUM_IRQS_PER_REG) argument
37 void arch_irq_enable(unsigned int irq) in arch_irq_enable()
42 void arch_irq_disable(unsigned int irq) in arch_irq_disable()
47 int arch_irq_is_enabled(unsigned int irq) in arch_irq_is_enabled()
61 void z_arm_irq_priority_set(unsigned int irq, unsigned int prio, uint32_t flags) in z_arm_irq_priority_set()
168 irq_target_state_t irq_target_state_set(unsigned int irq, in irq_target_state_set()
203 int irq_target_state_is_secure(unsigned int irq) in irq_target_state_is_secure()
243 int arch_irq_connect_dynamic(unsigned int irq, unsigned int priority, in arch_irq_connect_dynamic()
256 uint32_t irq = __get_IPSR() - 16; in z_arm_irq_dynamic_direct_isr_dispatch() local
/Zephyr-Core-3.7.0/arch/arc/core/
Dirq_manage.c161 void arch_irq_enable(unsigned int irq) in arch_irq_enable()
170 void arch_irq_disable(unsigned int irq) in arch_irq_disable()
179 int arch_irq_is_enabled(unsigned int irq) in arch_irq_is_enabled()
188 void arch_irq_enable(unsigned int irq) in arch_irq_enable()
193 void arch_irq_disable(unsigned int irq) in arch_irq_disable()
198 int arch_irq_is_enabled(unsigned int irq) in arch_irq_is_enabled()
216 void z_irq_priority_set(unsigned int irq, unsigned int prio, uint32_t flags) in z_irq_priority_set()
249 int arch_irq_connect_dynamic(unsigned int irq, unsigned int priority, in arch_irq_connect_dynamic()
/Zephyr-Core-3.7.0/include/zephyr/arch/arc/v2/
Darcv2_irq_unit.h50 int irq, in z_arc_v2_irq_unit_irq_enable_set()
69 void z_arc_v2_irq_unit_int_enable(int irq) in z_arc_v2_irq_unit_int_enable()
81 void z_arc_v2_irq_unit_int_disable(int irq) in z_arc_v2_irq_unit_int_disable()
95 bool z_arc_v2_irq_unit_int_enabled(int irq) in z_arc_v2_irq_unit_int_enabled()
116 void z_arc_v2_irq_unit_prio_set(int irq, unsigned char prio) in z_arc_v2_irq_unit_prio_set()
139 void z_arc_v2_irq_uinit_secure_set(int irq, bool secure) in z_arc_v2_irq_uinit_secure_set()
169 void z_arc_v2_irq_unit_sensitivity_set(int irq, int s) in z_arc_v2_irq_unit_sensitivity_set()
207 void z_arc_v2_irq_unit_trigger_set(int irq, unsigned int trigger) in z_arc_v2_irq_unit_trigger_set()
226 unsigned int z_arc_v2_irq_unit_trigger_get(int irq) in z_arc_v2_irq_unit_trigger_get()
246 void z_arc_v2_irq_unit_int_eoi(int irq) in z_arc_v2_irq_unit_int_eoi()
/Zephyr-Core-3.7.0/soc/intel/intel_adsp/cavs/
D_soc_inthandlers.h87 int irq; in _xtensa_handle_one_int1() local
120 int irq; in _xtensa_handle_one_int2() local
153 int irq; in _xtensa_handle_one_int3() local
186 int irq; in _xtensa_handle_one_int4() local
211 int irq; in _xtensa_handle_one_int5() local
249 int irq; in _xtensa_handle_one_int7() local
/Zephyr-Core-3.7.0/soc/espressif/common/include/
D_soc_inthandlers.h122 int irq; in _xtensa_handle_one_int1() local
225 int irq; in _xtensa_handle_one_int3() local
268 int irq; in _xtensa_handle_one_int7() local
283 int irq; in _xtensa_handle_one_int5() local
308 int irq; in _xtensa_handle_one_int2() local
333 int irq; in _xtensa_handle_one_int4() local
/Zephyr-Core-3.7.0/soc/openisa/rv32m1/
Dsoc.h35 static inline unsigned int rv32m1_irq_level(unsigned int irq) in rv32m1_irq_level()
48 static inline uint32_t rv32m1_level1_irq(unsigned int irq) in rv32m1_level1_irq()
66 static inline uint32_t rv32m1_intmux_channel(unsigned int irq) in rv32m1_intmux_channel()
92 static inline uint32_t rv32m1_intmux_line(unsigned int irq) in rv32m1_intmux_line()
/Zephyr-Core-3.7.0/arch/arm64/core/
Dirq_manage.c35 void arch_irq_enable(unsigned int irq) in arch_irq_enable()
40 void arch_irq_disable(unsigned int irq) in arch_irq_disable()
45 int arch_irq_is_enabled(unsigned int irq) in arch_irq_is_enabled()
50 void z_arm64_irq_priority_set(unsigned int irq, unsigned int prio, uint32_t flags) in z_arm64_irq_priority_set()
57 int arch_irq_connect_dynamic(unsigned int irq, unsigned int priority, in arch_irq_connect_dynamic()
/Zephyr-Core-3.7.0/tests/arch/arm/arm_custom_interrupt/src/
Darm_custom_interrupt.c25 #define REG_FROM_IRQ(irq) (irq / NUM_IRQS_PER_REG) argument
26 #define BIT_FROM_IRQ(irq) (irq % NUM_IRQS_PER_REG) argument
30 int irq = 0; in z_soc_irq_init() local
39 void z_soc_irq_enable(unsigned int irq) in z_soc_irq_enable()
47 void z_soc_irq_disable(unsigned int irq) in z_soc_irq_disable()
55 int z_soc_irq_is_enabled(unsigned int irq) in z_soc_irq_is_enabled()
60 void z_soc_irq_eoi(unsigned int irq) in z_soc_irq_eoi()
72 void z_soc_irq_priority_set(unsigned int irq, unsigned int prio, uint32_t flags) in z_soc_irq_priority_set()
/Zephyr-Core-3.7.0/include/zephyr/arch/xtensa/
Dirq.h91 #define arch_irq_enable(irq) z_soc_irq_enable(irq) argument
92 #define arch_irq_disable(irq) z_soc_irq_disable(irq) argument
94 #define arch_irq_is_enabled(irq) z_soc_irq_is_enabled(irq) argument
106 #define arch_irq_enable(irq) xtensa_irq_enable(irq) argument
107 #define arch_irq_disable(irq) xtensa_irq_disable(irq) argument
109 #define arch_irq_is_enabled(irq) xtensa_irq_is_enabled(irq) argument
118 static ALWAYS_INLINE void xtensa_irq_enable(uint32_t irq) in xtensa_irq_enable()
128 static ALWAYS_INLINE void xtensa_irq_disable(uint32_t irq) in xtensa_irq_disable()
/Zephyr-Core-3.7.0/soc/ite/ec/common/
Dsoc_common_irq.c16 void arch_irq_enable(unsigned int irq) in arch_irq_enable()
23 void arch_irq_disable(unsigned int irq) in arch_irq_disable()
30 int arch_irq_is_enabled(unsigned int irq) in arch_irq_is_enabled()
/Zephyr-Core-3.7.0/scripts/native_simulator/native/src/
Dirq_ctrl.c71 void hw_irq_ctrl_prio_set(unsigned int irq, unsigned int prio) in hw_irq_ctrl_prio_set()
76 uint8_t hw_irq_ctrl_get_prio(unsigned int irq) in hw_irq_ctrl_get_prio()
152 void hw_irq_ctrl_disable_irq(unsigned int irq) in hw_irq_ctrl_disable_irq()
157 int hw_irq_ctrl_is_irq_enabled(unsigned int irq) in hw_irq_ctrl_is_irq_enabled()
176 void hw_irq_ctrl_clear_irq(unsigned int irq) in hw_irq_ctrl_clear_irq()
191 void hw_irq_ctrl_enable_irq(unsigned int irq) in hw_irq_ctrl_enable_irq()
199 static inline void hw_irq_ctrl_irq_raise_prefix(unsigned int irq) in hw_irq_ctrl_irq_raise_prefix()
218 void hw_irq_ctrl_set_irq(unsigned int irq) in hw_irq_ctrl_set_irq()
255 void hw_irq_ctrl_raise_im(unsigned int irq) in hw_irq_ctrl_raise_im()
266 void hw_irq_ctrl_raise_im_from_sw(unsigned int irq) in hw_irq_ctrl_raise_im_from_sw()
/Zephyr-Core-3.7.0/arch/posix/core/
Dirq.c19 void arch_irq_enable(unsigned int irq) in arch_irq_enable()
24 void arch_irq_disable(unsigned int irq) in arch_irq_disable()
29 int arch_irq_is_enabled(unsigned int irq) in arch_irq_is_enabled()
48 int arch_irq_connect_dynamic(unsigned int irq, unsigned int priority, in arch_irq_connect_dynamic()
/Zephyr-Core-3.7.0/arch/arm/core/cortex_a_r/
Dirq_manage.c43 void arch_irq_enable(unsigned int irq) in arch_irq_enable()
48 void arch_irq_disable(unsigned int irq) in arch_irq_disable()
53 int arch_irq_is_enabled(unsigned int irq) in arch_irq_is_enabled()
68 void z_arm_irq_priority_set(unsigned int irq, unsigned int prio, uint32_t flags) in z_arm_irq_priority_set()
110 int arch_irq_connect_dynamic(unsigned int irq, unsigned int priority, in arch_irq_connect_dynamic()
123 uint32_t irq = __get_IPSR() - 16; in z_arm_irq_dynamic_direct_isr_dispatch() local
/Zephyr-Core-3.7.0/boards/native/native_posix/
Dirq_ctrl.c75 void hw_irq_ctrl_prio_set(unsigned int irq, unsigned int prio) in hw_irq_ctrl_prio_set()
80 uint8_t hw_irq_ctrl_get_prio(unsigned int irq) in hw_irq_ctrl_get_prio()
151 void hw_irq_ctrl_disable_irq(unsigned int irq) in hw_irq_ctrl_disable_irq()
156 int hw_irq_ctrl_is_irq_enabled(unsigned int irq) in hw_irq_ctrl_is_irq_enabled()
166 void hw_irq_ctrl_clear_irq(unsigned int irq) in hw_irq_ctrl_clear_irq()
181 void hw_irq_ctrl_enable_irq(unsigned int irq) in hw_irq_ctrl_enable_irq()
190 static inline void hw_irq_ctrl_irq_raise_prefix(unsigned int irq) in hw_irq_ctrl_irq_raise_prefix()
209 void hw_irq_ctrl_set_irq(unsigned int irq) in hw_irq_ctrl_set_irq()
247 void hw_irq_ctrl_raise_im(unsigned int irq) in hw_irq_ctrl_raise_im()
258 void hw_irq_ctrl_raise_im_from_sw(unsigned int irq) in hw_irq_ctrl_raise_im_from_sw()
/Zephyr-Core-3.7.0/soc/nxp/imxrt/imxrt5xx/f1/include/
D_soc_inthandlers.h118 int irq; in _xtensa_handle_one_int1() local
136 int irq; in _xtensa_handle_one_int2() local
154 int irq; in _xtensa_handle_one_int3() local
177 int irq; in _xtensa_handle_one_int5() local
/Zephyr-Core-3.7.0/soc/mediatek/mtk_adsp/
Dirq.c29 void z_soc_irq_enable(unsigned int irq) in z_soc_irq_enable()
41 void z_soc_irq_disable(unsigned int irq) in z_soc_irq_disable()
52 int z_soc_irq_is_enabled(unsigned int irq) in z_soc_irq_is_enabled()
/Zephyr-Core-3.7.0/soc/intel/intel_adsp/ace/
Dirq.c12 void z_soc_irq_enable(uint32_t irq) in z_soc_irq_enable()
26 void z_soc_irq_disable(uint32_t irq) in z_soc_irq_disable()
40 int z_soc_irq_is_enabled(unsigned int irq) in z_soc_irq_is_enabled()

123456