Lines Matching refs:tx_block
816 struct dma_block_config *tx_block = &data->tx_dma_block_cfg; in spi_smartbond_dma_config() local
869 tx_block->dest_addr_adj = 0x2; in spi_smartbond_dma_config()
871 tx_block->source_addr_adj = 0x0; in spi_smartbond_dma_config()
872 tx_block->dest_address = (uint32_t)&config->regs->SPI_RX_TX_REG; in spi_smartbond_dma_config()
878 tx_block->block_size = 0; in spi_smartbond_dma_config()
880 tx_block->source_address = 0; in spi_smartbond_dma_config()
922 struct dma_block_config *tx_block = &data->tx_dma_block_cfg; in spi_smartbond_dma_trigger() local
940 tx_block->block_size = rx_block->block_size; in spi_smartbond_dma_trigger()
944 tx_block->source_address = (uint32_t)&spi_smartbond_read_dummy_buf; in spi_smartbond_dma_trigger()
946 tx_block->source_addr_adj = 0x2; in spi_smartbond_dma_trigger()
969 tx_block->block_size = data->tx_len * data->dfs; in spi_smartbond_dma_trigger()
970 tx_block->source_address = (uint32_t)ctx->tx_buf; in spi_smartbond_dma_trigger()
971 tx_block->source_addr_adj = 0x0; in spi_smartbond_dma_trigger()
991 tx_block->block_size = data->tx_len * data->dfs; in spi_smartbond_dma_trigger()
992 rx_block->block_size = tx_block->block_size; in spi_smartbond_dma_trigger()
995 tx_block->source_address = (uint32_t)ctx->tx_buf; in spi_smartbond_dma_trigger()
996 tx_block->source_addr_adj = 0x0; in spi_smartbond_dma_trigger()
998 tx_block->source_address = (uint32_t)&spi_smartbond_read_dummy_buf; in spi_smartbond_dma_trigger()
999 tx_block->source_addr_adj = 0x2; in spi_smartbond_dma_trigger()