| /linux/drivers/gpu/drm/i915/ ! |
| H 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/testing/selftests/pci_endpoint/ ! |
| H A D | pci_endpoint_test.c | 184 bool use_dma; in FIXTURE_VARIANT() local 189 .use_dma = false, in FIXTURE_VARIANT_ADD() 194 .use_dma = true, in FIXTURE_VARIANT_ADD() 202 if (variant->use_dma) in TEST_F() 221 if (variant->use_dma) in TEST_F() 240 if (variant->use_dma) in TEST_F()
|
| /linux/drivers/memstick/host/ ! |
| H A D | tifm_ms.c | 76 use_dma:1; member 262 host->use_dma = !no_dma; in tifm_ms_issue_cmd() 267 host->use_dma = 0; in tifm_ms_issue_cmd() 270 host->use_dma = 0; in tifm_ms_issue_cmd() 278 if (host->use_dma) { in tifm_ms_issue_cmd() 318 if (host->use_dma) in tifm_ms_issue_cmd() 349 if (host->use_dma) { in tifm_ms_complete_cmd() 395 if (host->use_dma && (fifo_status & 1)) { in tifm_ms_data_event() 399 if (!host->use_dma && (fifo_status & TIFM_FIFO_MORE)) { in tifm_ms_data_event() 606 if (host->use_dma) in tifm_ms_remove()
|
| /linux/drivers/net/ethernet/cirrus/ ! |
| H 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() 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 */ variable [all …]
|
| /linux/drivers/mtd/nand/raw/ ! |
| H 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/ ! |
| H 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()
|
| H 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 …]
|
| H A D | spi-atcspi200.c | 122 bool use_dma; member 264 if (spi->use_dma && op->data.nbytes >= ATCSPI_DMA_THRESHOLD) in atcspi_adjust_op_size() 375 if (spi->use_dma && op->data.nbytes >= ATCSPI_DMA_THRESHOLD) in atcspi_exec_mem_op() 591 spi->use_dma = false; in atcspi_probe() 598 spi->use_dma = true; in atcspi_probe()
|
| H A D | spi-atmel.c | 275 bool use_dma; member 488 return as->use_dma && xfer->len >= DMA_MIN_BYTES; in atmel_spi_use_dma() 1575 as->use_dma = false; in atmel_spi_probe() 1580 as->use_dma = true; in atmel_spi_probe() 1594 as->use_dma = false; in atmel_spi_probe() 1601 as->use_dma = false; in atmel_spi_probe() 1607 if (!as->use_dma) in atmel_spi_probe() 1612 if (as->caps.has_dma_support && !as->use_dma) in atmel_spi_probe() 1672 if (as->use_dma) in atmel_spi_probe() 1694 if (as->use_dma) { in atmel_spi_remove()
|
| /linux/drivers/misc/ ! |
| H A D | atmel-ssc.c | 85 .use_dma = 0, 90 .use_dma = 0, 95 .use_dma = 1,
|
| H A D | pci_endpoint_test.c | 682 bool use_dma; in pci_endpoint_test_copy() local 711 use_dma = !!(param.flags & PCITEST_FLAGS_USE_DMA); in pci_endpoint_test_copy() 712 if (use_dma) in pci_endpoint_test_copy() 817 bool use_dma; in pci_endpoint_test_write() local 844 use_dma = !!(param.flags & PCITEST_FLAGS_USE_DMA); in pci_endpoint_test_write() 845 if (use_dma) in pci_endpoint_test_write() 915 bool use_dma; in pci_endpoint_test_read() local 941 use_dma = !!(param.flags & PCITEST_FLAGS_USE_DMA); in pci_endpoint_test_read() 942 if (use_dma) in pci_endpoint_test_read()
|
| /linux/drivers/mmc/host/ ! |
| H A D | davinci_mmc.c | 162 static unsigned use_dma = 1; variable 163 module_param(use_dma, uint, 0); 164 MODULE_PARM_DESC(use_dma, "Whether to use DMA or not. Default = 1"); 186 bool use_dma; member 477 if (!host->use_dma) in davinci_release_dma_channels() 564 if (host->use_dma && (host->bytes_left & (rw_threshold - 1)) == 0 in mmc_davinci_prepare_data() 1249 host->use_dma = use_dma; in davinci_mmcsd_probe() 1253 if (host->use_dma) { in davinci_mmcsd_probe() 1258 host->use_dma = 0; in davinci_mmcsd_probe() 1323 host->use_dma ? "DMA" : "PIO", bus_width); in davinci_mmcsd_probe()
|
| H 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() 711 if (host->use_dma) { in jz4740_mmc_send_command() 780 if (host->use_dma) { in jz_mmc_irq_worker() 1124 host->use_dma = !ret; in jz4740_mmc_probe() 1136 host->use_dma ? "DMA" : "PIO", in jz4740_mmc_probe() 1143 if (host->use_dma) in jz4740_mmc_probe() 1162 if (host->use_dma) in jz4740_mmc_remove()
|
| H A D | dw_mmc.c | 480 if ((host->use_dma == TRANS_MODE_EDMAC) && in dw_mci_dmac_complete_dma() 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() 1799 if (host->use_dma == TRANS_MODE_IDMAC) in dw_mci_reset() [all …]
|
| /linux/drivers/usb/musb/ ! |
| H A D | musb_gadget.c | 231 int use_dma = 0; in txstate() local 280 use_dma = (request->dma != DMA_ADDR_INVALID && request_size); in txstate() 290 use_dma = use_dma && c->channel_program( in txstate() 294 if (use_dma) { in txstate() 358 use_dma = use_dma && c->channel_program( in txstate() 363 if (!use_dma) { in txstate() 371 use_dma = use_dma && c->channel_program( in txstate() 379 if (!use_dma) { in txstate() 396 musb_ep->end_point.name, use_dma ? "dma" : "pio", in txstate() 605 int use_dma = 0; in rxstate() local [all …]
|
| /linux/drivers/i2c/busses/ ! |
| H A D | i2c-stm32f7.c | 355 bool use_dma; member 817 if (i2c_dev->use_dma) in stm32f7_i2c_reload() 937 i2c_dev->use_dma = false; in stm32f7_i2c_xfer_msg() 952 i2c_dev->use_dma = true; in stm32f7_i2c_xfer_msg() 957 if (!i2c_dev->use_dma) { in stm32f7_i2c_xfer_msg() 1114 i2c_dev->use_dma = false; in stm32f7_i2c_smbus_xfer_msg() 1122 i2c_dev->use_dma = true; in stm32f7_i2c_smbus_xfer_msg() 1127 if (!i2c_dev->use_dma) { in stm32f7_i2c_smbus_xfer_msg() 1206 i2c_dev->use_dma = false; in stm32f7_i2c_smbus_rep_start() 1217 i2c_dev->use_dma = true; in stm32f7_i2c_smbus_rep_start() [all …]
|
| /linux/sound/soc/fsl/ ! |
| H A D | fsl_ssi.c | 216 * @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() 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 in fsl_ssi_probe_from_dt() [all...] |
| /linux/drivers/usb/gadget/udc/ ! |
| H A D | amd5536udc_pci.c | 162 if (use_dma) { in udc_pci_probe() 179 if (use_dma) in udc_pci_probe()
|
| H A D | omap_udc.c | 98 static bool use_dma = 1; variable 103 module_param(use_dma, bool, 0); 104 MODULE_PARM_DESC(use_dma, "enable/disable DMA"); 108 #define use_dma 0 macro 218 if (use_dma && desc->bmAttributes == USB_ENDPOINT_XFER_BULK) in omap_ep_enable() 302 if (use_dma && ep->has_dma) in done() 892 if (use_dma in omap_ep_queue() 905 if (use_dma && ep->has_dma) in omap_ep_queue() 1028 if (use_dma && ep->dma_channel && ep->queue.next == &req->queue) { in omap_ep_dequeue() 1080 if (use_dma && ep->dma_channel in omap_ep_set_halt() [all …]
|
| H 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");
|
| H A D | snps_udc_core.c | 197 DBG(dev, "USE DMA = %d\n", use_dma); in print_regs() 198 if (use_dma && use_dma_ppb && !use_dma_ppb_du) { in print_regs() 202 } else if (use_dma && use_dma_ppb && use_dma_ppb_du) { in print_regs() 207 if (use_dma && use_dma_bufferfill_mode) { in print_regs() 211 if (!use_dma) in print_regs() 394 if (use_dma && !ep->in) { in udc_ep_enable() 432 if (!use_dma || ep->in) { in udc_ep_enable() 1212 if (!use_dma && udc_rxfifo_pending) { in udc_queue() 1565 if (use_dma) { in udc_setup_endpoints() 1874 if (use_dma) { in activate_control_endpoints() [all …]
|
| /linux/drivers/crypto/ ! |
| H A D | atmel-aes.c | 546 static void atmel_aes_write_ctrl_key(struct atmel_aes_dev *dd, bool use_dma, in atmel_aes_write_ctrl_key() argument 561 if (use_dma) { in atmel_aes_write_ctrl_key() 577 static inline void atmel_aes_write_ctrl(struct atmel_aes_dev *dd, bool use_dma, in atmel_aes_write_ctrl() argument 581 atmel_aes_write_ctrl_key(dd, use_dma, iv, in atmel_aes_write_ctrl() 950 bool use_dma = (req->cryptlen >= ATMEL_AES_DMA_THRESHOLD || in atmel_aes_start() local 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() [all …]
|
| /linux/drivers/leds/ ! |
| H 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/drivers/ntb/test/ ! |
| H A D | ntb_perf.c | 121 static bool use_dma; /* default to 0 */ variable 122 module_param(use_dma, bool, 0644); 123 MODULE_PARM_DESC(use_dma, "Use DMA engine to measure performance"); 797 if (!use_dma) { in perf_copy_chunk() 882 if (!use_dma) in perf_init_test() 968 if (!use_dma) in perf_sync_test() 997 if (!use_dma) in perf_clear_test() 1375 debugfs_create_bool("use_dma", 0500, perf->dbgfs_dir, &use_dma); in perf_setup_dbgfs()
|
| /linux/drivers/tty/serial/ ! |
| H A D | pch_uart.c | 223 unsigned int use_dma; member 1030 if (priv->use_dma) { in pch_uart_interrupt() 1049 if (priv->use_dma) in pch_uart_interrupt() 1147 if (priv->use_dma) { in pch_uart_start_tx() 1254 if (priv->use_dma) in pch_uart_startup() 1406 priv->use_dma = 0; in pch_uart_verify_port() 1414 if (!priv->use_dma) { in pch_uart_verify_port() 1417 priv->use_dma = 1; in pch_uart_verify_port() 1420 priv->use_dma ? in pch_uart_verify_port()
|