dma_dir 267 drivers/ata/acard-ahci.c if (qc->tf.protocol == ATA_PROT_PIO && qc->dma_dir == DMA_FROM_DEVICE && dma_dir 2030 drivers/ata/libahci.c if (qc->tf.protocol == ATA_PROT_PIO && qc->dma_dir == DMA_FROM_DEVICE && dma_dir 1549 drivers/ata/libata-core.c int dma_dir, struct scatterlist *sgl, dma_dir 1600 drivers/ata/libata-core.c dma_dir == DMA_FROM_DEVICE) dma_dir 1604 drivers/ata/libata-core.c qc->dma_dir = dma_dir; dma_dir 1605 drivers/ata/libata-core.c if (dma_dir != DMA_NONE) { dma_dir 1725 drivers/ata/libata-core.c int dma_dir, void *buf, unsigned int buflen, dma_dir 1731 drivers/ata/libata-core.c if (dma_dir != DMA_NONE) { dma_dir 1738 drivers/ata/libata-core.c return ata_exec_internal_sg(dev, tf, cdb, dma_dir, psg, n_elem, dma_dir 5021 drivers/ata/libata-core.c int dir = qc->dma_dir; dma_dir 5054 drivers/ata/libata-core.c n_elem = dma_map_sg(ap->dev, qc->sg, qc->n_elem, qc->dma_dir); dma_dir 2497 drivers/ata/libata-eh.c if (qc->dma_dir != DMA_NONE) { dma_dir 2535 drivers/ata/libata-eh.c prot_str, qc->nbytes, dma_str[qc->dma_dir]); dma_dir 2012 drivers/ata/libata-scsi.c qc->dma_dir = cmd->sc_data_direction; dma_dir 2832 drivers/ata/libata-scsi.c qc->dma_dir = DMA_FROM_DEVICE; dma_dir 2102 drivers/ata/libata-sff.c if (qc == NULL || qc->dma_dir == DMA_TO_DEVICE) dma_dir 51 drivers/ata/libata.h int dma_dir, void *buf, unsigned int buflen, dma_dir 55 drivers/ata/libata.h int dma_dir, struct scatterlist *sg, dma_dir 708 drivers/ata/pata_ep93xx.c u32 v = qc->dma_dir == DMA_TO_DEVICE ? IDEUDMAOP_RWOP : 0; dma_dir 709 drivers/ata/pata_ep93xx.c struct dma_chan *channel = qc->dma_dir == DMA_TO_DEVICE dma_dir 712 drivers/ata/pata_ep93xx.c txd = dmaengine_prep_slave_sg(channel, qc->sg, qc->n_elem, qc->dma_dir, dma_dir 848 drivers/ata/pata_ep93xx.c if (qc == NULL || qc->dma_dir == DMA_TO_DEVICE) dma_dir 120 drivers/ata/pata_pcmcia.c if (qc == NULL || qc->dma_dir == DMA_TO_DEVICE) dma_dir 56 drivers/ata/pata_pxa.c dir = (qc->dma_dir == DMA_TO_DEVICE ? DMA_MEM_TO_DEV : DMA_DEV_TO_MEM); dma_dir 300 drivers/ata/sata_dwc_460ex.c static const char *get_dma_dir_descript(int dma_dir) dma_dir 302 drivers/ata/sata_dwc_460ex.c switch ((enum dma_data_direction)dma_dir) { dma_dir 371 drivers/ata/sata_dwc_460ex.c if (qc->dma_dir == DMA_DEV_TO_MEM) { dma_dir 379 drivers/ata/sata_dwc_460ex.c sconf.direction = qc->dma_dir; dma_dir 389 drivers/ata/sata_dwc_460ex.c qc->dma_dir, dma_dir 761 drivers/ata/sata_dwc_460ex.c get_dma_dir_descript(qc->dma_dir), dma_dir 1015 drivers/ata/sata_dwc_460ex.c int dir = qc->dma_dir; dma_dir 1033 drivers/ata/sata_dwc_460ex.c get_dma_dir_descript(qc->dma_dir), start_dma); dma_dir 493 drivers/ata/sata_rcar.c if (qc == NULL || qc->dma_dir == DMA_TO_DEVICE) dma_dir 2064 drivers/block/mtip32xx/mtip32xx.c int dma_dir = rq_data_dir(rq) == READ ? DMA_FROM_DEVICE : DMA_TO_DEVICE; dma_dir 2071 drivers/block/mtip32xx/mtip32xx.c nents = dma_map_sg(&dd->pdev->dev, command->sg, nents, dma_dir); dma_dir 2087 drivers/block/mtip32xx/mtip32xx.c if (dma_dir == DMA_FROM_DEVICE) dma_dir 2117 drivers/block/mtip32xx/mtip32xx.c command->direction = dma_dir; dma_dir 474 drivers/crypto/ccp/ccp-dev.h enum dma_data_direction dma_dir; dma_dir 66 drivers/crypto/ccp/ccp-ops.c dma_unmap_sg(wa->dma_dev, wa->dma_sg, wa->nents, wa->dma_dir); dma_dir 73 drivers/crypto/ccp/ccp-ops.c enum dma_data_direction dma_dir) dma_dir 91 drivers/crypto/ccp/ccp-ops.c if (dma_dir == DMA_NONE) dma_dir 96 drivers/crypto/ccp/ccp-ops.c wa->dma_dir = dma_dir; dma_dir 97 drivers/crypto/ccp/ccp-ops.c wa->dma_count = dma_map_sg(dev, sg, wa->nents, dma_dir); dma_dir 206 drivers/dma/fsl-edma-common.c if (fsl_chan->dma_dir != DMA_NONE) dma_dir 210 drivers/dma/fsl-edma-common.c fsl_chan->dma_dir, 0); dma_dir 211 drivers/dma/fsl-edma-common.c fsl_chan->dma_dir = DMA_NONE; dma_dir 218 drivers/dma/fsl-edma-common.c enum dma_data_direction dma_dir; dma_dir 224 drivers/dma/fsl-edma-common.c dma_dir = DMA_FROM_DEVICE; dma_dir 229 drivers/dma/fsl-edma-common.c dma_dir = DMA_TO_DEVICE; dma_dir 234 drivers/dma/fsl-edma-common.c dma_dir = DMA_NONE; dma_dir 239 drivers/dma/fsl-edma-common.c if (fsl_chan->dma_dir == dma_dir) dma_dir 244 drivers/dma/fsl-edma-common.c fsl_chan->dma_dev_addr = dma_map_resource(dev, addr, size, dma_dir, 0); dma_dir 248 drivers/dma/fsl-edma-common.c fsl_chan->dma_dir = dma_dir; dma_dir 127 drivers/dma/fsl-edma-common.h enum dma_data_direction dma_dir; dma_dir 344 drivers/dma/fsl-edma.c fsl_chan->dma_dir = DMA_NONE; dma_dir 222 drivers/dma/mcf-edma.c mcf_chan->dma_dir = DMA_NONE; dma_dir 124 drivers/dma/moxart-dma.c enum dma_transfer_direction dma_dir; dma_dir 316 drivers/dma/moxart-dma.c d->dma_dir = dir; dma_dir 409 drivers/dma/moxart-dma.c if (ch->desc->dma_dir == DMA_MEM_TO_DEV) dma_dir 411 drivers/dma/moxart-dma.c else if (ch->desc->dma_dir == DMA_DEV_TO_MEM) dma_dir 2206 drivers/dma/pl330.c enum dma_data_direction dma_dir = pl330_dma_slave_map_dir(dir); dma_dir 2209 drivers/dma/pl330.c if (pch->dir == dma_dir) dma_dir 2214 drivers/dma/pl330.c 1 << pch->burst_sz, dma_dir, 0); dma_dir 2218 drivers/dma/pl330.c pch->dir = dma_dir; dma_dir 618 drivers/infiniband/ulp/iser/iscsi_iser.h enum dma_data_direction dma_dir); dma_dir 165 drivers/infiniband/ulp/iser/iser_memory.c enum dma_data_direction dma_dir) dma_dir 172 drivers/infiniband/ulp/iser/iser_memory.c data->dma_nents = ib_dma_map_sg(dev, data->sg, data->size, dma_dir); dma_dir 217 drivers/media/common/videobuf2/videobuf2-core.c q->dma_attrs, size, q->dma_dir, q->gfp_flags); dma_dir 1065 drivers/media/common/videobuf2/videobuf2-core.c planes[plane].length, q->dma_dir); dma_dir 1188 drivers/media/common/videobuf2/videobuf2-core.c dbuf, planes[plane].length, q->dma_dir); dma_dir 2290 drivers/media/common/videobuf2/videobuf2-core.c q->dma_dir = DMA_BIDIRECTIONAL; dma_dir 2292 drivers/media/common/videobuf2/videobuf2-core.c q->dma_dir = q->is_output ? DMA_TO_DEVICE : DMA_FROM_DEVICE; dma_dir 32 drivers/media/common/videobuf2/videobuf2-dma-contig.c enum dma_data_direction dma_dir; dma_dir 103 drivers/media/common/videobuf2/videobuf2-dma-contig.c buf->dma_dir); dma_dir 115 drivers/media/common/videobuf2/videobuf2-dma-contig.c dma_sync_sg_for_cpu(buf->dev, sgt->sgl, sgt->orig_nents, buf->dma_dir); dma_dir 140 drivers/media/common/videobuf2/videobuf2-dma-contig.c unsigned long size, enum dma_data_direction dma_dir, dma_dir 168 drivers/media/common/videobuf2/videobuf2-dma-contig.c buf->dma_dir = dma_dir; dma_dir 216 drivers/media/common/videobuf2/videobuf2-dma-contig.c enum dma_data_direction dma_dir; dma_dir 251 drivers/media/common/videobuf2/videobuf2-dma-contig.c attach->dma_dir = DMA_NONE; dma_dir 269 drivers/media/common/videobuf2/videobuf2-dma-contig.c if (attach->dma_dir != DMA_NONE) dma_dir 277 drivers/media/common/videobuf2/videobuf2-dma-contig.c attach->dma_dir, DMA_ATTR_SKIP_CPU_SYNC); dma_dir 284 drivers/media/common/videobuf2/videobuf2-dma-contig.c struct dma_buf_attachment *db_attach, enum dma_data_direction dma_dir) dma_dir 295 drivers/media/common/videobuf2/videobuf2-dma-contig.c if (attach->dma_dir == dma_dir) { dma_dir 301 drivers/media/common/videobuf2/videobuf2-dma-contig.c if (attach->dma_dir != DMA_NONE) { dma_dir 303 drivers/media/common/videobuf2/videobuf2-dma-contig.c attach->dma_dir, DMA_ATTR_SKIP_CPU_SYNC); dma_dir 304 drivers/media/common/videobuf2/videobuf2-dma-contig.c attach->dma_dir = DMA_NONE; dma_dir 312 drivers/media/common/videobuf2/videobuf2-dma-contig.c dma_dir, DMA_ATTR_SKIP_CPU_SYNC); dma_dir 319 drivers/media/common/videobuf2/videobuf2-dma-contig.c attach->dma_dir = dma_dir; dma_dir 327 drivers/media/common/videobuf2/videobuf2-dma-contig.c struct sg_table *sgt, enum dma_data_direction dma_dir) dma_dir 435 drivers/media/common/videobuf2/videobuf2-dma-contig.c buf->dma_dir, DMA_ATTR_SKIP_CPU_SYNC); dma_dir 439 drivers/media/common/videobuf2/videobuf2-dma-contig.c if (buf->dma_dir == DMA_FROM_DEVICE || dma_dir 440 drivers/media/common/videobuf2/videobuf2-dma-contig.c buf->dma_dir == DMA_BIDIRECTIONAL) dma_dir 447 drivers/media/common/videobuf2/videobuf2-dma-contig.c buf->dma_dir, 0); dma_dir 454 drivers/media/common/videobuf2/videobuf2-dma-contig.c unsigned long size, enum dma_data_direction dma_dir) dma_dir 484 drivers/media/common/videobuf2/videobuf2-dma-contig.c buf->dma_dir = dma_dir; dma_dir 506 drivers/media/common/videobuf2/videobuf2-dma-contig.c __pfn_to_phys(nums[0]), size, buf->dma_dir, 0); dma_dir 533 drivers/media/common/videobuf2/videobuf2-dma-contig.c buf->dma_dir, DMA_ATTR_SKIP_CPU_SYNC); dma_dir 557 drivers/media/common/videobuf2/videobuf2-dma-contig.c buf->dma_dir, DMA_ATTR_SKIP_CPU_SYNC); dma_dir 595 drivers/media/common/videobuf2/videobuf2-dma-contig.c sgt = dma_buf_map_attachment(buf->db_attach, buf->dma_dir); dma_dir 606 drivers/media/common/videobuf2/videobuf2-dma-contig.c dma_buf_unmap_attachment(buf->db_attach, sgt, buf->dma_dir); dma_dir 636 drivers/media/common/videobuf2/videobuf2-dma-contig.c dma_buf_unmap_attachment(buf->db_attach, sgt, buf->dma_dir); dma_dir 656 drivers/media/common/videobuf2/videobuf2-dma-contig.c unsigned long size, enum dma_data_direction dma_dir) dma_dir 680 drivers/media/common/videobuf2/videobuf2-dma-contig.c buf->dma_dir = dma_dir; dma_dir 40 drivers/media/common/videobuf2/videobuf2-dma-sg.c enum dma_data_direction dma_dir; dma_dir 100 drivers/media/common/videobuf2/videobuf2-dma-sg.c unsigned long size, enum dma_data_direction dma_dir, dma_dir 116 drivers/media/common/videobuf2/videobuf2-dma-sg.c buf->dma_dir = dma_dir; dma_dir 146 drivers/media/common/videobuf2/videobuf2-dma-sg.c buf->dma_dir, DMA_ATTR_SKIP_CPU_SYNC); dma_dir 184 drivers/media/common/videobuf2/videobuf2-dma-sg.c buf->dma_dir, DMA_ATTR_SKIP_CPU_SYNC); dma_dir 206 drivers/media/common/videobuf2/videobuf2-dma-sg.c buf->dma_dir); dma_dir 218 drivers/media/common/videobuf2/videobuf2-dma-sg.c dma_sync_sg_for_cpu(buf->dev, sgt->sgl, sgt->orig_nents, buf->dma_dir); dma_dir 223 drivers/media/common/videobuf2/videobuf2-dma-sg.c enum dma_data_direction dma_dir) dma_dir 238 drivers/media/common/videobuf2/videobuf2-dma-sg.c buf->dma_dir = dma_dir; dma_dir 262 drivers/media/common/videobuf2/videobuf2-dma-sg.c buf->dma_dir, DMA_ATTR_SKIP_CPU_SYNC); dma_dir 289 drivers/media/common/videobuf2/videobuf2-dma-sg.c dma_unmap_sg_attrs(buf->dev, sgt->sgl, sgt->orig_nents, buf->dma_dir, dma_dir 294 drivers/media/common/videobuf2/videobuf2-dma-sg.c if (buf->dma_dir == DMA_FROM_DEVICE || dma_dir 295 drivers/media/common/videobuf2/videobuf2-dma-sg.c buf->dma_dir == DMA_BIDIRECTIONAL) dma_dir 360 drivers/media/common/videobuf2/videobuf2-dma-sg.c enum dma_data_direction dma_dir; dma_dir 395 drivers/media/common/videobuf2/videobuf2-dma-sg.c attach->dma_dir = DMA_NONE; dma_dir 413 drivers/media/common/videobuf2/videobuf2-dma-sg.c if (attach->dma_dir != DMA_NONE) dma_dir 415 drivers/media/common/videobuf2/videobuf2-dma-sg.c attach->dma_dir); dma_dir 422 drivers/media/common/videobuf2/videobuf2-dma-sg.c struct dma_buf_attachment *db_attach, enum dma_data_direction dma_dir) dma_dir 433 drivers/media/common/videobuf2/videobuf2-dma-sg.c if (attach->dma_dir == dma_dir) { dma_dir 439 drivers/media/common/videobuf2/videobuf2-dma-sg.c if (attach->dma_dir != DMA_NONE) { dma_dir 441 drivers/media/common/videobuf2/videobuf2-dma-sg.c attach->dma_dir); dma_dir 442 drivers/media/common/videobuf2/videobuf2-dma-sg.c attach->dma_dir = DMA_NONE; dma_dir 447 drivers/media/common/videobuf2/videobuf2-dma-sg.c dma_dir); dma_dir 454 drivers/media/common/videobuf2/videobuf2-dma-sg.c attach->dma_dir = dma_dir; dma_dir 462 drivers/media/common/videobuf2/videobuf2-dma-sg.c struct sg_table *sgt, enum dma_data_direction dma_dir) dma_dir 548 drivers/media/common/videobuf2/videobuf2-dma-sg.c sgt = dma_buf_map_attachment(buf->db_attach, buf->dma_dir); dma_dir 579 drivers/media/common/videobuf2/videobuf2-dma-sg.c dma_buf_unmap_attachment(buf->db_attach, sgt, buf->dma_dir); dma_dir 598 drivers/media/common/videobuf2/videobuf2-dma-sg.c unsigned long size, enum dma_data_direction dma_dir) dma_dir 622 drivers/media/common/videobuf2/videobuf2-dma-sg.c buf->dma_dir = dma_dir; dma_dir 28 drivers/media/common/videobuf2/videobuf2-vmalloc.c enum dma_data_direction dma_dir; dma_dir 38 drivers/media/common/videobuf2/videobuf2-vmalloc.c unsigned long size, enum dma_data_direction dma_dir, dma_dir 55 drivers/media/common/videobuf2/videobuf2-vmalloc.c buf->dma_dir = dma_dir; dma_dir 76 drivers/media/common/videobuf2/videobuf2-vmalloc.c enum dma_data_direction dma_dir) dma_dir 87 drivers/media/common/videobuf2/videobuf2-vmalloc.c buf->dma_dir = dma_dir; dma_dir 140 drivers/media/common/videobuf2/videobuf2-vmalloc.c if (buf->dma_dir == DMA_FROM_DEVICE || dma_dir 141 drivers/media/common/videobuf2/videobuf2-vmalloc.c buf->dma_dir == DMA_BIDIRECTIONAL) dma_dir 208 drivers/media/common/videobuf2/videobuf2-vmalloc.c enum dma_data_direction dma_dir; dma_dir 245 drivers/media/common/videobuf2/videobuf2-vmalloc.c attach->dma_dir = DMA_NONE; dma_dir 262 drivers/media/common/videobuf2/videobuf2-vmalloc.c if (attach->dma_dir != DMA_NONE) dma_dir 264 drivers/media/common/videobuf2/videobuf2-vmalloc.c attach->dma_dir); dma_dir 271 drivers/media/common/videobuf2/videobuf2-vmalloc.c struct dma_buf_attachment *db_attach, enum dma_data_direction dma_dir) dma_dir 282 drivers/media/common/videobuf2/videobuf2-vmalloc.c if (attach->dma_dir == dma_dir) { dma_dir 288 drivers/media/common/videobuf2/videobuf2-vmalloc.c if (attach->dma_dir != DMA_NONE) { dma_dir 290 drivers/media/common/videobuf2/videobuf2-vmalloc.c attach->dma_dir); dma_dir 291 drivers/media/common/videobuf2/videobuf2-vmalloc.c attach->dma_dir = DMA_NONE; dma_dir 296 drivers/media/common/videobuf2/videobuf2-vmalloc.c dma_dir); dma_dir 303 drivers/media/common/videobuf2/videobuf2-vmalloc.c attach->dma_dir = dma_dir; dma_dir 311 drivers/media/common/videobuf2/videobuf2-vmalloc.c struct sg_table *sgt, enum dma_data_direction dma_dir) dma_dir 411 drivers/media/common/videobuf2/videobuf2-vmalloc.c unsigned long size, enum dma_data_direction dma_dir) dma_dir 423 drivers/media/common/videobuf2/videobuf2-vmalloc.c buf->dma_dir = dma_dir; dma_dir 135 drivers/memstick/host/rtsx_pci_ms.c u8 val, trans_mode, dma_dir; dma_dir 144 drivers/memstick/host/rtsx_pci_ms.c dma_dir = DMA_DIR_FROM_CARD; dma_dir 147 drivers/memstick/host/rtsx_pci_ms.c dma_dir = DMA_DIR_TO_CARD; dma_dir 169 drivers/memstick/host/rtsx_pci_ms.c 0x03 | DMA_PACK_SIZE_MASK, dma_dir | DMA_EN | DMA_512); dma_dir 237 drivers/memstick/host/rtsx_usb_ms.c u8 trans_mode, dma_dir, flag; dma_dir 247 drivers/memstick/host/rtsx_usb_ms.c dma_dir = DMA_DIR_FROM_CARD; dma_dir 255 drivers/memstick/host/rtsx_usb_ms.c dma_dir = DMA_DIR_TO_CARD; dma_dir 283 drivers/memstick/host/rtsx_usb_ms.c 0x03 | DMA_PACK_SIZE_MASK, dma_dir | DMA_EN | DMA_512); dma_dir 198 drivers/misc/habanalabs/debugfs.c char dma_dir[4][30] = {"DMA_BIDIRECTIONAL", "DMA_TO_DEVICE", dma_dir 213 drivers/misc/habanalabs/debugfs.c userptr->addr, userptr->size, dma_dir[userptr->dir]); dma_dir 185 drivers/mmc/host/bcm2835.c u32 dma_dir; dma_dir 518 drivers/mmc/host/bcm2835.c host->dma_dir = dir_data; dma_dir 1065 drivers/mmc/host/bcm2835.c host->dma_dir); dma_dir 138 drivers/mmc/host/mxcmmc.c unsigned int dma_dir; dma_dir 323 drivers/mmc/host/mxcmmc.c host->dma_dir = DMA_FROM_DEVICE; dma_dir 326 drivers/mmc/host/mxcmmc.c host->dma_dir = DMA_TO_DEVICE; dma_dir 333 drivers/mmc/host/mxcmmc.c data->sg_len, host->dma_dir); dma_dir 343 drivers/mmc/host/mxcmmc.c host->dma_dir); dma_dir 406 drivers/mmc/host/mxcmmc.c if (host->dma_dir == DMA_FROM_DEVICE) { dma_dir 453 drivers/mmc/host/mxcmmc.c host->dma_dir); dma_dir 966 drivers/mmc/host/mxcmmc.c if (host->dma_dir == DMA_FROM_DEVICE) { dma_dir 148 drivers/mmc/host/mxs-mmc.c data->sg_len, ssp->dma_dir); dma_dir 226 drivers/mmc/host/mxs-mmc.c data->sg_len, ssp->dma_dir); dma_dir 243 drivers/mmc/host/mxs-mmc.c data->sg_len, ssp->dma_dir); dma_dir 268 drivers/mmc/host/mxs-mmc.c ssp->dma_dir = DMA_NONE; dma_dir 313 drivers/mmc/host/mxs-mmc.c ssp->dma_dir = DMA_NONE; dma_dir 434 drivers/mmc/host/mxs-mmc.c ssp->dma_dir = DMA_NONE; dma_dir 443 drivers/mmc/host/mxs-mmc.c ssp->dma_dir = dma_data_dir; dma_dir 74 drivers/mmc/host/pxamci.c unsigned int dma_dir; dma_dir 189 drivers/mmc/host/pxamci.c host->dma_dir = DMA_FROM_DEVICE; dma_dir 193 drivers/mmc/host/pxamci.c host->dma_dir = DMA_TO_DEVICE; dma_dir 207 drivers/mmc/host/pxamci.c host->dma_dir); dma_dir 343 drivers/mmc/host/pxamci.c data->sg, data->sg_len, host->dma_dir); dma_dir 69 drivers/mmc/host/uniphier-sd.c enum dma_data_direction dma_dir; dma_dir 102 drivers/mmc/host/uniphier-sd.c priv->dma_dir); dma_dir 136 drivers/mmc/host/uniphier-sd.c priv->dma_dir = DMA_FROM_DEVICE; dma_dir 139 drivers/mmc/host/uniphier-sd.c priv->dma_dir = DMA_TO_DEVICE; dma_dir 144 drivers/mmc/host/uniphier-sd.c priv->dma_dir); dma_dir 166 drivers/mmc/host/uniphier-sd.c priv->dma_dir); dma_dir 265 drivers/mmc/host/uniphier-sd.c priv->dma_dir = DMA_FROM_DEVICE; dma_dir 268 drivers/mmc/host/uniphier-sd.c priv->dma_dir = DMA_TO_DEVICE; dma_dir 272 drivers/mmc/host/uniphier-sd.c sg_len = dma_map_sg(mmc_dev(host->mmc), sg, 1, priv->dma_dir); dma_dir 343 drivers/mmc/host/uniphier-sd.c dma_unmap_sg(mmc_dev(host->mmc), host->sg_ptr, 1, priv->dma_dir); dma_dir 97 drivers/mtd/nand/raw/r852.c if (dev->dma_dir) dma_dir 151 drivers/mtd/nand/raw/r852.c dev->dma_dir ? DMA_FROM_DEVICE : DMA_TO_DEVICE); dma_dir 181 drivers/mtd/nand/raw/r852.c dev->dma_dir = do_read; dma_dir 118 drivers/mtd/nand/raw/r852.h int dma_dir; /* 1 = read, 0 = write */ dma_dir 2810 drivers/net/ethernet/broadcom/bnxt/bnxt.c pp.dma_dir = DMA_BIDIRECTIONAL; dma_dir 1613 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c const enum dma_data_direction dma_dir = DMA_TO_DEVICE; dma_dir 1629 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c dma_dir); dma_dir 1638 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c qm_sg_entry_get_len(&sgt[0]), dma_dir); dma_dir 1645 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c qm_sg_entry_get_len(&sgt[i]), dma_dir); dma_dir 1649 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c skb_tail_pointer(skb) - (u8 *)skbh, dma_dir); dma_dir 1862 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c enum dma_data_direction dma_dir; dma_dir 1873 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c dma_dir = DMA_TO_DEVICE; dma_dir 1898 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c skb_tail_pointer(skb) - buffer_start, dma_dir); dma_dir 1912 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c const enum dma_data_direction dma_dir = DMA_TO_DEVICE; dma_dir 1955 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c skb_headlen(skb), dma_dir); dma_dir 1969 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c frag_len, dma_dir); dma_dir 1995 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c priv->tx_headroom + DPAA_SGT_SIZE, dma_dir); dma_dir 2012 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c qm_sg_entry_get_len(&sgt[j]), dma_dir); dma_dir 63 drivers/net/ethernet/mellanox/mlx4/en_rx.c dma = dma_map_page(priv->ddev, page, 0, PAGE_SIZE, priv->dma_dir); dma_dir 99 drivers/net/ethernet/mellanox/mlx4/en_rx.c PAGE_SIZE, priv->dma_dir); dma_dir 457 drivers/net/ethernet/mellanox/mlx4/en_rx.c PAGE_SIZE, priv->dma_dir); dma_dir 489 drivers/net/ethernet/mellanox/mlx4/en_rx.c frag_size, priv->dma_dir); dma_dir 511 drivers/net/ethernet/mellanox/mlx4/en_rx.c dma_unmap_page(priv->ddev, dma, PAGE_SIZE, priv->dma_dir); dma_dir 1004 drivers/net/ethernet/mellanox/mlx4/en_rx.c priv->dma_dir = PCI_DMA_BIDIRECTIONAL; dma_dir 1034 drivers/net/ethernet/mellanox/mlx4/en_rx.c priv->dma_dir = PCI_DMA_FROMDEVICE; dma_dir 355 drivers/net/ethernet/mellanox/mlx4/en_tx.c PAGE_SIZE, priv->dma_dir); dma_dir 589 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h u8 dma_dir; dma_dir 553 drivers/net/ethernet/mellanox/mlx5/core/en_main.c pp_params.dma_dir = rq->buff.map_dir; dma_dir 59 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c buf->sg[0].size, buf->dma_dir); dma_dir 71 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c buf->sg[1].size, buf->dma_dir); dma_dir 76 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c buf->sg[0].size, buf->dma_dir); dma_dir 92 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c buf->sg[1].size, buf->dma_dir); dma_dir 96 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c buf->sg[0].size, buf->dma_dir); dma_dir 184 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c buf->dma_dir = DMA_TO_DEVICE; dma_dir 214 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c buf->dma_dir = DMA_FROM_DEVICE; dma_dir 79 drivers/net/ethernet/mellanox/mlx5/core/fpga/sdk.h enum dma_data_direction dma_dir; dma_dir 722 drivers/net/ethernet/socionext/netsec.c enum dma_data_direction dma_dir; dma_dir 738 drivers/net/ethernet/socionext/netsec.c dma_dir = page_pool_get_dma_dir(dring->page_pool); dma_dir 739 drivers/net/ethernet/socionext/netsec.c dma_sync_single_for_device(priv->dev, *dma_handle, *desc_len, dma_dir); dma_dir 847 drivers/net/ethernet/socionext/netsec.c enum dma_data_direction dma_dir = dma_dir 853 drivers/net/ethernet/socionext/netsec.c dma_dir); dma_dir 929 drivers/net/ethernet/socionext/netsec.c enum dma_data_direction dma_dir; dma_dir 937 drivers/net/ethernet/socionext/netsec.c dma_dir = page_pool_get_dma_dir(dring->page_pool); dma_dir 990 drivers/net/ethernet/socionext/netsec.c dma_dir); dma_dir 1283 drivers/net/ethernet/socionext/netsec.c pp_params.dma_dir = xdp_prog ? DMA_BIDIRECTIONAL : DMA_FROM_DEVICE; dma_dir 1562 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c pp_params.dma_dir = DMA_FROM_DEVICE; dma_dir 565 drivers/net/ethernet/ti/cpsw.c pp_params.dma_dir = DMA_BIDIRECTIONAL; dma_dir 87 drivers/scsi/a2091.c wh->dma_dir = dir_in; dma_dir 118 drivers/scsi/a2091.c if (!wh->dma_dir) dma_dir 125 drivers/scsi/a2091.c if (wh->dma_dir) { dma_dir 142 drivers/scsi/a2091.c if (wh->dma_dir) dma_dir 86 drivers/scsi/a3000.c wh->dma_dir = dir_in; dma_dir 120 drivers/scsi/a3000.c if (!wh->dma_dir) dma_dir 127 drivers/scsi/a3000.c if (wh->dma_dir) { dma_dir 152 drivers/scsi/a3000.c if (wh->dma_dir && SCpnt) dma_dir 165 drivers/scsi/arm/cumana_2.c int bufs, map_dir, dma_dir, alatch_dir; dma_dir 171 drivers/scsi/arm/cumana_2.c dma_dir = DMA_MODE_WRITE, dma_dir 175 drivers/scsi/arm/cumana_2.c dma_dir = DMA_MODE_READ, dma_dir 183 drivers/scsi/arm/cumana_2.c set_dma_mode(dmach, dma_dir); dma_dir 164 drivers/scsi/arm/eesox.c int bufs, map_dir, dma_dir; dma_dir 170 drivers/scsi/arm/eesox.c dma_dir = DMA_MODE_WRITE; dma_dir 173 drivers/scsi/arm/eesox.c dma_dir = DMA_MODE_READ; dma_dir 179 drivers/scsi/arm/eesox.c set_dma_mode(dmach, dma_dir); dma_dir 137 drivers/scsi/arm/powertec.c int bufs, map_dir, dma_dir; dma_dir 143 drivers/scsi/arm/powertec.c dma_dir = DMA_MODE_WRITE; dma_dir 146 drivers/scsi/arm/powertec.c dma_dir = DMA_MODE_READ; dma_dir 152 drivers/scsi/arm/powertec.c set_dma_mode(dmach, dma_dir); dma_dir 2067 drivers/scsi/gdth.c cmndinfo->dma_dir = (read_write == 1 ? dma_dir 2070 drivers/scsi/gdth.c scsi_sg_count(scp), cmndinfo->dma_dir); dma_dir 2227 drivers/scsi/gdth.c cmndinfo->dma_dir = DMA_BIDIRECTIONAL; dma_dir 2229 drivers/scsi/gdth.c scsi_sg_count(scp), cmndinfo->dma_dir); dma_dir 2738 drivers/scsi/gdth.c cmndinfo->dma_dir); dma_dir 882 drivers/scsi/gdth.h enum dma_data_direction dma_dir; dma_dir 122 drivers/scsi/gvp11.c wh->dma_dir = dir_in; dma_dir 161 drivers/scsi/gvp11.c if (wh->dma_dir && SCpnt) dma_dir 6913 drivers/scsi/ipr.c if (qc->dma_dir == DMA_TO_DEVICE) { dma_dir 6916 drivers/scsi/ipr.c } else if (qc->dma_dir == DMA_FROM_DEVICE) dma_dir 6958 drivers/scsi/ipr.c if (qc->dma_dir == DMA_TO_DEVICE) { dma_dir 6964 drivers/scsi/ipr.c } else if (qc->dma_dir == DMA_FROM_DEVICE) { dma_dir 211 drivers/scsi/libsas/sas_ata.c task->data_dir = qc->dma_dir; dma_dir 43 drivers/scsi/mvme147.c hdata->dma_dir = dir_in; dma_dir 111 drivers/scsi/sgiwd93.c hdata->wh.dma_dir = datainp; dma_dir 153 drivers/scsi/sgiwd93.c if (hdata->wh.dma_dir) { dma_dir 161 drivers/scsi/sgiwd93.c DMA_DIR(hdata->wh.dma_dir)); dma_dir 224 drivers/scsi/wd33c93.h int dma_dir; /* data transfer dir. */ dma_dir 203 drivers/spi/spi-stm32-qspi.c enum dma_transfer_direction dma_dir; dma_dir 211 drivers/spi/spi-stm32-qspi.c dma_dir = DMA_DEV_TO_MEM; dma_dir 214 drivers/spi/spi-stm32-qspi.c dma_dir = DMA_MEM_TO_DEV; dma_dir 227 drivers/spi/spi-stm32-qspi.c dma_dir, DMA_PREP_INTERRUPT); dma_dir 30 drivers/staging/comedi/comedi_buf.c if (bm->dma_dir != DMA_NONE) { dma_dir 48 drivers/staging/comedi/comedi_buf.c if (bm->dma_dir != DMA_NONE) dma_dir 75 drivers/staging/comedi/comedi_buf.c comedi_buf_map_alloc(struct comedi_device *dev, enum dma_data_direction dma_dir, dma_dir 87 drivers/staging/comedi/comedi_buf.c bm->dma_dir = dma_dir; dma_dir 88 drivers/staging/comedi/comedi_buf.c if (bm->dma_dir != DMA_NONE) { dma_dir 97 drivers/staging/comedi/comedi_buf.c if (bm->dma_dir != DMA_NONE) { dma_dir 165 drivers/staging/comedi/comedi_buf.c if (bm->dma_dir != DMA_NONE) { dma_dir 2365 drivers/staging/comedi/comedi_fops.c if (bm->dma_dir != DMA_NONE) { dma_dir 253 drivers/staging/comedi/comedidev.h enum dma_data_direction dma_dir; dma_dir 135 drivers/staging/comedi/drivers/comedi_isadma.c void comedi_isadma_set_mode(struct comedi_isadma_desc *desc, char dma_dir) dma_dir 137 drivers/staging/comedi/drivers/comedi_isadma.c desc->mode = (dma_dir == COMEDI_ISADMA_READ) ? DMA_MODE_READ dma_dir 156 drivers/staging/comedi/drivers/comedi_isadma.c unsigned int maxsize, char dma_dir) dma_dir 213 drivers/staging/comedi/drivers/comedi_isadma.c comedi_isadma_set_mode(desc, dma_dir); dma_dir 65 drivers/staging/comedi/drivers/comedi_isadma.h void comedi_isadma_set_mode(struct comedi_isadma_desc *desc, char dma_dir); dma_dir 70 drivers/staging/comedi/drivers/comedi_isadma.h unsigned int maxsize, char dma_dir); dma_dir 96 drivers/staging/comedi/drivers/comedi_isadma.h char dma_dir) dma_dir 103 drivers/staging/comedi/drivers/comedi_isadma.h unsigned int maxsize, char dma_dir) dma_dir 313 drivers/staging/comedi/drivers/dt282x.c int dma_dir; dma_dir 332 drivers/staging/comedi/drivers/dt282x.c comedi_isadma_set_mode(desc, devpriv->dma_dir); dma_dir 346 drivers/staging/comedi/drivers/dt282x.c comedi_isadma_set_mode(desc, devpriv->dma_dir); dma_dir 519 drivers/staging/comedi/drivers/dt282x.c if (devpriv->dma_dir == COMEDI_ISADMA_READ) dma_dir 743 drivers/staging/comedi/drivers/dt282x.c devpriv->dma_dir = COMEDI_ISADMA_READ; dma_dir 924 drivers/staging/comedi/drivers/dt282x.c devpriv->dma_dir = COMEDI_ISADMA_WRITE; dma_dir 19 drivers/staging/media/tegra-vde/dmabuf-cache.c enum dma_data_direction dma_dir; dma_dir 38 drivers/staging/media/tegra-vde/dmabuf-cache.c dma_buf_unmap_attachment(entry->a, entry->sgt, entry->dma_dir); dma_dir 62 drivers/staging/media/tegra-vde/dmabuf-cache.c enum dma_data_direction dma_dir, dma_dir 82 drivers/staging/media/tegra-vde/dmabuf-cache.c if (entry->dma_dir != dma_dir) dma_dir 83 drivers/staging/media/tegra-vde/dmabuf-cache.c entry->dma_dir = DMA_BIDIRECTIONAL; dma_dir 102 drivers/staging/media/tegra-vde/dmabuf-cache.c sgt = dma_buf_map_attachment(attachment, dma_dir); dma_dir 135 drivers/staging/media/tegra-vde/dmabuf-cache.c entry->dma_dir = dma_dir; dma_dir 152 drivers/staging/media/tegra-vde/dmabuf-cache.c dma_buf_unmap_attachment(attachment, sgt, dma_dir); dma_dir 498 drivers/staging/media/tegra-vde/vde.c enum dma_data_direction dma_dir) dma_dir 522 drivers/staging/media/tegra-vde/vde.c err = tegra_vde_dmabuf_cache_map(vde, dmabuf, dma_dir, a, addrp); dma_dir 542 drivers/staging/media/tegra-vde/vde.c enum dma_data_direction dma_dir, dma_dir 552 drivers/staging/media/tegra-vde/vde.c NULL, dma_dir); dma_dir 560 drivers/staging/media/tegra-vde/vde.c NULL, dma_dir); dma_dir 568 drivers/staging/media/tegra-vde/vde.c NULL, dma_dir); dma_dir 581 drivers/staging/media/tegra-vde/vde.c NULL, dma_dir); dma_dir 599 drivers/staging/media/tegra-vde/vde.c enum dma_data_direction dma_dir, dma_dir 701 drivers/staging/media/tegra-vde/vde.c enum dma_data_direction dma_dir; dma_dir 764 drivers/staging/media/tegra-vde/vde.c dma_dir = (i == 0) ? DMA_FROM_DEVICE : DMA_TO_DEVICE; dma_dir 767 drivers/staging/media/tegra-vde/vde.c &frames[i], dma_dir, dma_dir 852 drivers/staging/media/tegra-vde/vde.c dma_dir = (i == 0) ? DMA_FROM_DEVICE : DMA_TO_DEVICE; dma_dir 854 drivers/staging/media/tegra-vde/vde.c tegra_vde_release_frame_dmabufs(vde, &dpb_frames[i], dma_dir, dma_dir 65 drivers/staging/media/tegra-vde/vde.h enum dma_data_direction dma_dir, dma_dir 317 drivers/staging/rts5208/rtsx_transport.c enum dma_data_direction dma_dir, dma_dir 332 drivers/staging/rts5208/rtsx_transport.c if (dma_dir == DMA_TO_DEVICE) dma_dir 334 drivers/staging/rts5208/rtsx_transport.c else if (dma_dir == DMA_FROM_DEVICE) dma_dir 358 drivers/staging/rts5208/rtsx_transport.c sg_cnt = dma_map_sg(&rtsx->pci->dev, sg, num_sg, dma_dir); dma_dir 471 drivers/staging/rts5208/rtsx_transport.c dma_unmap_sg(&rtsx->pci->dev, sg, num_sg, dma_dir); dma_dir 481 drivers/staging/rts5208/rtsx_transport.c enum dma_data_direction dma_dir, dma_dir 495 drivers/staging/rts5208/rtsx_transport.c if (dma_dir == DMA_TO_DEVICE) dma_dir 497 drivers/staging/rts5208/rtsx_transport.c else if (dma_dir == DMA_FROM_DEVICE) dma_dir 521 drivers/staging/rts5208/rtsx_transport.c buf_cnt = dma_map_sg(&rtsx->pci->dev, sg, num_sg, dma_dir); dma_dir 618 drivers/staging/rts5208/rtsx_transport.c dma_unmap_sg(&rtsx->pci->dev, sg, num_sg, dma_dir); dma_dir 627 drivers/staging/rts5208/rtsx_transport.c size_t len, enum dma_data_direction dma_dir, dma_dir 641 drivers/staging/rts5208/rtsx_transport.c if (dma_dir == DMA_TO_DEVICE) dma_dir 643 drivers/staging/rts5208/rtsx_transport.c else if (dma_dir == DMA_FROM_DEVICE) dma_dir 648 drivers/staging/rts5208/rtsx_transport.c addr = dma_map_single(&rtsx->pci->dev, buf, len, dma_dir); dma_dir 702 drivers/staging/rts5208/rtsx_transport.c dma_unmap_single(&rtsx->pci->dev, addr, len, dma_dir); dma_dir 713 drivers/staging/rts5208/rtsx_transport.c enum dma_data_direction dma_dir, int timeout) dma_dir 726 drivers/staging/rts5208/rtsx_transport.c dma_dir, timeout); dma_dir 729 drivers/staging/rts5208/rtsx_transport.c buf, len, dma_dir, timeout); dma_dir 743 drivers/staging/rts5208/rtsx_transport.c int use_sg, enum dma_data_direction dma_dir, int timeout) dma_dir 755 drivers/staging/rts5208/rtsx_transport.c use_sg, dma_dir, timeout); dma_dir 757 drivers/staging/rts5208/rtsx_transport.c err = rtsx_transfer_buf(chip, card, buf, len, dma_dir, timeout); dma_dir 49 drivers/staging/rts5208/rtsx_transport.h int use_sg, enum dma_data_direction dma_dir, dma_dir 55 drivers/staging/rts5208/rtsx_transport.h enum dma_data_direction dma_dir, int timeout); dma_dir 40 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c enum dma_data_direction dma_dir; dma_dir 333 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c pagelistinfo->num_pages, pagelistinfo->dma_dir); dma_dir 412 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c pagelistinfo->dma_dir = (type == PAGELIST_WRITE) ? dma_dir 485 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c pagelistinfo->dma_dir); dma_dir 559 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c pagelistinfo->num_pages, pagelistinfo->dma_dir); dma_dir 82 drivers/tty/goldfish.c enum dma_data_direction dma_dir; dma_dir 84 drivers/tty/goldfish.c dma_dir = (is_write ? DMA_TO_DEVICE : DMA_FROM_DEVICE); dma_dir 103 drivers/tty/goldfish.c avail, dma_dir); dma_dir 115 drivers/tty/goldfish.c dma_unmap_single(qtty->dev, dma_handle, avail, dma_dir); dma_dir 198 drivers/usb/musb/tusb6010_omap.c enum dma_transfer_direction dma_dir; dma_dir 261 drivers/usb/musb/tusb6010_omap.c dma_dir = DMA_MEM_TO_DEV; dma_dir 265 drivers/usb/musb/tusb6010_omap.c dma_dir = DMA_DEV_TO_MEM; dma_dir 304 drivers/usb/musb/tusb6010_omap.c chdat->transfer_len, dma_dir, dma_dir 320 drivers/usb/musb/tusb6010_omap.c (dma_dir == DMA_MEM_TO_DEV) ? &dma_addr : &fifo_addr, dma_dir 321 drivers/usb/musb/tusb6010_omap.c (dma_dir == DMA_MEM_TO_DEV) ? &fifo_addr : &dma_addr); dma_dir 629 include/linux/libata.h int dma_dir; dma_dir 1712 include/linux/libata.h qc->dma_dir = DMA_NONE; dma_dir 128 include/linux/spi/mxs-spi.h unsigned int dma_dir; dma_dir 121 include/media/videobuf2-core.h enum dma_data_direction dma_dir, dma_dir 128 include/media/videobuf2-core.h enum dma_data_direction dma_dir); dma_dir 137 include/media/videobuf2-core.h enum dma_data_direction dma_dir); dma_dir 584 include/media/videobuf2-core.h enum dma_data_direction dma_dir; dma_dir 67 include/net/page_pool.h enum dma_data_direction dma_dir; /* DMA mapping direction */ dma_dir 132 include/net/page_pool.h return pool->p.dma_dir; dma_dir 46 net/core/page_pool.c if ((pool->p.dma_dir != DMA_FROM_DEVICE) && dma_dir 47 net/core/page_pool.c (pool->p.dma_dir != DMA_BIDIRECTIONAL)) dma_dir 155 net/core/page_pool.c pool->p.dma_dir, DMA_ATTR_SKIP_CPU_SYNC); dma_dir 222 net/core/page_pool.c PAGE_SIZE << pool->p.order, pool->p.dma_dir, dma_dir 29 sound/soc/uniphier/aio-compress.c int dma_dir = DMA_FROM_DEVICE, ret; dma_dir 40 sound/soc/uniphier/aio-compress.c dma_dir = DMA_TO_DEVICE; dma_dir 42 sound/soc/uniphier/aio-compress.c sub->compr_addr = dma_map_single(dev, sub->compr_area, size, dma_dir); dma_dir 61 sound/soc/uniphier/aio-compress.c int dma_dir = DMA_FROM_DEVICE; dma_dir 64 sound/soc/uniphier/aio-compress.c dma_dir = DMA_TO_DEVICE; dma_dir 66 sound/soc/uniphier/aio-compress.c dma_unmap_single(dev, sub->compr_addr, sub->compr_bytes, dma_dir);