Home
last modified time | relevance | path

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

/Zephyr-latest/modules/hal_nordic/nrf_802154/sl_opensource/platform/
Dnrf_802154_irq_zephyr.c12 void nrf_802154_irq_init(uint32_t irqn, int32_t prio, nrf_802154_isr_t isr) in nrf_802154_irq_init() argument
21 irq_connect_dynamic(irqn, prio, isr, NULL, flags); in nrf_802154_irq_init()
24 void nrf_802154_irq_enable(uint32_t irqn) in nrf_802154_irq_enable() argument
26 irq_enable(irqn); in nrf_802154_irq_enable()
29 void nrf_802154_irq_disable(uint32_t irqn) in nrf_802154_irq_disable() argument
31 irq_disable(irqn); in nrf_802154_irq_disable()
34 void nrf_802154_irq_set_pending(uint32_t irqn) in nrf_802154_irq_set_pending() argument
37 NVIC_SetPendingIRQ(irqn); in nrf_802154_irq_set_pending()
40 void nrf_802154_irq_clear_pending(uint32_t irqn) in nrf_802154_irq_clear_pending() argument
43 NVIC_ClearPendingIRQ(irqn); in nrf_802154_irq_clear_pending()
[all …]
/Zephyr-latest/drivers/interrupt_controller/
Dintc_renesas_ra_icu.c60 void ra_icu_clear_int_flag(unsigned int irqn) in ra_icu_clear_int_flag() argument
62 uint32_t cfg = sys_read32(IELSRn_REG(irqn)); in ra_icu_clear_int_flag()
64 sys_write32(cfg & ~BIT(IELSRn_IR_POS), IELSRn_REG(irqn)); in ra_icu_clear_int_flag()
75 static void ra_icu_irq_configure(unsigned int irqn, uint32_t intcfg) in ra_icu_irq_configure() argument
77 uint8_t reg = sys_read8(IRQCRi_REG(irqn)) & ~(IRQCRi_IRQMD_MASK); in ra_icu_irq_configure()
79 sys_write8(reg | (intcfg & IRQCRi_IRQMD_MASK), IRQCRi_REG(irqn)); in ra_icu_irq_configure()
88 int irqn = irq; in ra_icu_irq_connect_dynamic() local
91 irqn = ra_icu_query_available_irq(event); in ra_icu_irq_connect_dynamic()
92 if (irqn < 0) { in ra_icu_irq_connect_dynamic()
93 return irqn; in ra_icu_irq_connect_dynamic()
[all …]
Dintc_exti_stm32.c192 static void stm32_fill_irq_table(int8_t start, int8_t len, int32_t irqn) in stm32_fill_irq_table() argument
195 exti_irq_table[start + i] = irqn; in stm32_fill_irq_table()
/Zephyr-latest/tests/arch/arm64/arm64_gicv3_its/src/
Dmain.c70 unsigned int irqn = vectors[devn][event_id]; in ZTEST() local
72 zassert_true(irq_connect_dynamic(irqn, 0, lpi_irq_handle, in ZTEST()
73 (void *)(uintptr_t)(irqn), 0) == irqn, ""); in ZTEST()
75 irq_enable(irqn); in ZTEST()
84 unsigned int irqn = vectors[0][0]; in ZTEST() local
99 zassert_true(last_lpi_irq_num == irqn, in ZTEST()
101 irqn, device_id, event_id); in ZTEST()
107 unsigned int irqn = vectors[0][0]; in ZTEST() local
114 irq_disable(irqn); in ZTEST()
126 irqn, device_id, event_id); in ZTEST()
[all …]
/Zephyr-latest/tests/kernel/gen_isr_table/src/
Dmultilevel_irq.c23 const uint32_t irqn = (irq3 << l3_shift) | irqn_l2; in test_multi_level_bit_masks_fn() local
25 zassert_equal(level, irq_get_level(irqn)); in test_multi_level_bit_masks_fn()
28 zassert_equal(hwirq2, irq_from_level_2(irqn)); in test_multi_level_bit_masks_fn()
29 zassert_equal(hwirq2, irq_from_level(irqn, 2)); in test_multi_level_bit_masks_fn()
32 zassert_equal(hwirq1, irq_parent_level_2(irqn)); in test_multi_level_bit_masks_fn()
33 zassert_equal(hwirq1, irq_parent_level(irqn, 2)); in test_multi_level_bit_masks_fn()
37 zassert_equal(hwirq3, irq_from_level_3(irqn)); in test_multi_level_bit_masks_fn()
38 zassert_equal(hwirq3, irq_from_level(irqn, 3)); in test_multi_level_bit_masks_fn()
41 zassert_equal(hwirq2, irq_parent_level_3(irqn)); in test_multi_level_bit_masks_fn()
42 zassert_equal(hwirq2, irq_parent_level(irqn, 3)); in test_multi_level_bit_masks_fn()
[all …]
/Zephyr-latest/drivers/serial/
Duart_renesas_ra.c43 uint32_t irqn[NUM_OF_UART_RA_INT]; member
484 irq_enable(data->irqn[UART_RA_INT_TXI]); in uart_ra_irq_tx_enable()
501 irq_disable(data->irqn[UART_RA_INT_TXI]); in uart_ra_irq_tx_disable()
526 irq_enable(data->irqn[UART_RA_INT_RXI]); in uart_ra_irq_rx_enable()
543 irq_disable(data->irqn[UART_RA_INT_RXI]); in uart_ra_irq_rx_disable()
557 irq_enable(data->irqn[UART_RA_INT_ERI]); in uart_ra_irq_err_enable()
564 irq_disable(data->irqn[UART_RA_INT_ERI]); in uart_ra_irq_err_disable()
609 ra_icu_clear_int_flag(data->irqn[UART_RA_INT_RXI]); in uart_ra_isr_rxi()
618 ra_icu_clear_int_flag(data->irqn[UART_RA_INT_TXI]); in uart_ra_isr_txi()
627 ra_icu_clear_int_flag(data->irqn[UART_RA_INT_ERI]); in uart_ra_isr_eri()
[all …]
/Zephyr-latest/drivers/gpio/
Dgpio_renesas_ra.c181 int irqn; in gpio_ra_pin_configure() local
212 irqn = ra_icu_irq_connect_dynamic( in gpio_ra_pin_configure()
215 if (irqn < 0) { in gpio_ra_pin_configure()
216 return irqn; in gpio_ra_pin_configure()
222 irq_enable(irqn); in gpio_ra_pin_configure()
237 int irqn; in gpio_ra_pin_get_config() local
266 irqn = ra_icu_query_exists_irq(gpio_ra_irq_info_event(irq_info)); in gpio_ra_pin_get_config()
267 if (irqn < 0) { in gpio_ra_pin_get_config()
271 ra_icu_query_irq_config(irqn, &intcfg, &cb, &cbarg); in gpio_ra_pin_get_config()
/Zephyr-latest/include/zephyr/drivers/interrupt_controller/
Dintc_ra_icu.h26 extern void ra_icu_clear_int_flag(unsigned int irqn);
/Zephyr-latest/arch/arm/core/
Dfatal.c80 uint32_t irqn = __get_IPSR() - 16; in z_arm_fatal_error() local
82 LOG_ERR("Unhandled IRQn: %d", irqn); in z_arm_fatal_error()
/Zephyr-latest/drivers/counter/
Dcounter_smartbond_timer.c55 uint8_t irqn; member
272 NVIC_SetPendingIRQ(config->irqn); in counter_smartbond_set_alarm()
283 NVIC_SetPendingIRQ(config->irqn); in counter_smartbond_set_alarm()
325 return NVIC_GetPendingIRQ(config->irqn); in counter_smartbond_get_pending_int()
524 .irqn = DT_IRQN(TIMERN(idx)), \
Dcounter_nxp_s32_sys_timer.c71 unsigned int irqn; member
167 irq_set_pending(config->irqn); in stm_set_alarm()
412 .irqn = DT_INST_IRQN(n), \
Dcounter_ifx_cat1.c29 IRQn_Type irqn; member
462 return NVIC_GetPendingIRQ(config->irqn); in ifx_cat1_counter_get_pending_int()
520 .irqn = DT_INST_IRQN(n), \
Dcounter_ll_stm32_timer.c109 uint32_t irqn; member
187 NVIC_SetPendingIRQ(config->irqn); in counter_stm32_counter_stm32_set_cc_int_pending()
667 .irqn = DT_IRQN(TIMER(idx)), \
/Zephyr-latest/drivers/i2c/
Di2c_max32_rtio.c40 uint8_t irqn; member
386 irq_enable(cfg->irqn); in i2c_max32_init()
404 .irq_config_func = i2c_max32_irq_config_func_##n, .irqn = DT_INST_IRQN(n),
Di2c_max32.c44 uint8_t irqn; member
119 irq_enable(config->irqn); in api_target_register()
136 irq_disable(config->irqn); in api_target_unregister()
885 irq_enable(cfg->irqn); in i2c_max32_init()
901 .irq_config_func = i2c_max32_irq_config_func_##n, .irqn = DT_INST_IRQN(n),
/Zephyr-latest/drivers/adc/
Dadc_stm32.c1770 #define FIRST_WITH_IRQN_INTERNAL(index, irqn) \ argument
1771 COND_CODE_1(IS_EQ(irqn, DT_INST_IRQN(index)), (index,), (EMPTY,))
1795 #define HANDLE_IRQS(index, irqn) \ argument
1796 COND_CODE_1(IS_EQ(irqn, DT_INST_IRQN(index)), (adc_stm32_isr(DEVICE_DT_INST_GET(index));), \