Lines Matching refs:state
31 if (test_bit(IRQ_POLL_F_DISABLE, &iop->state))
33 if (test_and_set_bit(IRQ_POLL_F_SCHED, &iop->state))
55 clear_bit_unlock(IRQ_POLL_F_SCHED, &iop->state);
109 if (test_bit(IRQ_POLL_F_SCHED, &iop->state))
117 * Drivers must not modify the iopoll state, if they
125 if (test_bit(IRQ_POLL_F_DISABLE, &iop->state))
147 set_bit(IRQ_POLL_F_DISABLE, &iop->state);
148 while (test_and_set_bit(IRQ_POLL_F_SCHED, &iop->state))
150 clear_bit(IRQ_POLL_F_DISABLE, &iop->state);
164 BUG_ON(!test_bit(IRQ_POLL_F_SCHED, &iop->state));
166 clear_bit_unlock(IRQ_POLL_F_SCHED, &iop->state);