/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()
|
/drivers/net/ethernet/cirrus/ |
D | cs89x0.c | 149 int use_dma; /* Flag: we're using dma */ member 371 if (lp->use_dma) { in set_dma_cfg() 390 if (lp->use_dma) in dma_bufcfg() 401 if (lp->use_dma) { in dma_busctl() 782 if (lp->use_dma && (status & RX_DMA)) { in net_interrupt() 883 if (lp->use_dma && (lp->isa_config & ANY_ISA_DMA)) { in net_open() 1101 if (lp->use_dma && lp->dma) { in net_close() 1325 lp->use_dma = 1; in cs89x0_probe1() 1553 if (lp->use_dma) { in cs89x0_probe1() 1701 static int use_dma; /* These generate unused var warnings if ALLOW_DMA = 0 */ variable [all …]
|
/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 | 207 int use_dma, dma_ch; member 529 if (host->use_dma) in omap_hsmmc_enable_irq() 875 if (host->use_dma) in omap_hsmmc_start_command() 911 if (mrq->data && host->use_dma && dma_ch != -1) in omap_hsmmc_request_done() 998 if (host->use_dma && dma_ch != -1) { in omap_hsmmc_dma_cleanup() 1518 if (host->use_dma) { in omap_hsmmc_prepare_data() 1534 if (host->use_dma && data->host_cookie) { in omap_hsmmc_post_req() 1553 if (host->use_dma) { in omap_hsmmc_pre_req() 2081 host->use_dma = 1; in omap_hsmmc_probe()
|
/drivers/misc/ |
D | atmel-ssc.c | 85 .use_dma = 0, 90 .use_dma = 0, 95 .use_dma = 1,
|
/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() 645 if (info->use_dma) { in pxa3xx_nand_irq() 1300 if (use_dma == 0) { in pxa3xx_nand_init_buff() 1330 info->use_dma = 1; in pxa3xx_nand_init_buff() 1337 if (info->use_dma) { in pxa3xx_nand_free_buff() 1657 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); 445 if (use_dma && len > mtd->oobsize) in atmel_read_buf() 461 if (use_dma && len > mtd->oobsize) in atmel_write_buf() 1910 if (use_dma) { in nfc_sram_write_page() 2142 use_dma = 0; in atmel_nand_probe() 2144 if (use_dma) { in atmel_nand_probe() 2152 use_dma = 0; in atmel_nand_probe() 2155 if (use_dma) in atmel_nand_probe()
|
/drivers/spi/ |
D | spi-topcliff-pch.c | 116 static int use_dma = 1; variable 197 int use_dma; member 380 if (data->use_dma) in pch_spi_handler() 890 data->use_dma = 0; in pch_spi_request_dma() 907 data->use_dma = 0; in pch_spi_request_dma() 1178 if (data->use_dma) in pch_spi_process_messages() 1207 if (data->use_dma) { in pch_spi_process_messages() 1264 if (data->use_dma) in pch_spi_process_messages() 1395 data->use_dma = use_dma; in pch_spi_pd_probe() 1419 if (use_dma) { in pch_spi_pd_probe() [all …]
|
D | spi-rockchip.c | 196 u32 use_dma; member 324 if (rs->use_dma) { in rockchip_spi_unprepare_message() 508 if (rs->use_dma) { in rockchip_spi_config() 581 rs->use_dma = 1; in rockchip_spi_transfer_one() 583 rs->use_dma = 0; in rockchip_spi_transfer_one() 587 if (rs->use_dma) { in rockchip_spi_transfer_one()
|
D | spi-atmel.c | 238 bool use_dma; member 377 return as->use_dma && xfer->len >= DMA_MIN_BYTES; in atmel_spi_use_dma() 1347 as->use_dma = false; in atmel_spi_probe() 1351 as->use_dma = true; in atmel_spi_probe() 1356 if (as->caps.has_dma_support && !as->use_dma) in atmel_spi_probe() 1397 if (as->use_dma) in atmel_spi_probe() 1420 if (as->use_dma) { in atmel_spi_remove()
|
D | spi-s3c64xx.c | 690 int use_dma; in s3c64xx_spi_transfer_one() local 705 use_dma = 0; in s3c64xx_spi_transfer_one() 709 use_dma = 1; in s3c64xx_spi_transfer_one() 717 enable_datapath(sdd, spi, xfer, use_dma); in s3c64xx_spi_transfer_one() 724 if (use_dma) in s3c64xx_spi_transfer_one() 736 if (use_dma) { in s3c64xx_spi_transfer_one()
|
/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 …]
|
/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 | 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() 1010 if (use_dma == 0) in dmastr() 1012 else if (use_dma == 2) in dmastr() 1777 if (use_dma) in goku_probe()
|
/drivers/tty/serial/ |
D | mfd.c | 89 int use_dma; /* flag for DMA/PIO */ member 366 if (up->use_dma) { in serial_hsu_start_tx() 380 if (up->use_dma) in serial_hsu_stop_tx() 457 if (up->use_dma) in serial_hsu_stop_rx() 604 if (up->use_dma) { in port_irq() 643 if (!up->use_dma || !up->running) in dma_chan_irq() 799 if (!up->use_dma) in serial_hsu_startup() 808 if (up->use_dma) { in serial_hsu_startup() 818 up->use_dma = 0; in serial_hsu_startup() 1410 uport->use_dma = 1; in hsu_global_init() [all …]
|
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.h | 91 int use_dma; /* provide dma-able addrs in SPI msg */ member
|
/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()
|
/drivers/i2c/busses/ |
D | i2c-at91.c | 106 bool use_dma; member 451 if (dev->use_dma && (dev->buf_len > AT91_I2C_DMA_THRESHOLD)) { in at91_do_twi_transfer() 461 if (dev->use_dma && (dev->buf_len > AT91_I2C_DMA_THRESHOLD)) { in at91_do_twi_transfer() 813 dev->use_dma = true; in at91_twi_probe()
|