Searched refs:STATE_BIT (Results 1 – 1 of 1) sorted by relevance
57 #define STATE_BIT(irq, idx) (((irq) - GPIO_INT0_HWIRQ) * 3 + (idx)) macro58 #define ASSIGN_STATE(irq, idx, v) assign_bit(STATE_BIT(irq, idx), sp_intc.states, v)59 #define TEST_STATE(irq, idx) test_bit(STATE_BIT(irq, idx), sp_intc.states)