Lines Matching refs:next_blk_cfg

360 			struct dma_block_config *next_blk_cfg;  in spi_dma_tx_load()  local
362 next_blk_cfg = &data->dma_tx.chain_block[data->dma_tx.block_idx]; in spi_dma_tx_load()
365 blk_cfg->next_block = next_blk_cfg; in spi_dma_tx_load()
368 next_blk_cfg->block_size = current_tx->len / in spi_dma_tx_load()
375 next_blk_cfg->source_address = (uintptr_t)&dummy_rx_tx_buffer; in spi_dma_tx_load()
376 next_blk_cfg->source_addr_adj = DMA_ADDR_ADJ_NO_CHANGE; in spi_dma_tx_load()
378 next_blk_cfg->source_address = (uintptr_t)current_tx->buf; in spi_dma_tx_load()
380 next_blk_cfg->source_addr_adj = DMA_ADDR_ADJ_INCREMENT; in spi_dma_tx_load()
382 next_blk_cfg->source_addr_adj = DMA_ADDR_ADJ_NO_CHANGE; in spi_dma_tx_load()
386 next_blk_cfg->dest_address = (uint32_t)SPI_DATA(cfg->base); in spi_dma_tx_load()
389 next_blk_cfg->dest_addr_adj = DMA_ADDR_ADJ_INCREMENT; in spi_dma_tx_load()
391 next_blk_cfg->dest_addr_adj = DMA_ADDR_ADJ_NO_CHANGE; in spi_dma_tx_load()
394 blk_cfg = next_blk_cfg; in spi_dma_tx_load()
395 next_blk_cfg->next_block = NULL; in spi_dma_tx_load()
475 struct dma_block_config *next_blk_cfg; in spi_dma_rx_load() local
477 next_blk_cfg = &data->dma_rx.chain_block[data->dma_rx.block_idx]; in spi_dma_rx_load()
480 blk_cfg->next_block = next_blk_cfg; in spi_dma_rx_load()
483 next_blk_cfg->block_size = current_rx->len / in spi_dma_rx_load()
489 next_blk_cfg->dest_address = (uintptr_t)&dummy_rx_tx_buffer; in spi_dma_rx_load()
490 next_blk_cfg->dest_addr_adj = DMA_ADDR_ADJ_NO_CHANGE; in spi_dma_rx_load()
492 next_blk_cfg->dest_address = (uintptr_t)current_rx->buf; in spi_dma_rx_load()
494 next_blk_cfg->dest_addr_adj = DMA_ADDR_ADJ_INCREMENT; in spi_dma_rx_load()
496 next_blk_cfg->dest_addr_adj = DMA_ADDR_ADJ_NO_CHANGE; in spi_dma_rx_load()
500 next_blk_cfg->source_address = (uint32_t)SPI_DATA(cfg->base); in spi_dma_rx_load()
503 next_blk_cfg->source_addr_adj = DMA_ADDR_ADJ_INCREMENT; in spi_dma_rx_load()
505 next_blk_cfg->source_addr_adj = DMA_ADDR_ADJ_NO_CHANGE; in spi_dma_rx_load()
508 blk_cfg = next_blk_cfg; in spi_dma_rx_load()
509 next_blk_cfg->next_block = NULL; in spi_dma_rx_load()