Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/dma/
A Dsun4i-dma.c407 sconfig->src_addr_width = sconfig->dst_addr_width; in sanitize_config()
410 sconfig->src_maxburst = sconfig->dst_maxburst; in sanitize_config()
420 sconfig->dst_addr_width = sconfig->src_addr_width; in sanitize_config()
423 sconfig->dst_maxburst = sconfig->src_maxburst; in sanitize_config()
466 sconfig->src_maxburst, sconfig->dst_maxburst, in generate_ndma_promise()
467 sconfig->src_addr_width, sconfig->dst_addr_width); in generate_ndma_promise()
641 sconfig->src_maxburst = 8; in sun4i_dma_prep_dma_memcpy()
714 src = sconfig->src_addr; in sun4i_dma_prep_dma_cyclic()
772 plength, sconfig); in sun4i_dma_prep_dma_cyclic()
864 sconfig); in sun4i_dma_prep_slave_sg()
[all …]
A Duniphier-xdmac.c91 struct dma_slave_config sconfig; member
151 buswidth = xc->sconfig.src_addr_width; in uniphier_xdmac_chan_start()
160 buswidth = xc->sconfig.dst_addr_width; in uniphier_xdmac_chan_start()
336 buswidth = xc->sconfig.src_addr_width; in uniphier_xdmac_prep_slave_sg()
337 maxburst = xc->sconfig.src_maxburst; in uniphier_xdmac_prep_slave_sg()
339 buswidth = xc->sconfig.dst_addr_width; in uniphier_xdmac_prep_slave_sg()
340 maxburst = xc->sconfig.dst_maxburst; in uniphier_xdmac_prep_slave_sg()
357 ? xc->sconfig.src_addr : sg_dma_address(sg); in uniphier_xdmac_prep_slave_sg()
359 ? xc->sconfig.dst_addr : sg_dma_address(sg); in uniphier_xdmac_prep_slave_sg()
400 memcpy(&xc->sconfig, config, sizeof(*config)); in uniphier_xdmac_slave_config()
A Dsun6i-dma.c586 struct dma_slave_config *sconfig, in set_config() argument
594 src_addr_width = sconfig->src_addr_width; in set_config()
595 dst_addr_width = sconfig->dst_addr_width; in set_config()
596 src_maxburst = sconfig->src_maxburst; in set_config()
597 dst_maxburst = sconfig->dst_maxburst; in set_config()
739 sconfig->dst_addr); in sun6i_dma_prep_slave_sg()
747 &sconfig->dst_addr, &sg_dma_address(sg), in sun6i_dma_prep_slave_sg()
752 sconfig->src_addr, in sun6i_dma_prep_slave_sg()
761 &sg_dma_address(sg), &sconfig->src_addr, in sun6i_dma_prep_slave_sg()
824 sconfig->dst_addr); in sun6i_dma_prep_dma_cyclic()
[all …]
A Dowl-dma.c384 struct dma_slave_config *sconfig, in owl_dma_cfg_lli() argument
408 if (sconfig->dst_addr_width == DMA_SLAVE_BUSWIDTH_1_BYTE) in owl_dma_cfg_lli()
421 if (sconfig->src_addr_width == DMA_SLAVE_BUSWIDTH_1_BYTE) in owl_dma_cfg_lli()
923 struct dma_slave_config *sconfig = &vchan->cfg; in owl_dma_prep_slave_sg() local
955 dst = sconfig->dst_addr; in owl_dma_prep_slave_sg()
957 src = sconfig->src_addr; in owl_dma_prep_slave_sg()
961 ret = owl_dma_cfg_lli(vchan, lli, src, dst, len, dir, sconfig, in owl_dma_prep_slave_sg()
988 struct dma_slave_config *sconfig = &vchan->cfg; in owl_prep_dma_cyclic() local
1011 dst = sconfig->dst_addr; in owl_prep_dma_cyclic()
1013 src = sconfig->src_addr; in owl_prep_dma_cyclic()
[all …]
A Dat_hdmac.c1269 ctrla = FIELD_PREP(ATC_SCSIZE, sconfig->src_maxburst) | in atc_prep_slave_sg()
1270 FIELD_PREP(ATC_DCSIZE, sconfig->dst_maxburst); in atc_prep_slave_sg()
1275 reg_width = convert_buswidth(sconfig->dst_addr_width); in atc_prep_slave_sg()
1283 reg = sconfig->dst_addr; in atc_prep_slave_sg()
1323 reg_width = convert_buswidth(sconfig->src_addr_width); in atc_prep_slave_sg()
1332 reg = sconfig->src_addr; in atc_prep_slave_sg()
1433 lli->daddr = sconfig->dst_addr; in atc_dma_cyclic_fill_desc()
1445 lli->saddr = sconfig->src_addr; in atc_dma_cyclic_fill_desc()
1461 FIELD_PREP(ATC_DCSIZE, sconfig->dst_maxburst) | in atc_dma_cyclic_fill_desc()
1547 struct dma_slave_config *sconfig) in atc_config() argument
[all …]
A Dat_xdmac.c231 struct dma_slave_config sconfig; member
677 csize = ffs(atchan->sconfig.src_maxburst) - 1; in at_xdmac_compute_chan_conf()
702 csize = ffs(atchan->sconfig.dst_maxburst) - 1; in at_xdmac_compute_chan_conf()
728 if ((sconfig->src_maxburst > AT_XDMAC_MAX_CSIZE) in at_xdmac_check_slave_config()
740 struct dma_slave_config *sconfig) in at_xdmac_set_slave_config() argument
744 if (at_xdmac_check_slave_config(sconfig)) { in at_xdmac_set_slave_config()
749 memcpy(&atchan->sconfig, sconfig, sizeof(atchan->sconfig)); in at_xdmac_set_slave_config()
811 desc->lld.mbr_sa = atchan->sconfig.src_addr; in at_xdmac_prep_slave_sg()
815 desc->lld.mbr_da = atchan->sconfig.dst_addr; in at_xdmac_prep_slave_sg()
904 desc->lld.mbr_sa = atchan->sconfig.src_addr; in at_xdmac_prep_dma_cyclic()
[all …]
A Dtegra210-adma.c135 struct dma_slave_config sconfig; member
209 struct dma_slave_config *sconfig) in tegra_adma_slave_config() argument
213 memcpy(&tdc->sconfig, sconfig, sizeof(*sconfig)); in tegra_adma_slave_config()
569 burst_size = tdc->sconfig.dst_maxburst; in tegra_adma_set_xfer_params()
580 burst_size = tdc->sconfig.src_maxburst; in tegra_adma_set_xfer_params()
A Dtegra186-gpc-dma.c364 struct dma_slave_config *sconfig) in tegra_dma_slave_config() argument
368 memcpy(&tdc->dma_sconfig, sconfig, sizeof(*sconfig)); in tegra_dma_slave_config()
A Dtegra20-apb-dma.c336 struct dma_slave_config *sconfig) in tegra_dma_slave_config() argument
345 memcpy(&tdc->dma_sconfig, sconfig, sizeof(*sconfig)); in tegra_dma_slave_config()
/linux-6.3-rc2/sound/soc/codecs/
A Dwcd938x-sdw.c111 wcd->sconfig.ch_count = 1; in wcd938x_sdw_hw_params()
120 wcd->sconfig.ch_count++; in wcd938x_sdw_hw_params()
126 wcd->sconfig.bps = 1; in wcd938x_sdw_hw_params()
127 wcd->sconfig.frame_rate = params_rate(params); in wcd938x_sdw_hw_params()
129 wcd->sconfig.direction = SDW_DATA_DIR_TX; in wcd938x_sdw_hw_params()
131 wcd->sconfig.direction = SDW_DATA_DIR_RX; in wcd938x_sdw_hw_params()
133 wcd->sconfig.type = SDW_STREAM_PCM; in wcd938x_sdw_hw_params()
135 return sdw_stream_add_slave(wcd->sdev, &wcd->sconfig, in wcd938x_sdw_hw_params()
A Dwsa881x.c675 struct sdw_stream_config sconfig; member
997 return sdw_stream_add_slave(wsa881x->slave, &wsa881x->sconfig, in wsa881x_hw_params()
1151 wsa881x->sconfig.ch_count = 1; in wsa881x_probe()
1152 wsa881x->sconfig.bps = 1; in wsa881x_probe()
1153 wsa881x->sconfig.frame_rate = 48000; in wsa881x_probe()
1154 wsa881x->sconfig.direction = SDW_DATA_DIR_RX; in wsa881x_probe()
1155 wsa881x->sconfig.type = SDW_STREAM_PDM; in wsa881x_probe()
A Dwsa883x.c436 struct sdw_stream_config sconfig; member
1295 wsa883x->sconfig.frame_rate = params_rate(params); in wsa883x_hw_params()
1297 return sdw_stream_add_slave(wsa883x->slave, &wsa883x->sconfig, in wsa883x_hw_params()
1398 wsa883x->sconfig.ch_count = 1; in wsa883x_probe()
1399 wsa883x->sconfig.bps = 1; in wsa883x_probe()
1400 wsa883x->sconfig.direction = SDW_DATA_DIR_RX; in wsa883x_probe()
1401 wsa883x->sconfig.type = SDW_STREAM_PDM; in wsa883x_probe()
A Dwcd9335.c291 struct slim_stream_config sconfig; member
1716 struct slim_stream_config *cfg = &dai_data->sconfig; in wcd9335_slim_set_hw_params()
1886 wcd->dai[dai->id].sconfig.bps = params_width(params); in wcd9335_hw_params()
1933 wcd->dai[dai->id].sconfig.bps = params_width(params); in wcd9335_hw_params()
1947 wcd->dai[dai->id].sconfig.rate = params_rate(params); in wcd9335_hw_params()
1968 cfg = &dai_data->sconfig; in wcd9335_trigger()
3023 kfree(dai->sconfig.chs); in wcd9335_codec_enable_slim()
A Dwcd938x.h656 struct sdw_stream_config sconfig; member
A Dwcd934x.c514 struct slim_stream_config sconfig; member
1720 struct slim_stream_config *cfg = &dai_data->sconfig; in wcd934x_slim_set_hw_params()
1813 wcd->dai[dai->id].sconfig.bps = params_width(params); in wcd934x_hw_params()
1860 wcd->dai[dai->id].sconfig.bps = params_width(params); in wcd934x_hw_params()
1874 wcd->dai[dai->id].sconfig.rate = params_rate(params); in wcd934x_hw_params()
1889 kfree(dai_data->sconfig.chs); in wcd934x_hw_free()
1909 cfg = &dai_data->sconfig; in wcd934x_trigger()
/linux-6.3-rc2/drivers/dma/dw/
A Ddw.c69 struct dma_slave_config *sconfig = &dwc->dma_sconfig; in dw_dma_prepare_ctllo() local
70 u8 smsize = (dwc->direction == DMA_DEV_TO_MEM) ? sconfig->src_maxburst : 0; in dw_dma_prepare_ctllo()
71 u8 dmsize = (dwc->direction == DMA_MEM_TO_DEV) ? sconfig->dst_maxburst : 0; in dw_dma_prepare_ctllo()
A Didma32.c204 struct dma_slave_config *sconfig = &dwc->dma_sconfig; in idma32_prepare_ctllo() local
205 u8 smsize = (dwc->direction == DMA_DEV_TO_MEM) ? sconfig->src_maxburst : 0; in idma32_prepare_ctllo()
206 u8 dmsize = (dwc->direction == DMA_MEM_TO_DEV) ? sconfig->dst_maxburst : 0; in idma32_prepare_ctllo()
A Dcore.c620 struct dma_slave_config *sconfig = &dwc->dma_sconfig; in dwc_prep_slave_sg() local
645 reg_width = __ffs(sconfig->dst_addr_width); in dwc_prep_slave_sg()
646 reg = sconfig->dst_addr; in dwc_prep_slave_sg()
652 ctllo |= sconfig->device_fc ? DWC_CTLL_FC(DW_DMA_FC_P_M2P) : in dwc_prep_slave_sg()
695 reg_width = __ffs(sconfig->src_addr_width); in dwc_prep_slave_sg()
696 reg = sconfig->src_addr; in dwc_prep_slave_sg()
702 ctllo |= sconfig->device_fc ? DWC_CTLL_FC(DW_DMA_FC_P_P2M) : in dwc_prep_slave_sg()
783 static int dwc_config(struct dma_chan *chan, struct dma_slave_config *sconfig) in dwc_config() argument
788 memcpy(&dwc->dma_sconfig, sconfig, sizeof(*sconfig)); in dwc_config()
/linux-6.3-rc2/drivers/soundwire/
A Dintel.c789 struct sdw_stream_config sconfig; in intel_hw_params() local
829 sconfig.direction = dir; in intel_hw_params()
830 sconfig.ch_count = ch; in intel_hw_params()
831 sconfig.frame_rate = params_rate(params); in intel_hw_params()
832 sconfig.type = dai_runtime->stream_type; in intel_hw_params()
834 sconfig.bps = snd_pcm_format_width(params_format(params)); in intel_hw_params()
846 ret = sdw_stream_add_master(&cdns->bus, &sconfig, in intel_hw_params()
A Dqcom.c973 struct sdw_stream_config sconfig; in qcom_swrm_stream_alloc_ports() local
1016 sconfig.direction = SDW_DATA_DIR_TX; in qcom_swrm_stream_alloc_ports()
1018 sconfig.direction = SDW_DATA_DIR_RX; in qcom_swrm_stream_alloc_ports()
1021 sconfig.ch_count = 1; in qcom_swrm_stream_alloc_ports()
1022 sconfig.frame_rate = params_rate(params); in qcom_swrm_stream_alloc_ports()
1023 sconfig.type = stream->type; in qcom_swrm_stream_alloc_ports()
1024 sconfig.bps = 1; in qcom_swrm_stream_alloc_ports()
1025 sdw_stream_add_master(&ctrl->bus, &sconfig, pconfig, in qcom_swrm_stream_alloc_ports()

Completed in 117 milliseconds