Home
last modified time | relevance | path

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

/drivers/i2c/busses/
Di2c-imx.c294 struct dma_slave_config dma_sconfig; in i2c_imx_dma_request() local
308 dma_sconfig.dst_addr = phy_addr + in i2c_imx_dma_request()
310 dma_sconfig.dst_addr_width = DMA_SLAVE_BUSWIDTH_1_BYTE; in i2c_imx_dma_request()
311 dma_sconfig.dst_maxburst = 1; in i2c_imx_dma_request()
312 dma_sconfig.direction = DMA_MEM_TO_DEV; in i2c_imx_dma_request()
313 ret = dmaengine_slave_config(dma->chan_tx, &dma_sconfig); in i2c_imx_dma_request()
325 dma_sconfig.src_addr = phy_addr + in i2c_imx_dma_request()
327 dma_sconfig.src_addr_width = DMA_SLAVE_BUSWIDTH_1_BYTE; in i2c_imx_dma_request()
328 dma_sconfig.src_maxburst = 1; in i2c_imx_dma_request()
329 dma_sconfig.direction = DMA_DEV_TO_MEM; in i2c_imx_dma_request()
[all …]
/drivers/dma/
Dtegra20-apb-dma.c208 struct dma_slave_config dma_sconfig; member
355 memcpy(&tdc->dma_sconfig, sconfig, sizeof(*sconfig)); in tegra_dma_slave_config()
904 *apb_addr = tdc->dma_sconfig.dst_addr; in get_transfer_param()
905 *apb_seq = get_bus_width(tdc, tdc->dma_sconfig.dst_addr_width); in get_transfer_param()
906 *burst_size = tdc->dma_sconfig.dst_maxburst; in get_transfer_param()
907 *slave_bw = tdc->dma_sconfig.dst_addr_width; in get_transfer_param()
912 *apb_addr = tdc->dma_sconfig.src_addr; in get_transfer_param()
913 *apb_seq = get_bus_width(tdc, tdc->dma_sconfig.src_addr_width); in get_transfer_param()
914 *burst_size = tdc->dma_sconfig.src_maxburst; in get_transfer_param()
915 *slave_bw = tdc->dma_sconfig.src_addr_width; in get_transfer_param()
Dat_hdmac.c1084 struct dma_slave_config *sconfig = &atchan->dma_sconfig; in atc_prep_slave_sg()
1378 struct dma_slave_config *sconfig = &atchan->dma_sconfig; in atc_dma_cyclic_fill_desc()
1436 struct dma_slave_config *sconfig = &atchan->dma_sconfig; in atc_prep_dma_cyclic()
1515 memcpy(&atchan->dma_sconfig, sconfig, sizeof(*sconfig)); in atc_config()
1517 convert_burst(&atchan->dma_sconfig.src_maxburst); in atc_config()
1518 convert_burst(&atchan->dma_sconfig.dst_maxburst); in atc_config()
Dat_hdmac_regs.h263 struct dma_slave_config dma_sconfig; member
/drivers/spi/
Dspi-tegra114.c614 struct dma_slave_config dma_sconfig; in tegra_spi_init_dma_param() local
635 dma_sconfig.src_addr = tspi->phys + SPI_RX_FIFO; in tegra_spi_init_dma_param()
636 dma_sconfig.src_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in tegra_spi_init_dma_param()
637 dma_sconfig.src_maxburst = 0; in tegra_spi_init_dma_param()
639 dma_sconfig.dst_addr = tspi->phys + SPI_TX_FIFO; in tegra_spi_init_dma_param()
640 dma_sconfig.dst_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in tegra_spi_init_dma_param()
641 dma_sconfig.dst_maxburst = 0; in tegra_spi_init_dma_param()
644 ret = dmaengine_slave_config(dma_chan, &dma_sconfig); in tegra_spi_init_dma_param()
Dspi-tegra20-slink.c611 struct dma_slave_config dma_sconfig; in tegra_slink_init_dma_param() local
632 dma_sconfig.src_addr = tspi->phys + SLINK_RX_FIFO; in tegra_slink_init_dma_param()
633 dma_sconfig.src_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in tegra_slink_init_dma_param()
634 dma_sconfig.src_maxburst = 0; in tegra_slink_init_dma_param()
636 dma_sconfig.dst_addr = tspi->phys + SLINK_TX_FIFO; in tegra_slink_init_dma_param()
637 dma_sconfig.dst_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in tegra_slink_init_dma_param()
638 dma_sconfig.dst_maxburst = 0; in tegra_slink_init_dma_param()
641 ret = dmaengine_slave_config(dma_chan, &dma_sconfig); in tegra_slink_init_dma_param()
/drivers/tty/serial/
Dserial-tegra.c945 struct dma_slave_config dma_sconfig; in tegra_uart_dma_channel_allocate() local
966 dma_sconfig.src_addr = tup->uport.mapbase; in tegra_uart_dma_channel_allocate()
967 dma_sconfig.src_addr_width = DMA_SLAVE_BUSWIDTH_1_BYTE; in tegra_uart_dma_channel_allocate()
968 dma_sconfig.src_maxburst = 4; in tegra_uart_dma_channel_allocate()
982 dma_sconfig.dst_addr = tup->uport.mapbase; in tegra_uart_dma_channel_allocate()
983 dma_sconfig.dst_addr_width = DMA_SLAVE_BUSWIDTH_1_BYTE; in tegra_uart_dma_channel_allocate()
984 dma_sconfig.dst_maxburst = 16; in tegra_uart_dma_channel_allocate()
990 ret = dmaengine_slave_config(dma_chan, &dma_sconfig); in tegra_uart_dma_channel_allocate()
/drivers/dma/dw/
Dcore.c42 struct dma_slave_config *_sconfig = &_dwc->dma_sconfig; \
767 struct dma_slave_config *sconfig = &dwc->dma_sconfig; in dwc_prep_slave_sg()
966 memcpy(&dwc->dma_sconfig, sconfig, sizeof(*sconfig)); in dwc_config()
969 convert_burst(&dwc->dma_sconfig.src_maxburst); in dwc_config()
970 convert_burst(&dwc->dma_sconfig.dst_maxburst); in dwc_config()
1319 struct dma_slave_config *sconfig = &dwc->dma_sconfig; in dw_dma_cyclic_prep()
Dregs.h256 struct dma_slave_config dma_sconfig; member