Home
last modified time | relevance | path

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

1234

/linux/drivers/gpu/drm/i915/
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()
/linux/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/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/drivers/pci/endpoint/functions/
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()
291 pci_epf_test_print_rate("COPY", reg->size, &start, &end, use_dma); in pci_epf_test_copy()
315 bool use_dma; in pci_epf_test_read() local
348 use_dma = !!(reg->flags & FLAG_USE_DMA); in pci_epf_test_read()
349 if (use_dma) { in pci_epf_test_read()
379 pci_epf_test_print_rate("READ", reg->size, &start, &end, use_dma); in pci_epf_test_read()
403 bool use_dma; in pci_epf_test_write() local
439 use_dma = !!(reg->flags & FLAG_USE_DMA); in pci_epf_test_write()
[all …]
/linux/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/drivers/misc/
A Dpci_endpoint_test.c343 bool use_dma; in pci_endpoint_test_copy() local
370 use_dma = !!(param.flags & PCITEST_FLAGS_USE_DMA); in pci_endpoint_test_copy()
371 if (use_dma) in pci_endpoint_test_copy()
479 bool use_dma; in pci_endpoint_test_write() local
504 use_dma = !!(param.flags & PCITEST_FLAGS_USE_DMA); in pci_endpoint_test_write()
505 if (use_dma) in pci_endpoint_test_write()
578 bool use_dma; in pci_endpoint_test_read() local
602 use_dma = !!(param.flags & PCITEST_FLAGS_USE_DMA); in pci_endpoint_test_read()
603 if (use_dma) in pci_endpoint_test_read()
A Datmel-ssc.c85 .use_dma = 0,
90 .use_dma = 0,
95 .use_dma = 1,
/linux/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()
762 if (use_dma) { in lpc32xx_nand_probe()
812 if (use_dma) in lpc32xx_nand_probe()
839 if (use_dma) in lpc32xx_nand_remove()
/linux/drivers/i2c/busses/
A Di2c-stm32f7.c348 bool use_dma; member
792 if (i2c_dev->use_dma) in stm32f7_i2c_reload()
934 if (!i2c_dev->use_dma) { in stm32f7_i2c_xfer_msg()
1100 if (!i2c_dev->use_dma) { in stm32f7_i2c_smbus_xfer_msg()
1193 if (!i2c_dev->use_dma) in stm32f7_i2c_smbus_rep_start()
1522 if (i2c_dev->use_dma) { in stm32f7_i2c_isr_event()
1666 if (i2c_dev->use_dma) { in stm32f7_i2c_isr_error()
1705 if (i2c_dev->use_dma) in stm32f7_i2c_xfer()
1721 if (i2c_dev->use_dma) in stm32f7_i2c_xfer()
1767 if (i2c_dev->use_dma) in stm32f7_i2c_smbus_xfer()
[all …]
/linux/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()
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()
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()
1592 if (host->use_dma == TRANS_MODE_IDMAC) in dw_mci_hw_reset()
1724 if (host->use_dma) in dw_mci_reset()
1734 if (!host->use_dma) { in dw_mci_reset()
2964 host->use_dma = TRANS_MODE_IDMAC; in dw_mci_init_dma()
2967 host->use_dma = TRANS_MODE_EDMAC; in dw_mci_init_dma()
[all …]
A Djz4740_mmc.c176 bool use_dma; member
216 if (!host->use_dma) in jz4740_mmc_release_dma_channels()
341 if (!host->use_dma) in jz4740_mmc_pre_request()
671 if (host->use_dma) { in jz4740_mmc_send_command()
740 if (host->use_dma) { in jz_mmc_irq_worker()
1057 host->use_dma = !ret; in jz4740_mmc_probe()
1069 host->use_dma ? "DMA" : "PIO", in jz4740_mmc_probe()
1076 if (host->use_dma) in jz4740_mmc_probe()
1098 if (host->use_dma) in jz4740_mmc_remove()
/linux/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
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()
1255 if (data->use_dma) in pch_spi_process_messages()
1367 data->use_dma = use_dma; in pch_spi_pd_probe()
1391 if (use_dma) { in pch_spi_pd_probe()
[all …]
A Dspi-rockchip.c495 bool use_dma, bool slave_mode) in rockchip_spi_config() argument
519 else if (use_dma) in rockchip_spi_config()
545 if (use_dma) { in rockchip_spi_config()
601 bool use_dma; in rockchip_spi_transfer_one() local
624 use_dma = ctlr->can_dma ? ctlr->can_dma(ctlr, spi, xfer) : false; in rockchip_spi_transfer_one()
626 ret = rockchip_spi_config(rs, spi, xfer, use_dma, ctlr->slave); in rockchip_spi_transfer_one()
630 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()
1508 as->use_dma = false; in atmel_spi_probe()
1513 as->use_dma = true; in atmel_spi_probe()
1527 as->use_dma = false; in atmel_spi_probe()
1534 as->use_dma = false; in atmel_spi_probe()
1540 if (!as->use_dma) in atmel_spi_probe()
1545 if (as->caps.has_dma_support && !as->use_dma) in atmel_spi_probe()
1593 if (as->use_dma) in atmel_spi_probe()
1613 if (as->use_dma) { in atmel_spi_remove()
/linux/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/drivers/usb/gadget/udc/
A Domap_udc.c95 static bool use_dma = 1; variable
100 module_param(use_dma, bool, 0);
105 #define use_dma 0 macro
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()
2149 if (use_dma && ep->has_dma) in proc_ep_show()
2197 if (use_dma && buf[0]) { in proc_ep_show()
2308 use_dma ? " (dma)" : ""); in proc_udc_show()
2382 if (use_dma) { in proc_udc_show()
[all …]
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 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()
2032 if (use_dma) { in udc_ep0_set_rde()
2071 if (use_dma) { in udc_data_out_isr()
2107 if (!use_dma) { in udc_data_out_isr()
2284 if (use_dma) { in udc_data_in_isr()
2358 if (!use_dma) { in udc_data_in_isr()
2469 if (use_dma) { in udc_control_out_isr()
2573 if (!use_dma) { in udc_control_out_isr()
[all …]
/linux/sound/soc/fsl/
A Dfsl_ssi.c256 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()
1119 if (ssi->soc->imx && ssi->use_dma) in fsl_ssi_dai_probe()
1361 if (!ssi->use_dma) { in fsl_ssi_imx_probe()
1391 if (!ssi->use_dma) in fsl_ssi_imx_clean()
1435 ssi->use_dma = !of_property_read_bool(np, "fsl,fiq-stream-filter"); in fsl_ssi_probe_from_dt()
1446 if (ssi->use_dma && !ret && dmas[2] == IMX_DMATYPE_SSI_DUAL) in fsl_ssi_probe_from_dt()
1590 if (ssi->use_dma) { in fsl_ssi_probe()
/linux/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()
993 atmel_aes_write_ctrl(dd, use_dma, (void *)req->iv); in atmel_aes_start()
994 if (use_dma) in atmel_aes_start()
1011 bool use_dma, fragmented = false; in atmel_aes_ctr_transfer() local
1033 use_dma = (datalen >= ATMEL_AES_DMA_THRESHOLD); in atmel_aes_ctr_transfer()
1041 atmel_aes_write_ctrl(dd, use_dma, ctx->iv); in atmel_aes_ctr_transfer()
1051 if (use_dma) in atmel_aes_ctr_transfer()
1637 if (use_dma) { in atmel_aes_gcm_data()
1866 atmel_aes_write_ctrl(dd, use_dma, NULL); in atmel_aes_xts_process_data()
[all …]
/linux/include/linux/platform_data/
A Dspi-ep93xx.h12 bool use_dma; member
A Dmmc-s3cmci.h33 unsigned int use_dma:1; member

Completed in 93 milliseconds

1234