Lines Matching refs:common

375 static inline struct bam_chan *to_bam_chan(struct dma_chan *common)  in to_bam_chan()  argument
377 return container_of(common, struct bam_chan, vc.chan); in to_bam_chan()
383 struct dma_device common; member
1004 struct bam_device, common); in bam_dma_xlate()
1076 vchan_init(&bchan->vc, &bdev->common); in bam_channel_init()
1150 INIT_LIST_HEAD(&bdev->common.channels); in bam_dma_probe()
1161 bdev->common.dev = bdev->dev; in bam_dma_probe()
1162 bdev->common.dev->dma_parms = &bdev->dma_parms; in bam_dma_probe()
1163 ret = dma_set_max_seg_size(bdev->common.dev, BAM_MAX_DATA_SIZE); in bam_dma_probe()
1172 dma_cap_zero(bdev->common.cap_mask); in bam_dma_probe()
1173 dma_cap_set(DMA_SLAVE, bdev->common.cap_mask); in bam_dma_probe()
1176 bdev->common.directions = BIT(DMA_DEV_TO_MEM) | BIT(DMA_MEM_TO_DEV); in bam_dma_probe()
1177 bdev->common.residue_granularity = DMA_RESIDUE_GRANULARITY_SEGMENT; in bam_dma_probe()
1178 bdev->common.src_addr_widths = DMA_SLAVE_BUSWIDTH_4_BYTES; in bam_dma_probe()
1179 bdev->common.dst_addr_widths = DMA_SLAVE_BUSWIDTH_4_BYTES; in bam_dma_probe()
1180 bdev->common.device_alloc_chan_resources = bam_alloc_chan; in bam_dma_probe()
1181 bdev->common.device_free_chan_resources = bam_free_chan; in bam_dma_probe()
1182 bdev->common.device_prep_slave_sg = bam_prep_slave_sg; in bam_dma_probe()
1183 bdev->common.device_config = bam_slave_config; in bam_dma_probe()
1184 bdev->common.device_pause = bam_pause; in bam_dma_probe()
1185 bdev->common.device_resume = bam_resume; in bam_dma_probe()
1186 bdev->common.device_terminate_all = bam_dma_terminate_all; in bam_dma_probe()
1187 bdev->common.device_issue_pending = bam_issue_pending; in bam_dma_probe()
1188 bdev->common.device_tx_status = bam_tx_status; in bam_dma_probe()
1189 bdev->common.dev = bdev->dev; in bam_dma_probe()
1191 ret = dma_async_device_register(&bdev->common); in bam_dma_probe()
1198 &bdev->common); in bam_dma_probe()
1205 dma_async_device_unregister(&bdev->common); in bam_dma_probe()
1223 dma_async_device_unregister(&bdev->common); in bam_dma_remove()