Searched refs:rate_reg (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.10/sound/soc/mediatek/mt6797/ |
D | mt6797-dai-pcm.c | 187 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.10/sound/soc/mediatek/mt8183/ |
D | mt8183-dai-pcm.c | 187 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()
|
D | mt8183-dai-i2s.c | 713 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.10/sound/pci/emu10k1/ |
D | emuproc.c | 27 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.10/drivers/net/ethernet/ti/ |
D | davinci_cpdma.c | 358 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.10/sound/soc/codecs/ |
D | wm8995.c | 1552 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()
|
D | wm8994.c | 2921 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()
|