Lines Matching full:irq
31 * APIs themselves are writing the IRQ_SELECT, selecting which IRQ's registers
44 * @param irq IRQ line number
50 int irq, in z_arc_v2_irq_unit_irq_enable_set() argument
56 z_arc_v2_aux_reg_write(_ARC_V2_IRQ_SELECT, 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() argument
71 z_arc_v2_irq_unit_irq_enable_set(irq, _ARC_V2_INT_ENABLE); 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() argument
83 z_arc_v2_irq_unit_irq_enable_set(irq, _ARC_V2_INT_DISABLE); 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() argument
100 z_arc_v2_aux_reg_write(_ARC_V2_IRQ_SELECT, 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() argument
121 z_arc_v2_aux_reg_write(_ARC_V2_IRQ_SELECT, irq); 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() argument
143 z_arc_v2_aux_reg_write(_ARC_V2_IRQ_SELECT, irq); 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() argument
173 z_arc_v2_aux_reg_write(_ARC_V2_IRQ_SELECT, irq); in z_arc_v2_irq_unit_sensitivity_set()
200 * @brief Sets an IRQ line to level/pulse trigger
202 * Sets the IRQ line @p irq to trigger an interrupt based on the level or the
205 * @param irq IRQ line
209 void z_arc_v2_irq_unit_trigger_set(int irq, unsigned int trigger) in z_arc_v2_irq_unit_trigger_set() argument
213 z_arc_v2_aux_reg_write(_ARC_V2_IRQ_SELECT, irq); in z_arc_v2_irq_unit_trigger_set()
220 * @brief Returns an IRQ line trigger type
222 * Gets the IRQ line @p irq trigger type.
225 * @param irq IRQ line
230 unsigned int z_arc_v2_irq_unit_trigger_get(int irq) in z_arc_v2_irq_unit_trigger_get() argument
235 z_arc_v2_aux_reg_write(_ARC_V2_IRQ_SELECT, 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() argument
254 z_arc_v2_aux_reg_write(_ARC_V2_IRQ_SELECT, irq); in z_arc_v2_irq_unit_int_eoi()