Lines Matching refs:state
112 if (test_bit(IOAT_RUN, &ioat_chan->state))
129 if (test_bit(IOAT_RUN, &ioat_chan->state))
145 clear_bit(IOAT_RUN, &ioat_chan->state);
244 if (!test_bit(IOAT_CHAN_DOWN, &ioat_chan->state))
319 if (!test_and_set_bit(IOAT_CHAN_ACTIVE, &ioat_chan->state))
550 clear_bit(IOAT_COMPLETION_ACK, &ioat_chan->state);
698 if (!test_bit(IOAT_RUN, &ioat_chan->state))
863 /* clean up the channel, we could be in weird state */
881 if (test_and_clear_bit(IOAT_CHAN_ACTIVE, &ioat_chan->state))
888 set_bit(IOAT_CHAN_DOWN, &ioat_chan->state);
898 clear_bit(IOAT_CHAN_DOWN, &ioat_chan->state);
911 * programming errors before advancing the completion state
922 if (test_bit(IOAT_RUN, &ioat_chan->state)) {
954 if (test_bit(IOAT_COMPLETION_ACK, &ioat_chan->state)) {
980 set_bit(IOAT_COMPLETION_ACK, &ioat_chan->state);