Home
last modified time | relevance | path

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

12

/linux-6.6.21/drivers/spi/
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()
358 ctlr->can_dma = spi_ingenic_can_dma; in spi_ingenic_request_dma()
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()
935 host->can_dma = davinci_spi_can_dma; in davinci_spi_probe()
Dspi-dw-core.c443 if (host->can_dma && host->can_dma(host, spi, transfer)) in dw_spi_transfer_one()
949 host->can_dma = dws->dma_ops->can_dma; in dw_spi_add_host()
Dspi-sun6i.c296 use_dma = master->can_dma ? master->can_dma(master, spi, tfr) : false; in sun6i_spi_transfer_one()
727 master->can_dma = sun6i_spi_can_dma; in sun6i_spi_probe()
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()
Dspi-rockchip.c698 use_dma = ctlr->can_dma ? ctlr->can_dma(ctlr, spi, xfer) : false; in rockchip_spi_transfer_one()
907 ctlr->can_dma = rockchip_spi_can_dma; in rockchip_spi_probe()
914 if (ctlr->can_dma && target_mode) in rockchip_spi_probe()
Dspi-uniphier.c540 use_dma = master->can_dma ? master->can_dma(master, spi, t) : false; in uniphier_spi_transfer_one()
711 master->can_dma = uniphier_spi_can_dma; in uniphier_spi_probe()
Dspi-rspi.c698 if (!rspi->ctlr->can_dma || !__rspi_can_dma(rspi, xfer)) in rspi_dma_check_then_transfer()
809 if (rspi->ctlr->can_dma && __rspi_can_dma(rspi, xfer)) { in qspi_transfer_out()
841 if (rspi->ctlr->can_dma && __rspi_can_dma(rspi, xfer)) { in qspi_transfer_in()
1162 ctlr->can_dma = rspi_can_dma; in rspi_request_dma()
Dspi-dw-dma.c687 .can_dma = dw_spi_can_dma,
702 .can_dma = dw_spi_can_dma,
Dspi-bcm2835.c973 ctlr->can_dma = bcm2835_spi_can_dma; in bcm2835_dma_init()
1103 if (ctlr->can_dma && bcm2835_spi_can_dma(ctlr, spi, tfr)) in bcm2835_spi_transfer_one()
1118 if (ctlr->can_dma) { in bcm2835_spi_prepare_message()
Dspi-dw.h145 bool (*can_dma)(struct spi_controller *host, struct spi_device *spi, member
Dspi-qup.c682 else if (spi->controller->can_dma && in spi_qup_io_prep()
683 spi->controller->can_dma(spi->controller, spi, xfer) && in spi_qup_io_prep()
1069 host->can_dma = spi_qup_can_dma; in spi_qup_probe()
Dspi-pxa2xx.c1020 dma_mapped = controller->can_dma && in pxa2xx_spi_transfer_one()
1021 controller->can_dma(controller, spi, transfer) && in pxa2xx_spi_transfer_one()
1536 controller->can_dma = pxa2xx_spi_can_dma; in pxa2xx_spi_probe()
Dspi-mt65xx.c715 if (master->can_dma(master, spi, xfer)) in mtk_spi_transfer_one()
764 if (!master->can_dma(master, NULL, trans)) { in mtk_spi_interrupt()
1133 master->can_dma = mtk_spi_can_dma; in mtk_spi_probe()
Dspi-omap2-mcspi.c1208 ctlr->can_dma(ctlr, spi, t)) in omap2_mcspi_transfer_one()
1220 ctlr->can_dma(ctlr, spi, t)) in omap2_mcspi_transfer_one()
1448 ctlr->can_dma = omap2_mcspi_can_dma; in omap2_mcspi_probe()
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()
Dspi-stm32.c1643 spi->cur_usedma = (ctrl->can_dma && in stm32_spi_transfer_one()
1644 ctrl->can_dma(ctrl, spi_dev, transfer)); in stm32_spi_transfer_one()
1942 ctrl->can_dma = stm32_spi_can_dma; in stm32_spi_probe()
Dspi-pic32-sqi.c652 host->can_dma = pic32_sqi_can_dma; in pic32_sqi_probe()
Dspi-at91-usart.c530 controller->can_dma = at91_usart_spi_can_dma; in at91_usart_spi_probe()
Dspi-s3c64xx.c736 return ctlr->can_dma ? S3C64XX_SPI_PACKET_CNT_MASK : SIZE_MAX; in s3c64xx_spi_max_transfer_size()
1219 host->can_dma = s3c64xx_spi_can_dma; in s3c64xx_spi_probe()
Dspi.c1114 if (!ctlr->can_dma) in __spi_map_msg()
1135 if (!ctlr->can_dma(ctlr, msg->spi, xfer)) in __spi_map_msg()
1174 if (!ctlr->cur_msg_mapped || !ctlr->can_dma) in __spi_unmap_msg()
1181 if (!ctlr->can_dma(ctlr, msg->spi, xfer)) in __spi_unmap_msg()
/linux-6.6.21/drivers/usb/gadget/udc/
Datmel_usba_udc.c213 if (ep->can_dma) in usba_ep_init_debugfs()
645 if (ep->can_dma) { in usba_ep_enable()
685 if (ep->can_dma) { in usba_ep_disable()
798 if (ep->can_dma) in usba_ep_queue()
2065 { .nr_banks = 2, .can_dma = 1, .can_isoc = 1 }, /* ep 1 */
2066 { .nr_banks = 2, .can_dma = 1, .can_isoc = 1 }, /* ep 2 */
2067 { .nr_banks = 3, .can_dma = 1 }, /* ep 3 */
2068 { .nr_banks = 3, .can_dma = 1 }, /* ep 4 */
2069 { .nr_banks = 3, .can_dma = 1, .can_isoc = 1 }, /* ep 5 */
2070 { .nr_banks = 3, .can_dma = 1, .can_isoc = 1 }, /* ep 6 */
[all …]
Datmel_usba_udc.h282 unsigned int can_dma:1; member
295 unsigned int can_dma:1; member
/linux-6.6.21/sound/pci/asihpi/
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()
/linux-6.6.21/include/linux/spi/
Dspi.h653 bool (*can_dma)(struct spi_controller *ctlr, member

12