Lines Matching refs:slave

123 	struct dma_device		slave;  member
141 container_of(dmadev, struct pxad_device, slave)
368 pdev->dbgfs_root = debugfs_create_dir(dev_name(pdev->slave.dev), NULL); in pxad_init_debugfs()
744 pdev->slave.dev, in pxad_alloc_chan_resources()
1275 pxad_free_channels(&pdev->slave); in pxad_remove()
1276 dma_async_device_unregister(&pdev->slave); in pxad_remove()
1314 dev_err(pdev->slave.dev, in pxad_init_phys()
1336 chan = dma_get_any_slave_channel(&d->slave); in pxad_dma_xlate()
1357 INIT_LIST_HEAD(&pdev->slave.channels); in pxad_init_dmadev()
1358 pdev->slave.device_alloc_chan_resources = pxad_alloc_chan_resources; in pxad_init_dmadev()
1359 pdev->slave.device_free_chan_resources = pxad_free_chan_resources; in pxad_init_dmadev()
1360 pdev->slave.device_tx_status = pxad_tx_status; in pxad_init_dmadev()
1361 pdev->slave.device_issue_pending = pxad_issue_pending; in pxad_init_dmadev()
1362 pdev->slave.device_config = pxad_config; in pxad_init_dmadev()
1363 pdev->slave.device_terminate_all = pxad_terminate_all; in pxad_init_dmadev()
1379 vchan_init(&c->vc, &pdev->slave); in pxad_init_dmadev()
1382 return dma_async_device_register(&pdev->slave); in pxad_init_dmadev()
1414 dev_warn(pdev->slave.dev, in pxad_probe()
1426 dma_cap_set(DMA_SLAVE, pdev->slave.cap_mask); in pxad_probe()
1427 dma_cap_set(DMA_MEMCPY, pdev->slave.cap_mask); in pxad_probe()
1428 dma_cap_set(DMA_CYCLIC, pdev->slave.cap_mask); in pxad_probe()
1429 dma_cap_set(DMA_PRIVATE, pdev->slave.cap_mask); in pxad_probe()
1430 pdev->slave.device_prep_dma_memcpy = pxad_prep_memcpy; in pxad_probe()
1431 pdev->slave.device_prep_slave_sg = pxad_prep_slave_sg; in pxad_probe()
1432 pdev->slave.device_prep_dma_cyclic = pxad_prep_dma_cyclic; in pxad_probe()
1434 pdev->slave.copy_align = PDMA_ALIGNMENT; in pxad_probe()
1435 pdev->slave.src_addr_widths = widths; in pxad_probe()
1436 pdev->slave.dst_addr_widths = widths; in pxad_probe()
1437 pdev->slave.directions = BIT(DMA_MEM_TO_DEV) | BIT(DMA_DEV_TO_MEM); in pxad_probe()
1438 pdev->slave.residue_granularity = DMA_RESIDUE_GRANULARITY_DESCRIPTOR; in pxad_probe()
1440 pdev->slave.dev = &op->dev; in pxad_probe()
1443 dev_err(pdev->slave.dev, "unable to register\n"); in pxad_probe()
1452 dev_err(pdev->slave.dev, in pxad_probe()
1460 dev_info(pdev->slave.dev, "initialized %d channels on %d requestors\n", in pxad_probe()