Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/irqchip/
Dirq-sp7021-intc.c57 #define STATE_BIT(irq, idx) (((irq) - GPIO_INT0_HWIRQ) * 3 + (idx)) macro
58 #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)