/kernel/linux/linux-5.10/drivers/gpu/drm/i915/ |
D | i915_mm.c | 51 #define use_dma(io) ((io) != -1) macro 55 if (use_dma(r->iobase)) in sgt_pfn() 75 r->sgt = __sgt_iter(__sg_next(r->sgt.sgp), use_dma(r->iobase)); in remap_sg() 132 .sgt = __sgt_iter(sgl, use_dma(iobase)), in remap_io_sg() 140 if (!use_dma(iobase)) in remap_io_sg()
|
/kernel/linux/linux-5.10/tools/pci/ |
D | pcitest.c | 38 bool use_dma; member 118 if (test->use_dma) in run_test() 130 if (test->use_dma) in run_test() 142 if (test->use_dma) in run_test() 225 test->use_dma = true; in main()
|
/kernel/linux/linux-5.10/drivers/memstick/host/ |
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()
|
/kernel/linux/linux-5.10/drivers/pci/endpoint/functions/ |
D | pci-epf-test.c | 230 bool use_dma; in pci_epf_test_copy() local 275 use_dma = !!(reg->flags & FLAG_USE_DMA); in pci_epf_test_copy() 276 if (use_dma) { in pci_epf_test_copy() 301 pci_epf_test_print_rate("COPY", reg->size, &start, &end, use_dma); in pci_epf_test_copy() 325 bool use_dma; in pci_epf_test_read() local 358 use_dma = !!(reg->flags & FLAG_USE_DMA); in pci_epf_test_read() 359 if (use_dma) { in pci_epf_test_read() 389 pci_epf_test_print_rate("READ", reg->size, &start, &end, use_dma); in pci_epf_test_read() 413 bool use_dma; in pci_epf_test_write() local 449 use_dma = !!(reg->flags & FLAG_USE_DMA); in pci_epf_test_write() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/cirrus/ |
D | cs89x0.c | 152 int use_dma; /* Flag: we're using dma */ member 374 if (lp->use_dma) { in set_dma_cfg() 393 if (lp->use_dma) in dma_bufcfg() 404 if (lp->use_dma) { in dma_busctl() 784 if (lp->use_dma && (status & RX_DMA)) { in net_interrupt() 885 if (lp->use_dma && (lp->isa_config & ANY_ISA_DMA)) { in net_open() 1103 if (lp->use_dma && lp->dma) { in net_close() 1326 lp->use_dma = 1; in cs89x0_probe1() 1554 if (lp->use_dma) { in cs89x0_probe1() 1702 static int use_dma; /* These generate unused var warnings if ALLOW_DMA = 0 */ variable [all …]
|
/kernel/linux/linux-5.10/drivers/misc/ |
D | pci_endpoint_test.c | 358 bool use_dma; in pci_endpoint_test_copy() local 387 use_dma = !!(param.flags & PCITEST_FLAGS_USE_DMA); in pci_endpoint_test_copy() 388 if (use_dma) in pci_endpoint_test_copy() 496 bool use_dma; in pci_endpoint_test_write() local 523 use_dma = !!(param.flags & PCITEST_FLAGS_USE_DMA); in pci_endpoint_test_write() 524 if (use_dma) in pci_endpoint_test_write() 597 bool use_dma; in pci_endpoint_test_read() local 623 use_dma = !!(param.flags & PCITEST_FLAGS_USE_DMA); in pci_endpoint_test_read() 624 if (use_dma) in pci_endpoint_test_read()
|
D | atmel-ssc.c | 85 .use_dma = 0, 90 .use_dma = 0, 95 .use_dma = 1,
|
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/ |
D | lpc32xx_mlc.c | 230 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() 763 if (use_dma) { in lpc32xx_nand_probe() 813 if (use_dma) in lpc32xx_nand_probe() 840 if (use_dma) in lpc32xx_nand_remove()
|
/kernel/linux/linux-5.10/drivers/mmc/host/ |
D | davinci_mmc.c | 164 static unsigned use_dma = 1; variable 165 module_param(use_dma, uint, 0); 166 MODULE_PARM_DESC(use_dma, "Whether to use DMA or not. Default = 1"); 194 bool use_dma; member 488 if (!host->use_dma) in davinci_release_dma_channels() 573 if (host->use_dma && (host->bytes_left & (rw_threshold - 1)) == 0 in mmc_davinci_prepare_data() 1260 host->use_dma = use_dma; in davinci_mmcsd_probe() 1264 if (host->use_dma) { in davinci_mmcsd_probe() 1269 host->use_dma = 0; in davinci_mmcsd_probe() 1328 host->use_dma ? "DMA" : "PIO", in davinci_mmcsd_probe()
|
D | dw_mmc.c | 476 if ((host->use_dma == TRANS_MODE_EDMAC) && in dw_mci_dmac_complete_dma() 915 if (!slot->host->use_dma || !data) in dw_mci_pre_req() 933 if (!slot->host->use_dma || !data) in dw_mci_post_req() 995 if (!host->use_dma) in dw_mci_adjust_fifoth() 1086 if (!host->use_dma) in dw_mci_submit_data_dma() 1097 if (host->use_dma == TRANS_MODE_IDMAC) in dw_mci_submit_data_dma() 1587 if (host->use_dma == TRANS_MODE_IDMAC) in dw_mci_hw_reset() 1723 if (host->use_dma) in dw_mci_reset() 1733 if (!host->use_dma) { in dw_mci_reset() 1762 if (host->use_dma == TRANS_MODE_IDMAC) in dw_mci_reset() [all …]
|
D | jz4740_mmc.c | 177 bool use_dma; member 217 if (!host->use_dma) in jz4740_mmc_release_dma_channels() 362 if (!host->use_dma) in jz4740_mmc_pre_request() 696 if (host->use_dma) { in jz4740_mmc_send_command() 765 if (host->use_dma) { in jz_mmc_irq_worker() 1080 host->use_dma = !ret; in jz4740_mmc_probe() 1092 host->use_dma ? "DMA" : "PIO", in jz4740_mmc_probe() 1099 if (host->use_dma) in jz4740_mmc_probe() 1121 if (host->use_dma) in jz4740_mmc_remove()
|
/kernel/linux/linux-5.10/drivers/spi/ |
D | spi-rockchip.c | 479 bool use_dma, bool slave_mode) in rockchip_spi_config() argument 501 else if (use_dma) in rockchip_spi_config() 527 if (use_dma) { in rockchip_spi_config() 589 bool use_dma; in rockchip_spi_transfer_one() local 612 use_dma = ctlr->can_dma ? ctlr->can_dma(ctlr, spi, xfer) : false; in rockchip_spi_transfer_one() 614 ret = rockchip_spi_config(rs, spi, xfer, use_dma, ctlr->slave); in rockchip_spi_transfer_one() 618 if (use_dma) in rockchip_spi_transfer_one()
|
D | spi-topcliff-pch.c | 103 static int use_dma = 1; variable 185 int use_dma; member 368 if (data->use_dma) in pch_spi_handler() 879 data->use_dma = 0; in pch_spi_request_dma() 896 data->use_dma = 0; in pch_spi_request_dma() 1172 if (data->use_dma) in pch_spi_process_messages() 1203 if (data->use_dma) { in pch_spi_process_messages() 1254 if (data->use_dma) in pch_spi_process_messages() 1366 data->use_dma = use_dma; in pch_spi_pd_probe() 1390 if (use_dma) { in pch_spi_pd_probe() [all …]
|
/kernel/linux/linux-5.10/include/linux/platform_data/ |
D | spi-ep93xx.h | 12 bool use_dma; member
|
D | mmc-s3cmci.h | 33 unsigned int use_dma:1; member
|
/kernel/linux/linux-5.10/drivers/usb/musb/ |
D | musb_gadget.c | 230 int use_dma = 0; in txstate() local 279 use_dma = (request->dma != DMA_ADDR_INVALID && request_size); in txstate() 289 use_dma = use_dma && c->channel_program( in txstate() 293 if (use_dma) { in txstate() 357 use_dma = use_dma && c->channel_program( in txstate() 362 if (!use_dma) { in txstate() 370 use_dma = use_dma && c->channel_program( in txstate() 378 if (!use_dma) { in txstate() 395 musb_ep->end_point.name, use_dma ? "dma" : "pio", in txstate() 604 int use_dma = 0; in rxstate() local [all …]
|
/kernel/linux/linux-5.10/include/linux/spi/ |
D | ifx_modem.h | 9 unsigned short use_dma:1; /* spi protocol driver supplies member
|
D | spi_bitbang.h | 10 u8 use_dma; member
|
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/ |
D | amd5536udc_pci.c | 162 if (use_dma) { in udc_pci_probe() 176 if (use_dma) in udc_pci_probe()
|
D | amd5536udc.h | 600 static bool use_dma = 1; variable 609 module_param(use_dma, bool, S_IRUGO); 610 MODULE_PARM_DESC(use_dma, "true for DMA");
|
D | omap_udc.c | 95 static bool use_dma = 1; variable 100 module_param(use_dma, bool, 0); 101 MODULE_PARM_DESC(use_dma, "enable/disable DMA"); 105 #define use_dma 0 macro 216 if (use_dma && desc->bmAttributes == USB_ENDPOINT_XFER_BULK) in omap_ep_enable() 300 if (use_dma && ep->has_dma) in done() 890 if (use_dma in omap_ep_queue() 903 if (use_dma && ep->has_dma) in omap_ep_queue() 1024 if (use_dma && ep->dma_channel && ep->queue.next == &req->queue) { in omap_ep_dequeue() 1076 if (use_dma && ep->dma_channel in omap_ep_set_halt() [all …]
|
/kernel/linux/linux-5.10/drivers/i2c/busses/ |
D | i2c-stm32f7.c | 335 bool use_dma; member 771 if (i2c_dev->use_dma) in stm32f7_i2c_reload() 900 i2c_dev->use_dma = false; in stm32f7_i2c_xfer_msg() 908 i2c_dev->use_dma = true; in stm32f7_i2c_xfer_msg() 913 if (!i2c_dev->use_dma) { in stm32f7_i2c_xfer_msg() 1066 i2c_dev->use_dma = false; in stm32f7_i2c_smbus_xfer_msg() 1074 i2c_dev->use_dma = true; in stm32f7_i2c_smbus_xfer_msg() 1079 if (!i2c_dev->use_dma) { in stm32f7_i2c_smbus_xfer_msg() 1156 i2c_dev->use_dma = false; in stm32f7_i2c_smbus_rep_start() 1167 i2c_dev->use_dma = true; in stm32f7_i2c_smbus_rep_start() [all …]
|
/kernel/linux/linux-5.10/sound/soc/fsl/ |
D | fsl_ssi.c | 256 bool use_dma; member 444 if (ssi->use_dma && tx) { in fsl_ssi_config_enable() 601 if (ssi->use_dma) { in fsl_ssi_setup_regvals() 1120 if (ssi->soc->imx && ssi->use_dma) in fsl_ssi_dai_probe() 1362 if (!ssi->use_dma) { in fsl_ssi_imx_probe() 1392 if (!ssi->use_dma) in fsl_ssi_imx_clean() 1443 ssi->use_dma = !of_property_read_bool(np, "fsl,fiq-stream-filter"); in fsl_ssi_probe_from_dt() 1454 if (ssi->use_dma && !ret && dmas[2] == IMX_DMATYPE_SSI_DUAL) in fsl_ssi_probe_from_dt() 1598 if (ssi->use_dma) { in fsl_ssi_probe()
|
/kernel/linux/linux-5.10/drivers/crypto/ |
D | atmel-aes.c | 571 static void atmel_aes_write_ctrl_key(struct atmel_aes_dev *dd, bool use_dma, in atmel_aes_write_ctrl_key() argument 586 if (use_dma) { in atmel_aes_write_ctrl_key() 602 static inline void atmel_aes_write_ctrl(struct atmel_aes_dev *dd, bool use_dma, in atmel_aes_write_ctrl() argument 606 atmel_aes_write_ctrl_key(dd, use_dma, iv, in atmel_aes_write_ctrl() 991 bool use_dma = (req->cryptlen >= ATMEL_AES_DMA_THRESHOLD || in atmel_aes_start() local 1001 atmel_aes_write_ctrl(dd, use_dma, (void *)req->iv); in atmel_aes_start() 1002 if (use_dma) in atmel_aes_start() 1019 bool use_dma, fragmented = false; in atmel_aes_ctr_transfer() local 1041 use_dma = (datalen >= ATMEL_AES_DMA_THRESHOLD); in atmel_aes_ctr_transfer() 1049 atmel_aes_write_ctrl(dd, use_dma, ctx->iv); in atmel_aes_ctr_transfer() [all …]
|
/kernel/linux/linux-5.10/drivers/ide/ |
D | trm290.c | 145 static void trm290_prepare_drive (ide_drive_t *drive, unsigned int use_dma) in trm290_prepare_drive() argument 152 reg = use_dma ? (0x21 | 0x82) : (0x21 & ~0x82); in trm290_prepare_drive()
|