Home
last modified time | relevance | path

Searched refs:rate_reg (Results 1 – 14 of 14) sorted by relevance

/linux-6.1.9/sound/soc/mediatek/mt8183/
Dmt8183-dai-pcm.c187 unsigned int rate_reg = mt8183_rate_transform(afe->dev, rate, dai->id); in mtk_dai_pcm_hw_params() local
195 rate_reg, in mtk_dai_pcm_hw_params()
213 pcm_con |= rate_reg << PCM_MODE_SFT; in mtk_dai_pcm_hw_params()
225 pcm_con |= rate_reg << PCM2_MODE_SFT; in mtk_dai_pcm_hw_params()
Dmt8183-dai-i2s.c712 unsigned int rate_reg = mt8183_rate_transform(afe->dev, in mtk_dai_i2s_config() local
735 I2S_MODE_MASK_SFT, rate_reg << I2S_MODE_SFT); in mtk_dai_i2s_config()
744 i2s_con |= rate_reg << I2S2_OUT_MODE_SFT; in mtk_dai_i2s_config()
752 i2s_con |= rate_reg << I2S3_OUT_MODE_SFT; in mtk_dai_i2s_config()
759 i2s_con = rate_reg << I2S4_OUT_MODE_SFT; in mtk_dai_i2s_config()
766 i2s_con = rate_reg << I2S5_OUT_MODE_SFT; in mtk_dai_i2s_config()
/linux-6.1.9/sound/soc/mediatek/mt6797/
Dmt6797-dai-pcm.c187 unsigned int rate_reg = mt6797_rate_transform(afe->dev, rate, dai->id); in mtk_dai_pcm_hw_params() local
195 rate_reg, in mtk_dai_pcm_hw_params()
213 pcm_con |= rate_reg << PCM_MODE_SFT; in mtk_dai_pcm_hw_params()
225 pcm_con |= rate_reg << PCM2_MODE_SFT; in mtk_dai_pcm_hw_params()
/linux-6.1.9/sound/soc/mediatek/mt8192/
Dmt8192-dai-pcm.c277 unsigned int rate_reg = mt8192_rate_transform(afe->dev, rate, dai->id); in mtk_dai_pcm_hw_params() local
285 rate_reg, in mtk_dai_pcm_hw_params()
303 pcm_con |= rate_reg << PCM_MODE_SFT; in mtk_dai_pcm_hw_params()
315 pcm_con |= rate_reg << PCM2_MODE_SFT; in mtk_dai_pcm_hw_params()
Dmt8192-dai-i2s.c1534 unsigned int rate_reg = mt8192_rate_transform(afe->dev, in mtk_dai_connsys_i2s_hw_params() local
1559 rate_reg << I2S_MODE_SFT); in mtk_dai_connsys_i2s_hw_params()
1670 unsigned int rate_reg = mt8192_rate_transform(afe->dev, in mtk_dai_i2s_config() local
1687 i2s_con |= rate_reg << I2S_OUT_MODE_SFT; in mtk_dai_i2s_config()
1695 i2s_con |= rate_reg << I2S2_OUT_MODE_SFT; in mtk_dai_i2s_config()
1703 i2s_con |= rate_reg << I2S3_OUT_MODE_SFT; in mtk_dai_i2s_config()
1710 i2s_con = rate_reg << I2S4_OUT_MODE_SFT; in mtk_dai_i2s_config()
1717 i2s_con = rate_reg << I2S5_OUT_MODE_SFT; in mtk_dai_i2s_config()
1724 i2s_con = rate_reg << I2S6_OUT_MODE_SFT; in mtk_dai_i2s_config()
1731 i2s_con = rate_reg << I2S7_OUT_MODE_SFT; in mtk_dai_i2s_config()
[all …]
/linux-6.1.9/sound/soc/mediatek/mt8186/
Dmt8186-dai-pcm.c224 unsigned int rate_reg = mt8186_rate_transform(afe->dev, rate, dai->id); in mtk_dai_pcm_hw_params() local
236 __func__, rate, rate_reg, data_width, wlen_width); in mtk_dai_pcm_hw_params()
253 pcm_con |= rate_reg << PCM_MODE_SFT; in mtk_dai_pcm_hw_params()
Dmt8186-dai-hw-gain.c131 unsigned int rate_reg = mt8186_rate_transform(afe->dev, rate, dai->id); in mtk_dai_gain_hw_params() local
141 rate_reg << GAIN1_MODE_SFT); in mtk_dai_gain_hw_params()
Dmt8186-dai-i2s.c815 unsigned int rate_reg = mt8186_rate_transform(afe->dev, in mtk_dai_connsys_i2s_hw_params() local
836 I2S_MODE_MASK_SFT, rate_reg << I2S_MODE_SFT); in mtk_dai_connsys_i2s_hw_params()
932 unsigned int rate_reg = mt8186_rate_transform(afe->dev, in mtk_dai_i2s_config() local
946 i2s_con |= rate_reg << I2S_OUT_MODE_SFT; in mtk_dai_i2s_config()
954 i2s_con |= rate_reg << I2S2_OUT_MODE_SFT; in mtk_dai_i2s_config()
962 i2s_con |= rate_reg << I2S3_OUT_MODE_SFT; in mtk_dai_i2s_config()
969 i2s_con = rate_reg << I2S4_OUT_MODE_SFT; in mtk_dai_i2s_config()
Dmt8186-dai-src.c557 unsigned int rate_reg = mt8186_rate_transform(afe->dev, rate, id); in mtk_dai_src_hw_params() local
583 regmap_update_bits(afe->regmap, GENERAL_ASRC_MODE, mask << sft, rate_reg << sft); in mtk_dai_src_hw_params()
/linux-6.1.9/sound/pci/emu10k1/
Demuproc.c27 int rate_reg) in snd_emu10k1_proc_spdif_status() argument
52 if (rate_reg > 0) { in snd_emu10k1_proc_spdif_status()
53 rate = snd_emu10k1_ptr_read(emu, rate_reg, 0); in snd_emu10k1_proc_spdif_status()
/linux-6.1.9/drivers/net/ethernet/ti/
Ddavinci_cpdma.c358 u32 rate_reg; in cpdma_chan_set_chan_shaper() local
365 rate_reg = CPDMA_TX_PRI0_RATE + 4 * chan->chan_num; in cpdma_chan_set_chan_shaper()
366 dma_reg_write(ctlr, rate_reg, chan->rate_factor); in cpdma_chan_set_chan_shaper()
450 u32 new_rate, best_rate = 0, rate_reg; in cpdma_chan_set_factors() local
505 rate_reg = CPDMA_TX_PRI0_RATE + 4 * ch->chan_num; in cpdma_chan_set_factors()
506 dma_reg_write(ctlr, rate_reg, ch->rate_factor); in cpdma_chan_set_factors()
/linux-6.1.9/sound/soc/codecs/
Dwm8995.c1552 int rate_reg; in wm8995_hw_params() local
1565 rate_reg = WM8995_AIF1_RATE; in wm8995_hw_params()
1577 rate_reg = WM8995_AIF2_RATE; in wm8995_hw_params()
1675 snd_soc_component_update_bits(component, rate_reg, in wm8995_hw_params()
Dwm8994.c2921 int rate_reg; in wm8994_hw_params() local
2936 rate_reg = WM8994_AIF1_RATE; in wm8994_hw_params()
2949 rate_reg = WM8994_AIF2_RATE; in wm8994_hw_params()
3069 snd_soc_component_update_bits(component, rate_reg, WM8994_AIF1_SR_MASK | in wm8994_hw_params()
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_nix.c1597 bool rate_reg = 0; in handle_txschq_shaper_update() local
1609 rate_reg = !!(regbase == NIX_AF_TL1X_CIR(0)); in handle_txschq_shaper_update()
1615 rate_reg = (regbase == NIX_AF_TL2X_CIR(0) || in handle_txschq_shaper_update()
1622 rate_reg = (regbase == NIX_AF_TL3X_CIR(0) || in handle_txschq_shaper_update()
1629 rate_reg = (regbase == NIX_AF_TL4X_CIR(0) || in handle_txschq_shaper_update()
1634 rate_reg = (regbase == NIX_AF_MDQX_CIR(0) || in handle_txschq_shaper_update()
1639 if (!rate_reg) in handle_txschq_shaper_update()