Home
last modified time | relevance | path

Searched refs:STM_DMA_FEIFx_OFFSET (Results 1 – 1 of 1) sorted by relevance

/device/google/contexthub/firmware/os/platform/stm32/
Ddma.c173 static const unsigned int STM_DMA_FEIFx_OFFSET[] = { 0, 6, 16, 22 }; variable
179 return (dev->regs->LISR >> STM_DMA_FEIFx_OFFSET[stream]) & STM_DMA_ISR_MASK; in dmaGetIsr()
181 return (dev->regs->HISR >> STM_DMA_FEIFx_OFFSET[stream - 4]) & STM_DMA_ISR_MASK; in dmaGetIsr()
188 dev->regs->LIFCR = mask << STM_DMA_FEIFx_OFFSET[stream]; in dmaClearIsr()
190 dev->regs->HIFCR = mask << STM_DMA_FEIFx_OFFSET[stream - 4]; in dmaClearIsr()