/linux/drivers/tty/serial/ |
H A D | sprd_serial.c | 134 struct sprd_uart_dma tx_dma; member 234 dmaengine_pause(sp->tx_dma.chn); in sprd_stop_tx_dma() 236 dmaengine_tx_status(sp->tx_dma.chn, sp->tx_dma.cookie, &state); in sprd_stop_tx_dma() 238 trans_len = state.residue - sp->tx_dma.phys_addr; in sprd_stop_tx_dma() 240 dma_unmap_single(port->dev, sp->tx_dma.phys_addr, in sprd_stop_tx_dma() 241 sp->tx_dma.trans_len, DMA_TO_DEVICE); in sprd_stop_tx_dma() 244 dmaengine_terminate_all(sp->tx_dma.chn); in sprd_stop_tx_dma() 245 sp->tx_dma.trans_len = 0; in sprd_stop_tx_dma() 255 sp->tx_dma.trans_len = kfifo_out_linear_ptr(&tport->xmit_fifo, &tail, in sprd_tx_buf_remap() 258 sp->tx_dma.phys_addr = dma_map_single(port->dev, tail, in sprd_tx_buf_remap() [all …]
|
H A D | msm_serial.c | 186 struct msm_dma tx_dma; member 290 dma = &msm_port->tx_dma; in msm_release_dma() 317 dma = &msm_port->tx_dma; in msm_request_tx_dma() 434 struct msm_dma *dma = &msm_port->tx_dma; in msm_start_tx() 456 struct msm_dma *dma = &msm_port->tx_dma; in msm_complete_tx_dma() 501 struct msm_dma *dma = &msm_port->tx_dma; in msm_handle_tx_dma() 893 struct msm_dma *dma = &msm_port->tx_dma; in msm_handle_tx()
|
/linux/drivers/spi/ |
H A D | spi-fsl-cpm.c | 89 if (mspi->tx_dma == mspi->dma_dummy_tx) in fsl_spi_cpm_bufs_start() 90 iowrite32be(mspi->tx_dma, &tx_bd->cbd_bufaddr); in fsl_spi_cpm_bufs_start() 92 iowrite32be(mspi->tx_dma + xfer_ofs, &tx_bd->cbd_bufaddr); in fsl_spi_cpm_bufs_start() 110 mspi->tx_dma = mspi->dma_dummy_tx; in fsl_spi_cpm_bufs() 137 mspi->tx_dma = dma_map_single(dev, nonconst_tx, t->len, in fsl_spi_cpm_bufs() 139 if (dma_mapping_error(dev, mspi->tx_dma)) { in fsl_spi_cpm_bufs() 144 mspi->tx_dma = 0; in fsl_spi_cpm_bufs() 171 dma_unmap_single(dev, mspi->tx_dma, t->len, DMA_TO_DEVICE); in fsl_spi_cpm_bufs() 182 dma_unmap_single(dev, mspi->tx_dma, t->len, DMA_TO_DEVICE); in fsl_spi_cpm_bufs_complete()
|
H A D | spi-s3c64xx.c | 219 struct s3c64xx_spi_dma_data tx_dma; member 286 struct s3c64xx_spi_driver_data, tx_dma); in s3c64xx_spi_dmacb() 321 struct s3c64xx_spi_driver_data, tx_dma); in s3c64xx_prepare_dma() 393 sdd->tx_dma.ch = dma_request_chan(&sdd->pdev->dev, "tx"); in s3c64xx_spi_prepare_transfer() 394 if (IS_ERR(sdd->tx_dma.ch)) { in s3c64xx_spi_prepare_transfer() 397 sdd->tx_dma.ch = NULL; in s3c64xx_spi_prepare_transfer() 403 spi->dma_tx = sdd->tx_dma.ch; in s3c64xx_spi_prepare_transfer() 416 if (sdd->rx_dma.ch && sdd->tx_dma.ch) { in s3c64xx_spi_unprepare_transfer() 418 dma_release_channel(sdd->tx_dma.ch); in s3c64xx_spi_unprepare_transfer() 420 sdd->tx_dma.ch = NULL; in s3c64xx_spi_unprepare_transfer() [all …]
|
H A D | spi-mt65xx.c | 173 dma_addr_t tx_dma; member 604 writel((u32)(xfer->tx_dma & MTK_SPI_32BITS_MASK), in mtk_spi_setup_dma_addr() 608 writel((u32)(xfer->tx_dma >> 32), in mtk_spi_setup_dma_addr() 683 xfer->tx_dma = sg_dma_address(mdata->tx_sgl); in mtk_spi_dma_transfer() 798 xfer->tx_dma += mdata->xfer_len; in mtk_spi_interrupt_thread() 805 xfer->tx_dma = sg_dma_address(mdata->tx_sgl); in mtk_spi_interrupt_thread() 902 writel((u32)(mdata->tx_dma & MTK_SPI_32BITS_MASK), in mtk_spi_mem_setup_dma_xfer() 906 writel((u32)(mdata->tx_dma >> 32), in mtk_spi_mem_setup_dma_xfer() 1047 mdata->tx_dma = dma_map_single(mdata->dev, tx_tmp_buf, in mtk_spi_mem_exec_op() 1049 if (dma_mapping_error(mdata->dev, mdata->tx_dma)) { in mtk_spi_mem_exec_op() [all …]
|
H A D | spi-slave-mt27xx.c | 215 xfer->tx_dma = dma_map_single(dev, nonconst_tx, in mtk_spi_slave_dma_transfer() 217 if (dma_mapping_error(dev, xfer->tx_dma)) { in mtk_spi_slave_dma_transfer() 232 writel(xfer->tx_dma, mdata->base + SPIS_TX_SRC_REG); in mtk_spi_slave_dma_transfer() 271 dma_unmap_single(dev, xfer->tx_dma, in mtk_spi_slave_dma_transfer() 346 dma_unmap_single(mdata->dev, trans->tx_dma, in mtk_spi_slave_interrupt()
|
H A D | spi-fsl-lib.h | 38 dma_addr_t tx_dma; member
|
/linux/drivers/net/ethernet/amd/ |
H A D | au1000_eth.h | 39 struct tx_dma { struct 74 struct tx_dma *tx_dma_ring[NUM_TX_DMA];
|
/linux/drivers/net/ethernet/apple/ |
H A D | mace.c | 46 volatile struct dbdma_regs __iomem *tx_dma; member 180 mp->tx_dma = ioremap(macio_resource_start(mdev, 1), 0x1000); in mace_probe() 181 if (mp->tx_dma == NULL) { in mace_probe() 264 iounmap(mp->tx_dma); in mace_probe() 293 iounmap(mp->tx_dma); in mace_remove() 436 volatile struct dbdma_regs __iomem *td = mp->tx_dma; in mace_open() 506 volatile struct dbdma_regs __iomem *td = mp->tx_dma; in mace_close() 535 volatile struct dbdma_regs __iomem *td = mp->tx_dma; in mace_xmit_start() 665 volatile struct dbdma_regs __iomem *td = mp->tx_dma; in mace_interrupt() 811 volatile struct dbdma_regs __iomem *td = mp->tx_dma; in mace_tx_timeout()
|
H A D | bmac.c | 61 volatile struct dbdma_regs __iomem *tx_dma; member 226 volatile struct dbdma_regs __iomem *td = bp->tx_dma; in bmac_enable_and_reset_chip() 474 volatile struct dbdma_regs __iomem *td = bp->tx_dma; in bmac_suspend() 582 volatile struct dbdma_regs __iomem *td = bp->tx_dma; in bmac_init_tx_ring() 638 volatile struct dbdma_regs __iomem *td = bp->tx_dma; in bmac_transmit_packet() 771 if (cp == bus_to_virt(in_le32(&bp->tx_dma->cmdptr))) in bmac_txdma_intr() 1303 bp->tx_dma = ioremap(macio_resource_start(mdev, 1), macio_resource_len(mdev, 1)); in bmac_probe() 1304 if (!bp->tx_dma) in bmac_probe() 1362 iounmap(bp->tx_dma); in bmac_probe() 1389 volatile struct dbdma_regs __iomem *td = bp->tx_dma; in bmac_close() [all …]
|
/linux/drivers/atm/ |
H A D | eni.h | 82 void __iomem *tx_dma; /* TX DMA queue */ member
|
H A D | eni.c | 1166 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()
|
/linux/drivers/net/ethernet/sis/ |
H A D | sis190.c | 276 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()
|
/linux/drivers/i2c/busses/ |
H A D | i2c-qcom-geni.c | 461 dma_addr_t tx_dma = 0; in geni_i2c_tx_one_msg() local 477 if (dma_buf && geni_se_tx_dma_prep(se, dma_buf, len, &tx_dma)) { in geni_i2c_tx_one_msg() 483 gi2c->dma_addr = tx_dma; in geni_i2c_tx_one_msg()
|
/linux/drivers/scsi/mvsas/ |
H A D | mv_64xx.c | 315 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()
|
H A D | mv_sas.h | 350 dma_addr_t tx_dma; member
|
H A D | mv_94xx.c | 453 mw32(MVS_TX_LO, mvi->tx_dma); in mvs_94xx_init() 454 mw32(MVS_TX_HI, (mvi->tx_dma >> 16) >> 16); in mvs_94xx_init()
|
/linux/drivers/tty/serial/8250/ |
H A D | 8250.h | 18 int (*tx_dma)(struct uart_8250_port *p); member
|
H A D | 8250_port.c | 1539 if (up->dma && !up->dma->tx_dma(up)) in __start_tx() 3276 if (!up->dma->tx_dma) in serial8250_set_defaults() 3277 up->dma->tx_dma = serial8250_tx_dma; in serial8250_set_defaults()
|
H A D | 8250_bcm7271.c | 615 priv->dma.tx_dma = brcmuart_tx_dma; in brcmuart_startup()
|
H A D | 8250_omap.c | 1563 dma->tx_dma = omap_8250_tx_dma; in omap8250_probe()
|
/linux/drivers/net/ethernet/natsemi/ |
H A D | natsemi.c | 548 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()
|
/linux/include/linux/spi/ |
H A D | spi.h | 1065 dma_addr_t tx_dma; member
|