Home
last modified time | relevance | path

Searched refs:dma_tx_ch (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/spi/
H A Dspi-au1550.c62 u32 dma_tx_ch; member
365 res = au1xxx_dbdma_put_source(hw->dma_tx_ch, virt_to_phys(hw->tx), in au1550_spi_dma_txrxb()
371 au1xxx_dbdma_start(hw->dma_tx_ch); in au1550_spi_dma_txrxb()
383 au1xxx_dbdma_stop(hw->dma_tx_ch); in au1550_spi_dma_txrxb()
425 au1xxx_dbdma_stop(hw->dma_tx_ch); in au1550_spi_dma_irq_callback()
429 hw->tx_count = hw->len - au1xxx_get_dma_residue(hw->dma_tx_ch); in au1550_spi_dma_irq_callback()
432 au1xxx_dbdma_reset(hw->dma_tx_ch); in au1550_spi_dma_irq_callback()
800 hw->dma_tx_ch = au1xxx_dbdma_chan_alloc(ddma_memid, in au1550_spi_probe()
802 if (hw->dma_tx_ch == 0) { in au1550_spi_probe()
808 au1xxx_dbdma_set_devwidth(hw->dma_tx_ch, 8); in au1550_spi_probe()
[all …]
/linux/drivers/mtd/nand/raw/
H A Dstm32_fmc2_nand.c269 struct dma_chan *dma_tx_ch; member
361 if (nfc->dma_tx_ch) { in stm32_fmc2_nfc_select_chip()
368 ret = dmaengine_slave_config(nfc->dma_tx_ch, &dma_cfg); in stm32_fmc2_nfc_select_chip()
872 dma_ch = nfc->dma_tx_ch; in stm32_fmc2_nfc_xfer()
1568 nfc->dma_tx_ch = dma_request_chan(nfc->dev, "tx"); in stm32_fmc2_nfc_dma_setup()
1569 if (IS_ERR(nfc->dma_tx_ch)) { in stm32_fmc2_nfc_dma_setup()
1570 ret = PTR_ERR(nfc->dma_tx_ch); in stm32_fmc2_nfc_dma_setup()
1574 nfc->dma_tx_ch = NULL; in stm32_fmc2_nfc_dma_setup()
1578 ret = dma_get_slave_caps(nfc->dma_tx_ch, &caps); in stm32_fmc2_nfc_dma_setup()
1644 if (nfc->dma_tx_ch && nfc->dma_rx_ch && nfc->dma_ecc_ch) { in stm32_fmc2_nfc_nand_callbacks_setup()
[all …]