Searched refs:use_dma (Results 1 - 25 of 42) sorted by relevance

12

/drivers/tty/serial/
H A Difx6x60.h91 int use_dma; /* provide dma-able addrs in SPI msg */ member in struct:ifx_spi_device
H A Dmfd.c89 int use_dma; /* flag for DMA/PIO */ member in struct:uart_hsu_port
366 if (up->use_dma) {
380 if (up->use_dma)
457 if (up->use_dma)
604 if (up->use_dma) {
643 if (!up->use_dma || !up->running)
799 if (!up->use_dma)
808 if (up->use_dma) {
818 up->use_dma = 0;
1410 uport->use_dma
[all...]
H A Dpch_uart.c245 unsigned int use_dma; member in struct:eg20t_port
1129 if (priv->use_dma) {
1148 if (priv->use_dma)
1246 if (priv->use_dma) {
1353 if (priv->use_dma)
1506 priv->use_dma = 0;
1514 if (!priv->use_dma) {
1517 priv->use_dma = 1;
1520 priv->use_dma ?
/drivers/memstick/host/
H A Dtifm_ms.c80 use_dma:1; member in struct:tifm_ms
268 host->use_dma = !no_dma;
273 host->use_dma = 0;
276 host->use_dma = 0;
284 if (host->use_dma) {
324 if (host->use_dma)
355 if (host->use_dma) {
401 if (host->use_dma && (fifo_status & 1)) {
405 if (!host->use_dma && (fifo_status & TIFM_FIFO_MORE)) {
612 if (host->use_dma)
[all...]
/drivers/misc/
H A Datmel-ssc.c85 .use_dma = 0,
90 .use_dma = 0,
95 .use_dma = 1,
/drivers/mmc/host/
H A Djz4740_mmc.c152 bool use_dma; member in struct:jz4740_mmc_host
167 if (!host->use_dma)
332 if (host->use_dma) {
347 if (host->use_dma && data->host_cookie) {
665 if (host->use_dma)
716 if (host->use_dma) {
1076 host->use_dma = true;
1077 if (host->use_dma && jz4740_mmc_acquire_dma_channels(host) != 0)
1078 host->use_dma = false;
1090 host->use_dma
[all...]
H A 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 in struct:mmc_davinci_host
511 if (!host->use_dma)
616 if (host->use_dma && (host->bytes_left & (rw_threshold - 1)) == 0
1299 host->use_dma = use_dma;
1303 if (host->use_dma && davinci_acquire_dma_channels(host) != 0)
1304 host->use_dma
[all...]
H A Ddw_mmc.c550 if (!slot->host->use_dma || !data)
569 if (!slot->host->use_dma || !data)
660 if (!host->use_dma)
2342 host->use_dma = 1;
2347 host->use_dma = 0;
2388 if (host->use_dma)
2399 if (host->use_dma) {
2733 if (host->use_dma && host->dma_ops->exit)
2767 if (host->use_dma && host->dma_ops->exit)
2799 if (host->use_dma
[all...]
/drivers/net/ethernet/cirrus/
H A Dcs89x0.c29 * Note that even if DMA is turned off we still support the 'dma' and 'use_dma'
149 int use_dma; /* Flag: we're using dma */ member in struct:net_local
371 if (lp->use_dma) {
390 if (lp->use_dma)
401 if (lp->use_dma) {
782 if (lp->use_dma && (status & RX_DMA)) {
883 if (lp->use_dma && (lp->isa_config & ANY_ISA_DMA)) {
1101 if (lp->use_dma && lp->dma) {
1325 lp->use_dma = 1;
1553 if (lp->use_dma) {
1701 static int use_dma; /* These generate unused var warnings if ALLOW_DMA = 0 */ variable
[all...]
/drivers/usb/musb/
H A Dmusb_gadget.c263 int use_dma = 0; local
312 use_dma = (request->dma != DMA_ADDR_INVALID && request_size);
323 use_dma = use_dma && c->channel_program(
327 if (use_dma) {
393 use_dma = use_dma && c->channel_program(
398 if (!use_dma) {
406 use_dma = use_dma
644 int use_dma = 0; local
[all...]
/drivers/ide/
H A Dns87415.c122 static void ns87415_prepare_drive (ide_drive_t *drive, unsigned int use_dma) argument
143 new = use_dma ? ((new & ~other) | bit) : (new & ~bit);
H A Dtrm290.c145 static void trm290_prepare_drive (ide_drive_t *drive, unsigned int use_dma) argument
152 reg = use_dma ? (0x21 | 0x82) : (0x21 & ~0x82);
/drivers/mtd/nand/
H A Dlpc32xx_mlc.c226 static int use_dma; variable
471 if (use_dma) {
490 if (use_dma && !dma_mapped)
506 if (use_dma && (void *)buf >= high_memory) {
516 if (use_dma) {
724 if (use_dma) {
800 if (use_dma)
822 if (use_dma)
H A Dpxa3xx_nand.c217 int use_dma; /* use DMA ? */ member in struct:pxa3xx_nand_info
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)
609 if (info->use_dma) {
1264 if (use_dma == 0) {
1294 info->use_dma = 1;
1301 if (info->use_dma) {
1618 if (use_dma) {
[all...]
/drivers/spi/
H A Dspi-topcliff-pch.c116 static int use_dma = 1; variable
197 int use_dma; member in struct:pch_spi_data
380 if (data->use_dma)
890 data->use_dma = 0;
907 data->use_dma = 0;
1178 if (data->use_dma)
1207 if (data->use_dma) {
1264 if (data->use_dma)
1395 data->use_dma = use_dma;
[all...]
H A Dspi-rockchip.c196 u32 use_dma; member in struct:rockchip_spi
319 if (rs->use_dma) {
503 if (rs->use_dma) {
576 rs->use_dma = 1;
578 rs->use_dma = 0;
582 if (rs->use_dma) {
H A Dspi-atmel.c238 bool use_dma; member in struct:atmel_spi
377 return as->use_dma && xfer->len >= DMA_MIN_BYTES;
1347 as->use_dma = false;
1351 as->use_dma = true;
1356 if (as->caps.has_dma_support && !as->use_dma)
1397 if (as->use_dma)
1420 if (as->use_dma) {
H A Dspi-s3c64xx.c690 int use_dma; local
705 use_dma = 0;
709 use_dma = 1;
717 enable_datapath(sdd, spi, xfer, use_dma);
724 if (use_dma)
736 if (use_dma) {
/drivers/usb/gadget/udc/
H A Domap_udc.c99 static bool use_dma = 1; variable
101 /* "modprobe omap_udc use_dma=y", or else as a kernel
102 * boot parameter "omap_udc:use_dma=y"
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)
304 if (use_dma && ep->has_dma)
894 if (use_dma
907 if (use_dma
[all...]
H A Dfotg210.h226 unsigned use_dma:1; member in struct:fotg210_ep
H A Damd5536udc.c23 * work without updating NET_IP_ALIGN. Or PIO mode (module param "use_dma=0")
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);
192 if (use_dma && use_dma_ppb && !use_dma_ppb_du) {
196 } else if (use_dma && use_dma_ppb && use_dma_ppb_du) {
201 if (use_dma && use_dma_bufferfill_mode) {
205 if (!use_dma)
386 if (use_dma
[all...]
H A Dm66592-udc.c214 if (ep->use_dma)
313 if (ep->use_dma) {
334 ep->use_dma = 1;
341 ep->use_dma = 1;
347 ep->use_dma = 0;
354 ep->use_dma = 0;
377 if (ep->use_dma)
381 ep->use_dma = 0;
545 if (ep->use_dma) {
H A Dr8a66597-udc.h69 unsigned use_dma:1; member in struct:r8a66597_ep
H A Dgoku_udc.c70 static unsigned use_dma = 1; variable
74 /* "modprobe goku_udc use_dma=1" etc
79 module_param(use_dma, uint, S_IRUGO);
146 ep->dma = (use_dma != 0) && (ep->num == UDC_MSTRD_ENDPOINT);
148 ep->dma = (use_dma == 2) && (ep->num == UDC_MSTWR_ENDPOINT);
1010 if (use_dma == 0)
1012 else if (use_dma == 2)
1777 if (use_dma)
/drivers/i2c/busses/
H A Di2c-at91.c103 bool use_dma; member in struct:at91_twi_dev
413 if (dev->use_dma && (dev->buf_len > AT91_I2C_DMA_THRESHOLD)) {
427 if (dev->use_dma && (dev->buf_len > AT91_I2C_DMA_THRESHOLD)) {
777 dev->use_dma = true;

Completed in 3264 milliseconds

12