Lines Matching refs:channels
9 * peripherals on the MSM 8x74. The configuration of the channels are dependent
384 struct bam_chan *channels;
839 struct bam_chan *bchan = &bdev->channels[i];
1122 /* go through the channels and kick off transactions */
1124 bchan = &bdev->channels[i];
1181 return dma_get_slave_channel(&(bdev->channels[request].vc.chan));
1284 ret = of_property_read_u32(pdev->dev.of_node, "num-channels",
1287 dev_err(bdev->dev, "num-channels unspecified in dt\n");
1307 bdev->channels = devm_kcalloc(bdev->dev, bdev->num_channels,
1308 sizeof(*bdev->channels), GFP_KERNEL);
1310 if (!bdev->channels) {
1315 /* allocate and initialize channels */
1316 INIT_LIST_HEAD(&bdev->common.channels);
1319 bam_channel_init(bdev, &bdev->channels[i], i);
1380 tasklet_kill(&bdev->channels[i].vc.task);
1405 bam_dma_terminate_all(&bdev->channels[i].vc.chan);
1406 tasklet_kill(&bdev->channels[i].vc.task);
1408 if (!bdev->channels[i].fifo_virt)
1412 bdev->channels[i].fifo_virt,
1413 bdev->channels[i].fifo_phys);