Home
last modified time | relevance | path

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

/Linux-v5.15/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-v5.15/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.c713 unsigned int rate_reg = mt8183_rate_transform(afe->dev, in mtk_dai_i2s_config() local
736 I2S_MODE_MASK_SFT, rate_reg << I2S_MODE_SFT); in mtk_dai_i2s_config()
745 i2s_con |= rate_reg << I2S2_OUT_MODE_SFT; in mtk_dai_i2s_config()
753 i2s_con |= rate_reg << I2S3_OUT_MODE_SFT; in mtk_dai_i2s_config()
760 i2s_con = rate_reg << I2S4_OUT_MODE_SFT; in mtk_dai_i2s_config()
767 i2s_con = rate_reg << I2S5_OUT_MODE_SFT; in mtk_dai_i2s_config()
/Linux-v5.15/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.c1535 unsigned int rate_reg = mt8192_rate_transform(afe->dev, in mtk_dai_connsys_i2s_hw_params() local
1560 rate_reg << I2S_MODE_SFT); in mtk_dai_connsys_i2s_hw_params()
1671 unsigned int rate_reg = mt8192_rate_transform(afe->dev, in mtk_dai_i2s_config() local
1688 i2s_con |= rate_reg << I2S_OUT_MODE_SFT; in mtk_dai_i2s_config()
1696 i2s_con |= rate_reg << I2S2_OUT_MODE_SFT; in mtk_dai_i2s_config()
1704 i2s_con |= rate_reg << I2S3_OUT_MODE_SFT; in mtk_dai_i2s_config()
1711 i2s_con = rate_reg << I2S4_OUT_MODE_SFT; in mtk_dai_i2s_config()
1718 i2s_con = rate_reg << I2S5_OUT_MODE_SFT; in mtk_dai_i2s_config()
1725 i2s_con = rate_reg << I2S6_OUT_MODE_SFT; in mtk_dai_i2s_config()
1732 i2s_con = rate_reg << I2S7_OUT_MODE_SFT; in mtk_dai_i2s_config()
[all …]
/Linux-v5.15/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-v5.15/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-v5.15/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-v5.15/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_nix.c1528 bool rate_reg = 0; in handle_txschq_shaper_update() local
1540 rate_reg = !!(regbase == NIX_AF_TL1X_CIR(0)); in handle_txschq_shaper_update()
1546 rate_reg = (regbase == NIX_AF_TL2X_CIR(0) || in handle_txschq_shaper_update()
1553 rate_reg = (regbase == NIX_AF_TL3X_CIR(0) || in handle_txschq_shaper_update()
1560 rate_reg = (regbase == NIX_AF_TL4X_CIR(0) || in handle_txschq_shaper_update()
1565 rate_reg = (regbase == NIX_AF_MDQX_CIR(0) || in handle_txschq_shaper_update()
1570 if (!rate_reg) in handle_txschq_shaper_update()