Home
last modified time | relevance | path

Searched refs:use_dma (Results 1 - 25 of 149) sorted by relevance

123456

/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
H A Di915_mm.c51 #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-6.6/drivers/gpu/drm/i915/
H A Di915_mm.c41 #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()
136 .sgt = __sgt_iter(sgl, use_dma(iobase)), in remap_io_sg()
144 if (!use_dma(iobase)) in remap_io_sg()
/kernel/linux/linux-5.10/tools/pci/
H A Dpcitest.c38 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-6.6/tools/pci/
H A Dpcitest.c38 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/
H A Dtifm_ms.c76 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()
[all...]
/kernel/linux/linux-6.6/drivers/memstick/host/
H A Dtifm_ms.c76 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()
[all...]
/kernel/linux/linux-5.10/drivers/pci/endpoint/functions/
H A Dpci-epf-test.c230 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 in pci_epf_test_write()
[all...]
/kernel/linux/linux-6.6/drivers/spi/
H A Dspi-sun6i.c284 bool use_dma; in sun6i_spi_transfer_one() local
296 use_dma = master->can_dma ? master->can_dma(master, spi, tfr) : false; in sun6i_spi_transfer_one()
307 if (!use_dma) { in sun6i_spi_transfer_one()
460 if (!use_dma) { in sun6i_spi_transfer_one()
476 if (!use_dma) { in sun6i_spi_transfer_one()
494 if (!use_dma) { in sun6i_spi_transfer_one()
520 if (ret && use_dma) { in sun6i_spi_transfer_one()
/kernel/linux/linux-6.6/drivers/i2c/busses/
H A Di2c-stm32f7.c316 * @use_dma: boolean to know if dma is used in the current transfer
348 bool use_dma; member
798 if (i2c_dev->use_dma) in stm32f7_i2c_reload()
917 i2c_dev->use_dma = false; in stm32f7_i2c_xfer_msg()
925 i2c_dev->use_dma = true; in stm32f7_i2c_xfer_msg()
930 if (!i2c_dev->use_dma) { in stm32f7_i2c_xfer_msg()
1084 i2c_dev->use_dma = false; in stm32f7_i2c_smbus_xfer_msg()
1092 i2c_dev->use_dma = true; in stm32f7_i2c_smbus_xfer_msg()
1097 if (!i2c_dev->use_dma) { in stm32f7_i2c_smbus_xfer_msg()
1176 i2c_dev->use_dma in stm32f7_i2c_smbus_rep_start()
[all...]
/kernel/linux/linux-5.10/drivers/misc/
H A Dpci_endpoint_test.c362 bool use_dma; in pci_endpoint_test_copy() local
391 use_dma = !!(param.flags & PCITEST_FLAGS_USE_DMA); in pci_endpoint_test_copy()
392 if (use_dma) in pci_endpoint_test_copy()
500 bool use_dma; in pci_endpoint_test_write() local
527 use_dma = !!(param.flags & PCITEST_FLAGS_USE_DMA); in pci_endpoint_test_write()
528 if (use_dma) in pci_endpoint_test_write()
601 bool use_dma; in pci_endpoint_test_read() local
627 use_dma = !!(param.flags & PCITEST_FLAGS_USE_DMA); in pci_endpoint_test_read()
628 if (use_dma) in pci_endpoint_test_read()
H A Datmel-ssc.c85 .use_dma = 0,
90 .use_dma = 0,
95 .use_dma = 1,
/kernel/linux/linux-6.6/drivers/misc/
H A Dpci_endpoint_test.c355 bool use_dma; in pci_endpoint_test_copy() local
384 use_dma = !!(param.flags & PCITEST_FLAGS_USE_DMA); in pci_endpoint_test_copy()
385 if (use_dma) in pci_endpoint_test_copy()
493 bool use_dma; in pci_endpoint_test_write() local
520 use_dma = !!(param.flags & PCITEST_FLAGS_USE_DMA); in pci_endpoint_test_write()
521 if (use_dma) in pci_endpoint_test_write()
594 bool use_dma; in pci_endpoint_test_read() local
620 use_dma = !!(param.flags & PCITEST_FLAGS_USE_DMA); in pci_endpoint_test_read()
621 if (use_dma) in pci_endpoint_test_read()
H A Datmel-ssc.c85 .use_dma = 0,
90 .use_dma = 0,
95 .use_dma = 1,
/kernel/linux/linux-5.10/drivers/i2c/busses/
H A Di2c-stm32f7.c307 * @use_dma: boolean to know if dma is used in the current transfer
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()
1067 i2c_dev->use_dma = false; in stm32f7_i2c_smbus_xfer_msg()
1075 i2c_dev->use_dma = true; in stm32f7_i2c_smbus_xfer_msg()
1080 if (!i2c_dev->use_dma) { in stm32f7_i2c_smbus_xfer_msg()
1159 i2c_dev->use_dma in stm32f7_i2c_smbus_rep_start()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/cirrus/
H A Dcs89x0.c29 * Note that even if DMA is turned off we still support the 'dma' and 'use_dma'
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 */ global() variable
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/cirrus/
H A Dcs89x0.c29 * Note that even if DMA is turned off we still support the 'dma' and 'use_dma'
153 int use_dma; /* Flag: we're using dma */ member
375 if (lp->use_dma) { in set_dma_cfg()
394 if (lp->use_dma) in dma_bufcfg()
405 if (lp->use_dma) { in dma_busctl()
785 if (lp->use_dma && (status & RX_DMA)) { in net_interrupt()
886 if (lp->use_dma && (lp->isa_config & ANY_ISA_DMA)) { in net_open()
1104 if (lp->use_dma && lp->dma) { in net_close()
1328 lp->use_dma = 1; in cs89x0_probe1()
1558 if (lp->use_dma) { in cs89x0_probe1()
1702 static int use_dma; /* These generate unused var warnings if ALLOW_DMA = 0 */ global() variable
[all...]
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
H A Dlpc32xx_mlc.c230 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-6.6/drivers/mtd/nand/raw/
H A Dlpc32xx_mlc.c229 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()
764 if (use_dma) { in lpc32xx_nand_probe()
814 if (use_dma) in lpc32xx_nand_probe()
841 if (use_dma) in lpc32xx_nand_remove()
/kernel/linux/linux-5.10/drivers/mmc/host/
H A Ddavinci_mmc.c164 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 in davinci_mmcsd_probe()
[all...]
/kernel/linux/linux-6.6/drivers/mmc/host/
H A Ddavinci_mmc.c163 static unsigned use_dma = 1; variable
164 module_param(use_dma, uint, 0);
165 MODULE_PARM_DESC(use_dma, "Whether to use DMA or not. Default = 1");
193 bool use_dma; member
487 if (!host->use_dma) in davinci_release_dma_channels()
572 if (host->use_dma && (host->bytes_left & (rw_threshold - 1)) == 0 in mmc_davinci_prepare_data()
1257 host->use_dma = use_dma; in davinci_mmcsd_probe()
1261 if (host->use_dma) { in davinci_mmcsd_probe()
1266 host->use_dma in davinci_mmcsd_probe()
[all...]
/kernel/linux/linux-5.10/include/linux/platform_data/
H A Dspi-ep93xx.h9 * @use_dma: use DMA for the transfers
12 bool use_dma; member
H A Dmmc-s3cmci.h10 * @use_dma: Set to allow the use of DMA.
33 unsigned int use_dma:1; member
/kernel/linux/linux-6.6/include/linux/platform_data/
H A Dspi-ep93xx.h9 * @use_dma: use DMA for the transfers
12 bool use_dma; member
/kernel/linux/linux-5.10/include/linux/spi/
H A Difx_modem.h9 unsigned short use_dma:1; /* spi protocol driver supplies member
/kernel/linux/linux-6.6/sound/soc/fsl/
H A Dfsl_ssi.c216 * @use_dma: DMA is used or FIQ with stream filter
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()
1419 if (!ssi->use_dma) in fsl_ssi_imx_clean()
1463 ssi->use_dma = !of_property_read_bool(np, "fsl,fiq-stream-filter"); in fsl_ssi_probe_from_dt()
1474 if (ssi->use_dma && !ret && dmas[2] == IMX_DMATYPE_SSI_DUAL) in fsl_ssi_probe_from_dt()
1477 if (ssi->use_dma in fsl_ssi_probe_from_dt()
[all...]

Completed in 25 milliseconds

123456