Home
last modified time | relevance | path

Searched refs:use_dma (Results 1 – 25 of 75) sorted by relevance

123

/linux-6.3-rc2/drivers/gpu/drm/i915/
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()
/linux-6.3-rc2/tools/pci/
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()
/linux-6.3-rc2/drivers/memstick/host/
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()
/linux-6.3-rc2/drivers/pci/endpoint/functions/
A Dpci-epf-test.c315 bool use_dma; in pci_epf_test_copy() local
360 use_dma = !!(reg->flags & FLAG_USE_DMA); in pci_epf_test_copy()
361 if (use_dma) { in pci_epf_test_copy()
393 pci_epf_test_print_rate("COPY", reg->size, &start, &end, use_dma); in pci_epf_test_copy()
417 bool use_dma; in pci_epf_test_read() local
450 use_dma = !!(reg->flags & FLAG_USE_DMA); in pci_epf_test_read()
451 if (use_dma) { in pci_epf_test_read()
482 pci_epf_test_print_rate("READ", reg->size, &start, &end, use_dma); in pci_epf_test_read()
506 bool use_dma; in pci_epf_test_write() local
542 use_dma = !!(reg->flags & FLAG_USE_DMA); in pci_epf_test_write()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/cirrus/
A Dcs89x0.c152 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()
1103 if (lp->use_dma && lp->dma) { in net_close()
1327 lp->use_dma = 1; in cs89x0_probe1()
1557 if (lp->use_dma) { in cs89x0_probe1()
1712 module_param(use_dma , int, 0);
1730 MODULE_PARM_DESC(use_dma , "(ignored)");
1779 if (use_dma) { in cs89x0_isa_init_module()
[all …]
/linux-6.3-rc2/drivers/misc/
A Datmel-ssc.c85 .use_dma = 0,
90 .use_dma = 0,
95 .use_dma = 1,
A Dpci_endpoint_test.c360 bool use_dma; in pci_endpoint_test_copy() local
389 use_dma = !!(param.flags & PCITEST_FLAGS_USE_DMA); in pci_endpoint_test_copy()
390 if (use_dma) in pci_endpoint_test_copy()
498 bool use_dma; in pci_endpoint_test_write() local
525 use_dma = !!(param.flags & PCITEST_FLAGS_USE_DMA); in pci_endpoint_test_write()
526 if (use_dma) in pci_endpoint_test_write()
599 bool use_dma; in pci_endpoint_test_read() local
625 use_dma = !!(param.flags & PCITEST_FLAGS_USE_DMA); in pci_endpoint_test_read()
626 if (use_dma) in pci_endpoint_test_read()
/linux-6.3-rc2/drivers/mtd/nand/raw/
A Dlpc32xx_mlc.c229 static int use_dma; variable
474 if (use_dma) { in lpc32xx_read_page()
493 if (use_dma && !dma_mapped) in lpc32xx_read_page()
510 if (use_dma && (void *)buf >= high_memory) { in lpc32xx_write_page_lowlevel()
522 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()
/linux-6.3-rc2/drivers/i2c/busses/
A Di2c-stm32f7.c348 bool use_dma; member
798 if (i2c_dev->use_dma) in stm32f7_i2c_reload()
930 if (!i2c_dev->use_dma) { in stm32f7_i2c_xfer_msg()
1096 if (!i2c_dev->use_dma) { in stm32f7_i2c_smbus_xfer_msg()
1189 if (!i2c_dev->use_dma) in stm32f7_i2c_smbus_rep_start()
1518 if (i2c_dev->use_dma) { in stm32f7_i2c_isr_event()
1662 if (i2c_dev->use_dma) { in stm32f7_i2c_isr_error()
1701 if (i2c_dev->use_dma) in stm32f7_i2c_xfer()
1717 if (i2c_dev->use_dma) in stm32f7_i2c_xfer()
1763 if (i2c_dev->use_dma) in stm32f7_i2c_smbus_xfer()
[all …]
/linux-6.3-rc2/drivers/mmc/host/
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()
1258 host->use_dma = use_dma; in davinci_mmcsd_probe()
1262 if (host->use_dma) { in davinci_mmcsd_probe()
1267 host->use_dma = 0; in davinci_mmcsd_probe()
1326 host->use_dma ? "DMA" : "PIO", in davinci_mmcsd_probe()
A Djz4740_mmc.c179 bool use_dma; member
219 if (!host->use_dma) in jz4740_mmc_release_dma_channels()
379 if (!host->use_dma) in jz4740_mmc_pre_request()
709 if (host->use_dma) { in jz4740_mmc_send_command()
778 if (host->use_dma) { in jz_mmc_irq_worker()
1138 host->use_dma = !ret; in jz4740_mmc_probe()
1150 host->use_dma ? "DMA" : "PIO", in jz4740_mmc_probe()
1157 if (host->use_dma) in jz4740_mmc_probe()
1179 if (host->use_dma) in jz4740_mmc_remove()
A Ddw_mmc.c920 if (!slot->host->use_dma || !data) in dw_mci_pre_req()
938 if (!slot->host->use_dma || !data) in dw_mci_post_req()
1000 if (!host->use_dma) in dw_mci_adjust_fifoth()
1091 if (!host->use_dma) in dw_mci_submit_data_dma()
1102 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()
1755 if (host->use_dma) in dw_mci_reset()
1765 if (!host->use_dma) { in dw_mci_reset()
3018 host->use_dma = TRANS_MODE_IDMAC; in dw_mci_init_dma()
3021 host->use_dma = TRANS_MODE_EDMAC; in dw_mci_init_dma()
[all …]
/linux-6.3-rc2/drivers/spi/
A Dspi-sun6i.c263 bool use_dma; in sun6i_spi_transfer_one() local
274 use_dma = master->can_dma ? master->can_dma(master, spi, tfr) : false; in sun6i_spi_transfer_one()
285 if (!use_dma) { in sun6i_spi_transfer_one()
396 if (!use_dma) { in sun6i_spi_transfer_one()
412 if (!use_dma) { in sun6i_spi_transfer_one()
440 if (ret && use_dma) { in sun6i_spi_transfer_one()
A Dspi-topcliff-pch.c103 static int use_dma = 1; variable
186 int use_dma; member
369 if (data->use_dma) in pch_spi_handler()
875 data->use_dma = 0; in pch_spi_request_dma()
1150 if (data->use_dma) in pch_spi_process_messages()
1181 if (data->use_dma) { in pch_spi_process_messages()
1233 if (data->use_dma) in pch_spi_process_messages()
1346 data->use_dma = use_dma; in pch_spi_pd_probe()
1370 if (use_dma) { in pch_spi_pd_probe()
1409 if (use_dma) in pch_spi_pd_remove()
[all …]
A Dspi-rockchip.c526 bool use_dma, bool slave_mode) in rockchip_spi_config() argument
550 else if (use_dma) in rockchip_spi_config()
576 if (use_dma) { in rockchip_spi_config()
673 bool use_dma; in rockchip_spi_transfer_one() local
696 use_dma = ctlr->can_dma ? ctlr->can_dma(ctlr, spi, xfer) : false; in rockchip_spi_transfer_one()
698 ret = rockchip_spi_config(rs, spi, xfer, use_dma, ctlr->slave); in rockchip_spi_transfer_one()
702 if (use_dma) in rockchip_spi_transfer_one()
A Dspi-atmel.c275 bool use_dma; member
419 return as->use_dma && xfer->len >= DMA_MIN_BYTES; in atmel_spi_use_dma()
1502 as->use_dma = false; in atmel_spi_probe()
1507 as->use_dma = true; in atmel_spi_probe()
1521 as->use_dma = false; in atmel_spi_probe()
1528 as->use_dma = false; in atmel_spi_probe()
1534 if (!as->use_dma) in atmel_spi_probe()
1539 if (as->caps.has_dma_support && !as->use_dma) in atmel_spi_probe()
1587 if (as->use_dma) in atmel_spi_probe()
1607 if (as->use_dma) { in atmel_spi_remove()
/linux-6.3-rc2/drivers/usb/musb/
A Dmusb_gadget.c230 int use_dma = 0; in txstate() local
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
664 use_dma = c->channel_program( in rxstate()
[all …]
/linux-6.3-rc2/drivers/usb/gadget/udc/
A Damd5536udc_pci.c162 if (use_dma) { in udc_pci_probe()
176 if (use_dma) in udc_pci_probe()
A Damd5536udc.h599 static bool use_dma = 1; variable
608 module_param(use_dma, bool, S_IRUGO);
609 MODULE_PARM_DESC(use_dma, "true for DMA");
A Domap_udc.c98 static bool use_dma = 1; variable
103 module_param(use_dma, bool, 0);
108 #define use_dma 0 macro
303 if (use_dma && ep->has_dma) in done()
893 if (use_dma in omap_ep_queue()
906 if (use_dma && ep->has_dma) in omap_ep_queue()
1338 if (use_dma && ep->dma_channel) in nuke()
2148 if (use_dma && ep->has_dma) in proc_ep_show()
2196 if (use_dma && buf[0]) { in proc_ep_show()
2307 use_dma ? " (dma)" : ""); in proc_udc_show()
[all …]
A Dsnps_udc_core.c211 if (!use_dma) in print_regs()
1565 if (use_dma) { in udc_setup_endpoints()
1874 if (use_dma) { in activate_control_endpoints()
2031 if (use_dma) { in udc_ep0_set_rde()
2070 if (use_dma) { in udc_data_out_isr()
2106 if (!use_dma) { in udc_data_out_isr()
2283 if (use_dma) { in udc_data_in_isr()
2357 if (!use_dma) { in udc_data_in_isr()
2468 if (use_dma) { in udc_control_out_isr()
2572 if (!use_dma) { in udc_control_out_isr()
[all …]
/linux-6.3-rc2/include/linux/platform_data/
A Dspi-ep93xx.h12 bool use_dma; member
/linux-6.3-rc2/sound/soc/fsl/
A Dfsl_ssi.c259 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()
1390 if (!ssi->use_dma) { in fsl_ssi_imx_probe()
1420 if (!ssi->use_dma) in fsl_ssi_imx_clean()
1464 ssi->use_dma = !of_property_read_bool(np, "fsl,fiq-stream-filter"); in fsl_ssi_probe_from_dt()
1475 if (ssi->use_dma && !ret && dmas[2] == IMX_DMATYPE_SSI_DUAL) in fsl_ssi_probe_from_dt()
1478 if (ssi->use_dma && !ret && dmas[2] == IMX_DMATYPE_MULTI_SAI) in fsl_ssi_probe_from_dt()
1621 if (ssi->use_dma) { in fsl_ssi_probe()
/linux-6.3-rc2/drivers/crypto/
A Datmel-aes.c579 if (use_dma) { in atmel_aes_write_ctrl_key()
599 atmel_aes_write_ctrl_key(dd, use_dma, iv, in atmel_aes_write_ctrl()
994 atmel_aes_write_ctrl(dd, use_dma, (void *)req->iv); in atmel_aes_start()
995 if (use_dma) in atmel_aes_start()
1012 bool use_dma, fragmented = false; in atmel_aes_ctr_transfer() local
1034 use_dma = (datalen >= ATMEL_AES_DMA_THRESHOLD); in atmel_aes_ctr_transfer()
1042 atmel_aes_write_ctrl(dd, use_dma, ctx->iv); in atmel_aes_ctr_transfer()
1052 if (use_dma) in atmel_aes_ctr_transfer()
1636 if (use_dma) { in atmel_aes_gcm_data()
1864 atmel_aes_write_ctrl(dd, use_dma, NULL); in atmel_aes_xts_process_data()
[all …]
/linux-6.3-rc2/include/linux/spi/
A Dspi_bitbang.h10 u8 use_dma; member

Completed in 87 milliseconds

123