Lines Matching refs:blk_cfg
411 struct dma_block_config *blk_cfg; in i2s_mcux_config_dma_blocks() local
416 blk_cfg = &dev_data->rx_dma_blocks[0]; in i2s_mcux_config_dma_blocks()
417 memset(blk_cfg, 0, sizeof(dev_data->rx_dma_blocks)); in i2s_mcux_config_dma_blocks()
420 blk_cfg = &dev_data->tx_dma_block; in i2s_mcux_config_dma_blocks()
421 memset(blk_cfg, 0, sizeof(dev_data->tx_dma_block)); in i2s_mcux_config_dma_blocks()
424 stream->dma_cfg.head_block = blk_cfg; in i2s_mcux_config_dma_blocks()
428 blk_cfg->source_address = (uint32_t)&base->FIFORD; in i2s_mcux_config_dma_blocks()
429 blk_cfg->dest_address = (uint32_t)buffer[0]; in i2s_mcux_config_dma_blocks()
430 blk_cfg->block_size = block_size; in i2s_mcux_config_dma_blocks()
431 blk_cfg->next_block = &dev_data->rx_dma_blocks[1]; in i2s_mcux_config_dma_blocks()
432 blk_cfg->dest_reload_en = 1; in i2s_mcux_config_dma_blocks()
434 blk_cfg = &dev_data->rx_dma_blocks[1]; in i2s_mcux_config_dma_blocks()
435 blk_cfg->source_address = (uint32_t)&base->FIFORD; in i2s_mcux_config_dma_blocks()
436 blk_cfg->dest_address = (uint32_t)buffer[1]; in i2s_mcux_config_dma_blocks()
437 blk_cfg->block_size = block_size; in i2s_mcux_config_dma_blocks()
439 blk_cfg->dest_address = (uint32_t)&base->FIFOWR; in i2s_mcux_config_dma_blocks()
440 blk_cfg->source_address = (uint32_t)buffer; in i2s_mcux_config_dma_blocks()
441 blk_cfg->block_size = block_size; in i2s_mcux_config_dma_blocks()