Lines Matching refs:dlr_line
37 uint8_t dlr_line; member
104 if (dma_channel->dlr_line != DLR_LINE_UNSET && in dma_xmc4xxx_isr()
105 sr_overruns & BIT(dma_channel->dlr_line)) { in dma_xmc4xxx_isr()
112 DLR->LNEN &= ~BIT(dma_channel->dlr_line); in dma_xmc4xxx_isr()
113 DLR->LNEN |= BIT(dma_channel->dlr_line); in dma_xmc4xxx_isr()
129 uint8_t dlr_line = DLR_LINE_UNSET; in dma_xmc4xxx_config() local
226 dlr_line = dlr_line_reg; in dma_xmc4xxx_config()
227 if (dma == XMC_DMA0 && dlr_line > 7) { in dma_xmc4xxx_config()
229 "Should be in range [0,7]", dlr_line); in dma_xmc4xxx_config()
233 if (dma == XMC_DMA1 && (dlr_line < 8 || dlr_line > 11)) { in dma_xmc4xxx_config()
235 "Should be in range [8,11]", dlr_line); in dma_xmc4xxx_config()
240 DLR->OVRCLR = BIT(dlr_line); in dma_xmc4xxx_config()
242 DLR->LNEN &= ~BIT(dlr_line); in dma_xmc4xxx_config()
243 DLR->LNEN |= BIT(dlr_line); in dma_xmc4xxx_config()
289 dev_data->channels[channel].dlr_line = dlr_line; in dma_xmc4xxx_config()
334 if (dma_channel->dlr_line != DLR_LINE_UNSET) { in dma_xmc4xxx_stop()
335 DLR->LNEN &= ~BIT(dma_channel->dlr_line); in dma_xmc4xxx_stop()
338 dma_channel->dlr_line = DLR_LINE_UNSET; in dma_xmc4xxx_stop()