DMA_CHANNELS
for (ch_idx = 0; ch_idx < DMA_CHANNELS; ch_idx++) {
for (ch_idx = 0; ch_idx < DMA_CHANNELS; ch_idx++) {
struct dim_channel *buffer[DMA_CHANNELS + 1];
BUG_ON(ch_idx < 0 || ch_idx >= DMA_CHANNELS);
BUG_ON(ch_idx < 0 || ch_idx >= DMA_CHANNELS);
BUG_ON(ch_idx < 0 || ch_idx >= DMA_CHANNELS);
for (i = 0; i < DMA_CHANNELS; i++) {
struct hdm_channel hch[DMA_CHANNELS];
struct most_channel_capability capabilities[DMA_CHANNELS];
dev->most_iface.num_channels = DMA_CHANNELS;