Lines Matching defs:channels
9 * peripherals on the MSM 8x74. The configuration of the channels are dependent
384 struct bam_chan *channels;
801 struct bam_chan *bchan = &bdev->channels[i];
1084 /* go through the channels and kick off transactions */
1086 bchan = &bdev->channels[i];
1143 return dma_get_slave_channel(&(bdev->channels[request].vc.chan));
1266 ret = of_property_read_u32(pdev->dev.of_node, "num-channels",
1269 dev_err(bdev->dev, "num-channels unspecified in dt\n");
1297 bdev->channels = devm_kcalloc(bdev->dev, bdev->num_channels,
1298 sizeof(*bdev->channels), GFP_KERNEL);
1300 if (!bdev->channels) {
1305 /* allocate and initialize channels */
1306 INIT_LIST_HEAD(&bdev->common.channels);
1309 bam_channel_init(bdev, &bdev->channels[i], i);
1375 tasklet_kill(&bdev->channels[i].vc.task);
1400 bam_dma_terminate_all(&bdev->channels[i].vc.chan);
1401 tasklet_kill(&bdev->channels[i].vc.task);
1403 if (!bdev->channels[i].fifo_virt)
1407 bdev->channels[i].fifo_virt,
1408 bdev->channels[i].fifo_phys);