/linux-6.1.9/drivers/i2c/busses/ |
D | i2c-stm32.c | 18 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() 40 ret = dmaengine_slave_config(dma->chan_tx, &dma_sconfig); 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() [all …]
|
D | i2c-imx.c | 354 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.1.9/drivers/dma/ |
D | tegra186-gpc-dma.c | 237 struct dma_slave_config dma_sconfig; member 364 memcpy(&tdc->dma_sconfig, sconfig, sizeof(*sconfig)); in tegra_dma_slave_config() 831 *apb_addr = tdc->dma_sconfig.dst_addr; in get_transfer_param() 832 *mmio_seq = get_bus_width(tdc, tdc->dma_sconfig.dst_addr_width); in get_transfer_param() 833 *burst_size = tdc->dma_sconfig.dst_maxburst; in get_transfer_param() 834 *slave_bw = tdc->dma_sconfig.dst_addr_width; in get_transfer_param() 838 *apb_addr = tdc->dma_sconfig.src_addr; in get_transfer_param() 839 *mmio_seq = get_bus_width(tdc, tdc->dma_sconfig.src_addr_width); in get_transfer_param() 840 *burst_size = tdc->dma_sconfig.src_maxburst; in get_transfer_param() 841 *slave_bw = tdc->dma_sconfig.src_addr_width; in get_transfer_param()
|
D | tegra20-apb-dma.c | 204 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()
|
D | stm32-dma.c | 218 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 …]
|
D | at_hdmac.c | 1058 struct dma_slave_config *sconfig = &atchan->dma_sconfig; in atc_prep_slave_sg() 1220 struct dma_slave_config *sconfig = &atchan->dma_sconfig; in atc_dma_cyclic_fill_desc() 1278 struct dma_slave_config *sconfig = &atchan->dma_sconfig; in atc_prep_dma_cyclic() 1357 memcpy(&atchan->dma_sconfig, sconfig, sizeof(*sconfig)); in atc_config() 1359 convert_burst(&atchan->dma_sconfig.src_maxburst); in atc_config() 1360 convert_burst(&atchan->dma_sconfig.dst_maxburst); in atc_config()
|
D | at_hdmac_regs.h | 280 struct dma_slave_config dma_sconfig; member
|
/linux-6.1.9/drivers/spi/ |
D | spi-tegra114.c | 542 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()
|
D | spi-tegra20-slink.c | 600 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()
|
D | spi-tegra210-quad.c | 608 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.1.9/drivers/dma/dw/ |
D | core.c | 620 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()
|
D | dw.c | 69 struct dma_slave_config *sconfig = &dwc->dma_sconfig; in dw_dma_prepare_ctllo()
|
D | idma32.c | 204 struct dma_slave_config *sconfig = &dwc->dma_sconfig; in idma32_prepare_ctllo()
|
D | regs.h | 294 struct dma_slave_config dma_sconfig; member
|
/linux-6.1.9/drivers/tty/serial/ |
D | serial-tegra.c | 1139 struct dma_slave_config dma_sconfig; in tegra_uart_dma_channel_allocate() local 1162 dma_sconfig.src_addr = tup->uport.mapbase; in tegra_uart_dma_channel_allocate() 1163 dma_sconfig.src_addr_width = DMA_SLAVE_BUSWIDTH_1_BYTE; in tegra_uart_dma_channel_allocate() 1164 dma_sconfig.src_maxburst = tup->cdata->max_dma_burst_bytes; in tegra_uart_dma_channel_allocate() 1178 dma_sconfig.dst_addr = tup->uport.mapbase; in tegra_uart_dma_channel_allocate() 1179 dma_sconfig.dst_addr_width = DMA_SLAVE_BUSWIDTH_1_BYTE; in tegra_uart_dma_channel_allocate() 1180 dma_sconfig.dst_maxburst = 16; in tegra_uart_dma_channel_allocate() 1186 ret = dmaengine_slave_config(dma_chan, &dma_sconfig); in tegra_uart_dma_channel_allocate()
|