Home
last modified time | relevance | path

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

12

/linux-2.6.39/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-2.6.39/drivers/memstick/host/
Dtifm_ms.c79 use_dma:1; member
267 host->use_dma = !no_dma; in tifm_ms_issue_cmd()
272 host->use_dma = 0; in tifm_ms_issue_cmd()
275 host->use_dma = 0; in tifm_ms_issue_cmd()
283 if (host->use_dma) { in tifm_ms_issue_cmd()
323 if (host->use_dma) in tifm_ms_issue_cmd()
354 if (host->use_dma) { in tifm_ms_complete_cmd()
400 if (host->use_dma && (fifo_status & 1)) { in tifm_ms_data_event()
404 if (!host->use_dma && (fifo_status & TIFM_FIFO_MORE)) { in tifm_ms_data_event()
611 if (host->use_dma) in tifm_ms_remove()
/linux-2.6.39/drivers/mtd/nand/
Datmel_nand.c51 static int use_dma = 1; variable
52 module_param(use_dma, int, 0);
269 if (use_dma && len > mtd->oobsize) in atmel_read_buf()
285 if (use_dma && len > mtd->oobsize) in atmel_write_buf()
591 use_dma = 0; in atmel_nand_probe()
593 if (use_dma) { in atmel_nand_probe()
601 use_dma = 0; in atmel_nand_probe()
604 if (use_dma) in atmel_nand_probe()
Dpxa3xx_nand.c160 int use_dma; /* use DMA ? */ member
185 static int use_dma = 1; variable
186 module_param(use_dma, bool, 0444);
187 MODULE_PARM_DESC(use_dma, "enable DMA for data transferring to/from NAND HW");
299 ndcr |= info->use_dma ? NDCR_DMA_EN : 0; in pxa3xx_nand_start()
428 if (info->use_dma) { in pxa3xx_nand_irq()
836 if (use_dma == 0) { in pxa3xx_nand_init_buff()
1077 if (use_dma) { in alloc_nand_resource()
1107 if (use_dma) { in pxa3xx_nand_remove()
/linux-2.6.39/drivers/net/
Dcs89x0.c232 int use_dma; /* Flag: we're using dma */ member
524 lp->use_dma = 1; in cs89x0_probe1()
768 if (lp->use_dma) { in cs89x0_probe1()
848 if (lp->use_dma) { in set_dma_cfg()
870 if (lp->use_dma) in dma_bufcfg()
881 if (lp->use_dma) { in dma_busctl()
1254 if (lp->use_dma) { in net_open()
1560 if (lp->use_dma && (status & RX_DMA)) { in net_interrupt()
1673 if (lp->use_dma && lp->dma) { in net_close()
1764 static int use_dma; /* These generate unused var warnings if ALLOW_DMA = 0 */ variable
[all …]
/linux-2.6.39/arch/cris/arch-v32/drivers/
Dsync_serial.c98 char use_dma; /* 1 if port uses dma */ member
221 .use_dma = 1,
223 .use_dma = 0,
234 .use_dma = 1,
236 .use_dma = 0,
352 tr_cfg.use_dma = port->use_dma ? regk_sser_yes : regk_sser_no; in initialize_port()
365 rec_cfg.use_dma = port->use_dma ? regk_sser_yes : regk_sser_no; in initialize_port()
458 if (port->use_dma) { in sync_serial_open()
814 if (!port->use_dma || (arg == MASTER_OUTPUT || arg == SLAVE_OUTPUT)) in sync_serial_ioctl()
1020 ((port->use_dma && port->active_tr_descr == port->catch_tr_descr) || in sync_serial_write()
[all …]
/linux-2.6.39/drivers/mmc/host/
Ddavinci_mmc.c163 static unsigned __initdata 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");
193 bool use_dma; member
571 if (!host->use_dma) in davinci_release_dma_channels()
694 if (host->use_dma && (host->bytes_left & (rw_threshold - 1)) == 0 in mmc_davinci_prepare_data()
1269 host->use_dma = use_dma; in davinci_mmcsd_probe()
1273 if (host->use_dma && davinci_acquire_dma_channels(host) != 0) in davinci_mmcsd_probe()
1274 host->use_dma = 0; in davinci_mmcsd_probe()
1342 host->use_dma ? "DMA" : "PIO", in davinci_mmcsd_probe()
Domap.c154 unsigned use_dma:1; member
1084 int i, use_dma, block_size; in mmc_omap_prepare_data() local
1109 use_dma = host->use_dma; in mmc_omap_prepare_data()
1110 if (use_dma) { in mmc_omap_prepare_data()
1113 use_dma = 0; in mmc_omap_prepare_data()
1120 if (use_dma) { in mmc_omap_prepare_data()
1137 use_dma = 0; in mmc_omap_prepare_data()
1141 if (!use_dma) { in mmc_omap_prepare_data()
1454 host->use_dma = 1; in mmc_omap_probe()
/linux-2.6.39/include/linux/spi/
Difx_modem.h13 unsigned short use_dma:1; /* spi protocol driver supplies member
Dspi_bitbang.h13 u8 use_dma; member
/linux-2.6.39/arch/arm/plat-s3c24xx/include/plat/
Dmci.h34 unsigned int use_dma : 1; member
/linux-2.6.39/drivers/usb/musb/
Dmusb_gadget.c326 int use_dma = 0; in txstate() local
368 use_dma = (request->dma != DMA_ADDR_INVALID); in txstate()
379 use_dma = use_dma && c->channel_program( in txstate()
383 if (use_dma) { in txstate()
434 use_dma = use_dma && c->channel_program( in txstate()
439 if (!use_dma) { in txstate()
447 use_dma = use_dma && c->channel_program( in txstate()
456 if (!use_dma) { in txstate()
473 musb_ep->end_point.name, use_dma ? "dma" : "pio", in txstate()
687 int use_dma = 0; in rxstate() local
[all …]
/linux-2.6.39/drivers/tty/serial/
Dmfd.c83 int use_dma; /* flag for DMA/PIO */ member
364 if (up->use_dma) { in serial_hsu_start_tx()
378 if (up->use_dma) in serial_hsu_stop_tx()
455 if (up->use_dma) in serial_hsu_stop_rx()
602 if (up->use_dma) { in port_irq()
641 if (!up->use_dma || !up->running) in dma_chan_irq()
795 if (!up->use_dma) in serial_hsu_startup()
804 if (up->use_dma) { in serial_hsu_startup()
814 up->use_dma = 0; in serial_hsu_startup()
1377 uport->use_dma = 1; in hsu_global_init()
[all …]
Domap-serial.c121 if (up->use_dma && in serial_omap_stop_tx()
144 if (up->use_dma) in serial_omap_stop_rx()
264 if (!up->use_dma) { in serial_omap_start_tx()
364 if (!up->use_dma) { in serial_omap_irq()
501 if (up->use_dma) { in serial_omap_startup()
558 if (up->use_dma) { in serial_omap_shutdown()
676 if (up->use_dma) in serial_omap_set_termios()
750 if (up->use_dma) { in serial_omap_set_termios()
1289 up->use_dma = 1; in serial_omap_probe()
Difx6x60.h90 int use_dma; /* provide dma-able addrs in SPI msg */ member
Dpch_uart.c222 unsigned int use_dma; member
965 if (priv->use_dma) { in pch_uart_interrupt()
982 if (priv->use_dma) in pch_uart_interrupt()
1080 if (priv->use_dma) { in pch_uart_start_tx()
1186 if (priv->use_dma) in pch_uart_startup()
1338 priv->use_dma = 0; in pch_uart_verify_port()
1346 priv->use_dma = 1; in pch_uart_verify_port()
/linux-2.6.39/drivers/usb/gadget/
Domap_udc.c109 static unsigned use_dma = 1; variable
114 module_param (use_dma, bool, 0);
115 MODULE_PARM_DESC (use_dma, "enable/disable DMA");
119 #define use_dma 0 macro
231 if (use_dma && desc->bmAttributes == USB_ENDPOINT_XFER_BULK) in omap_ep_enable()
314 if (use_dma && ep->has_dma) { in done()
943 if (use_dma in omap_ep_queue()
957 if (use_dma && ep->has_dma) { in omap_ep_queue()
1093 if (use_dma && ep->dma_channel && ep->queue.next == &req->queue) { in omap_ep_dequeue()
1145 if (use_dma && ep->dma_channel in omap_ep_set_halt()
[all …]
Damd5536udc.c163 static int use_dma = 1; variable
176 module_param(use_dma, bool, S_IRUGO);
177 MODULE_PARM_DESC(use_dma, "true for DMA");
201 DBG(dev, "USE DMA = %d\n", use_dma); in print_regs()
202 if (use_dma && use_dma_ppb && !use_dma_ppb_du) { in print_regs()
206 } else if (use_dma && use_dma_ppb && use_dma_ppb_du) { in print_regs()
211 if (use_dma && use_dma_bufferfill_mode) { in print_regs()
215 if (!use_dma) { in print_regs()
397 if (use_dma && !ep->in) { in udc_ep_enable()
435 if (!use_dma || ep->in) { in udc_ep_enable()
[all …]
Dm66592-udc.c224 if (ep->use_dma) in pipe_change()
323 if (ep->use_dma) { in pipe_initialize()
344 ep->use_dma = 1; in m66592_ep_setting()
351 ep->use_dma = 1; in m66592_ep_setting()
357 ep->use_dma = 0; in m66592_ep_setting()
364 ep->use_dma = 0; in m66592_ep_setting()
387 if (ep->use_dma) in m66592_ep_release()
391 ep->use_dma = 0; in m66592_ep_release()
555 if (ep->use_dma) { in start_packet_read()
/linux-2.6.39/arch/arm/plat-omap/include/plat/
Domap-serial.h104 int use_dma; member
/linux-2.6.39/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-2.6.39/arch/cris/include/arch-v32/arch/hwregs/
Dsser_defs.h139 unsigned int use_dma : 1; member
166 unsigned int use_dma : 1; member
/linux-2.6.39/include/linux/mmc/
Ddw_mmc.h119 int use_dma; member
/linux-2.6.39/drivers/spi/
Dspi_s3c64xx.c642 int use_dma; in handle_msg() local
666 use_dma = 0; in handle_msg()
668 use_dma = 1; in handle_msg()
676 enable_datapath(sdd, spi, xfer, use_dma); in handle_msg()
686 status = wait_for_xfer(sdd, xfer, use_dma); in handle_msg()
699 if (use_dma) { in handle_msg()

12