Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/dma/
Ddma_xmc4xxx.c224 uint8_t dlr_line_reg = XMC4XXX_DMA_GET_LINE(config->dma_slot); in dma_xmc4xxx_config() local
226 dlr_line = dlr_line_reg; in dma_xmc4xxx_config()
247 DLR->SRSEL0 &= ~(DLR_SRSEL_RS_MSK << (dlr_line_reg * DLR_SRSEL_RS_BITSIZE)); in dma_xmc4xxx_config()
248 DLR->SRSEL0 |= request_source << (dlr_line_reg * DLR_SRSEL_RS_BITSIZE); in dma_xmc4xxx_config()
252 dlr_line_reg -= 8; in dma_xmc4xxx_config()
253 DLR->SRSEL1 &= ~(DLR_SRSEL_RS_MSK << (dlr_line_reg * DLR_SRSEL_RS_BITSIZE)); in dma_xmc4xxx_config()
254 DLR->SRSEL1 |= request_source << (dlr_line_reg * DLR_SRSEL_RS_BITSIZE); in dma_xmc4xxx_config()
259 dma->CH[channel].CFGH = (dlr_line_reg << GPDMA0_CH_CFGH_DEST_PER_Pos) | 4; in dma_xmc4xxx_config()
265 dma->CH[channel].CFGH = (dlr_line_reg << GPDMA0_CH_CFGH_SRC_PER_Pos) | 4; in dma_xmc4xxx_config()