Searched refs:slave_config (Results 1 – 3 of 3) sorted by relevance
629 struct dma_slave_config slave_config; in at91_twi_configure_dma() local633 memset(&slave_config, 0, sizeof(slave_config)); in at91_twi_configure_dma()634 slave_config.src_addr = (dma_addr_t)phy_addr + AT91_TWI_RHR; in at91_twi_configure_dma()635 slave_config.src_addr_width = DMA_SLAVE_BUSWIDTH_1_BYTE; in at91_twi_configure_dma()636 slave_config.src_maxburst = 1; in at91_twi_configure_dma()637 slave_config.dst_addr = (dma_addr_t)phy_addr + AT91_TWI_THR; in at91_twi_configure_dma()638 slave_config.dst_addr_width = DMA_SLAVE_BUSWIDTH_1_BYTE; in at91_twi_configure_dma()639 slave_config.dst_maxburst = 1; in at91_twi_configure_dma()640 slave_config.device_fc = false; in at91_twi_configure_dma()661 slave_config.direction = DMA_MEM_TO_DEV; in at91_twi_configure_dma()[all …]
391 struct dma_slave_config *slave_config, in atmel_spi_dma_slave_config() argument397 slave_config->dst_addr_width = DMA_SLAVE_BUSWIDTH_2_BYTES; in atmel_spi_dma_slave_config()398 slave_config->src_addr_width = DMA_SLAVE_BUSWIDTH_2_BYTES; in atmel_spi_dma_slave_config()400 slave_config->dst_addr_width = DMA_SLAVE_BUSWIDTH_1_BYTE; in atmel_spi_dma_slave_config()401 slave_config->src_addr_width = DMA_SLAVE_BUSWIDTH_1_BYTE; in atmel_spi_dma_slave_config()404 slave_config->dst_addr = (dma_addr_t)as->phybase + SPI_TDR; in atmel_spi_dma_slave_config()405 slave_config->src_addr = (dma_addr_t)as->phybase + SPI_RDR; in atmel_spi_dma_slave_config()406 slave_config->src_maxburst = 1; in atmel_spi_dma_slave_config()407 slave_config->dst_maxburst = 1; in atmel_spi_dma_slave_config()408 slave_config->device_fc = false; in atmel_spi_dma_slave_config()[all …]
2437 struct dma_slave_config *slave_config; in pl330_control() local2457 slave_config = (struct dma_slave_config *)arg; in pl330_control()2459 if (slave_config->direction == DMA_MEM_TO_DEV) { in pl330_control()2460 if (slave_config->dst_addr) in pl330_control()2461 pch->fifo_addr = slave_config->dst_addr; in pl330_control()2462 if (slave_config->dst_addr_width) in pl330_control()2463 pch->burst_sz = __ffs(slave_config->dst_addr_width); in pl330_control()2464 if (slave_config->dst_maxburst) in pl330_control()2465 pch->burst_len = slave_config->dst_maxburst; in pl330_control()2466 } else if (slave_config->direction == DMA_DEV_TO_MEM) { in pl330_control()[all …]