/linux/drivers/gpu/drm/i915/ |
H A D | i915_mm.c | 41 #define use_dma(io) ((io) != -1) macro 45 if (use_dma(r->iobase)) in sgt_pfn() 65 r->sgt = __sgt_iter(__sg_next(r->sgt.sgp), use_dma(r->iobase)); in remap_sg() 138 .sgt = __sgt_iter(sgl, use_dma(iobase)), in remap_io_sg() 148 r.sgt = __sgt_iter(__sg_next(r.sgt.sgp), use_dma(iobase)); in remap_io_sg() 154 if (!use_dma(iobase)) in remap_io_sg()
|
/linux/drivers/memstick/host/ |
H A D | tifm_ms.c | 76 use_dma:1; member 263 host->use_dma = !no_dma; in tifm_ms_issue_cmd() 268 host->use_dma = 0; in tifm_ms_issue_cmd() 271 host->use_dma = 0; in tifm_ms_issue_cmd() 279 if (host->use_dma) { in tifm_ms_issue_cmd() 319 if (host->use_dma) in tifm_ms_issue_cmd() 350 if (host->use_dma) { in tifm_ms_complete_cmd() 396 if (host->use_dma && (fifo_status & 1)) { in tifm_ms_data_event() 400 if (!host->use_dma && (fifo_status & TIFM_FIFO_MORE)) { in tifm_ms_data_event() 607 if (host->use_dma) in tifm_ms_remove()
|
/linux/drivers/mtd/nand/raw/ |
H A D | lpc32xx_mlc.c | 229 static int use_dma; variable 475 if (use_dma) { in lpc32xx_read_page() 494 if (use_dma && !dma_mapped) in lpc32xx_read_page() 511 if (use_dma && (void *)buf >= high_memory) { in lpc32xx_write_page_lowlevel() 523 if (use_dma) { in lpc32xx_write_page_lowlevel() 768 if (use_dma) { in lpc32xx_nand_probe() 818 if (use_dma) in lpc32xx_nand_probe() 845 if (use_dma) in lpc32xx_nand_remove()
|
H A D | marvell_nand.c | 384 bool use_dma; member 419 bool use_dma; member 689 if (nfc->use_dma && (readl_relaxed(nfc->regs + NDCR) & NDCR_DMA_EN)) in marvell_nfc_end_cmd() 1073 if (nfc->use_dma) { in marvell_nfc_hw_ecc_hmg_do_read_page() 1183 if (nfc->use_dma) { in marvell_nfc_hw_ecc_hmg_do_write_page() 2867 nfc->use_dma = true; in marvell_nfc_init_dma() 3017 if (nfc->use_dma) in marvell_nfc_probe() 3033 if (nfc->use_dma) { in marvell_nfc_remove() 3110 .use_dma = true, 3132 .use_dma = true,
|
/linux/drivers/misc/ |
H A D | atmel-ssc.c | 85 .use_dma = 0, 90 .use_dma = 0, 95 .use_dma = 1,
|
/linux/sound/soc/fsl/ |
H A D | fsl_ssi.c | 259 bool use_dma; member 449 if (ssi->use_dma && tx) { in fsl_ssi_config_enable() 606 if (ssi->use_dma) { in fsl_ssi_setup_regvals() 1147 if (ssi->soc->imx && ssi->use_dma) in fsl_ssi_dai_probe() 1389 if (!ssi->use_dma) { in fsl_ssi_imx_probe() 1421 if (!ssi->use_dma) in fsl_ssi_imx_clean() 1465 ssi->use_dma = !of_property_read_bool(np, "fsl,fiq-stream-filter"); in fsl_ssi_probe_from_dt() 1476 if (ssi->use_dma && !ret && dmas[2] == IMX_DMATYPE_SSI_DUAL) in fsl_ssi_probe_from_dt() 1479 if (ssi->use_dma && !ret && dmas[2] == IMX_DMATYPE_MULTI_SAI) in fsl_ssi_probe_from_dt() 1622 if (ssi->use_dma) { in fsl_ssi_probe()
|
/linux/drivers/mmc/host/ |
H A D | dw_mmc.c | 480 if ((host->use_dma == TRANS_MODE_EDMAC) && in dw_mci_dmac_complete_dma() 919 if (!slot->host->use_dma || !data) in dw_mci_pre_req() 937 if (!slot->host->use_dma || !data) in dw_mci_post_req() 999 if (!host->use_dma) in dw_mci_adjust_fifoth() 1090 if (!host->use_dma) in dw_mci_submit_data_dma() 1101 if (host->use_dma == TRANS_MODE_IDMAC) in dw_mci_submit_data_dma() 1623 if (host->use_dma == TRANS_MODE_IDMAC) in dw_mci_hw_reset() 1760 if (host->use_dma) in dw_mci_reset() 1770 if (!host->use_dma) { in dw_mci_reset() 1799 if (host->use_dma == TRANS_MODE_IDMAC) in dw_mci_reset() [all …]
|
H A D | mmci.c | 504 host->use_dma = false; in mmci_dma_release() 518 host->use_dma = true; in mmci_dma_setup() 581 if (!host->use_dma) in mmci_dma_start() 615 if (!host->use_dma) in mmci_dma_finalize() 624 if (!host->use_dma) in mmci_dma_error() 1092 if (!host->use_dma) in mmci_dmae_prep_data() 1129 if (!host->use_dma) in mmci_dmae_get_next_data() 1146 if (!host->use_dma) in mmci_dmae_unprep_data()
|
/linux/drivers/usb/gadget/udc/ |
H A D | amd5536udc_pci.c | 162 if (use_dma) { in udc_pci_probe() 179 if (use_dma) in udc_pci_probe()
|
H A D | amd5536udc.h | 599 static bool use_dma = 1; variable 608 module_param(use_dma, bool, S_IRUGO); 609 MODULE_PARM_DESC(use_dma, "true for DMA");
|
H A D | goku_udc.c | 67 static unsigned use_dma = 1; variable 76 module_param(use_dma, uint, S_IRUGO); 150 ep->dma = (use_dma != 0) && (ep->num == UDC_MSTRD_ENDPOINT); in goku_ep_enable() 152 ep->dma = (use_dma == 2) && (ep->num == UDC_MSTWR_ENDPOINT); in goku_ep_enable() 1045 if (use_dma == 0) in dmastr() 1047 else if (use_dma == 2) in dmastr() 1812 if (use_dma) in goku_probe()
|
H A D | r8a66597-udc.h | 66 unsigned use_dma:1; member
|
/linux/drivers/spi/ |
H A D | spi-rockchip.c | 533 bool use_dma, bool target_mode) in rockchip_spi_config() argument 557 else if (use_dma) in rockchip_spi_config() 583 if (use_dma) { in rockchip_spi_config() 680 bool use_dma; in rockchip_spi_transfer_one() local 703 use_dma = ctlr->can_dma ? ctlr->can_dma(ctlr, spi, xfer) : false; in rockchip_spi_transfer_one() 705 ret = rockchip_spi_config(rs, spi, xfer, use_dma, ctlr->target); in rockchip_spi_transfer_one() 709 if (use_dma) in rockchip_spi_transfer_one()
|
H A D | spi-s3c64xx.c | 805 int use_dma = 0; in s3c64xx_spi_transfer_one() local 831 use_dma = 1; in s3c64xx_spi_transfer_one() 842 if (!use_dma && xfer->len > S3C64XX_SPI_POLLING_SIZE) in s3c64xx_spi_transfer_one() 881 status = s3c64xx_enable_datapath(sdd, xfer, use_dma); in s3c64xx_spi_transfer_one() 890 if (use_dma) in s3c64xx_spi_transfer_one() 901 xfer->len, use_dma ? 1 : 0, status); in s3c64xx_spi_transfer_one() 903 if (use_dma) { in s3c64xx_spi_transfer_one()
|
H A D | spi-rockchip-sfc.c | 184 bool use_dma; member 550 if (likely(sfc->use_dma) && len >= SFC_DMA_TRANS_THRETHOLD && !(len & 0x3)) { in rockchip_sfc_exec_mem_op() 660 sfc->use_dma = !of_property_read_bool(sfc->dev->of_node, "rockchip,sfc-no-dma"); in rockchip_sfc_probe() 701 if (sfc->use_dma) { in rockchip_sfc_probe()
|
/linux/drivers/crypto/ |
H A D | atmel-aes.c | 546 static void atmel_aes_write_ctrl_key(struct atmel_aes_dev *dd, bool use_dma, in atmel_aes_write_ctrl_key() argument 561 if (use_dma) { in atmel_aes_write_ctrl_key() 577 static inline void atmel_aes_write_ctrl(struct atmel_aes_dev *dd, bool use_dma, in atmel_aes_write_ctrl() argument 581 atmel_aes_write_ctrl_key(dd, use_dma, iv, in atmel_aes_write_ctrl() 950 bool use_dma = (req->cryptlen >= ATMEL_AES_DMA_THRESHOLD || in atmel_aes_start() local 960 atmel_aes_write_ctrl(dd, use_dma, (void *)req->iv); in atmel_aes_start() 961 if (use_dma) in atmel_aes_start() 978 bool use_dma, fragmented = false; in atmel_aes_ctr_transfer() local 1000 use_dma = (datalen >= ATMEL_AES_DMA_THRESHOLD); in atmel_aes_ctr_transfer() 1008 atmel_aes_write_ctrl(dd, use_dma, ctx->iv); in atmel_aes_ctr_transfer() [all …]
|
/linux/drivers/leds/ |
H A D | leds-sun50i-a100.c | 147 bool use_dma = false; in sun50i_a100_ledc_start_xfer() local 157 use_dma = true; in sun50i_a100_ledc_start_xfer() 161 control = FIELD_PREP(LEDC_DMA_CTRL_REG_DMA_EN, use_dma) | in sun50i_a100_ledc_start_xfer() 170 if (!use_dma) { in sun50i_a100_ledc_start_xfer()
|
/linux/drivers/ntb/test/ |
H A D | ntb_perf.c | 121 static bool use_dma; /* default to 0 */ variable 122 module_param(use_dma, bool, 0644); 123 MODULE_PARM_DESC(use_dma, "Use DMA engine to measure performance"); 797 if (!use_dma) { in perf_copy_chunk() 884 if (!use_dma) in perf_init_test() 970 if (!use_dma) in perf_sync_test() 999 if (!use_dma) in perf_clear_test() 1377 debugfs_create_bool("use_dma", 0500, perf->dbgfs_dir, &use_dma); in perf_setup_dbgfs()
|
/linux/include/linux/spi/ |
H A D | spi_bitbang.h | 12 u8 use_dma; member
|
/linux/drivers/i2c/busses/ |
H A D | i2c-imx.c | 1221 struct i2c_msg *msgs, bool use_dma) in i2c_imx_prepare_read() argument 1228 result = i2c_imx_trx_complete(i2c_imx, !use_dma); in i2c_imx_prepare_read() 1247 if (use_dma) in i2c_imx_prepare_read() 1541 int use_dma = 0; in i2c_imx_xfer_common() local 1595 use_dma = i2c_imx->dma && msgs[i].len >= DMA_THRESHOLD && in i2c_imx_xfer_common() 1602 else if (use_dma && !block_data) in i2c_imx_xfer_common() 1609 else if (use_dma) in i2c_imx_xfer_common()
|
H A D | i2c-at91.h | 151 bool use_dma; member
|
H A D | i2c-qup.c | 261 bool use_dma; member 314 if (qup->use_dma && (qup->qup_err || qup->bus_err)) in qup_i2c_interrupt() 325 if (!qup->use_dma) in qup_i2c_interrupt() 1525 qup->use_dma = true; in qup_i2c_determine_mode_v2() 1568 if (qup->use_dma) { in qup_i2c_xfer_v2() 1571 qup->use_dma = false; in qup_i2c_xfer_v2()
|
/linux/drivers/usb/fotg210/ |
H A D | fotg210-udc.h | 224 unsigned use_dma:1; member
|
/linux/include/linux/ |
H A D | atmel-ssc.h | 10 int use_dma; member
|
/linux/drivers/comedi/drivers/ |
H A D | addi_apci_3120.c | 147 unsigned int use_dma:1; member 577 if (devpriv->use_dma) in apci3120_ai_cmd() 928 devpriv->use_dma = 1; in apci3120_dma_alloc()
|