Home
last modified time | relevance | path

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

/linux-4.4.14/arch/cris/arch-v10/drivers/
Dsync_serial.c119 char use_dma; /* 1 if port uses dma */ member
212 .use_dma = 1,
214 .use_dma = 0,
235 .use_dma = 1,
237 .use_dma = 0,
304 ports[0].use_dma = 1; in etrax_sync_serial_init()
306 ports[0].use_dma = 0; in etrax_sync_serial_init()
316 ports[1].use_dma = 1; in etrax_sync_serial_init()
318 ports[1].use_dma = 0; in etrax_sync_serial_init()
393 if (port->use_dma) in initialize_port()
[all …]
/linux-4.4.14/drivers/memstick/host/
Dtifm_ms.c80 use_dma:1; member
268 host->use_dma = !no_dma; in tifm_ms_issue_cmd()
273 host->use_dma = 0; in tifm_ms_issue_cmd()
276 host->use_dma = 0; in tifm_ms_issue_cmd()
284 if (host->use_dma) { in tifm_ms_issue_cmd()
324 if (host->use_dma) in tifm_ms_issue_cmd()
355 if (host->use_dma) { in tifm_ms_complete_cmd()
401 if (host->use_dma && (fifo_status & 1)) { in tifm_ms_data_event()
405 if (!host->use_dma && (fifo_status & TIFM_FIFO_MORE)) { in tifm_ms_data_event()
612 if (host->use_dma) in tifm_ms_remove()
/linux-4.4.14/drivers/misc/
Datmel-ssc.c85 .use_dma = 0,
90 .use_dma = 0,
95 .use_dma = 1,
/linux-4.4.14/drivers/net/ethernet/cirrus/
Dcs89x0.c150 int use_dma; /* Flag: we're using dma */ member
372 if (lp->use_dma) { in set_dma_cfg()
391 if (lp->use_dma) in dma_bufcfg()
402 if (lp->use_dma) { in dma_busctl()
783 if (lp->use_dma && (status & RX_DMA)) { in net_interrupt()
884 if (lp->use_dma && (lp->isa_config & ANY_ISA_DMA)) { in net_open()
1102 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 */ variable
[all …]
/linux-4.4.14/drivers/mmc/host/
Djz4740_mmc.c152 bool use_dma; member
167 if (!host->use_dma) in jz4740_mmc_release_dma_channels()
332 if (host->use_dma) { in jz4740_mmc_pre_request()
347 if (host->use_dma && data->host_cookie) { in jz4740_mmc_post_request()
665 if (host->use_dma) in jz4740_mmc_send_command()
716 if (host->use_dma) { in jz_mmc_irq_worker()
1076 host->use_dma = true; in jz4740_mmc_probe()
1077 if (host->use_dma && jz4740_mmc_acquire_dma_channels(host) != 0) in jz4740_mmc_probe()
1078 host->use_dma = false; in jz4740_mmc_probe()
1090 host->use_dma ? "DMA" : "PIO", in jz4740_mmc_probe()
[all …]
Ddavinci_mmc.c177 static unsigned __initdata use_dma = 1; variable
178 module_param(use_dma, uint, 0);
179 MODULE_PARM_DESC(use_dma, "Whether to use DMA or not. Default = 1");
208 bool use_dma; member
511 if (!host->use_dma) in davinci_release_dma_channels()
616 if (host->use_dma && (host->bytes_left & (rw_threshold - 1)) == 0 in mmc_davinci_prepare_data()
1299 host->use_dma = use_dma; in davinci_mmcsd_probe()
1303 if (host->use_dma && davinci_acquire_dma_channels(host) != 0) in davinci_mmcsd_probe()
1304 host->use_dma = 0; in davinci_mmcsd_probe()
1374 host->use_dma ? "DMA" : "PIO", in davinci_mmcsd_probe()
Ddw_mmc.c452 if ((host->use_dma == TRANS_MODE_EDMAC) && in dw_mci_dmac_complete_dma()
831 if (!slot->host->use_dma || !data) in dw_mci_pre_req()
850 if (!slot->host->use_dma || !data) in dw_mci_post_req()
871 if (!host->use_dma) in dw_mci_adjust_fifoth()
952 if (!host->use_dma) in dw_mci_submit_data_dma()
963 if (host->use_dma == TRANS_MODE_IDMAC) in dw_mci_submit_data_dma()
2458 if (host->use_dma != TRANS_MODE_IDMAC) in dw_mci_interrupt()
2587 if (host->use_dma == TRANS_MODE_IDMAC) { in dw_mci_init_slot()
2593 } else if (host->use_dma == TRANS_MODE_EDMAC) { in dw_mci_init_slot()
2655 host->use_dma = SDMMC_GET_TRANS_MODE(mci_readl(host, HCON)); in dw_mci_init_dma()
[all …]
Domap_hsmmc.c201 int use_dma, dma_ch; member
582 if (host->use_dma) in omap_hsmmc_enable_irq()
928 if (host->use_dma) in omap_hsmmc_start_command()
964 if (mrq->data && host->use_dma && dma_ch != -1) in omap_hsmmc_request_done()
1053 if (host->use_dma && dma_ch != -1) { in omap_hsmmc_dma_cleanup()
1548 if (host->use_dma) { in omap_hsmmc_prepare_data()
1564 if (host->use_dma && data->host_cookie) { in omap_hsmmc_post_req()
1583 if (host->use_dma) { in omap_hsmmc_pre_req()
2052 host->use_dma = 1; in omap_hsmmc_probe()
Dusdhi6rol0.c1000 bool use_dma; in usdhi6_rq_start() local
1048 use_dma = data->blksz >= USDHI6_MIN_DMA && in usdhi6_rq_start()
1052 if (use_dma) in usdhi6_rq_start()
1058 data->sg_len, use_dma ? "DMA" : "PIO", in usdhi6_rq_start()
Domap.c950 int i, use_dma = 1, block_size; in mmc_omap_prepare_data() local
978 use_dma = 0; in mmc_omap_prepare_data()
984 if (use_dma) { in mmc_omap_prepare_data()
/linux-4.4.14/drivers/mtd/nand/
Dlpc32xx_mlc.c226 static int use_dma; variable
471 if (use_dma) { in lpc32xx_read_page()
490 if (use_dma && !dma_mapped) in lpc32xx_read_page()
507 if (use_dma && (void *)buf >= high_memory) { in lpc32xx_write_page_lowlevel()
517 if (use_dma) { in lpc32xx_write_page_lowlevel()
724 if (use_dma) { in lpc32xx_nand_probe()
800 if (use_dma) in lpc32xx_nand_probe()
822 if (use_dma) in lpc32xx_nand_remove()
Dpxa3xx_nand.c227 int use_dma; /* use DMA ? */ member
252 static bool use_dma = 1; variable
253 module_param(use_dma, bool, 0444);
254 MODULE_PARM_DESC(use_dma, "enable DMA for data transferring to/from NAND HW");
575 if (info->use_dma) in pxa3xx_nand_start()
809 if (info->use_dma) { in pxa3xx_nand_irq()
1434 if (use_dma == 0) in pxa3xx_nand_init_buff()
1473 info->use_dma = 1; in pxa3xx_nand_init_buff()
1479 if (info->use_dma) { in pxa3xx_nand_free_buff()
1753 if (use_dma) { in alloc_nand_resource()
[all …]
Datmel_nand.c51 static int use_dma = 1; variable
52 module_param(use_dma, int, 0);
431 if (use_dma && len > mtd->oobsize) in atmel_read_buf()
447 if (use_dma && len > mtd->oobsize) in atmel_write_buf()
1978 if (use_dma) { in nfc_sram_write_page()
2211 use_dma = 0; in atmel_nand_probe()
2213 if (use_dma) { in atmel_nand_probe()
2221 use_dma = 0; in atmel_nand_probe()
2224 if (use_dma) in atmel_nand_probe()
/linux-4.4.14/drivers/spi/
Dspi-qup.c152 int use_dma; member
427 if (!controller->use_dma) { in spi_qup_qup_irq()
503 } else if (!controller->use_dma) { in spi_qup_io_config()
537 if (!controller->use_dma) in spi_qup_io_config()
584 if (controller->use_dma) { in spi_qup_io_config()
636 if (controller->use_dma) in spi_qup_transfer_one()
660 if (ret && controller->use_dma) in spi_qup_transfer_one()
673 qup->use_dma = 0; in spi_qup_can_dma()
689 qup->use_dma = 1; in spi_qup_can_dma()
Dspi-topcliff-pch.c112 static int use_dma = 1; variable
193 int use_dma; member
376 if (data->use_dma) in pch_spi_handler()
886 data->use_dma = 0; in pch_spi_request_dma()
903 data->use_dma = 0; in pch_spi_request_dma()
1174 if (data->use_dma) in pch_spi_process_messages()
1203 if (data->use_dma) { in pch_spi_process_messages()
1260 if (data->use_dma) in pch_spi_process_messages()
1391 data->use_dma = use_dma; in pch_spi_pd_probe()
1415 if (use_dma) { in pch_spi_pd_probe()
[all …]
Dspi-rockchip.c197 u32 use_dma; member
325 if (rs->use_dma) { in rockchip_spi_handle_err()
518 if (rs->use_dma) { in rockchip_spi_config()
605 rs->use_dma = 1; in rockchip_spi_transfer_one()
607 rs->use_dma = 0; in rockchip_spi_transfer_one()
611 if (rs->use_dma) { in rockchip_spi_transfer_one()
Dspi-s3c64xx.c680 int use_dma; in s3c64xx_spi_transfer_one() local
695 use_dma = 0; in s3c64xx_spi_transfer_one()
699 use_dma = 1; in s3c64xx_spi_transfer_one()
707 enable_datapath(sdd, spi, xfer, use_dma); in s3c64xx_spi_transfer_one()
719 if (use_dma) in s3c64xx_spi_transfer_one()
731 if (use_dma) { in s3c64xx_spi_transfer_one()
Dspi-atmel.c311 bool use_dma; member
456 return as->use_dma && xfer->len >= DMA_MIN_BYTES; in atmel_spi_use_dma()
1580 as->use_dma = false; in atmel_spi_probe()
1585 as->use_dma = true; in atmel_spi_probe()
1592 if (as->caps.has_dma_support && !as->use_dma) in atmel_spi_probe()
1648 if (as->use_dma) in atmel_spi_probe()
1673 if (as->use_dma) { in atmel_spi_remove()
Dspi-bitbang.c377 bitbang->use_dma = 0; in spi_bitbang_start()
Dspi-ppc4xx.c454 bbp->use_dma = 0; in spi_ppc4xx_of_probe()
Dspi-ep93xx.c929 if (info->use_dma && ep93xx_spi_setup_dma(espi)) in ep93xx_spi_probe()
/linux-4.4.14/include/linux/spi/
Difx_modem.h13 unsigned short use_dma:1; /* spi protocol driver supplies member
Dspi_bitbang.h9 u8 use_dma; member
/linux-4.4.14/include/linux/platform_data/
Dmmc-s3cmci.h34 unsigned int use_dma:1; member
Dspi-ep93xx.h14 bool use_dma; member
/linux-4.4.14/arch/cris/arch-v32/drivers/
Dsync_serial.c117 char use_dma; /* 1 if port uses dma */ member
268 .use_dma = PORT0_DMA,
281 .use_dma = PORT1_DMA,
382 tr_cfg.use_dma = port->use_dma ? regk_sser_yes : regk_sser_no; in initialize_port()
395 rec_cfg.use_dma = port->use_dma ? regk_sser_yes : regk_sser_no; in initialize_port()
467 if (port->use_dma) { in sync_serial_open()
905 if (!port->use_dma || arg == MASTER_OUTPUT || in sync_serial_ioctl_unlocked()
1111 ((port->use_dma && port->active_tr_descr == port->catch_tr_descr) || in sync_serial_write()
1161 if (port->use_dma) { in sync_serial_write()
1340 if (!port->enabled || !port->use_dma) in tr_interrupt()
[all …]
/linux-4.4.14/drivers/usb/musb/
Dmusb_gadget.c263 int use_dma = 0; in txstate() local
312 use_dma = (request->dma != DMA_ADDR_INVALID && request_size); in txstate()
322 use_dma = use_dma && c->channel_program( in txstate()
326 if (use_dma) { in txstate()
391 use_dma = use_dma && c->channel_program( in txstate()
396 if (!use_dma) { in txstate()
404 use_dma = use_dma && c->channel_program( in txstate()
412 if (!use_dma) { in txstate()
429 musb_ep->end_point.name, use_dma ? "dma" : "pio", in txstate()
648 int use_dma = 0; in rxstate() local
[all …]
DKconfig137 you can still disable it at run time using the "use_dma=n" module
Dmusb_core.c1668 static bool use_dma = 1; variable
1671 module_param(use_dma, bool, 0644);
1672 MODULE_PARM_DESC(use_dma, "enable/disable use of DMA");
1705 #define use_dma 0 macro
2122 if (use_dma && dev->dma_mask) { in musb_init_controller()
Dmusb_host.c753 u8 use_dma = 1; in musb_ep_program() local
767 use_dma = 0; in musb_ep_program()
776 if (use_dma && is_dma_capable() && epnum && dma_controller) { in musb_ep_program()
/linux-4.4.14/drivers/usb/gadget/udc/
Damd5536udc.c212 static bool use_dma = 1; variable
225 module_param(use_dma, bool, S_IRUGO);
226 MODULE_PARM_DESC(use_dma, "true for DMA");
250 DBG(dev, "USE DMA = %d\n", use_dma); in print_regs()
251 if (use_dma && use_dma_ppb && !use_dma_ppb_du) { in print_regs()
255 } else if (use_dma && use_dma_ppb && use_dma_ppb_du) { in print_regs()
260 if (use_dma && use_dma_bufferfill_mode) { in print_regs()
264 if (!use_dma) in print_regs()
445 if (use_dma && !ep->in) { in udc_ep_enable()
483 if (!use_dma || ep->in) { in udc_ep_enable()
[all …]
Domap_udc.c99 static bool use_dma = 1; variable
104 module_param(use_dma, bool, 0);
105 MODULE_PARM_DESC(use_dma, "enable/disable DMA");
109 #define use_dma 0 macro
220 if (use_dma && desc->bmAttributes == USB_ENDPOINT_XFER_BULK) in omap_ep_enable()
304 if (use_dma && ep->has_dma) in done()
894 if (use_dma in omap_ep_queue()
907 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 …]
Dm66592-udc.c214 if (ep->use_dma) in pipe_change()
313 if (ep->use_dma) { in pipe_initialize()
334 ep->use_dma = 1; in m66592_ep_setting()
341 ep->use_dma = 1; in m66592_ep_setting()
347 ep->use_dma = 0; in m66592_ep_setting()
354 ep->use_dma = 0; in m66592_ep_setting()
377 if (ep->use_dma) in m66592_ep_release()
381 ep->use_dma = 0; in m66592_ep_release()
545 if (ep->use_dma) { in start_packet_read()
Dr8a66597-udc.c303 if (ep->use_dma) in pipe_change()
310 if (r8a66597_is_sudmac(r8a66597) && ep->use_dma) in pipe_change()
315 if (ep->use_dma) in pipe_change()
403 if (ep->use_dma) { in pipe_initialize()
417 ep->use_dma = 0; in r8a66597_ep_setting()
446 if (ep->use_dma) in r8a66597_ep_release()
450 ep->use_dma = 0; in r8a66597_ep_release()
659 ep->use_dma = 1; in sudmac_alloc_channel()
682 ep->use_dma = 0; in sudmac_free_channel()
924 if (ep->use_dma) in transfer_complete()
Dfotg210.h226 unsigned use_dma:1; member
Dgoku_udc.c70 static unsigned use_dma = 1; variable
79 module_param(use_dma, uint, S_IRUGO);
146 ep->dma = (use_dma != 0) && (ep->num == UDC_MSTRD_ENDPOINT); in goku_ep_enable()
148 ep->dma = (use_dma == 2) && (ep->num == UDC_MSTWR_ENDPOINT); in goku_ep_enable()
1039 if (use_dma == 0) in dmastr()
1041 else if (use_dma == 2) in dmastr()
1824 if (use_dma) in goku_probe()
Dnet2272.c70 static bool use_dma = 0; variable
71 module_param(use_dma, bool, 0644);
96 #define use_dma 0 macro
170 if (!use_dma) in dma_mode_string()
385 if (use_dma && ep->dma) in net2272_done()
725 if (!use_dma || (ep->num < 1) || (ep->num > 2) || !ep->dma) in net2272_kick_dma()
847 if (use_dma && ep->dma) { in net2272_queue()
1399 if (use_dma && ep->num == dma_ep) in net2272_usb_reinit()
Dr8a66597-udc.h69 unsigned use_dma:1; member
Dm66592-udc.h453 unsigned use_dma:1; member
Dfusb300_udc.h649 unsigned use_dma:1; member
/linux-4.4.14/sound/soc/fsl/
Dfsl_ssi.c231 bool use_dma; member
542 if (ssi_private->use_dma) { in fsl_ssi_setup_reg_vals()
999 if (ssi_private->use_dma) in _fsl_ssi_set_dai_fmt()
1128 if (ssi_private->soc->imx && ssi_private->use_dma) { in fsl_ssi_dai_probe()
1320 if (ssi_private->use_dma && !ret && dmas[2] == IMX_DMATYPE_SSI_DUAL) { in fsl_ssi_imx_probe()
1329 if (!ssi_private->use_dma) { in fsl_ssi_imx_probe()
1366 if (!ssi_private->use_dma) in fsl_ssi_imx_clean()
1403 ssi_private->use_dma = !of_property_read_bool(np, in fsl_ssi_probe()
1483 if (ssi_private->use_dma) { in fsl_ssi_probe()
/linux-4.4.14/drivers/ide/
Dtrm290.c145 static void trm290_prepare_drive (ide_drive_t *drive, unsigned int use_dma) in trm290_prepare_drive() argument
152 reg = use_dma ? (0x21 | 0x82) : (0x21 & ~0x82); in trm290_prepare_drive()
Dns87415.c122 static void ns87415_prepare_drive (ide_drive_t *drive, unsigned int use_dma) in ns87415_prepare_drive() argument
143 new = use_dma ? ((new & ~other) | bit) : (new & ~bit); in ns87415_prepare_drive()
/linux-4.4.14/drivers/tty/serial/
Difx6x60.h91 int use_dma; /* provide dma-able addrs in SPI msg */ member
Dpch_uart.c245 unsigned int use_dma; member
1129 if (priv->use_dma) { in pch_uart_interrupt()
1148 if (priv->use_dma) in pch_uart_interrupt()
1246 if (priv->use_dma) { in pch_uart_start_tx()
1353 if (priv->use_dma) in pch_uart_startup()
1506 priv->use_dma = 0; in pch_uart_verify_port()
1514 if (!priv->use_dma) { in pch_uart_verify_port()
1517 priv->use_dma = 1; in pch_uart_verify_port()
1520 priv->use_dma ? in pch_uart_verify_port()
Difx6x60.c772 if (ifx_dev->use_dma) { in ifx_spi_io()
1033 ifx_dev->use_dma = pl_data->use_dma; in ifx_spi_spi_probe()
Domap-serial.c152 int use_dma; member
/linux-4.4.14/arch/cris/include/arch-v32/arch/hwregs/
Dsser_defs.h139 unsigned int use_dma : 1; member
166 unsigned int use_dma : 1; member
/linux-4.4.14/include/linux/mmc/
Ddw_mmc.h162 int use_dma; member
/linux-4.4.14/arch/arm/mach-ep93xx/
Dsimone.c170 .use_dma = 1,
Dvision_ep9307.c322 .use_dma = 1,
/linux-4.4.14/drivers/i2c/busses/
Di2c-at91.c140 bool use_dma; member
638 if (dev->use_dma && (dev->buf_len > AT91_I2C_DMA_THRESHOLD)) { in at91_do_twi_transfer()
648 if (dev->use_dma && (dev->buf_len > AT91_I2C_DMA_THRESHOLD)) { in at91_do_twi_transfer()
960 dev->use_dma = true; in at91_twi_configure_dma()
/linux-4.4.14/include/linux/
Datmel-ssc.h9 int use_dma; member
/linux-4.4.14/Documentation/spi/
Dep93xx_spi96 .use_dma = true;
/linux-4.4.14/sound/soc/atmel/
Datmel_ssc_dai.c731 if (!ssc_p->ssc->pdata->use_dma) { in atmel_ssc_hw_params()
937 if (ssc->pdata->use_dma) in asoc_ssc_init()
960 if (ssc->pdata->use_dma) in asoc_ssc_exit()
/linux-4.4.14/drivers/staging/comedi/drivers/
Daddi_apci_3120.c156 unsigned int use_dma:1; member
586 if (devpriv->use_dma) in apci3120_ai_cmd()
937 devpriv->use_dma = 1; in apci3120_dma_alloc()
/linux-4.4.14/Documentation/networking/
Dcs89x0.txt222 * use_dma=1 - Enable DMA
290 options cs89x0 io=0x0200 dma=5 use_dma=1
295 are asking 'modprobe' to pass the 'io', 'dma' and 'use_dma'
364 enabled by the 'use_dma=1' module option.
/linux-4.4.14/sound/soc/intel/atom/sst/
Dsst.h426 unsigned int use_dma; member
Dsst.c268 ctx->use_dma = 0; in sst_context_init()
/linux-4.4.14/drivers/ntb/
Dntb_transport.c91 static bool use_dma; variable
92 module_param(use_dma, bool, 0644);
93 MODULE_PARM_DESC(use_dma, "Use DMA engine to perform large data copy");
1646 if (use_dma) { in ntb_transport_create_queue()
/linux-4.4.14/drivers/crypto/
Domap-sham.c932 int err = 0, use_dma = 1; in omap_sham_final_req() local
939 use_dma = 0; in omap_sham_final_req()
941 if (use_dma) in omap_sham_final_req()