Lines Matching refs:dma_conf
1106 * @dma_conf: pointer to the dma_slave_config structure
1110 struct dma_slave_config *dma_conf,
1133 memset(dma_conf, 0, sizeof(struct dma_slave_config));
1134 dma_conf->direction = dir;
1135 if (dma_conf->direction == DMA_DEV_TO_MEM) { /* RX */
1136 dma_conf->src_addr = spi->phys_addr + spi->cfg->regs->rx.reg;
1137 dma_conf->src_addr_width = buswidth;
1138 dma_conf->src_maxburst = maxburst;
1142 } else if (dma_conf->direction == DMA_MEM_TO_DEV) { /* TX */
1143 dma_conf->dst_addr = spi->phys_addr + spi->cfg->regs->tx.reg;
1144 dma_conf->dst_addr_width = buswidth;
1145 dma_conf->dst_maxburst = maxburst;