Lines Matching refs:cllr
246 u32 cllr; member
376 dev_dbg(chan2dev(chan), "| C%dLLR: %08x\n", chan->id, hwdesc->cllr); in stm32_dma3_chan_dump_hwdesc()
461 u32 cllr = readl_relaxed(ddata->base + STM32_DMA3_CLLR(chan->id)); in stm32_dma3_check_user_setting() local
468 if (!bndt && !FIELD_GET(CLLR_UB1, cllr)) in stm32_dma3_check_user_setting()
509 hwdesc->cllr = 0; in stm32_dma3_chan_prep_hwdesc()
511 hwdesc->cllr |= CLLR_UT1 | CLLR_UT2 | CLLR_UB1; in stm32_dma3_chan_prep_hwdesc()
512 hwdesc->cllr |= CLLR_USA | CLLR_UDA | CLLR_ULL; in stm32_dma3_chan_prep_hwdesc()
513 hwdesc->cllr |= (next_lli & CLLR_LA); in stm32_dma3_chan_prep_hwdesc()
761 writel_relaxed(hwdesc->cllr, ddata->base + STM32_DMA3_CLLR(id)); in stm32_dma3_chan_start()
811 static int stm32_dma3_chan_get_curr_hwdesc(struct stm32_dma3_swdesc *swdesc, u32 cllr, u32 *residue) in stm32_dma3_chan_get_curr_hwdesc() argument
813 u32 i, lli_offset, next_lli_offset = cllr & CLLR_LA; in stm32_dma3_chan_get_curr_hwdesc()
816 if (!cllr) in stm32_dma3_chan_get_curr_hwdesc()
841 u32 residue, curr_lli, csr, cdar, cbr1, cllr, bndt, fifol; in stm32_dma3_chan_set_residue() local
872 cllr = readl_relaxed(ddata->base + STM32_DMA3_CLLR(chan->id)); in stm32_dma3_chan_set_residue()
887 ret = stm32_dma3_chan_get_curr_hwdesc(swdesc, cllr, &residue); in stm32_dma3_chan_set_residue()