dma_ops
const struct dma_ops *d_ops;
static struct dma_ops isa_dma_ops = {
static struct dma_ops iomd_dma_ops = {
static struct dma_ops floppy_dma_ops = {
static struct dma_ops sound_dma_ops = {
if (dev->dma_ops)
void __init set_pci_dma_ops(const struct dma_map_ops *dma_ops);
void __init set_pci_dma_ops(const struct dma_map_ops *dma_ops)
pci_dma_ops = dma_ops;
dev->dev.dma_ops = NULL;
dev->core.dma_ops = &ps3_ioc0_dma_ops;
dev->core.dma_ops = &ps3_sb_dma_ops;
dev->dev.dma_ops = &ibmebus_dma_ops;
static struct dma_ops g2_dma_ops = {
static struct dma_ops pvr2_dma_ops = {
static struct dma_ops sh_dmac_ops = {
struct dma_ops *ops;
return IS_ENABLED(CONFIG_SPARC64) ? dma_ops : NULL;
extern const struct dma_map_ops *dma_ops;
const struct dma_map_ops *dma_ops = &sun4u_dma_ops;
EXPORT_SYMBOL(dma_ops);
op->dev.dma_ops = bus->dev.dma_ops;
dma_ops = &sun4v_dma_ops;
op->dev.dma_ops = &iounit_dma_ops;
op->dev.dma_ops = &sbus_iommu_dma_gflush_ops;
op->dev.dma_ops = &sbus_iommu_dma_pflush_ops;
extern const struct dma_map_ops *dma_ops;
return dma_ops;
dma_ops = &gart_dma_ops;
const struct dma_map_ops *dma_ops;
EXPORT_SYMBOL(dma_ops);
dma_ops = &xen_swiotlb_dma_ops;
dev->ofdev.dev.dma_ops = chip->lbus.pdev->dev.dma_ops;
dev->dma_ops->buf_refill(vc, pb);
if (dev->dma_ops->free)
dev->dma_ops->free(vc, pb);
dev->dma_ops = &memcpy_dma_ops;
dev->dma_ops = &contig_dma_ops;
dev->dma_ops = &sg_dma_ops;
if (dev->dma_ops->setup) {
err = dev->dma_ops->setup(dev);
vc->vidq.mem_ops = dev->dma_ops->mem_ops;
val |= dev->dma_ops->hw_dma_mode << (16 + ch * 2);
dev->dma_ops->buf_refill(vc, pb);
vb->field = dev->dma_ops->field;
f->fmt.pix.field = dev->dma_ops->field;
f->fmt.pix.field = dev->dma_ops->field;
if (dev->dma_ops->alloc && realloc) {
dev->dma_ops->free(vc, pb);
err = dev->dma_ops->alloc(vc, pb);
dev->dma_ops->free(vc, 0);
const struct tw686x_dma_ops *dma_ops;
host->dma_ops->stop(host);
if (host->dma_ops->start(host, sg_len)) {
host->dma_ops->stop(host);
host->dma_ops->complete((void *)host);
host->dma_ops->complete((void *)host);
host->dma_ops = &dw_mci_idmac_ops;
host->dma_ops = &dw_mci_edmac_ops;
if (host->dma_ops->init && host->dma_ops->start &&
host->dma_ops->stop && host->dma_ops->cleanup) {
if (host->dma_ops->init(host)) {
host->dma_ops = host->pdata->dma_ops;
if (host->use_dma && host->dma_ops->exit)
host->dma_ops->exit(host);
if (host->use_dma && host->dma_ops->exit)
host->dma_ops->exit(host);
if (host->use_dma && host->dma_ops->exit)
host->dma_ops->exit(host);
if (host->use_dma && host->dma_ops->init)
host->dma_ops->init(host);
host->dma_ops->stop(host);
host->dma_ops->cleanup(host);
host->dma_ops->cleanup(host);
const struct dw_mci_dma_ops *dma_ops;
struct dw_mci_dma_ops *dma_ops;
const struct tmio_mmc_dma_ops *dma_ops,
const struct tmio_mmc_dma_ops *dma_ops,
host->dma_ops = dma_ops;
const struct tmio_mmc_dma_ops *dma_ops;
if (host->dma_ops)
host->dma_ops->start(host, data);
if (host->dma_ops && host->dma_ops->end)
host->dma_ops->end(host);
if (host->dma_ops)
host->dma_ops->enable(host, enable);
if (host->dma_ops && host->dma_ops->dma_irq && host->dma_ops->dma_irq(host))
if (host->dma_ops) {
host->dma_ops->request(host, pdata);
if (host->dma_ops)
host->dma_ops->release(host);
if (host->dma_ops)
host->dma_ops->abort(host);
if (host->dma_ops)
host->dma_ops->dataend(host);
host->dma_ops = &uniphier_sd_internal_dma_ops;
host->dma_ops = &uniphier_sd_external_dma_ops;
if (dws->dma_ops && dws->dma_ops->dma_exit)
dws->dma_ops->dma_exit(dws);
if (dws->dma_ops && dws->dma_ops->dma_exit)
dws->dma_ops->dma_exit(dws);
ret = dws->dma_ops->dma_setup(dws, transfer);
return dws->dma_ops->dma_transfer(dws, transfer);
dws->dma_ops->dma_stop(dws);
if (dws->dma_ops && dws->dma_ops->dma_init) {
ret = dws->dma_ops->dma_init(dev, dws);
ctlr->can_dma = dws->dma_ops->can_dma;
dws->dma_ops = &dw_spi_dma_mfld_ops;
dws->dma_ops = &dw_spi_dma_generic_ops;
const struct dw_spi_dma_ops *dma_ops;
dev->dma_ops = &xen_grant_dma_ops;
const struct dma_map_ops *dma_ops;
if (dev->dma_ops)
return dev->dma_ops;
const struct dma_map_ops *dma_ops)
dev->dma_ops = dma_ops;
const struct dma_map_ops *dma_ops)
dev->dma_ops = &xen_swiotlb_dma_ops;