Lines Matching +full:irq +full:- +full:prio

4  * SPDX-License-Identifier: Apache-2.0
26 unsigned int irq);
29 unsigned int irq, unsigned int prio,
32 unsigned int irq);
46 * @brief Enable an IRQ in the next level.
51 * @param irq IRQ to be enabled.
54 uint32_t irq) in irq_enable_next_level() argument
57 (const struct irq_next_level_api *)dev->api; in irq_enable_next_level()
59 api->intr_enable(dev, irq); in irq_enable_next_level()
63 * @brief Disable an IRQ in the next level.
68 * @param irq IRQ to be disabled.
71 uint32_t irq) in irq_disable_next_level() argument
74 (const struct irq_next_level_api *)dev->api; in irq_disable_next_level()
76 api->intr_disable(dev, irq); in irq_disable_next_level()
80 * @brief Get IRQ enable state.
92 (const struct irq_next_level_api *)dev->api; in irq_is_enabled_next_level()
94 return api->intr_get_state(dev); in irq_is_enabled_next_level()
98 * @brief Set IRQ priority.
104 * @param irq IRQ to be disabled.
105 * @param prio priority for irq in the interrupt controller.
109 uint32_t irq, in irq_set_priority_next_level() argument
110 uint32_t prio, uint32_t flags) in irq_set_priority_next_level() argument
113 (const struct irq_next_level_api *)dev->api; in irq_set_priority_next_level()
115 if (api->intr_set_priority) in irq_set_priority_next_level()
116 api->intr_set_priority(dev, irq, prio, flags); in irq_set_priority_next_level()
120 * @brief Get IRQ line enable state.
122 * Query if a particular IRQ line is enabled.
125 * @param irq IRQ line to be queried.
130 unsigned int irq) in irq_line_is_enabled_next_level()
133 (const struct irq_next_level_api *)dev->api; in irq_line_is_enabled_next_level()
135 return api->intr_get_line_state(dev, irq); in irq_line_is_enabled_next_level()