CPDMA_STATE_ACTIVE
(chan->state == CPDMA_STATE_ACTIVE)) {
if (chan->state == CPDMA_STATE_ACTIVE && chan->rxfree)
if (chan->state != CPDMA_STATE_ACTIVE) {
if (chan->state != CPDMA_STATE_ACTIVE) {
if (chan->state != CPDMA_STATE_ACTIVE)
if (chan->state != CPDMA_STATE_ACTIVE) {
if (ctlr->state != CPDMA_STATE_ACTIVE)
if (ctlr->state != CPDMA_STATE_ACTIVE)
if (ctlr->state != CPDMA_STATE_ACTIVE) {
chan->state = CPDMA_STATE_ACTIVE;
ctlr->state = CPDMA_STATE_ACTIVE;
if (ctlr->state != CPDMA_STATE_ACTIVE) {
if (ctlr->state != CPDMA_STATE_ACTIVE) {
if (chan->state == CPDMA_STATE_ACTIVE)