Searched refs:TEST_STATE (Results 1 – 1 of 1) sorted by relevance
/Linux-v6.6/drivers/irqchip/ |
D | irq-sp7021-intc.c | 59 #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()
|