Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/tty/serial/
Dsprd_serial.c125 struct sprd_uart_dma tx_dma; member
213 dmaengine_pause(sp->tx_dma.chn); in sprd_stop_tx_dma()
215 dmaengine_tx_status(sp->tx_dma.chn, sp->tx_dma.cookie, &state); in sprd_stop_tx_dma()
217 trans_len = state.residue - sp->tx_dma.phys_addr; in sprd_stop_tx_dma()
220 dma_unmap_single(port->dev, sp->tx_dma.phys_addr, in sprd_stop_tx_dma()
221 sp->tx_dma.trans_len, DMA_TO_DEVICE); in sprd_stop_tx_dma()
224 dmaengine_terminate_all(sp->tx_dma.chn); in sprd_stop_tx_dma()
225 sp->tx_dma.trans_len = 0; in sprd_stop_tx_dma()
234 sp->tx_dma.trans_len = in sprd_tx_buf_remap()
237 sp->tx_dma.phys_addr = dma_map_single(port->dev, in sprd_tx_buf_remap()
[all …]
Difx6x60.h74 dma_addr_t tx_dma; member
Difx6x60.c763 ifx_dev->tx_dma = ifx_dev->tx_bus; in ifx_spi_io()
765 ifx_dev->spi_xfer.tx_dma = ifx_dev->tx_dma; in ifx_spi_io()
769 ifx_dev->tx_dma = (dma_addr_t)0; in ifx_spi_io()
771 ifx_dev->spi_xfer.tx_dma = (dma_addr_t)0; in ifx_spi_io()
Dmsm_serial.c179 struct msm_dma tx_dma; member
271 dma = &msm_port->tx_dma; in msm_release_dma()
297 dma = &msm_port->tx_dma; in msm_request_tx_dma()
405 struct msm_dma *dma = &msm_port->tx_dma; in msm_start_tx()
427 struct msm_dma *dma = &msm_port->tx_dma; in msm_complete_tx_dma()
476 struct msm_dma *dma = &msm_port->tx_dma; in msm_handle_tx_dma()
882 struct msm_dma *dma = &msm_port->tx_dma; in msm_handle_tx()
/kernel/linux/linux-5.10/drivers/spi/
Dspi-fsl-cpm.c88 if (mspi->tx_dma == mspi->dma_dummy_tx) in fsl_spi_cpm_bufs_start()
89 out_be32(&tx_bd->cbd_bufaddr, mspi->tx_dma); in fsl_spi_cpm_bufs_start()
91 out_be32(&tx_bd->cbd_bufaddr, mspi->tx_dma + xfer_ofs); in fsl_spi_cpm_bufs_start()
115 mspi->tx_dma = mspi->dma_dummy_tx; in fsl_spi_cpm_bufs()
127 mspi->tx_dma = dma_map_single(dev, nonconst_tx, t->len, in fsl_spi_cpm_bufs()
129 if (dma_mapping_error(dev, mspi->tx_dma)) { in fsl_spi_cpm_bufs()
134 mspi->tx_dma = t->tx_dma; in fsl_spi_cpm_bufs()
161 dma_unmap_single(dev, mspi->tx_dma, t->len, DMA_TO_DEVICE); in fsl_spi_cpm_bufs()
172 dma_unmap_single(dev, mspi->tx_dma, t->len, DMA_TO_DEVICE); in fsl_spi_cpm_bufs_complete()
Dspi-s3c64xx.c192 struct s3c64xx_spi_dma_data tx_dma; member
256 struct s3c64xx_spi_driver_data, tx_dma); in s3c64xx_spi_dmacb()
293 struct s3c64xx_spi_driver_data, tx_dma); in prepare_dma()
356 spi->dma_tx = sdd->tx_dma.ch; in s3c64xx_spi_prepare_transfer()
401 ret = prepare_dma(&sdd->tx_dma, &xfer->tx_sg); in s3c64xx_enable_datapath()
702 sdd->rx_dma.ch && sdd->tx_dma.ch) { in s3c64xx_spi_transfer_one()
751 dmaengine_pause(sdd->tx_dma.ch); in s3c64xx_spi_transfer_one()
752 dmaengine_tx_status(sdd->tx_dma.ch, sdd->tx_dma.cookie, &s); in s3c64xx_spi_transfer_one()
753 dmaengine_terminate_all(sdd->tx_dma.ch); in s3c64xx_spi_transfer_one()
1136 sdd->tx_dma.direction = DMA_MEM_TO_DEV; in s3c64xx_spi_probe()
[all …]
Dspi-atmel.c773 xfer, xfer->len, xfer->tx_buf, (unsigned long long)xfer->tx_dma, in atmel_spi_next_xfer_dma_submit()
807 dma_addr_t *tx_dma, in atmel_spi_next_xfer_data() argument
812 *tx_dma = xfer->tx_dma + xfer->len - *plen; in atmel_spi_next_xfer_data()
875 dma_addr_t tx_dma, rx_dma; in atmel_spi_pdc_next_xfer() local
880 atmel_spi_next_xfer_data(master, xfer, &tx_dma, &rx_dma, &len); in atmel_spi_pdc_next_xfer()
884 spi_writel(as, TPR, tx_dma); in atmel_spi_pdc_next_xfer()
894 (unsigned long long)xfer->tx_dma, xfer->rx_buf, in atmel_spi_pdc_next_xfer()
899 atmel_spi_next_xfer_data(master, xfer, &tx_dma, &rx_dma, &len); in atmel_spi_pdc_next_xfer()
903 spi_writel(as, TNPR, tx_dma); in atmel_spi_pdc_next_xfer()
913 (unsigned long long)xfer->tx_dma, xfer->rx_buf, in atmel_spi_pdc_next_xfer()
[all …]
Dspi-slave-mt27xx.c198 xfer->tx_dma = dma_map_single(dev, nonconst_tx, in mtk_spi_slave_dma_transfer()
200 if (dma_mapping_error(dev, xfer->tx_dma)) { in mtk_spi_slave_dma_transfer()
215 writel(xfer->tx_dma, mdata->base + SPIS_TX_SRC_REG); in mtk_spi_slave_dma_transfer()
254 dma_unmap_single(dev, xfer->tx_dma, in mtk_spi_slave_dma_transfer()
329 dma_unmap_single(mdata->dev, trans->tx_dma, in mtk_spi_slave_interrupt()
Dspi-mt65xx.c402 writel((u32)(xfer->tx_dma & MTK_SPI_32BITS_MASK), in mtk_spi_setup_dma_addr()
406 writel((u32)(xfer->tx_dma >> 32), in mtk_spi_setup_dma_addr()
481 xfer->tx_dma = sg_dma_address(mdata->tx_sgl); in mtk_spi_dma_transfer()
588 trans->tx_dma += mdata->xfer_len; in mtk_spi_interrupt()
595 trans->tx_dma = sg_dma_address(mdata->tx_sgl); in mtk_spi_interrupt()
Dspi-fsl-lib.h38 dma_addr_t tx_dma; member
Dspi-au1550.c318 dma_tx_addr = t->tx_dma; in au1550_spi_dma_txrxb()
330 if (t->tx_dma == 0) { /* if DMA_ADDR_INVALID, map it */ in au1550_spi_dma_txrxb()
405 if (t->tx_buf && t->tx_dma == 0 ) in au1550_spi_dma_txrxb()
/kernel/linux/linux-5.10/drivers/net/ethernet/amd/
Dau1000_eth.h39 struct tx_dma { struct
74 struct tx_dma *tx_dma_ring[NUM_TX_DMA];
Dau1000_eth.c640 aup->tx_dma_ring[i] = (struct tx_dma *) in au1000_setup_hw_rings()
641 (tx_base + sizeof(struct tx_dma) * i); in au1000_setup_hw_rings()
864 struct tx_dma *ptxd; in au1000_tx_ack()
960 struct tx_dma *ptxd; in au1000_tx()
/kernel/linux/linux-5.10/drivers/mmc/host/
Dmmc_spi.c516 t->tx_dma = t->rx_dma = host->data_dma; in mmc_spi_command_send()
581 t->tx_dma = dma + offsetof(struct scratch, data_token); in mmc_spi_setup_data_message()
591 t->tx_dma = host->ones_dma; in mmc_spi_setup_data_message()
602 t->tx_dma = dma + offsetof(struct scratch, crc_val); in mmc_spi_setup_data_message()
605 t->tx_dma = host->ones_dma; in mmc_spi_setup_data_message()
631 t->tx_dma = host->ones_dma; in mmc_spi_setup_data_message()
729 t->tx_dma += t->len; in mmc_spi_writeblock()
915 t->tx_dma = dma_addr + sg->offset; in mmc_spi_data_do()
992 host->early_status.tx_dma = host->early_status.rx_dma; in mmc_spi_data_do()
1433 host->status.tx_dma = host->ones_dma; in mmc_spi_probe()
/kernel/linux/linux-5.10/drivers/net/ethernet/apple/
Dmace.c47 volatile struct dbdma_regs __iomem *tx_dma; member
179 mp->tx_dma = ioremap(macio_resource_start(mdev, 1), 0x1000); in mace_probe()
180 if (mp->tx_dma == NULL) { in mace_probe()
263 iounmap(mp->tx_dma); in mace_probe()
292 iounmap(mp->tx_dma); in mace_remove()
433 volatile struct dbdma_regs __iomem *td = mp->tx_dma; in mace_open()
503 volatile struct dbdma_regs __iomem *td = mp->tx_dma; in mace_close()
532 volatile struct dbdma_regs __iomem *td = mp->tx_dma; in mace_xmit_start()
662 volatile struct dbdma_regs __iomem *td = mp->tx_dma; in mace_interrupt()
808 volatile struct dbdma_regs __iomem *td = mp->tx_dma; in mace_tx_timeout()
Dbmac.c62 volatile struct dbdma_regs __iomem *tx_dma; member
227 volatile struct dbdma_regs __iomem *td = bp->tx_dma; in bmac_enable_and_reset_chip()
475 volatile struct dbdma_regs __iomem *td = bp->tx_dma; in bmac_suspend()
586 volatile struct dbdma_regs __iomem *td = bp->tx_dma; in bmac_init_tx_ring()
642 volatile struct dbdma_regs __iomem *td = bp->tx_dma; in bmac_transmit_packet()
775 if (cp == bus_to_virt(in_le32(&bp->tx_dma->cmdptr))) in bmac_txdma_intr()
1304 bp->tx_dma = ioremap(macio_resource_start(mdev, 1), macio_resource_len(mdev, 1)); in bmac_probe()
1305 if (!bp->tx_dma) in bmac_probe()
1364 iounmap(bp->tx_dma); in bmac_probe()
1391 volatile struct dbdma_regs __iomem *td = bp->tx_dma; in bmac_close()
[all …]
/kernel/linux/linux-5.10/drivers/atm/
Deni.h82 void __iomem *tx_dma; /* TX DMA queue */ member
Deni.c1166 writel(eni_dev->dma[i*2],eni_dev->tx_dma+dma_wr*8); in do_tx()
1167 writel(eni_dev->dma[i*2+1],eni_dev->tx_dma+dma_wr*8+4); in do_tx()
1836 eni_dev->tx_dma = eni_dev->rx_dma+NR_DMA_RX*8; in eni_start()
1837 eni_dev->service = eni_dev->tx_dma+NR_DMA_TX*8; in eni_start()
1840 eni_dev->vci,eni_dev->rx_dma,eni_dev->tx_dma, in eni_start()
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-qcom-geni.c422 dma_addr_t tx_dma = 0; in geni_i2c_tx_one_msg() local
440 if (dma_buf && geni_se_tx_dma_prep(se, dma_buf, len, &tx_dma)) { in geni_i2c_tx_one_msg()
446 gi2c->dma_addr = tx_dma; in geni_i2c_tx_one_msg()
/kernel/linux/linux-5.10/drivers/tty/serial/8250/
D8250.h17 int (*tx_dma)(struct uart_8250_port *p); member
/kernel/linux/linux-5.10/drivers/net/ethernet/sis/
Dsis190.c276 dma_addr_t tx_dma; member
890 SIS_W32(TxDescStartAddr, tp->tx_dma); in sis190_hw_start()
1076 &tp->tx_dma, GFP_KERNEL); in sis190_open()
1107 tp->tx_dma); in sis190_open()
1170 tp->tx_dma); in sis190_close()
/kernel/linux/linux-5.10/drivers/scsi/mvsas/
Dmv_64xx.c315 mw32(MVS_TX_LO, mvi->tx_dma); in mvs_64xx_init()
316 mw32(MVS_TX_HI, (mvi->tx_dma >> 16) >> 16); in mvs_64xx_init()
Dmv_init.c121 mvi->tx, mvi->tx_dma); in mvs_free()
247 &mvi->tx_dma, GFP_KERNEL); in mvs_alloc()
Dmv_sas.h350 dma_addr_t tx_dma; member
/kernel/linux/linux-5.10/drivers/net/ethernet/natsemi/
Dnatsemi.c548 dma_addr_t tx_dma[TX_RING_SIZE]; member
2013 dma_unmap_single(&np->pci_dev->dev, np->tx_dma[i], in drain_tx()
2100 np->tx_dma[entry] = dma_map_single(&np->pci_dev->dev, skb->data, in start_tx()
2102 if (dma_mapping_error(&np->pci_dev->dev, np->tx_dma[entry])) { in start_tx()
2109 np->tx_ring[entry].addr = cpu_to_le32(np->tx_dma[entry]); in start_tx()
2168 dma_unmap_single(&np->pci_dev->dev, np->tx_dma[entry], in netdev_tx_done()

12