/linux-4.1.27/arch/cris/arch-v10/drivers/ |
D | sync_serial.c | 119 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.1.27/drivers/memstick/host/ |
D | tifm_ms.c | 80 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.1.27/drivers/misc/ |
D | atmel-ssc.c | 85 .use_dma = 0, 90 .use_dma = 0, 95 .use_dma = 1,
|
/linux-4.1.27/drivers/net/ethernet/cirrus/ |
D | cs89x0.c | 150 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.1.27/drivers/mmc/host/ |
D | jz4740_mmc.c | 152 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 …]
|
D | davinci_mmc.c | 177 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()
|
D | omap_hsmmc.c | 208 int use_dma, dma_ch; member 479 if (host->use_dma) in omap_hsmmc_enable_irq() 825 if (host->use_dma) in omap_hsmmc_start_command() 861 if (mrq->data && host->use_dma && dma_ch != -1) in omap_hsmmc_request_done() 950 if (host->use_dma && dma_ch != -1) { in omap_hsmmc_dma_cleanup() 1460 if (host->use_dma) { in omap_hsmmc_prepare_data() 1476 if (host->use_dma && data->host_cookie) { in omap_hsmmc_post_req() 1495 if (host->use_dma) { in omap_hsmmc_pre_req() 1969 host->use_dma = 1; in omap_hsmmc_probe()
|
D | dw_mmc.c | 716 if (!slot->host->use_dma || !data) in dw_mci_pre_req() 735 if (!slot->host->use_dma || !data) in dw_mci_post_req() 835 if (!host->use_dma) in dw_mci_submit_data_dma() 2530 host->use_dma = 1; in dw_mci_init_dma() 2535 host->use_dma = 0; in dw_mci_init_dma() 2576 if (host->use_dma) in dw_mci_reset() 2587 if (host->use_dma) { in dw_mci_reset() 2958 if (host->use_dma && host->dma_ops->exit) in dw_mci_probe() 2990 if (host->use_dma && host->dma_ops->exit) in dw_mci_remove() 3022 if (host->use_dma && host->dma_ops->init) in dw_mci_resume()
|
D | usdhi6rol0.c | 1000 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()
|
D | omap.c | 950 int i, use_dma = 1, block_size; in mmc_omap_prepare_data() local 977 use_dma = 0; in mmc_omap_prepare_data() 983 if (use_dma) { in mmc_omap_prepare_data()
|
/linux-4.1.27/drivers/mtd/nand/ |
D | lpc32xx_mlc.c | 226 static int use_dma; variable 471 if (use_dma) { in lpc32xx_read_page() 490 if (use_dma && !dma_mapped) in lpc32xx_read_page() 506 if (use_dma && (void *)buf >= high_memory) { in lpc32xx_write_page_lowlevel() 516 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()
|
D | pxa3xx_nand.c | 217 int use_dma; /* use DMA ? */ member 242 static bool use_dma = 1; variable 243 module_param(use_dma, bool, 0444); 244 MODULE_PARM_DESC(use_dma, "enable DMA for data transferring to/from NAND HW"); 428 if (info->use_dma) in pxa3xx_nand_start() 658 if (info->use_dma) { in pxa3xx_nand_irq() 1310 if (use_dma == 0) { in pxa3xx_nand_init_buff() 1340 info->use_dma = 1; in pxa3xx_nand_init_buff() 1347 if (info->use_dma) { in pxa3xx_nand_free_buff() 1671 if (use_dma) { in alloc_nand_resource() [all …]
|
D | atmel_nand.c | 51 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() 1977 if (use_dma) { in nfc_sram_write_page() 2209 use_dma = 0; in atmel_nand_probe() 2211 if (use_dma) { in atmel_nand_probe() 2219 use_dma = 0; in atmel_nand_probe() 2222 if (use_dma) in atmel_nand_probe()
|
/linux-4.1.27/drivers/spi/ |
D | spi-qup.c | 152 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()
|
D | spi-topcliff-pch.c | 112 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 …]
|
D | spi-rockchip.c | 197 u32 use_dma; member 320 if (rs->use_dma) { in rockchip_spi_handle_err() 513 if (rs->use_dma) { in rockchip_spi_config() 600 rs->use_dma = 1; in rockchip_spi_transfer_one() 602 rs->use_dma = 0; in rockchip_spi_transfer_one() 606 if (rs->use_dma) { in rockchip_spi_transfer_one()
|
D | spi-atmel.c | 247 bool use_dma; member 386 return as->use_dma && xfer->len >= DMA_MIN_BYTES; in atmel_spi_use_dma() 1341 as->use_dma = false; in atmel_spi_probe() 1346 as->use_dma = true; in atmel_spi_probe() 1353 if (as->caps.has_dma_support && !as->use_dma) in atmel_spi_probe() 1402 if (as->use_dma) in atmel_spi_probe() 1427 if (as->use_dma) { in atmel_spi_remove()
|
D | spi-s3c64xx.c | 679 int use_dma; in s3c64xx_spi_transfer_one() local 694 use_dma = 0; in s3c64xx_spi_transfer_one() 698 use_dma = 1; in s3c64xx_spi_transfer_one() 706 enable_datapath(sdd, spi, xfer, use_dma); in s3c64xx_spi_transfer_one() 718 if (use_dma) in s3c64xx_spi_transfer_one() 730 if (use_dma) { in s3c64xx_spi_transfer_one()
|
D | spi-bitbang.c | 443 bitbang->use_dma = 0; in spi_bitbang_start()
|
D | spi-ppc4xx.c | 454 bbp->use_dma = 0; in spi_ppc4xx_of_probe()
|
D | spi-ep93xx.c | 929 if (info->use_dma && ep93xx_spi_setup_dma(espi)) in ep93xx_spi_probe()
|
/linux-4.1.27/include/linux/spi/ |
D | ifx_modem.h | 13 unsigned short use_dma:1; /* spi protocol driver supplies member
|
D | spi_bitbang.h | 9 u8 use_dma; member
|
/linux-4.1.27/include/linux/platform_data/ |
D | spi-ep93xx.h | 14 bool use_dma; member
|
D | mmc-s3cmci.h | 34 unsigned int use_dma:1; member
|
/linux-4.1.27/arch/cris/arch-v32/drivers/ |
D | sync_serial.c | 117 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.1.27/drivers/usb/musb/ |
D | musb_gadget.c | 263 int use_dma = 0; in txstate() local 312 use_dma = (request->dma != DMA_ADDR_INVALID && request_size); in txstate() 323 use_dma = use_dma && c->channel_program( in txstate() 327 if (use_dma) { in txstate() 393 use_dma = use_dma && c->channel_program( in txstate() 398 if (!use_dma) { in txstate() 406 use_dma = use_dma && c->channel_program( in txstate() 414 if (!use_dma) { in txstate() 431 musb_ep->end_point.name, use_dma ? "dma" : "pio", in txstate() 644 int use_dma = 0; in rxstate() local [all …]
|
D | Kconfig | 168 you can still disable it at run time using the "use_dma=n" module
|
D | musb_core.c | 1650 static bool use_dma = 1; variable 1653 module_param(use_dma, bool, 0); 1654 MODULE_PARM_DESC(use_dma, "enable/disable use of DMA"); 1689 #define use_dma 0 macro 2080 if (use_dma && dev->dma_mask) { in musb_init_controller()
|
D | musb_host.c | 708 u8 use_dma = 1; in musb_ep_program() local 722 use_dma = 0; in musb_ep_program() 731 if (use_dma && is_dma_capable() && epnum && dma_controller) { in musb_ep_program()
|
/linux-4.1.27/sound/soc/fsl/ |
D | fsl_ssi.c | 168 bool use_dma; member 475 if (ssi_private->use_dma) { in fsl_ssi_setup_reg_vals() 930 if (ssi_private->use_dma) in _fsl_ssi_set_dai_fmt() 1059 if (ssi_private->soc->imx && ssi_private->use_dma) { in fsl_ssi_dai_probe() 1231 if (ssi_private->use_dma && !ret && dmas[2] == IMX_DMATYPE_SSI_DUAL) { in fsl_ssi_imx_probe() 1240 if (!ssi_private->use_dma) { in fsl_ssi_imx_probe() 1277 if (!ssi_private->use_dma) in fsl_ssi_imx_clean() 1321 ssi_private->use_dma = !of_property_read_bool(np, in fsl_ssi_probe() 1395 if (ssi_private->use_dma) { in fsl_ssi_probe()
|
/linux-4.1.27/drivers/usb/gadget/udc/ |
D | amd5536udc.c | 153 static bool use_dma = 1; variable 166 module_param(use_dma, bool, S_IRUGO); 167 MODULE_PARM_DESC(use_dma, "true for DMA"); 191 DBG(dev, "USE DMA = %d\n", use_dma); in print_regs() 192 if (use_dma && use_dma_ppb && !use_dma_ppb_du) { in print_regs() 196 } else if (use_dma && use_dma_ppb && use_dma_ppb_du) { in print_regs() 201 if (use_dma && use_dma_bufferfill_mode) { in print_regs() 205 if (!use_dma) in print_regs() 386 if (use_dma && !ep->in) { in udc_ep_enable() 424 if (!use_dma || ep->in) { in udc_ep_enable() [all …]
|
D | omap_udc.c | 99 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 …]
|
D | m66592-udc.c | 214 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()
|
D | r8a66597-udc.c | 303 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()
|
D | fotg210.h | 226 unsigned use_dma:1; member
|
D | goku_udc.c | 70 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() 1009 if (use_dma == 0) in dmastr() 1011 else if (use_dma == 2) in dmastr() 1786 if (use_dma) in goku_probe()
|
D | net2272.c | 70 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()
|
D | r8a66597-udc.h | 69 unsigned use_dma:1; member
|
D | fusb300_udc.h | 649 unsigned use_dma:1; member
|
D | m66592-udc.h | 453 unsigned use_dma:1; member
|
/linux-4.1.27/drivers/ide/ |
D | trm290.c | 145 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()
|
D | ns87415.c | 122 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.1.27/drivers/tty/serial/ |
D | ifx6x60.h | 91 int use_dma; /* provide dma-able addrs in SPI msg */ member
|
D | pch_uart.c | 245 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()
|
D | ifx6x60.c | 772 if (ifx_dev->use_dma) { in ifx_spi_io() 1033 ifx_dev->use_dma = pl_data->use_dma; in ifx_spi_spi_probe()
|
D | omap-serial.c | 151 int use_dma; member
|
/linux-4.1.27/arch/cris/include/arch-v32/arch/hwregs/ |
D | sser_defs.h | 139 unsigned int use_dma : 1; member 166 unsigned int use_dma : 1; member
|
/linux-4.1.27/drivers/i2c/busses/ |
D | i2c-at91.c | 108 bool use_dma; member 454 if (dev->use_dma && (dev->buf_len > AT91_I2C_DMA_THRESHOLD)) { in at91_do_twi_transfer() 464 if (dev->use_dma && (dev->buf_len > AT91_I2C_DMA_THRESHOLD)) { in at91_do_twi_transfer() 710 dev->use_dma = true; in at91_twi_configure_dma()
|
/linux-4.1.27/include/linux/mmc/ |
D | dw_mmc.h | 149 int use_dma; member
|
/linux-4.1.27/include/linux/ |
D | atmel-ssc.h | 9 int use_dma; member
|
/linux-4.1.27/Documentation/spi/ |
D | ep93xx_spi | 96 .use_dma = true;
|
/linux-4.1.27/sound/soc/atmel/ |
D | atmel_ssc_dai.c | 731 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.1.27/drivers/staging/comedi/drivers/ |
D | addi_apci_3120.c | 154 unsigned int use_dma:1; member 589 if (devpriv->use_dma) in apci3120_ai_cmd() 940 devpriv->use_dma = 1; in apci3120_dma_alloc()
|
/linux-4.1.27/Documentation/networking/ |
D | cs89x0.txt | 222 * 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.1.27/sound/soc/intel/atom/sst/ |
D | sst.h | 426 unsigned int use_dma; member
|
D | sst.c | 268 ctx->use_dma = 0; in sst_context_init()
|
/linux-4.1.27/drivers/crypto/ |
D | omap-sham.c | 926 int err = 0, use_dma = 1; in omap_sham_final_req() local 933 use_dma = 0; in omap_sham_final_req() 935 if (use_dma) in omap_sham_final_req()
|