| /linux/drivers/gpu/drm/i915/ |
| 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/tools/pci/ |
| A D | pcitest.c | 36 bool use_dma; member 116 if (test->use_dma) in run_test() 128 if (test->use_dma) in run_test() 140 if (test->use_dma) in run_test() 223 test->use_dma = true; in main()
|
| /linux/drivers/memstick/host/ |
| 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/net/ethernet/cirrus/ |
| A D | cs89x0.c | 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() 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() 1713 module_param(use_dma , int, 0); 1731 MODULE_PARM_DESC(use_dma , "(ignored)"); 1780 if (use_dma) { in cs89x0_isa_init_module() [all …]
|
| /linux/drivers/misc/ |
| A D | atmel-ssc.c | 85 .use_dma = 0, 90 .use_dma = 0, 95 .use_dma = 1,
|
| A D | pci_endpoint_test.c | 386 bool use_dma; in pci_endpoint_test_copy() local 415 use_dma = !!(param.flags & PCITEST_FLAGS_USE_DMA); in pci_endpoint_test_copy() 416 if (use_dma) in pci_endpoint_test_copy() 524 bool use_dma; in pci_endpoint_test_write() local 551 use_dma = !!(param.flags & PCITEST_FLAGS_USE_DMA); in pci_endpoint_test_write() 552 if (use_dma) in pci_endpoint_test_write() 625 bool use_dma; in pci_endpoint_test_read() local 651 use_dma = !!(param.flags & PCITEST_FLAGS_USE_DMA); in pci_endpoint_test_read() 652 if (use_dma) in pci_endpoint_test_read()
|
| /linux/drivers/mtd/nand/raw/ |
| 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()
|
| /linux/drivers/spi/ |
| A D | spi-sun6i.c | 285 bool use_dma; in sun6i_spi_transfer_one() local 297 use_dma = host->can_dma ? host->can_dma(host, spi, tfr) : false; in sun6i_spi_transfer_one() 308 if (!use_dma) { in sun6i_spi_transfer_one() 461 if (!use_dma) { in sun6i_spi_transfer_one() 477 if (!use_dma) { in sun6i_spi_transfer_one() 495 if (!use_dma) { in sun6i_spi_transfer_one() 521 if (ret && use_dma) { in sun6i_spi_transfer_one()
|
| A D | spi-topcliff-pch.c | 103 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 D | spi-rockchip.c | 519 bool use_dma, bool target_mode) in rockchip_spi_config() argument 543 else if (use_dma) in rockchip_spi_config() 569 if (use_dma) { in rockchip_spi_config() 666 bool use_dma; in rockchip_spi_transfer_one() local 689 use_dma = ctlr->can_dma ? ctlr->can_dma(ctlr, spi, xfer) : false; in rockchip_spi_transfer_one() 691 ret = rockchip_spi_config(rs, spi, xfer, use_dma, ctlr->target); in rockchip_spi_transfer_one() 695 if (use_dma) in rockchip_spi_transfer_one()
|
| A D | spi-atmel.c | 274 bool use_dma; member 497 return as->use_dma && xfer->len >= DMA_MIN_BYTES; in atmel_spi_use_dma() 1573 as->use_dma = false; in atmel_spi_probe() 1578 as->use_dma = true; in atmel_spi_probe() 1592 as->use_dma = false; in atmel_spi_probe() 1599 as->use_dma = false; in atmel_spi_probe() 1605 if (!as->use_dma) in atmel_spi_probe() 1610 if (as->caps.has_dma_support && !as->use_dma) in atmel_spi_probe() 1658 if (as->use_dma) in atmel_spi_probe() 1678 if (as->use_dma) { in atmel_spi_remove()
|
| A D | spi-rockchip-sfc.c | 182 bool use_dma; member 506 if (likely(sfc->use_dma) && len >= SFC_DMA_TRANS_THRETHOLD) { in rockchip_sfc_exec_mem_op() 594 sfc->use_dma = !of_property_read_bool(sfc->dev->of_node, in rockchip_sfc_probe() 597 if (sfc->use_dma) { in rockchip_sfc_probe()
|
| /linux/drivers/mmc/host/ |
| A D | davinci_mmc.c | 163 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"); 187 bool use_dma; member 478 if (!host->use_dma) in davinci_release_dma_channels() 565 if (host->use_dma && (host->bytes_left & (rw_threshold - 1)) == 0 in mmc_davinci_prepare_data() 1253 host->use_dma = use_dma; in davinci_mmcsd_probe() 1257 if (host->use_dma) { in davinci_mmcsd_probe() 1262 host->use_dma = 0; in davinci_mmcsd_probe() 1327 host->use_dma ? "DMA" : "PIO", bus_width); in davinci_mmcsd_probe()
|
| A D | jz4740_mmc.c | 180 bool use_dma; member 220 if (!host->use_dma) in jz4740_mmc_release_dma_channels() 380 if (!host->use_dma) in jz4740_mmc_pre_request() 710 if (host->use_dma) { in jz4740_mmc_send_command() 779 if (host->use_dma) { in jz_mmc_irq_worker() 1132 host->use_dma = !ret; in jz4740_mmc_probe() 1144 host->use_dma ? "DMA" : "PIO", in jz4740_mmc_probe() 1151 if (host->use_dma) in jz4740_mmc_probe() 1173 if (host->use_dma) in jz4740_mmc_remove()
|
| A D | dw_mmc.c | 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() 3023 host->use_dma = TRANS_MODE_IDMAC; in dw_mci_init_dma() 3026 host->use_dma = TRANS_MODE_EDMAC; in dw_mci_init_dma() [all …]
|
| /linux/drivers/usb/musb/ |
| A D | musb_gadget.c | 230 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/i2c/busses/ |
| A D | i2c-stm32f7.c | 354 bool use_dma; member 812 if (i2c_dev->use_dma) in stm32f7_i2c_reload() 945 if (!i2c_dev->use_dma) { in stm32f7_i2c_xfer_msg() 1115 if (!i2c_dev->use_dma) { in stm32f7_i2c_smbus_xfer_msg() 1210 if (!i2c_dev->use_dma) in stm32f7_i2c_smbus_rep_start() 1554 if (i2c_dev->use_dma) { in stm32f7_i2c_handle_isr_errs() 1622 if (i2c_dev->use_dma) { in stm32f7_i2c_isr_event_thread() 1736 if (i2c_dev->use_dma) in stm32f7_i2c_xfer_core() 1752 if (i2c_dev->use_dma) in stm32f7_i2c_xfer_core() 1816 if (i2c_dev->use_dma) in stm32f7_i2c_smbus_xfer() [all …]
|
| /linux/drivers/usb/gadget/udc/ |
| A D | amd5536udc_pci.c | 162 if (use_dma) { in udc_pci_probe() 179 if (use_dma) in udc_pci_probe()
|
| 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");
|
| A D | omap_udc.c | 97 static bool use_dma = 1; variable 102 module_param(use_dma, bool, 0); 107 #define use_dma 0 macro 301 if (use_dma && ep->has_dma) in done() 891 if (use_dma in omap_ep_queue() 904 if (use_dma && ep->has_dma) in omap_ep_queue() 1336 if (use_dma && ep->dma_channel) in nuke() 1603 if (use_dma && ep->has_dma) { in ep0_irq() 2147 if (use_dma && ep->has_dma) in proc_ep_show() 2195 if (use_dma && buf[0]) { in proc_ep_show() [all …]
|
| A D | snps_udc_core.c | 211 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/sound/soc/fsl/ |
| 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/crypto/ |
| A D | atmel-aes.c | 561 if (use_dma) { in atmel_aes_write_ctrl_key() 581 atmel_aes_write_ctrl_key(dd, use_dma, iv, in atmel_aes_write_ctrl() 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() 1018 if (use_dma) in atmel_aes_ctr_transfer() 1437 if (use_dma) { in atmel_aes_gcm_data() 1665 atmel_aes_write_ctrl(dd, use_dma, NULL); in atmel_aes_xts_process_data() [all …]
|
| /linux/drivers/leds/ |
| 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/include/linux/spi/ |
| A D | spi_bitbang.h | 12 u8 use_dma; member
|