Searched refs:i2s_priv (Results 1 – 6 of 6) sorted by relevance
/linux/sound/soc/mediatek/mt8183/ |
H A D | mt8183-dai-i2s.c | 123 struct mtk_afe_i2s_priv *i2s_priv; in mt8183_i2s_hd_get() local 125 i2s_priv = get_i2s_priv_by_name(afe, kcontrol->id.name); in mt8183_i2s_hd_get() 127 if (!i2s_priv) { in mt8183_i2s_hd_get() 132 ucontrol->value.integer.value[0] = i2s_priv->low_jitter_en; in mt8183_i2s_hd_get() 142 struct mtk_afe_i2s_priv *i2s_priv; in mt8183_i2s_hd_set() local 151 i2s_priv = get_i2s_priv_by_name(afe, kcontrol->id.name); in mt8183_i2s_hd_set() 153 if (!i2s_priv) { in mt8183_i2s_hd_set() 158 change = i2s_priv->low_jitter_en != hd_en; in mt8183_i2s_hd_set() 159 i2s_priv->low_jitter_en = hd_en; in mt8183_i2s_hd_set() 303 struct mtk_afe_i2s_priv *i2s_priv; in mtk_mclk_en_event() local [all …]
|
/linux/sound/soc/mediatek/mt8186/ |
H A D | mt8186-dai-i2s.c | 118 struct mtk_afe_i2s_priv *i2s_priv; in mt8186_i2s_hd_get() local 120 i2s_priv = get_i2s_priv_by_name(afe, kcontrol->id.name); in mt8186_i2s_hd_get() 121 ucontrol->value.integer.value[0] = i2s_priv->low_jitter_en; in mt8186_i2s_hd_get() 131 struct mtk_afe_i2s_priv *i2s_priv; in mt8186_i2s_hd_set() local 143 i2s_priv = get_i2s_priv_by_name(afe, kcontrol->id.name); in mt8186_i2s_hd_set() 144 if (i2s_priv->low_jitter_en == hd_en) in mt8186_i2s_hd_set() 147 i2s_priv->low_jitter_en = hd_en; in mt8186_i2s_hd_set() 363 struct mtk_afe_i2s_priv *i2s_priv; in mtk_i2s_en_event() local 365 i2s_priv = get_i2s_priv_by_name(afe, w->name); in mtk_i2s_en_event() 372 mt8186_afe_gpio_request(afe->dev, true, i2s_priv->id, 0); in mtk_i2s_en_event() [all …]
|
/linux/sound/soc/bcm/ |
H A D | bcm63xx-i2s-whistler.c | 79 struct bcm_i2s_priv *i2s_priv = snd_soc_dai_get_drvdata(dai); in bcm63xx_i2s_hw_params() local 81 ret = clk_set_rate(i2s_priv->i2s_clk, params_rate(params)); in bcm63xx_i2s_hw_params() 83 dev_err(i2s_priv->dev, in bcm63xx_i2s_hw_params() 93 struct bcm_i2s_priv *i2s_priv = snd_soc_dai_get_drvdata(dai); in bcm63xx_i2s_startup() local 94 struct regmap *regmap_i2s = i2s_priv->regmap_i2s; in bcm63xx_i2s_startup() 146 struct bcm_i2s_priv *i2s_priv = snd_soc_dai_get_drvdata(dai); in bcm63xx_i2s_shutdown() local 147 struct regmap *regmap_i2s = i2s_priv->regmap_i2s; in bcm63xx_i2s_shutdown() 228 struct bcm_i2s_priv *i2s_priv; in bcm63xx_i2s_dev_probe() local 232 i2s_priv = devm_kzalloc(&pdev->dev, sizeof(*i2s_priv), GFP_KERNEL); in bcm63xx_i2s_dev_probe() 233 if (!i2s_priv) in bcm63xx_i2s_dev_probe() [all …]
|
H A D | bcm63xx-pcm-whistler.c | 77 struct bcm_i2s_priv *i2s_priv; in bcm63xx_pcm_trigger() local 81 i2s_priv = dev_get_drvdata(snd_soc_rtd_to_cpu(rtd, 0)->dev); in bcm63xx_pcm_trigger() 82 regmap_i2s = i2s_priv->regmap_i2s; in bcm63xx_pcm_trigger() 146 struct bcm_i2s_priv *i2s_priv; in bcm63xx_pcm_prepare() local 164 i2s_priv = dev_get_drvdata(snd_soc_rtd_to_cpu(rtd, 0)->dev); in bcm63xx_pcm_prepare() 165 regmap_i2s = i2s_priv->regmap_i2s; in bcm63xx_pcm_prepare() 242 struct bcm_i2s_priv *i2s_priv; in i2s_dma_isr() local 244 i2s_priv = (struct bcm_i2s_priv *)bcm_i2s_priv; in i2s_dma_isr() 245 regmap_i2s = i2s_priv->regmap_i2s; in i2s_dma_isr() 251 substream = i2s_priv->capture_substream; in i2s_dma_isr() [all …]
|
H A D | bcm63xx-i2s.h | 86 struct bcm_i2s_priv *i2s_priv);
|
/linux/sound/soc/mediatek/mt8192/ |
H A D | mt8192-dai-i2s.c | 140 struct mtk_afe_i2s_priv *i2s_priv; in mt8192_i2s_hd_get() local 142 i2s_priv = get_i2s_priv_by_name(afe, kcontrol->id.name); in mt8192_i2s_hd_get() 144 if (!i2s_priv) { in mt8192_i2s_hd_get() 149 ucontrol->value.integer.value[0] = i2s_priv->low_jitter_en; in mt8192_i2s_hd_get() 159 struct mtk_afe_i2s_priv *i2s_priv; in mt8192_i2s_hd_set() local 171 i2s_priv = get_i2s_priv_by_name(afe, kcontrol->id.name); in mt8192_i2s_hd_set() 173 if (!i2s_priv) { in mt8192_i2s_hd_set() 178 i2s_priv->low_jitter_en = hd_en; in mt8192_i2s_hd_set() 588 struct mtk_afe_i2s_priv *i2s_priv; in mtk_i2s_en_event() local 590 i2s_priv = get_i2s_priv_by_name(afe, w->name); in mtk_i2s_en_event() [all …]
|