Home
last modified time | relevance | path

Searched refs:dma_sconfig (Results 1 – 14 of 14) sorted by relevance

/linux-6.3-rc2/drivers/i2c/busses/
A Di2c-stm32.c18 struct dma_slave_config dma_sconfig; in stm32_i2c_dma_request() local
35 memset(&dma_sconfig, 0, sizeof(dma_sconfig)); in stm32_i2c_dma_request()
36 dma_sconfig.dst_addr = phy_addr + txdr_offset; in stm32_i2c_dma_request()
37 dma_sconfig.dst_addr_width = DMA_SLAVE_BUSWIDTH_1_BYTE; in stm32_i2c_dma_request()
38 dma_sconfig.dst_maxburst = 1; in stm32_i2c_dma_request()
39 dma_sconfig.direction = DMA_MEM_TO_DEV; in stm32_i2c_dma_request()
57 memset(&dma_sconfig, 0, sizeof(dma_sconfig)); in stm32_i2c_dma_request()
58 dma_sconfig.src_addr = phy_addr + rxdr_offset; in stm32_i2c_dma_request()
59 dma_sconfig.src_addr_width = DMA_SLAVE_BUSWIDTH_1_BYTE; in stm32_i2c_dma_request()
60 dma_sconfig.src_maxburst = 1; in stm32_i2c_dma_request()
[all …]
A Di2c-imx.c354 struct dma_slave_config dma_sconfig; in i2c_imx_dma_request() local
370 dma_sconfig.dst_addr = phy_addr + in i2c_imx_dma_request()
372 dma_sconfig.dst_addr_width = DMA_SLAVE_BUSWIDTH_1_BYTE; in i2c_imx_dma_request()
373 dma_sconfig.dst_maxburst = 1; in i2c_imx_dma_request()
374 dma_sconfig.direction = DMA_MEM_TO_DEV; in i2c_imx_dma_request()
375 ret = dmaengine_slave_config(dma->chan_tx, &dma_sconfig); in i2c_imx_dma_request()
389 dma_sconfig.src_addr = phy_addr + in i2c_imx_dma_request()
391 dma_sconfig.src_addr_width = DMA_SLAVE_BUSWIDTH_1_BYTE; in i2c_imx_dma_request()
392 dma_sconfig.src_maxburst = 1; in i2c_imx_dma_request()
393 dma_sconfig.direction = DMA_DEV_TO_MEM; in i2c_imx_dma_request()
[all …]
/linux-6.3-rc2/drivers/dma/
A Dtegra186-gpc-dma.c240 struct dma_slave_config dma_sconfig; member
368 memcpy(&tdc->dma_sconfig, sconfig, sizeof(*sconfig)); in tegra_dma_slave_config()
835 *apb_addr = tdc->dma_sconfig.dst_addr; in get_transfer_param()
836 *mmio_seq = get_bus_width(tdc, tdc->dma_sconfig.dst_addr_width); in get_transfer_param()
837 *burst_size = tdc->dma_sconfig.dst_maxburst; in get_transfer_param()
838 *slave_bw = tdc->dma_sconfig.dst_addr_width; in get_transfer_param()
842 *apb_addr = tdc->dma_sconfig.src_addr; in get_transfer_param()
843 *mmio_seq = get_bus_width(tdc, tdc->dma_sconfig.src_addr_width); in get_transfer_param()
844 *burst_size = tdc->dma_sconfig.src_maxburst; in get_transfer_param()
845 *slave_bw = tdc->dma_sconfig.src_addr_width; in get_transfer_param()
A Dtegra20-apb-dma.c204 struct dma_slave_config dma_sconfig; member
345 memcpy(&tdc->dma_sconfig, sconfig, sizeof(*sconfig)); in tegra_dma_slave_config()
1005 *apb_addr = tdc->dma_sconfig.dst_addr; in get_transfer_param()
1006 *apb_seq = get_bus_width(tdc, tdc->dma_sconfig.dst_addr_width); in get_transfer_param()
1007 *burst_size = tdc->dma_sconfig.dst_maxburst; in get_transfer_param()
1008 *slave_bw = tdc->dma_sconfig.dst_addr_width; in get_transfer_param()
1013 *apb_addr = tdc->dma_sconfig.src_addr; in get_transfer_param()
1014 *apb_seq = get_bus_width(tdc, tdc->dma_sconfig.src_addr_width); in get_transfer_param()
1015 *burst_size = tdc->dma_sconfig.src_maxburst; in get_transfer_param()
1016 *slave_bw = tdc->dma_sconfig.src_addr_width; in get_transfer_param()
A Dstm32-dma.c218 struct dma_slave_config dma_sconfig; member
403 memcpy(&chan->dma_sconfig, config, sizeof(*config)); in stm32_dma_slave_config()
588 if (chan->trig_mdma && chan->dma_sconfig.direction != DMA_MEM_TO_DEV) in stm32_dma_start_transfer()
942 src_addr_width = chan->dma_sconfig.src_addr_width; in stm32_dma_set_xfer_param()
943 dst_addr_width = chan->dma_sconfig.dst_addr_width; in stm32_dma_set_xfer_param()
944 src_maxburst = chan->dma_sconfig.src_maxburst; in stm32_dma_set_xfer_param()
945 dst_maxburst = chan->dma_sconfig.dst_maxburst; in stm32_dma_set_xfer_param()
1001 chan->chan_reg.dma_spar = chan->dma_sconfig.dst_addr; in stm32_dma_set_xfer_param()
1058 chan->chan_reg.dma_spar = chan->dma_sconfig.src_addr; in stm32_dma_set_xfer_param()
1059 *buswidth = chan->dma_sconfig.src_addr_width; in stm32_dma_set_xfer_param()
[all …]
A Dat_hdmac.c281 struct dma_slave_config dma_sconfig; member
1243 struct dma_slave_config *sconfig = &atchan->dma_sconfig; in atc_prep_slave_sg()
1420 struct dma_slave_config *sconfig = &atchan->dma_sconfig; in atc_dma_cyclic_fill_desc()
1486 struct dma_slave_config *sconfig = &atchan->dma_sconfig; in atc_prep_dma_cyclic()
1557 memcpy(&atchan->dma_sconfig, sconfig, sizeof(*sconfig)); in atc_config()
1559 convert_burst(&atchan->dma_sconfig.src_maxburst); in atc_config()
1560 convert_burst(&atchan->dma_sconfig.dst_maxburst); in atc_config()
/linux-6.3-rc2/drivers/spi/
A Dspi-tegra114.c542 struct dma_slave_config dma_sconfig = {0}; in tegra_spi_start_dma_based_transfer() local
576 dma_sconfig.device_fc = true; in tegra_spi_start_dma_based_transfer()
578 dma_sconfig.dst_addr = tspi->phys + SPI_TX_FIFO; in tegra_spi_start_dma_based_transfer()
579 dma_sconfig.dst_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in tegra_spi_start_dma_based_transfer()
580 dma_sconfig.dst_maxburst = dma_burst; in tegra_spi_start_dma_based_transfer()
581 ret = dmaengine_slave_config(tspi->tx_dma_chan, &dma_sconfig); in tegra_spi_start_dma_based_transfer()
598 dma_sconfig.src_addr = tspi->phys + SPI_RX_FIFO; in tegra_spi_start_dma_based_transfer()
599 dma_sconfig.src_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in tegra_spi_start_dma_based_transfer()
600 dma_sconfig.src_maxburst = dma_burst; in tegra_spi_start_dma_based_transfer()
601 ret = dmaengine_slave_config(tspi->rx_dma_chan, &dma_sconfig); in tegra_spi_start_dma_based_transfer()
A Dspi-tegra20-slink.c600 struct dma_slave_config dma_sconfig; in tegra_slink_init_dma_param() local
616 dma_sconfig.src_addr = tspi->phys + SLINK_RX_FIFO; in tegra_slink_init_dma_param()
617 dma_sconfig.src_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in tegra_slink_init_dma_param()
618 dma_sconfig.src_maxburst = 0; in tegra_slink_init_dma_param()
620 dma_sconfig.dst_addr = tspi->phys + SLINK_TX_FIFO; in tegra_slink_init_dma_param()
621 dma_sconfig.dst_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in tegra_slink_init_dma_param()
622 dma_sconfig.dst_maxburst = 0; in tegra_slink_init_dma_param()
625 ret = dmaengine_slave_config(dma_chan, &dma_sconfig); in tegra_slink_init_dma_param()
A Dspi-tegra210-quad.c608 struct dma_slave_config dma_sconfig = { 0 }; in tegra_qspi_start_dma_based_transfer() local
646 dma_sconfig.device_fc = true; in tegra_qspi_start_dma_based_transfer()
648 dma_sconfig.dst_addr = tqspi->phys + QSPI_TX_FIFO; in tegra_qspi_start_dma_based_transfer()
649 dma_sconfig.dst_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in tegra_qspi_start_dma_based_transfer()
650 dma_sconfig.dst_maxburst = dma_burst; in tegra_qspi_start_dma_based_transfer()
651 ret = dmaengine_slave_config(tqspi->tx_dma_chan, &dma_sconfig); in tegra_qspi_start_dma_based_transfer()
666 dma_sconfig.src_addr = tqspi->phys + QSPI_RX_FIFO; in tegra_qspi_start_dma_based_transfer()
667 dma_sconfig.src_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in tegra_qspi_start_dma_based_transfer()
668 dma_sconfig.src_maxburst = dma_burst; in tegra_qspi_start_dma_based_transfer()
669 ret = dmaengine_slave_config(tqspi->rx_dma_chan, &dma_sconfig); in tegra_qspi_start_dma_based_transfer()
/linux-6.3-rc2/drivers/dma/dw/
A Dcore.c620 struct dma_slave_config *sconfig = &dwc->dma_sconfig; in dwc_prep_slave_sg()
788 memcpy(&dwc->dma_sconfig, sconfig, sizeof(*sconfig)); in dwc_config()
790 dwc->dma_sconfig.src_maxburst = in dwc_config()
791 clamp(dwc->dma_sconfig.src_maxburst, 0U, dwc->max_burst); in dwc_config()
792 dwc->dma_sconfig.dst_maxburst = in dwc_config()
793 clamp(dwc->dma_sconfig.dst_maxburst, 0U, dwc->max_burst); in dwc_config()
795 dw->encode_maxburst(dwc, &dwc->dma_sconfig.src_maxburst); in dwc_config()
796 dw->encode_maxburst(dwc, &dwc->dma_sconfig.dst_maxburst); in dwc_config()
A Ddw.c69 struct dma_slave_config *sconfig = &dwc->dma_sconfig; in dw_dma_prepare_ctllo()
A Didma32.c204 struct dma_slave_config *sconfig = &dwc->dma_sconfig; in idma32_prepare_ctllo()
A Dregs.h294 struct dma_slave_config dma_sconfig; member
/linux-6.3-rc2/drivers/tty/serial/
A Dserial-tegra.c1140 struct dma_slave_config dma_sconfig; in tegra_uart_dma_channel_allocate() local
1163 dma_sconfig.src_addr = tup->uport.mapbase; in tegra_uart_dma_channel_allocate()
1164 dma_sconfig.src_addr_width = DMA_SLAVE_BUSWIDTH_1_BYTE; in tegra_uart_dma_channel_allocate()
1165 dma_sconfig.src_maxburst = tup->cdata->max_dma_burst_bytes; in tegra_uart_dma_channel_allocate()
1179 dma_sconfig.dst_addr = tup->uport.mapbase; in tegra_uart_dma_channel_allocate()
1180 dma_sconfig.dst_addr_width = DMA_SLAVE_BUSWIDTH_1_BYTE; in tegra_uart_dma_channel_allocate()
1181 dma_sconfig.dst_maxburst = 16; in tegra_uart_dma_channel_allocate()
1187 ret = dmaengine_slave_config(dma_chan, &dma_sconfig); in tegra_uart_dma_channel_allocate()

Completed in 40 milliseconds