Home
last modified time | relevance | path

Searched refs:irq_p (Results 1 – 16 of 16) sorted by relevance

/Zephyr-latest/include/zephyr/arch/x86/intel64/
Darch.h66 #define X86_RESERVE_IRQ(irq_p, name) \ argument
67 static TYPE_SECTION_ITERABLE(uint8_t, name, irq_alloc, name) = irq_p
69 #define X86_RESERVE_IRQ(irq_p, name) argument
78 #define ARCH_IRQ_CONNECT(irq_p, priority_p, isr_p, isr_param_p, flags_p) \ argument
79 X86_RESERVE_IRQ(irq_p, _CONCAT(_irq_alloc_fixed, __COUNTER__)); \
80 arch_irq_connect_dynamic(irq_p, priority_p, \
86 #define ARCH_PCIE_IRQ_CONNECT(bdf_p, irq_p, priority_p, \ argument
88 X86_RESERVE_IRQ(irq_p, _CONCAT(_irq_alloc_fixed, __COUNTER__)); \
89 pcie_connect_dynamic_irq(bdf_p, irq_p, priority_p, \
/Zephyr-latest/boards/native/common/irq/
Dboard_irq.h18 void posix_isr_declare(unsigned int irq_p, int flags, void isr_p(const void *),
32 #define ARCH_IRQ_CONNECT(irq_p, priority_p, isr_p, isr_param_p, flags_p) \ argument
34 posix_isr_declare(irq_p, 0, isr_p, isr_param_p); \
35 posix_irq_priority_set(irq_p, priority_p, flags_p); \
44 #define ARCH_IRQ_DIRECT_CONNECT(irq_p, priority_p, isr_p, flags_p) \ argument
46 posix_isr_declare(irq_p, ISR_FLAG_DIRECT, \
48 posix_irq_priority_set(irq_p, priority_p, flags_p); \
/Zephyr-latest/include/zephyr/arch/x86/ia32/
Darch.h146 #define _X86_IDT_TSS_REGISTER(tss_p, irq_p, priority_p, vec_p, dpl_p) \ argument
151 .irq = (irq_p), \
172 #define _VECTOR_ARG(irq_p) (-1) argument
198 #define ARCH_IRQ_CONNECT(irq_p, priority_p, isr_p, isr_param_p, flags_p) \ argument
220 [vector] "i" _VECTOR_ARG(irq_p), \
221 [irq] "i" (irq_p)); \
222 z_irq_controller_irq_config(Z_IRQ_TO_INTERRUPT_VECTOR(irq_p), (irq_p), \
228 #define ARCH_PCIE_IRQ_CONNECT(bdf_p, irq_p, priority_p, \ argument
230 ARCH_IRQ_CONNECT(irq_p, priority_p, isr_p, isr_param_p, flags_p)
242 #define ARCH_IRQ_DIRECT_CONNECT(irq_p, priority_p, isr_p, flags_p) \ argument
[all …]
/Zephyr-latest/include/zephyr/arch/riscv/
Dirq.h71 #define ARCH_IRQ_CONNECT(irq_p, priority_p, isr_p, isr_param_p, flags_p) \ argument
73 Z_ISR_DECLARE(irq_p + CONFIG_RISCV_RESERVED_IRQ_ISR_TABLES_OFFSET, \
75 z_riscv_irq_priority_set(irq_p, priority_p, flags_p); \
78 #define ARCH_IRQ_DIRECT_CONNECT(irq_p, priority_p, isr_p, flags_p) \ argument
80 Z_ISR_DECLARE_DIRECT(irq_p + CONFIG_RISCV_RESERVED_IRQ_ISR_TABLES_OFFSET, \
82 z_riscv_irq_priority_set(irq_p, priority_p, flags_p); \
83 z_riscv_irq_vector_set(irq_p); \
/Zephyr-latest/include/zephyr/arch/arc/v2/
Dirq.h51 #define ARCH_IRQ_CONNECT(irq_p, priority_p, isr_p, isr_param_p, flags_p) \ argument
53 Z_ISR_DECLARE(irq_p, 0, isr_p, isr_param_p); \
54 z_irq_priority_set(irq_p, priority_p, flags_p); \
78 #define ARCH_IRQ_DIRECT_CONNECT(irq_p, priority_p, isr_p, flags_p) \ argument
80 Z_ISR_DECLARE_DIRECT(irq_p, ISR_FLAG_DIRECT, isr_p); \
87 z_irq_priority_set(irq_p, priority_p, flags_p); \
/Zephyr-latest/boards/native/native_posix/
Dirq_handler.c228 void posix_isr_declare(unsigned int irq_p, int flags, void isr_p(const void *), in posix_isr_declare() argument
231 if (irq_p >= N_IRQS) { in posix_isr_declare()
233 irq_p); in posix_isr_declare()
236 irq_vector_table[irq_p].irq = irq_p; in posix_isr_declare()
237 irq_vector_table[irq_p].func = isr_p; in posix_isr_declare()
238 irq_vector_table[irq_p].param = isr_param_p; in posix_isr_declare()
239 irq_vector_table[irq_p].flags = flags; in posix_isr_declare()
/Zephyr-latest/boards/native/native_sim/
Dirq_handler.c236 void posix_isr_declare(unsigned int irq_p, int flags, void isr_p(const void *), in posix_isr_declare() argument
239 if (irq_p >= N_IRQS) { in posix_isr_declare()
241 irq_p); in posix_isr_declare()
244 irq_vector_table[irq_p].irq = irq_p; in posix_isr_declare()
245 irq_vector_table[irq_p].func = isr_p; in posix_isr_declare()
246 irq_vector_table[irq_p].param = isr_param_p; in posix_isr_declare()
247 irq_vector_table[irq_p].flags = flags; in posix_isr_declare()
/Zephyr-latest/include/zephyr/arch/arm/
Dirq.h116 #define ARCH_IRQ_CONNECT(irq_p, priority_p, isr_p, isr_param_p, flags_p) \
121 Z_ISR_DECLARE(irq_p, 0, isr_p, isr_param_p); \
122 z_arm_irq_priority_set(irq_p, priority_p, flags_p); \
125 #define ARCH_IRQ_DIRECT_CONNECT(irq_p, priority_p, isr_p, flags_p) \
130 Z_ISR_DECLARE_DIRECT(irq_p, ISR_FLAG_DIRECT, isr_p); \
131 z_arm_irq_priority_set(irq_p, priority_p, flags_p); \
248 #define ARM_IRQ_DIRECT_DYNAMIC_CONNECT(irq_p, priority_p, flags_p, resch) \
249 IRQ_DIRECT_CONNECT(irq_p, priority_p, \
/Zephyr-latest/boards/native/nrf_bsim/
Dirq_handler.c258 void posix_isr_declare(unsigned int irq_p, int flags, void isr_p(const void *), in posix_isr_declare() argument
261 if (irq_p >= NHW_INTCTRL_MAX_INTLINES) { in posix_isr_declare()
263 irq_p); in posix_isr_declare()
266 irq_vector_table[irq_p].irq = irq_p; in posix_isr_declare()
267 irq_vector_table[irq_p].func = isr_p; in posix_isr_declare()
268 irq_vector_table[irq_p].param = isr_param_p; in posix_isr_declare()
269 irq_vector_table[irq_p].flags = flags; in posix_isr_declare()
/Zephyr-latest/include/zephyr/
Dirq.h48 #define IRQ_CONNECT(irq_p, priority_p, isr_p, isr_param_p, flags_p) \ argument
49 ARCH_IRQ_CONNECT(irq_p, priority_p, isr_p, isr_param_p, flags_p)
136 #define IRQ_DIRECT_CONNECT(irq_p, priority_p, isr_p, flags_p) \ argument
137 ARCH_IRQ_DIRECT_CONNECT(irq_p, priority_p, isr_p, flags_p)
/Zephyr-latest/include/zephyr/arch/arm64/
Dirq.h85 #define ARCH_IRQ_CONNECT(irq_p, priority_p, isr_p, isr_param_p, flags_p) \
87 Z_ISR_DECLARE(irq_p, 0, isr_p, isr_param_p); \
88 z_arm64_irq_priority_set(irq_p, priority_p, flags_p); \
/Zephyr-latest/include/zephyr/arch/mips/
Darch.h58 #define ARCH_IRQ_CONNECT(irq_p, priority_p, isr_p, isr_param_p, flags_p) \ argument
60 Z_ISR_DECLARE(irq_p, 0, isr_p, isr_param_p); \
/Zephyr-latest/include/zephyr/arch/sparc/
Darch.h58 #define ARCH_IRQ_CONNECT(irq_p, priority_p, isr_p, isr_param_p, flags_p) \ argument
60 Z_ISR_DECLARE(irq_p, 0, isr_p, isr_param_p); \
/Zephyr-latest/include/zephyr/arch/nios2/
Darch.h43 #define ARCH_IRQ_CONNECT(irq_p, priority_p, isr_p, isr_param_p, flags_p) \ argument
45 Z_ISR_DECLARE(irq_p, 0, isr_p, isr_param_p); \
/Zephyr-latest/include/zephyr/arch/xtensa/
Darch.h123 #define ARCH_IRQ_CONNECT(irq_p, priority_p, isr_p, isr_param_p, flags_p) \ argument
125 Z_ISR_DECLARE(irq_p, flags_p, isr_p, isr_param_p); \
/Zephyr-latest/include/zephyr/drivers/pcie/
Dpcie.h571 #define PCIE_IRQ_CONNECT(bdf_p, irq_p, priority_p, \ argument
573 ARCH_PCIE_IRQ_CONNECT(bdf_p, irq_p, priority_p, \