Lines Matching refs:dma_blk_cfg
28 struct dma_block_config dma_blk_cfg; member
233 data->dma_rx.dma_blk_cfg.next_block = NULL; in spi_dma_move_buffers()
234 data->dma_tx.dma_blk_cfg.next_block = NULL; in spi_dma_move_buffers()
309 memset(&data->dma_tx.dma_blk_cfg, 0, sizeof(struct dma_block_config)); in spi_dma_tx_load()
312 data->dma_tx.dma_blk_cfg.block_size = data->chunk_len / in spi_dma_tx_load()
315 data->dma_tx.dma_blk_cfg.block_size = ctx->current_tx->len / in spi_dma_tx_load()
323 data->dma_tx.dma_blk_cfg.source_address = (uintptr_t)&dummy_rx_tx_buffer; in spi_dma_tx_load()
324 data->dma_tx.dma_blk_cfg.source_addr_adj = DMA_ADDR_ADJ_NO_CHANGE; in spi_dma_tx_load()
326 data->dma_tx.dma_blk_cfg.source_address = (uintptr_t)ctx->current_tx->buf; in spi_dma_tx_load()
328 data->dma_tx.dma_blk_cfg.source_addr_adj = DMA_ADDR_ADJ_INCREMENT; in spi_dma_tx_load()
330 data->dma_tx.dma_blk_cfg.source_addr_adj = DMA_ADDR_ADJ_NO_CHANGE; in spi_dma_tx_load()
338 data->dma_tx.dma_blk_cfg.dest_address = (uint32_t)SPI_DATA(cfg->base); in spi_dma_tx_load()
341 data->dma_tx.dma_blk_cfg.dest_addr_adj = DMA_ADDR_ADJ_INCREMENT; in spi_dma_tx_load()
343 data->dma_tx.dma_blk_cfg.dest_addr_adj = DMA_ADDR_ADJ_NO_CHANGE; in spi_dma_tx_load()
347 data->dma_tx.dma_cfg.head_block = &data->dma_tx.dma_blk_cfg; in spi_dma_tx_load()
356 struct dma_block_config *blk_cfg = &data->dma_tx.dma_blk_cfg; in spi_dma_tx_load()
401 data->dma_tx.dma_blk_cfg.next_block = NULL; in spi_dma_tx_load()
412 data->dma_tx.dma_blk_cfg.next_block = NULL; in spi_dma_tx_load()
427 memset(&data->dma_rx.dma_blk_cfg, 0, sizeof(struct dma_block_config)); in spi_dma_rx_load()
430 data->dma_rx.dma_blk_cfg.block_size = data->chunk_len / in spi_dma_rx_load()
433 data->dma_rx.dma_blk_cfg.block_size = ctx->current_rx->len / in spi_dma_rx_load()
440 data->dma_rx.dma_blk_cfg.dest_address = (uintptr_t)&dummy_rx_tx_buffer; in spi_dma_rx_load()
441 data->dma_rx.dma_blk_cfg.dest_addr_adj = DMA_ADDR_ADJ_NO_CHANGE; in spi_dma_rx_load()
443 data->dma_rx.dma_blk_cfg.dest_address = (uintptr_t)ctx->current_rx->buf; in spi_dma_rx_load()
445 data->dma_rx.dma_blk_cfg.dest_addr_adj = DMA_ADDR_ADJ_INCREMENT; in spi_dma_rx_load()
447 data->dma_rx.dma_blk_cfg.dest_addr_adj = DMA_ADDR_ADJ_NO_CHANGE; in spi_dma_rx_load()
455 data->dma_rx.dma_blk_cfg.source_address = (uint32_t)SPI_DATA(cfg->base); in spi_dma_rx_load()
458 data->dma_rx.dma_blk_cfg.source_addr_adj = DMA_ADDR_ADJ_INCREMENT; in spi_dma_rx_load()
460 data->dma_rx.dma_blk_cfg.source_addr_adj = DMA_ADDR_ADJ_NO_CHANGE; in spi_dma_rx_load()
463 data->dma_rx.dma_cfg.head_block = &data->dma_rx.dma_blk_cfg; in spi_dma_rx_load()
471 struct dma_block_config *blk_cfg = &data->dma_rx.dma_blk_cfg; in spi_dma_rx_load()
514 data->dma_rx.dma_blk_cfg.next_block = NULL; in spi_dma_rx_load()
525 data->dma_rx.dma_blk_cfg.next_block = NULL; in spi_dma_rx_load()
854 data->dma_tx.dma_blk_cfg.next_block = NULL; in spi_atcspi200_irq_handler()
862 data->dma_rx.dma_blk_cfg.next_block = NULL; in spi_atcspi200_irq_handler()