Lines Matching refs:dma_cfg

109 	struct dma_config dma_cfg = {0};  in i2c_dw_idma_rx_transfer()  local
117 dma_cfg.dma_slot = 1U; in i2c_dw_idma_rx_transfer()
118 dma_cfg.channel_direction = PERIPHERAL_TO_MEMORY; in i2c_dw_idma_rx_transfer()
119 dma_cfg.source_data_size = 1U; in i2c_dw_idma_rx_transfer()
120 dma_cfg.dest_data_size = 1U; in i2c_dw_idma_rx_transfer()
121 dma_cfg.source_burst_length = 1U; in i2c_dw_idma_rx_transfer()
122 dma_cfg.dest_burst_length = 1U; in i2c_dw_idma_rx_transfer()
123 dma_cfg.dma_callback = cb_i2c_idma_transfer; in i2c_dw_idma_rx_transfer()
124 dma_cfg.user_data = (void *)dev; in i2c_dw_idma_rx_transfer()
125 dma_cfg.complete_callback_en = 0U; in i2c_dw_idma_rx_transfer()
126 dma_cfg.error_callback_dis = 0U; in i2c_dw_idma_rx_transfer()
127 dma_cfg.block_count = 1U; in i2c_dw_idma_rx_transfer()
128 dma_cfg.head_block = &dma_block_cfg; in i2c_dw_idma_rx_transfer()
135 if (dma_config(rom->dma_dev, DMA_INTEL_LPSS_RX_CHAN, &dma_cfg)) { in i2c_dw_idma_rx_transfer()
156 struct dma_config dma_cfg = {0}; in i2c_dw_idma_tx_transfer() local
164 dma_cfg.dma_slot = 0U; in i2c_dw_idma_tx_transfer()
165 dma_cfg.channel_direction = MEMORY_TO_PERIPHERAL; in i2c_dw_idma_tx_transfer()
166 dma_cfg.source_data_size = 1U; in i2c_dw_idma_tx_transfer()
167 dma_cfg.dest_data_size = 1U; in i2c_dw_idma_tx_transfer()
168 dma_cfg.source_burst_length = 1U; in i2c_dw_idma_tx_transfer()
169 dma_cfg.dest_burst_length = 1U; in i2c_dw_idma_tx_transfer()
170 dma_cfg.dma_callback = cb_i2c_idma_transfer; in i2c_dw_idma_tx_transfer()
171 dma_cfg.user_data = (void *)dev; in i2c_dw_idma_tx_transfer()
172 dma_cfg.complete_callback_en = 0U; in i2c_dw_idma_tx_transfer()
173 dma_cfg.error_callback_dis = 0U; in i2c_dw_idma_tx_transfer()
174 dma_cfg.block_count = 1U; in i2c_dw_idma_tx_transfer()
175 dma_cfg.head_block = &dma_block_cfg; in i2c_dw_idma_tx_transfer()
182 if (dma_config(rom->dma_dev, DMA_INTEL_LPSS_TX_CHAN, &dma_cfg)) { in i2c_dw_idma_tx_transfer()