Home
last modified time | relevance | path

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

123456

/Zephyr-latest/include/zephyr/
Dirq_multilevel.h27 uint32_t irq; member
42 uint32_t irq: CONFIG_1ST_LEVEL_INTERRUPT_BITS + CONFIG_2ND_LEVEL_INTERRUPT_BITS; member
48 uint32_t irq: CONFIG_1ST_LEVEL_INTERRUPT_BITS; member
54 static inline uint32_t _z_l1_irq(_z_irq_t irq) in _z_l1_irq()
59 static inline uint32_t _z_l2_irq(_z_irq_t irq) in _z_l2_irq()
64 static inline uint32_t _z_l3_irq(_z_irq_t irq) in _z_l3_irq()
90 static inline unsigned int irq_get_level(unsigned int irq) in irq_get_level()
109 static inline unsigned int irq_from_level_2(unsigned int irq) in irq_from_level_2()
125 #define IRQ_TO_L2(irq) ((irq + 1) << CONFIG_1ST_LEVEL_INTERRUPT_BITS) argument
139 static inline unsigned int irq_to_level_2(unsigned int irq) in irq_to_level_2()
[all …]
/Zephyr-latest/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()
40 void z_riscv_irq_vector_set(unsigned int irq) in z_riscv_irq_vector_set()
51 void arch_irq_enable(unsigned int irq) in arch_irq_enable()
71 void arch_irq_disable(unsigned int irq) in arch_irq_disable()
91 int arch_irq_is_enabled(unsigned int irq) in arch_irq_is_enabled()
109 void z_riscv_irq_priority_set(unsigned int irq, unsigned int prio, uint32_t flags) in z_riscv_irq_priority_set()
/Zephyr-latest/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-latest/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
/Zephyr-latest/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-latest/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-latest/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()
209 void z_arc_v2_irq_unit_trigger_set(int irq, unsigned int trigger) in z_arc_v2_irq_unit_trigger_set()
230 unsigned int z_arc_v2_irq_unit_trigger_get(int irq) in z_arc_v2_irq_unit_trigger_get()
250 void z_arc_v2_irq_unit_int_eoi(int irq) in z_arc_v2_irq_unit_int_eoi()
/Zephyr-latest/soc/ti/k3/am6x/r5/
Dsoc.c17 void z_soc_irq_eoi(unsigned int irq) in z_soc_irq_eoi()
27 void z_soc_irq_priority_set(unsigned int irq, unsigned int prio, uint32_t flags) in z_soc_irq_priority_set()
33 void z_soc_irq_enable(unsigned int irq) in z_soc_irq_enable()
39 void z_soc_irq_disable(unsigned int irq) in z_soc_irq_disable()
45 int z_soc_irq_is_enabled(unsigned int irq) in z_soc_irq_is_enabled()
/Zephyr-latest/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-latest/soc/cdns/sample_controller32/include/
D_soc_inthandlers.h95 int irq; in _xtensa_handle_one_int1() local
198 int irq; in _xtensa_handle_one_int2() local
213 int irq; in _xtensa_handle_one_int3() local
246 int irq; in _xtensa_handle_one_int4() local
261 int irq; in _xtensa_handle_one_int5() local
276 int irq; in _xtensa_handle_one_int7() local
/Zephyr-latest/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-latest/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-latest/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-latest/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-latest/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-latest/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-latest/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-latest/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-latest/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-latest/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-latest/arch/posix/core/
Dirq.c23 void arch_irq_enable(unsigned int irq) in arch_irq_enable()
28 void arch_irq_disable(unsigned int irq) in arch_irq_disable()
33 int arch_irq_is_enabled(unsigned int irq) in arch_irq_is_enabled()
52 int arch_irq_connect_dynamic(unsigned int irq, unsigned int priority, in arch_irq_connect_dynamic()
/Zephyr-latest/soc/mediatek/mt8xxx/
Dirq.c44 void z_soc_irq_enable(unsigned int irq) in z_soc_irq_enable()
56 void z_soc_irq_disable(unsigned int irq) in z_soc_irq_disable()
67 int z_soc_irq_is_enabled(unsigned int irq) in z_soc_irq_is_enabled()

123456