Lines Matching refs:ccfg
81 u32 ccfg; member
372 c->ccfg = 0; in k3_dma_free_chan_resources()
449 dma_addr_t src, size_t len, u32 num, u32 ccfg) in k3_dma_fill_desc() argument
459 ds->desc_hw[num].config = ccfg; in k3_dma_fill_desc()
512 if (!c->ccfg) { in k3_dma_prep_memcpy()
514 c->ccfg = CX_CFG_SRCINCR | CX_CFG_DSTINCR | CX_CFG_EN; in k3_dma_prep_memcpy()
515 c->ccfg |= (0xf << 20) | (0xf << 24); /* burst = 16 */ in k3_dma_prep_memcpy()
516 c->ccfg |= (0x3 << 12) | (0x3 << 16); /* width = 64 bit */ in k3_dma_prep_memcpy()
521 k3_dma_fill_desc(ds, dst, src, copy, num++, c->ccfg); in k3_dma_prep_memcpy()
576 k3_dma_fill_desc(ds, dst, src, len, num++, c->ccfg); in k3_dma_prep_slave_sg()
642 k3_dma_fill_desc(ds, dst, src, len, num++, c->ccfg | en_tc2); in k3_dma_prep_dma_cyclic()
675 c->ccfg = CX_CFG_DSTINCR; in k3_dma_config_write()
680 c->ccfg = CX_CFG_SRCINCR; in k3_dma_config_write()
696 c->ccfg |= (val << 12) | (val << 16); in k3_dma_config_write()
702 c->ccfg |= (val << 20) | (val << 24); in k3_dma_config_write()
703 c->ccfg |= CX_CFG_MEM2PER | CX_CFG_EN; in k3_dma_config_write()
706 c->ccfg |= c->vc.chan.chan_id << 4; in k3_dma_config_write()