Lines Matching defs:dma_conf
1069 * @dma_conf: pointer to the dma_slave_config structure
1073 struct dma_slave_config *dma_conf,
1096 memset(dma_conf, 0, sizeof(struct dma_slave_config));
1097 dma_conf->direction = dir;
1098 if (dma_conf->direction == DMA_DEV_TO_MEM) { /* RX */
1099 dma_conf->src_addr = spi->phys_addr + spi->cfg->regs->rx.reg;
1100 dma_conf->src_addr_width = buswidth;
1101 dma_conf->src_maxburst = maxburst;
1105 } else if (dma_conf->direction == DMA_MEM_TO_DEV) { /* TX */
1106 dma_conf->dst_addr = spi->phys_addr + spi->cfg->regs->tx.reg;
1107 dma_conf->dst_addr_width = buswidth;
1108 dma_conf->dst_maxburst = maxburst;