Searched refs:use_dma (Results 26 - 50 of 73) sorted by relevance

123

/linux-master/drivers/leds/
H A Dleds-sun50i-a100.c147 bool use_dma = false; local
157 use_dma = true;
161 control = FIELD_PREP(LEDC_DMA_CTRL_REG_DMA_EN, use_dma) |
170 if (!use_dma) {
/linux-master/drivers/ntb/test/
H A Dntb_perf.c58 * root@self# insmod ntb_perf.ko chunk_order=19 total_order=28 use_dma
121 static bool use_dma; /* default to 0 */ variable
122 module_param(use_dma, bool, 0644);
123 MODULE_PARM_DESC(use_dma, "Use DMA engine to measure performance");
797 if (!use_dma) {
884 if (!use_dma)
970 if (!use_dma)
999 if (!use_dma)
1027 * Perform stages in compliance with use_dma flag value.
1377 debugfs_create_bool("use_dma", 050
[all...]
/linux-master/drivers/usb/gadget/udc/
H A Dsnps_udc_plat.c188 if (use_dma) {
213 if (use_dma)
H A Dm66592-udc.c211 if (ep->use_dma)
310 if (ep->use_dma) {
331 ep->use_dma = 1;
338 ep->use_dma = 1;
344 ep->use_dma = 0;
351 ep->use_dma = 0;
374 if (ep->use_dma)
378 ep->use_dma = 0;
542 if (ep->use_dma) {
H A Dsnps_udc_core.c197 DBG(dev, "USE DMA = %d\n", use_dma);
198 if (use_dma && use_dma_ppb && !use_dma_ppb_du) {
202 } else if (use_dma && use_dma_ppb && use_dma_ppb_du) {
207 if (use_dma && use_dma_bufferfill_mode) {
211 if (!use_dma)
394 if (use_dma && !ep->in) {
432 if (!use_dma || ep->in) {
1212 if (!use_dma && udc_rxfifo_pending) {
1565 if (use_dma) {
1874 if (use_dma) {
[all...]
H A Dr8a66597-udc.h66 unsigned use_dma:1; member in struct:r8a66597_ep
H A Dgoku_udc.c67 static unsigned use_dma = 1; variable
71 /* "modprobe goku_udc use_dma=1" etc
76 module_param(use_dma, uint, S_IRUGO);
150 ep->dma = (use_dma != 0) && (ep->num == UDC_MSTRD_ENDPOINT);
152 ep->dma = (use_dma == 2) && (ep->num == UDC_MSTWR_ENDPOINT);
1045 if (use_dma == 0)
1047 else if (use_dma == 2)
1812 if (use_dma)
H A Dr8a66597-udc.c300 if (ep->use_dma)
307 if (r8a66597_is_sudmac(r8a66597) && ep->use_dma)
312 if (ep->use_dma)
400 if (ep->use_dma) {
414 ep->use_dma = 0;
443 if (ep->use_dma)
447 ep->use_dma = 0;
656 ep->use_dma = 1;
679 ep->use_dma = 0;
921 if (ep->use_dma)
[all...]
H A Dnet2272.c49 * use_dma: the NET2272 can use an external DMA controller.
54 * If use_dma is disabled, pio will be used instead.
56 static bool use_dma = false; variable
57 module_param(use_dma, bool, 0644);
82 #define use_dma 0 macro
156 if (!use_dma)
367 if (use_dma && ep->dma)
707 if (!use_dma || (ep->num < 1) || (ep->num > 2) || !ep->dma)
829 if (use_dma && ep->dma) {
1380 if (use_dma
[all...]
/linux-master/drivers/spi/
H A Dspi-atmel.c274 bool use_dma; member in struct:atmel_spi
497 return as->use_dma && xfer->len >= DMA_MIN_BYTES;
1573 as->use_dma = false;
1578 as->use_dma = true;
1592 as->use_dma = false;
1599 as->use_dma = false;
1605 if (!as->use_dma)
1610 if (as->caps.has_dma_support && !as->use_dma)
1658 if (as->use_dma)
1678 if (as->use_dma) {
[all...]
H A Dspi-at91-usart.c100 bool use_dma; member in struct:at91_usart_spi
119 return aus->use_dma && xfer->len >= US_DMA_MIN_BYTES;
170 aus->use_dma = true;
H A Dspi-s3c64xx.c805 int use_dma = 0; local
831 use_dma = 1;
842 if (!use_dma && xfer->len > S3C64XX_SPI_POLLING_SIZE)
881 status = s3c64xx_enable_datapath(sdd, xfer, use_dma);
890 if (use_dma)
901 xfer->len, use_dma ? 1 : 0, status);
903 if (use_dma) {
H A Dspi-bitbang.c381 bitbang->use_dma = 0;
/linux-master/drivers/mmc/host/
H A Dbcm2835.c189 bool use_dma; member in struct:bcm2835_host
1202 if (host->use_dma && mrq->data && (mrq->data->blocks > PIO_THRESHOLD))
1282 host->use_dma = false;
1284 host->use_dma = true;
1302 host->use_dma = false;
1337 if (host->use_dma && (PIO_THRESHOLD > 0))
1340 host->use_dma ? "enabled" : "disabled", pio_limit_string);
H A Domap_hsmmc.c194 int use_dma, dma_ch; member in struct:omap_hsmmc_host
486 if (host->use_dma)
801 if (host->use_dma)
828 if (mrq->data && host->use_dma && dma_ch != -1)
915 if (host->use_dma && dma_ch != -1) {
1375 if (host->use_dma) {
1391 if (host->use_dma && data->host_cookie) {
1409 if (host->use_dma) {
1815 host->use_dma = 1;
H A Dmmci.c504 host->use_dma = false;
518 host->use_dma = true;
581 if (!host->use_dma)
615 if (!host->use_dma)
624 if (!host->use_dma)
1092 if (!host->use_dma)
1129 if (!host->use_dma)
1146 if (!host->use_dma)
H A Dmmci.h457 u8 use_dma:1; member in struct:mmci_host
/linux-master/drivers/tty/serial/
H A Dpch_uart.c223 unsigned int use_dma; member in struct:eg20t_port
1030 if (priv->use_dma) {
1049 if (priv->use_dma)
1147 if (priv->use_dma) {
1254 if (priv->use_dma)
1406 priv->use_dma = 0;
1414 if (!priv->use_dma) {
1417 priv->use_dma = 1;
1420 priv->use_dma ?
/linux-master/include/linux/
H A Datmel-ssc.h10 int use_dma; member in struct:atmel_ssc_platform_data
/linux-master/arch/arm/mach-ep93xx/
H A Dts72xx.c277 .use_dma = 1,
H A Dvision_ep9307.c264 .use_dma = 1,
/linux-master/drivers/i2c/busses/
H A Di2c-at91-master.c569 if (dev->use_dma && (dev->buf_len > AT91_I2C_DMA_THRESHOLD)) {
579 if (dev->use_dma && (dev->buf_len > AT91_I2C_DMA_THRESHOLD)) {
705 if (dev->use_dma) {
810 dev->use_dma = true;
H A Di2c-qup.c261 bool use_dma; member in struct:qup_i2c_dev
314 if (qup->use_dma && (qup->qup_err || qup->bus_err))
325 if (!qup->use_dma)
1525 qup->use_dma = true;
1568 if (qup->use_dma) {
1571 qup->use_dma = false;
/linux-master/drivers/mtd/nand/raw/
H A Dmarvell_nand.c375 * @use_dma: Use dma for data transfers
384 bool use_dma; member in struct:marvell_nfc_caps
402 * @use_dma: Whetner DMA is used
419 bool use_dma; member in struct:marvell_nfc
689 if (nfc->use_dma && (readl_relaxed(nfc->regs + NDCR) & NDCR_DMA_EN))
1073 if (nfc->use_dma) {
1183 if (nfc->use_dma) {
2873 nfc->use_dma = true;
3023 if (nfc->use_dma)
3039 if (nfc->use_dma) {
[all...]
/linux-master/drivers/comedi/drivers/
H A Daddi_apci_3120.c147 unsigned int use_dma:1; member in struct:apci3120_private
577 if (devpriv->use_dma)
928 devpriv->use_dma = 1;

Completed in 343 milliseconds

123