Searched refs:spi_dma_data (Results 1 – 1 of 1) sorted by relevance
134 struct spi_stm32_data *spi_dma_data = arg; in dma_callback() local138 spi_dma_data->status_flags |= SPI_STM32_DMA_ERROR_FLAG; in dma_callback()141 if (channel == spi_dma_data->dma_tx.channel) { in dma_callback()143 spi_dma_data->status_flags |= SPI_STM32_DMA_TX_DONE_FLAG; in dma_callback()144 } else if (channel == spi_dma_data->dma_rx.channel) { in dma_callback()146 spi_dma_data->status_flags |= SPI_STM32_DMA_RX_DONE_FLAG; in dma_callback()149 spi_dma_data->status_flags |= SPI_STM32_DMA_ERROR_FLAG; in dma_callback()153 k_sem_give(&spi_dma_data->status_sem); in dma_callback()