Lines Matching refs:state
146 /* Driver state flags */
178 atomic_t state;
207 dev_warn(rs->dev, "spi controller is in busy state!\n");
265 if (atomic_read(&rs->state) & TXDMA)
268 if (atomic_read(&rs->state) & RXDMA)
365 int state = atomic_fetch_andnot(RXDMA, &rs->state);
367 if (state & TXDMA && !rs->slave_abort)
378 int state = atomic_fetch_andnot(TXDMA, &rs->state);
380 if (state & RXDMA && !rs->slave_abort)
408 atomic_set(&rs->state, 0);
460 atomic_or(RXDMA, &rs->state);
468 atomic_or(TXDMA, &rs->state);
570 if (atomic_read(&rs->state) & RXDMA)
572 if (atomic_read(&rs->state) & TXDMA)
574 atomic_set(&rs->state, 0);