Home
last modified time | relevance | path

Searched refs:can_dma (Results 1 – 25 of 32) sorted by relevance

12

/linux/drivers/spi/
H A Dspi-ingenic.c245 bool can_dma = ctlr->can_dma && ctlr->can_dma(ctlr, spi, xfer); in spi_ingenic_transfer_one() local
249 if (ctlr->cur_msg_mapped && can_dma) in spi_ingenic_transfer_one()
361 ctlr->can_dma = spi_ingenic_can_dma; in spi_ingenic_request_dma()
H A Dspi-pci1xxxx.c164 bool can_dma; member
298 spi_bus->can_dma = true; in pci1xxxx_spi_dma_init()
570 if (spi_ctlr->can_dma(spi_ctlr, spi, xfer) && spi_ctlr->cur_msg_mapped) in pci1xxxx_spi_transfer_one()
586 if (p->parent->can_dma && p->rx_buf) in pci1xxxx_spi_isr_io()
681 if (p->spi_host->can_dma(p->spi_host, NULL, p->xfer)) in pci1xxxx_spi_isr()
694 return par->can_dma; in pci1xxxx_spi_can_dma()
819 spi_host->can_dma = pci1xxxx_spi_can_dma; in pci1xxxx_spi_probe()
H A Dspi-davinci.c449 bool can_dma = false; in davinci_spi_can_dma() local
452 can_dma = (spicfg->io_type == SPI_IO_TYPE_DMA) && in davinci_spi_can_dma()
457 return can_dma; in davinci_spi_can_dma()
932 host->can_dma = davinci_spi_can_dma; in davinci_spi_probe()
H A Dspi-dw-core.c441 if (host->can_dma && host->can_dma(host, spi, transfer)) in dw_spi_transfer_one()
961 host->can_dma = dws->dma_ops->can_dma; in dw_spi_add_host()
H A Dspi-rockchip.c689 use_dma = ctlr->can_dma ? ctlr->can_dma(ctlr, spi, xfer) : false; in rockchip_spi_transfer_one()
886 ctlr->can_dma = rockchip_spi_can_dma; in rockchip_spi_probe()
893 if (ctlr->can_dma && target_mode) in rockchip_spi_probe()
H A Dspi-img-spfi.c494 if (host->can_dma && host->can_dma(host, spi, xfer)) in img_spfi_transfer_one()
641 host->can_dma = img_spfi_can_dma; in img_spfi_probe()
H A Dspi-sun6i.c297 use_dma = host->can_dma ? host->can_dma(host, spi, tfr) : false; in sun6i_spi_transfer_one()
728 host->can_dma = sun6i_spi_can_dma; in sun6i_spi_probe()
H A Dspi-uniphier.c540 use_dma = host->can_dma ? host->can_dma(host, spi, t) : false; in uniphier_spi_transfer_one()
711 host->can_dma = uniphier_spi_can_dma; in uniphier_spi_probe()
H A Dspi-rspi.c697 if (!rspi->ctlr->can_dma || !__rspi_can_dma(rspi, xfer)) in rspi_dma_check_then_transfer()
808 if (rspi->ctlr->can_dma && __rspi_can_dma(rspi, xfer)) { in qspi_transfer_out()
840 if (rspi->ctlr->can_dma && __rspi_can_dma(rspi, xfer)) { in qspi_transfer_in()
1157 ctlr->can_dma = rspi_can_dma; in rspi_request_dma()
H A Dspi-dw-dma.c687 .can_dma = dw_spi_can_dma,
702 .can_dma = dw_spi_can_dma,
H A Dspi-bcm2835.c977 ctlr->can_dma = bcm2835_spi_can_dma; in bcm2835_dma_init()
1107 if (ctlr->can_dma && bcm2835_spi_can_dma(ctlr, spi, tfr)) in bcm2835_spi_transfer_one()
1216 if (spi->controller->can_dma) in bcm2835_spi_max_transfer_size()
H A Dspi-dw.h145 bool (*can_dma)(struct spi_controller *host, struct spi_device *spi, member
H A Dspi-qup.c712 else if (spi->controller->can_dma && in spi_qup_io_prep()
713 spi->controller->can_dma(spi->controller, spi, xfer) && in spi_qup_io_prep()
1115 host->can_dma = spi_qup_can_dma; in spi_qup_probe()
H A Dspi-mt65xx.c716 if (host->can_dma(host, spi, xfer)) in mtk_spi_transfer_one()
765 if (!host->can_dma(host, NULL, xfer)) { in mtk_spi_interrupt()
1134 host->can_dma = mtk_spi_can_dma; in mtk_spi_probe()
H A Dspi-omap2-mcspi.c1212 ctlr->can_dma(ctlr, spi, t)) in omap2_mcspi_transfer_one()
1224 ctlr->can_dma(ctlr, spi, t)) in omap2_mcspi_transfer_one()
1501 ctlr->can_dma = omap2_mcspi_can_dma; in omap2_mcspi_probe()
H A Dspi-pxa2xx.c1007 dma_mapped = controller->can_dma && in pxa2xx_spi_transfer_one()
1008 controller->can_dma(controller, spi, transfer) && in pxa2xx_spi_transfer_one()
1501 controller->can_dma = pxa2xx_spi_can_dma; in pxa2xx_spi_probe()
H A Dspi-sprd.c798 if (sctlr->can_dma(sctlr, sdev, t)) in sprd_spi_transfer_one()
944 sctlr->can_dma = sprd_spi_can_dma; in sprd_spi_probe()
H A Dspi.c1234 if (!ctlr->can_dma) in __spi_map_msg()
1256 if (!ctlr->can_dma(ctlr, msg->spi, xfer)) in __spi_map_msg()
1302 if (!ctlr->cur_msg_mapped || !ctlr->can_dma) in __spi_unmap_msg()
1309 if (!ctlr->can_dma(ctlr, msg->spi, xfer)) in __spi_unmap_msg()
1332 if (!ctlr->can_dma(ctlr, msg->spi, xfer)) in spi_dma_sync_for_device()
1348 if (!ctlr->can_dma(ctlr, msg->spi, xfer)) in spi_dma_sync_for_cpu()
H A Dspi-stm32.c1847 spi->cur_usedma = (ctrl->can_dma && in stm32_spi_transfer_one()
1848 ctrl->can_dma(ctrl, spi_dev, transfer)); in stm32_spi_transfer_one()
2219 ctrl->can_dma = stm32_spi_can_dma; in stm32_spi_probe()
H A Dspi-at91-usart.c516 controller->can_dma = at91_usart_spi_can_dma; in at91_usart_spi_probe()
H A Dspi-pic32-sqi.c639 host->can_dma = pic32_sqi_can_dma; in pic32_sqi_probe()
H A Dspi-s3c64xx.c793 return ctlr->can_dma ? S3C64XX_SPI_PACKET_CNT_MASK : SIZE_MAX; in s3c64xx_spi_max_transfer_size()
1319 host->can_dma = s3c64xx_spi_can_dma; in s3c64xx_spi_probe()
/linux/drivers/usb/gadget/udc/
H A Datmel_usba_udc.c212 if (ep->can_dma) in usba_ep_init_debugfs()
644 if (ep->can_dma) { in usba_ep_enable()
684 if (ep->can_dma) { in usba_ep_disable()
797 if (ep->can_dma) in usba_ep_queue()
2064 { .nr_banks = 2, .can_dma = 1, .can_isoc = 1 }, /* ep 1 */
2065 { .nr_banks = 2, .can_dma = 1, .can_isoc = 1 }, /* ep 2 */
2066 { .nr_banks = 3, .can_dma = 1 }, /* ep 3 */
2067 { .nr_banks = 3, .can_dma = 1 }, /* ep 4 */
2068 { .nr_banks = 3, .can_dma = 1, .can_isoc = 1 }, /* ep 5 */
2069 { .nr_banks = 3, .can_dma = 1, .can_isoc = 1 }, /* ep 6 */
[all …]
H A Datmel_usba_udc.h282 unsigned int can_dma:1; member
295 unsigned int can_dma:1; member
/linux/sound/pci/asihpi/
H A Dasihpi.c126 u16 can_dma; member
460 if (card->can_dma) { in snd_card_asihpi_pcm_hw_params()
619 !card->can_dma) in snd_card_asihpi_trigger()
755 if (!card->can_dma) in snd_card_asihpi_timer_function()
848 if (card->can_dma) { /* buffer wrap is handled at lower level */ in snd_card_asihpi_timer_function()
1051 if (card->can_dma) in snd_card_asihpi_playback_open()
1214 if (card->can_dma) in snd_card_asihpi_capture_open()
2854 asihpi->can_dma = (!err); in snd_asihpi_probe()
2858 if (!asihpi->can_dma) in snd_asihpi_probe()
2879 asihpi->can_dma, in snd_asihpi_probe()

12