Lines Matching refs:ccfg
81 u32 ccfg; member
371 c->ccfg = 0; in k3_dma_free_chan_resources()
448 dma_addr_t src, size_t len, u32 num, u32 ccfg) in k3_dma_fill_desc() argument
458 ds->desc_hw[num].config = ccfg; in k3_dma_fill_desc()
511 if (!c->ccfg) { in k3_dma_prep_memcpy()
513 c->ccfg = CX_CFG_SRCINCR | CX_CFG_DSTINCR | CX_CFG_EN; in k3_dma_prep_memcpy()
514 c->ccfg |= (0xf << 20) | (0xf << 24); /* burst = 16 */ in k3_dma_prep_memcpy()
515 c->ccfg |= (0x3 << 12) | (0x3 << 16); /* width = 64 bit */ in k3_dma_prep_memcpy()
520 k3_dma_fill_desc(ds, dst, src, copy, num++, c->ccfg); in k3_dma_prep_memcpy()
575 k3_dma_fill_desc(ds, dst, src, len, num++, c->ccfg); in k3_dma_prep_slave_sg()
641 k3_dma_fill_desc(ds, dst, src, len, num++, c->ccfg | en_tc2); in k3_dma_prep_dma_cyclic()
674 c->ccfg = CX_CFG_DSTINCR; in k3_dma_config_write()
679 c->ccfg = CX_CFG_SRCINCR; in k3_dma_config_write()
695 c->ccfg |= (val << 12) | (val << 16); in k3_dma_config_write()
701 c->ccfg |= (val << 20) | (val << 24); in k3_dma_config_write()
702 c->ccfg |= CX_CFG_MEM2PER | CX_CFG_EN; in k3_dma_config_write()
705 c->ccfg |= c->vc.chan.chan_id << 4; in k3_dma_config_write()