Lines Matching refs:channels
215 struct sprd_dma_chn channels[] __counted_by(total_chns);
233 return container_of(schan, struct sprd_dma_dev, channels[c->chan_id]);
601 schan = &sdev->channels[i];
1127 /* Parse new and deprecated dma-channels properties */
1128 ret = device_property_read_u32(&pdev->dev, "dma-channels", &chn_count);
1130 ret = device_property_read_u32(&pdev->dev, "#dma-channels",
1133 dev_err(&pdev->dev, "get dma channels count failed\n");
1138 struct_size(sdev, channels, chn_count),
1179 INIT_LIST_HEAD(&sdev->dma_dev.channels);
1194 dma_chn = &sdev->channels[i];
1253 list_for_each_entry_safe(c, cn, &sdev->dma_dev.channels,