Lines Matching refs:dma_cfg
412 struct dma_config dma_cfg = { 0 }; in spi_sam0_dma_rx_load() local
416 dma_cfg.channel_direction = PERIPHERAL_TO_MEMORY; in spi_sam0_dma_rx_load()
417 dma_cfg.source_data_size = 1; in spi_sam0_dma_rx_load()
418 dma_cfg.dest_data_size = 1; in spi_sam0_dma_rx_load()
419 dma_cfg.user_data = data; in spi_sam0_dma_rx_load()
420 dma_cfg.dma_callback = spi_sam0_dma_rx_done; in spi_sam0_dma_rx_load()
421 dma_cfg.block_count = 1; in spi_sam0_dma_rx_load()
422 dma_cfg.head_block = &dma_blk; in spi_sam0_dma_rx_load()
423 dma_cfg.dma_slot = cfg->rx_dma_request; in spi_sam0_dma_rx_load()
440 &dma_cfg); in spi_sam0_dma_rx_load()
453 struct dma_config dma_cfg = { 0 }; in spi_sam0_dma_tx_load() local
457 dma_cfg.channel_direction = PERIPHERAL_TO_MEMORY; in spi_sam0_dma_tx_load()
458 dma_cfg.source_data_size = 1; in spi_sam0_dma_tx_load()
459 dma_cfg.dest_data_size = 1; in spi_sam0_dma_tx_load()
460 dma_cfg.block_count = 1; in spi_sam0_dma_tx_load()
461 dma_cfg.head_block = &dma_blk; in spi_sam0_dma_tx_load()
462 dma_cfg.dma_slot = cfg->tx_dma_request; in spi_sam0_dma_tx_load()
479 &dma_cfg); in spi_sam0_dma_tx_load()