D40_DMA_STOP
if (command == D40_DMA_STOP) {
if (status == D40_DMA_SUSPENDED || status == D40_DMA_STOP)
if (status == D40_DMA_STOP ||
case D40_DMA_STOP:
if (!d40_chan_has_events(d40c) && (command == D40_DMA_STOP))
res = d40_channel_execute_command(d40c, D40_DMA_STOP);
if (status == D40_DMA_SUSPENDED || status == D40_DMA_STOP)
ret = d40_channel_execute_command(d40c, D40_DMA_STOP);