Lines Matching refs:slave_cfg
198 struct dma_slave_config slave_cfg; member
750 struct dma_slave_config *slave_cfg) in sprd_dma_fill_desc() argument
762 src_step = sprd_dma_get_step(slave_cfg->src_addr_width); in sprd_dma_fill_desc()
778 dst_step = sprd_dma_get_step(slave_cfg->dst_addr_width); in sprd_dma_fill_desc()
786 src_datawidth = sprd_dma_get_datawidth(slave_cfg->src_addr_width); in sprd_dma_fill_desc()
792 dst_datawidth = sprd_dma_get_datawidth(slave_cfg->dst_addr_width); in sprd_dma_fill_desc()
798 if (slave_cfg->slave_id) in sprd_dma_fill_desc()
799 schan->dev_id = slave_cfg->slave_id; in sprd_dma_fill_desc()
836 temp |= slave_cfg->src_maxburst & SPRD_DMA_FRG_LEN_MASK; in sprd_dma_fill_desc()
839 hw->blk_len = slave_cfg->src_maxburst & SPRD_DMA_BLK_LEN_MASK; in sprd_dma_fill_desc()
884 struct dma_slave_config *slave_cfg) in sprd_dma_fill_linklist_desc() argument
896 dir, flags, slave_cfg); in sprd_dma_fill_linklist_desc()
960 struct dma_slave_config *slave_cfg = &schan->slave_cfg; in sprd_dma_prep_slave_sg() local
1005 dst = slave_cfg->dst_addr; in sprd_dma_prep_slave_sg()
1007 src = slave_cfg->src_addr; in sprd_dma_prep_slave_sg()
1025 dir, flags, slave_cfg); in sprd_dma_prep_slave_sg()
1033 start_dst, len, dir, flags, slave_cfg); in sprd_dma_prep_slave_sg()
1046 struct dma_slave_config *slave_cfg = &schan->slave_cfg; in sprd_dma_slave_config() local
1048 memcpy(slave_cfg, config, sizeof(*config)); in sprd_dma_slave_config()