Home
last modified time | relevance | path

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

/drivers/dma/
Dat_hdmac.c689 struct dma_slave_config *sconfig = &atchan->dma_sconfig; in atc_prep_slave_sg() local
711 ctrla = ATC_SCSIZE(sconfig->src_maxburst) in atc_prep_slave_sg()
712 | ATC_DCSIZE(sconfig->dst_maxburst); in atc_prep_slave_sg()
717 reg_width = convert_buswidth(sconfig->dst_addr_width); in atc_prep_slave_sg()
723 reg = sconfig->dst_addr; in atc_prep_slave_sg()
756 reg_width = convert_buswidth(sconfig->src_addr_width); in atc_prep_slave_sg()
763 reg = sconfig->src_addr; in atc_prep_slave_sg()
850 struct dma_slave_config *sconfig = &atchan->dma_sconfig; in atc_dma_cyclic_fill_desc() local
854 ctrla = ATC_SCSIZE(sconfig->src_maxburst) in atc_dma_cyclic_fill_desc()
855 | ATC_DCSIZE(sconfig->dst_maxburst) in atc_dma_cyclic_fill_desc()
[all …]
Dsun6i-dma.c595 struct dma_slave_config *sconfig = &vchan->cfg; in sun6i_dma_prep_slave_sg() local
621 sconfig->dst_addr, sg_dma_len(sg), in sun6i_dma_prep_slave_sg()
622 sconfig); in sun6i_dma_prep_slave_sg()
634 &sconfig->dst_addr, &sg_dma_address(sg), in sun6i_dma_prep_slave_sg()
638 ret = sun6i_dma_cfg_lli(v_lli, sconfig->src_addr, in sun6i_dma_prep_slave_sg()
640 sconfig); in sun6i_dma_prep_slave_sg()
652 &sg_dma_address(sg), &sconfig->src_addr, in sun6i_dma_prep_slave_sg()
Dtegra20-apb-dma.c342 struct dma_slave_config *sconfig) in tegra_dma_slave_config() argument
351 memcpy(&tdc->dma_sconfig, sconfig, sizeof(*sconfig)); in tegra_dma_slave_config()
353 tdc->slave_id = sconfig->slave_id; in tegra_dma_slave_config()
/drivers/dma/dw/
Dcore.c759 struct dma_slave_config *sconfig = &dwc->dma_sconfig; in dwc_prep_slave_sg() local
782 reg_width = __fls(sconfig->dst_addr_width); in dwc_prep_slave_sg()
783 reg = sconfig->dst_addr; in dwc_prep_slave_sg()
789 ctllo |= sconfig->device_fc ? DWC_CTLL_FC(DW_DMA_FC_P_M2P) : in dwc_prep_slave_sg()
842 reg_width = __fls(sconfig->src_addr_width); in dwc_prep_slave_sg()
843 reg = sconfig->src_addr; in dwc_prep_slave_sg()
849 ctllo |= sconfig->device_fc ? DWC_CTLL_FC(DW_DMA_FC_P_P2M) : in dwc_prep_slave_sg()
955 set_runtime_config(struct dma_chan *chan, struct dma_slave_config *sconfig) in set_runtime_config() argument
960 if (!is_slave_direction(sconfig->direction)) in set_runtime_config()
963 memcpy(&dwc->dma_sconfig, sconfig, sizeof(*sconfig)); in set_runtime_config()
[all …]