Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/irqchip/
Dirq-sp7021-intc.c59 #define TEST_STATE(irq, idx) test_bit(STATE_BIT(irq, idx), sp_intc.states) macro
104 if (unlikely(IS_GPIO_INT(hwirq) && TEST_STATE(hwirq, _IS_EDGE))) { // WORKAROUND in sp_intc_ack_irq()
105 sp_intc_assign_bit(hwirq, REG_INTR_POLARITY, !TEST_STATE(hwirq, _IS_LOW)); in sp_intc_ack_irq()
176 if (unlikely(IS_GPIO_INT(hwirq) && TEST_STATE(hwirq, _IS_ACTIVE))) { // WORKAROUND in sp_intc_handle_ext_cascaded()
178 sp_intc_assign_bit(hwirq, REG_INTR_POLARITY, TEST_STATE(hwirq, _IS_LOW)); in sp_intc_handle_ext_cascaded()