Home
last modified time | relevance | path

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

12

/drivers/spi/
Dspi-adi-v3.c78 unsigned int tx_dma; member
471 set_dma_x_modify(drv_data->tx_dma, word_size); in adi_spi_dma_xfer()
479 set_dma_x_modify(drv_data->tx_dma, 0); in adi_spi_dma_xfer()
486 set_dma_x_modify(drv_data->tx_dma, word_size); in adi_spi_dma_xfer()
512 set_dma_x_count(drv_data->tx_dma, word_count); in adi_spi_dma_xfer()
514 set_dma_start_addr(drv_data->tx_dma, drv_data->tx_dma_addr); in adi_spi_dma_xfer()
517 set_dma_config(drv_data->tx_dma, dma_config); in adi_spi_dma_xfer()
519 enable_dma(drv_data->tx_dma); in adi_spi_dma_xfer()
750 u32 dma_stat = get_dma_curr_irqstat(drv_data->tx_dma); in adi_spi_tx_dma_isr()
753 clear_dma_irqstat(drv_data->tx_dma); in adi_spi_tx_dma_isr()
[all …]
Dspi-fsl-cpm.c92 if (mspi->tx_dma == mspi->dma_dummy_tx) in fsl_spi_cpm_bufs_start()
93 out_be32(&tx_bd->cbd_bufaddr, mspi->tx_dma); in fsl_spi_cpm_bufs_start()
95 out_be32(&tx_bd->cbd_bufaddr, mspi->tx_dma + xfer_ofs); in fsl_spi_cpm_bufs_start()
119 mspi->tx_dma = mspi->dma_dummy_tx; in fsl_spi_cpm_bufs()
131 mspi->tx_dma = dma_map_single(dev, nonconst_tx, t->len, in fsl_spi_cpm_bufs()
133 if (dma_mapping_error(dev, mspi->tx_dma)) { in fsl_spi_cpm_bufs()
138 mspi->tx_dma = t->tx_dma; in fsl_spi_cpm_bufs()
165 dma_unmap_single(dev, mspi->tx_dma, t->len, DMA_TO_DEVICE); in fsl_spi_cpm_bufs()
176 dma_unmap_single(dev, mspi->tx_dma, t->len, DMA_TO_DEVICE); in fsl_spi_cpm_bufs_complete()
Dspi-atmel.c763 as->dma.sgtx.dma_address = xfer->tx_dma + xfer->len - *plen; in atmel_spi_next_xfer_dma_submit()
795 xfer, xfer->len, xfer->tx_buf, (unsigned long long)xfer->tx_dma, in atmel_spi_next_xfer_dma_submit()
829 dma_addr_t *tx_dma, in atmel_spi_next_xfer_data() argument
846 *tx_dma = xfer->tx_dma + xfer->len - *plen; in atmel_spi_next_xfer_data()
848 *tx_dma = as->buffer_dma; in atmel_spi_next_xfer_data()
910 dma_addr_t tx_dma, rx_dma; in atmel_spi_pdc_next_xfer() local
915 atmel_spi_next_xfer_data(master, xfer, &tx_dma, &rx_dma, &len); in atmel_spi_pdc_next_xfer()
919 spi_writel(as, TPR, tx_dma); in atmel_spi_pdc_next_xfer()
929 (unsigned long long)xfer->tx_dma, xfer->rx_buf, in atmel_spi_pdc_next_xfer()
934 atmel_spi_next_xfer_data(master, xfer, &tx_dma, &rx_dma, &len); in atmel_spi_pdc_next_xfer()
[all …]
Dspi-s3c64xx.c198 struct s3c64xx_spi_dma_data tx_dma; member
262 struct s3c64xx_spi_driver_data, tx_dma); in s3c64xx_spi_dmacb()
298 struct s3c64xx_spi_driver_data, tx_dma); in prepare_dma()
363 sdd->tx_dma.ch = dma_request_slave_channel_compat(mask, filter, in s3c64xx_spi_prepare_transfer()
365 if (!sdd->tx_dma.ch) { in s3c64xx_spi_prepare_transfer()
370 spi->dma_tx = sdd->tx_dma.ch; in s3c64xx_spi_prepare_transfer()
382 dma_release_channel(sdd->tx_dma.ch); in s3c64xx_spi_unprepare_transfer()
428 prepare_dma(&sdd->tx_dma, &xfer->tx_sg); in enable_datapath()
704 (sdd->rx_dma.ch && sdd->tx_dma.ch && in s3c64xx_spi_transfer_one()
736 dmaengine_terminate_all(sdd->tx_dma.ch); in s3c64xx_spi_transfer_one()
[all …]
Dspi-davinci.c661 t->tx_dma = dma_map_single(&spi->dev, buf, in davinci_spi_bufs()
663 if (dma_mapping_error(&spi->dev, t->tx_dma)) { in davinci_spi_bufs()
667 sg_dma_address(&sg_tx) = t->tx_dma; in davinci_spi_bufs()
718 dma_unmap_single(&spi->dev, t->tx_dma, in davinci_spi_bufs()
745 dma_unmap_single(&spi->dev, t->tx_dma, t->len, DMA_TO_DEVICE); in davinci_spi_bufs()
Dspi-mt65xx.c322 writel(xfer->tx_dma, mdata->base + SPI_TX_SRC_REG); in mtk_spi_setup_dma_addr()
383 xfer->tx_dma = sg_dma_address(mdata->tx_sgl); in mtk_spi_dma_transfer()
459 trans->tx_dma += mdata->xfer_len; in mtk_spi_interrupt()
466 trans->tx_dma = sg_dma_address(mdata->tx_sgl); in mtk_spi_interrupt()
Dspi-fsl-lib.h46 dma_addr_t tx_dma; member
Dspi-bfin5xx.c95 dma_addr_t tx_dma; member
369 if (drv_data->tx_dma != 0xFFFF) in bfin_spi_giveback()
635 drv_data->tx_dma = transfer->tx_dma; in bfin_spi_pump_transfers()
701 if (drv_data->tx_dma == 0xFFFF) { in bfin_spi_pump_transfers()
Dspi-au1550.c327 dma_tx_addr = t->tx_dma; in au1550_spi_dma_txrxb()
339 if (t->tx_dma == 0) { /* if DMA_ADDR_INVALID, map it */ in au1550_spi_dma_txrxb()
414 if (t->tx_buf && t->tx_dma == 0 ) in au1550_spi_dma_txrxb()
/drivers/net/ethernet/amd/
Dau1000_eth.h56 struct tx_dma { struct
91 struct tx_dma *tx_dma_ring[NUM_TX_DMA];
Dau1000_eth.c671 aup->tx_dma_ring[i] = (struct tx_dma *) in au1000_setup_hw_rings()
672 (tx_base + sizeof(struct tx_dma) * i); in au1000_setup_hw_rings()
898 struct tx_dma *ptxd; in au1000_tx_ack()
997 struct tx_dma *ptxd; in au1000_tx()
/drivers/net/ethernet/apple/
Dmace.c46 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()
534 volatile struct dbdma_regs __iomem *td = mp->tx_dma; in mace_xmit_start()
664 volatile struct dbdma_regs __iomem *td = mp->tx_dma; in mace_interrupt()
810 volatile struct dbdma_regs __iomem *td = mp->tx_dma; in mace_tx_timeout()
Dbmac.c65 volatile struct dbdma_regs __iomem *tx_dma; member
230 volatile struct dbdma_regs __iomem *td = bp->tx_dma; in bmac_enable_and_reset_chip()
478 volatile struct dbdma_regs __iomem *td = bp->tx_dma; in bmac_suspend()
591 volatile struct dbdma_regs __iomem *td = bp->tx_dma; in bmac_init_tx_ring()
647 volatile struct dbdma_regs __iomem *td = bp->tx_dma; in bmac_transmit_packet()
780 if (cp == bus_to_virt(in_le32(&bp->tx_dma->cmdptr))) in bmac_txdma_intr()
1311 bp->tx_dma = ioremap(macio_resource_start(mdev, 1), macio_resource_len(mdev, 1)); in bmac_probe()
1312 if (!bp->tx_dma) in bmac_probe()
1371 iounmap(bp->tx_dma); in bmac_probe()
1398 volatile struct dbdma_regs __iomem *td = bp->tx_dma; in bmac_close()
[all …]
/drivers/mmc/host/
Dmmc_spi.c532 t->tx_dma = t->rx_dma = host->data_dma; in mmc_spi_command_send()
597 t->tx_dma = dma + offsetof(struct scratch, data_token); in mmc_spi_setup_data_message()
607 t->tx_dma = host->ones_dma; in mmc_spi_setup_data_message()
618 t->tx_dma = dma + offsetof(struct scratch, crc_val); in mmc_spi_setup_data_message()
621 t->tx_dma = host->ones_dma; in mmc_spi_setup_data_message()
649 t->tx_dma = host->ones_dma; in mmc_spi_setup_data_message()
748 t->tx_dma += t->len; in mmc_spi_writeblock()
933 t->tx_dma = dma_addr + sg->offset; in mmc_spi_data_do()
1013 host->early_status.tx_dma = host->early_status.rx_dma; in mmc_spi_data_do()
1418 host->status.tx_dma = host->ones_dma; in mmc_spi_probe()
/drivers/tty/serial/
Difx6x60.h88 dma_addr_t tx_dma; member
Difx6x60.c777 ifx_dev->tx_dma = ifx_dev->tx_bus; in ifx_spi_io()
779 ifx_dev->spi_xfer.tx_dma = ifx_dev->tx_dma; in ifx_spi_io()
783 ifx_dev->tx_dma = (dma_addr_t)0; in ifx_spi_io()
785 ifx_dev->spi_xfer.tx_dma = (dma_addr_t)0; in ifx_spi_io()
Dmsm_serial.c191 struct msm_dma tx_dma; member
283 dma = &msm_port->tx_dma; in msm_release_dma()
309 dma = &msm_port->tx_dma; in msm_request_tx_dma()
413 struct msm_dma *dma = &msm_port->tx_dma; in msm_start_tx()
435 struct msm_dma *dma = &msm_port->tx_dma; in msm_complete_tx_dma()
484 struct msm_dma *dma = &msm_port->tx_dma; in msm_handle_tx_dma()
869 struct msm_dma *dma = &msm_port->tx_dma; in msm_handle_tx()
/drivers/atm/
Deni.h81 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()
/drivers/tty/serial/8250/
D8250.h19 int (*tx_dma)(struct uart_8250_port *p); member
/drivers/net/ethernet/sis/
Dsis190.c276 dma_addr_t tx_dma; member
887 SIS_W32(TxDescStartAddr, tp->tx_dma); in sis190_hw_start()
1074 tp->TxDescRing = pci_alloc_consistent(pdev, TX_RING_BYTES, &tp->tx_dma); in sis190_open()
1102 pci_free_consistent(pdev, TX_RING_BYTES, tp->TxDescRing, tp->tx_dma); in sis190_open()
1164 pci_free_consistent(pdev, TX_RING_BYTES, tp->TxDescRing, tp->tx_dma); in sis190_close()
/drivers/staging/fbtft/
Dfbtft-io.c26 t.tx_dma = par->txbuf.dma; in fbtft_write_spi()
Dfb_ra8875.c46 t.tx_dma = par->txbuf.dma; in write_spi()
/drivers/scsi/mvsas/
Dmv_64xx.c331 mw32(MVS_TX_LO, mvi->tx_dma); in mvs_64xx_init()
332 mw32(MVS_TX_HI, (mvi->tx_dma >> 16) >> 16); in mvs_64xx_init()
Dmv_init.c134 mvi->tx, mvi->tx_dma); in mvs_free()
260 &mvi->tx_dma, GFP_KERNEL); in mvs_alloc()

12