/sound/soc/uniphier/ |
D | aio-cpu.c | 23 static bool is_valid_pll(struct uniphier_aio_chip *chip, int pll_id) in is_valid_pll() argument 27 if (pll_id < 0 || chip->num_plls <= pll_id) { in is_valid_pll() 28 dev_err(dev, "PLL(%d) is not supported\n", pll_id); in is_valid_pll() 32 return chip->plls[pll_id].enable; in is_valid_pll() 128 static int find_divider(struct uniphier_aio *aio, int pll_id, unsigned int freq) in find_divider() argument 135 if (!is_valid_pll(aio->chip, pll_id)) in find_divider() 138 pll = &aio->chip->plls[pll_id]; in find_divider() 152 int pll_id, div_id; in uniphier_aio_set_sysclk() local 158 pll_id = AUD_PLL_A1; in uniphier_aio_set_sysclk() 161 pll_id = AUD_PLL_F1; in uniphier_aio_set_sysclk() [all …]
|
D | aio-core.c | 105 int aio_chip_set_pll(struct uniphier_aio_chip *chip, int pll_id, in aio_chip_set_pll() argument 117 switch (pll_id) { in aio_chip_set_pll() 131 dev_err(dev, "PLL(%d) not supported\n", pll_id); in aio_chip_set_pll() 146 chip->plls[pll_id].freq = freq; in aio_chip_set_pll()
|
D | aio.h | 324 int aio_chip_set_pll(struct uniphier_aio_chip *chip, int pll_id,
|
/sound/soc/codecs/ |
D | adav80x.c | 621 static int adav80x_set_pll(struct snd_soc_component *component, int pll_id, in adav80x_set_pll() argument 656 pll_ctrl2 |= ADAV80X_PLL_CTRL2_DOUB(pll_id); in adav80x_set_pll() 663 pll_ctrl2 |= ADAV80X_PLL_CTRL2_FS_32(pll_id); in adav80x_set_pll() 666 pll_ctrl2 |= ADAV80X_PLL_CTRL2_FS_44(pll_id); in adav80x_set_pll() 669 pll_ctrl2 |= ADAV80X_PLL_CTRL2_FS_48(pll_id); in adav80x_set_pll() 678 ADAV80X_PLL_CTRL2_PLL_MASK(pll_id), pll_ctrl2); in adav80x_set_pll() 682 pll_src = ADAV80X_PLL_CLK_SRC_PLL_MCLKI(pll_id); in adav80x_set_pll() 684 pll_src = ADAV80X_PLL_CLK_SRC_PLL_XIN(pll_id); in adav80x_set_pll() 687 ADAV80X_PLL_CLK_SRC_PLL_MASK(pll_id), pll_src); in adav80x_set_pll()
|
D | adau1373.c | 553 unsigned int pll_id = w->name[3] - '1'; in adau1373_pll_event() local 561 regmap_update_bits(adau1373->regmap, ADAU1373_PLL_CTRL6(pll_id), in adau1373_pll_event() 1252 static int adau1373_set_pll(struct snd_soc_component *component, int pll_id, in adau1373_set_pll() argument 1260 switch (pll_id) { in adau1373_set_pll() 1305 regmap_update_bits(adau1373->regmap, ADAU1373_PLL_CTRL6(pll_id), in adau1373_set_pll() 1308 regmap_update_bits(adau1373->regmap, ADAU1373_PLL_CTRL6(pll_id), in adau1373_set_pll() 1313 regmap_write(adau1373->regmap, ADAU1373_DPLL_CTRL(pll_id), in adau1373_set_pll() 1315 regmap_write(adau1373->regmap, ADAU1373_PLL_CTRL1(pll_id), pll_regs[0]); in adau1373_set_pll() 1316 regmap_write(adau1373->regmap, ADAU1373_PLL_CTRL2(pll_id), pll_regs[1]); in adau1373_set_pll() 1317 regmap_write(adau1373->regmap, ADAU1373_PLL_CTRL3(pll_id), pll_regs[2]); in adau1373_set_pll() [all …]
|
D | nau8540.c | 646 static int nau8540_set_pll(struct snd_soc_component *component, int pll_id, int source, in nau8540_set_pll() argument 653 switch (pll_id) { in nau8540_set_pll() 675 dev_err(nau8540->dev, "Invalid clock id (%d)\n", pll_id); in nau8540_set_pll() 679 freq_out, pll_id); in nau8540_set_pll()
|
D | alc5632.c | 677 static int alc5632_set_dai_pll(struct snd_soc_dai *codec_dai, int pll_id, in alc5632_set_dai_pll() argument 685 if (pll_id < ALC5632_PLL_FR_MCLK || pll_id > ALC5632_PLL_FR_VBCLK) in alc5632_set_dai_pll() 704 switch (pll_id) { in alc5632_set_dai_pll()
|
D | alc5623.c | 520 static int alc5623_set_dai_pll(struct snd_soc_dai *codec_dai, int pll_id, in alc5623_set_dai_pll() argument 528 if (pll_id < ALC5623_PLL_FR_MCLK || pll_id > ALC5623_PLL_FR_BCK) in alc5623_set_dai_pll() 544 switch (pll_id) { in alc5623_set_dai_pll()
|
D | wm8753.c | 738 static int wm8753_set_dai_pll(struct snd_soc_dai *codec_dai, int pll_id, in wm8753_set_dai_pll() argument 745 if (pll_id < WM8753_PLL1 || pll_id > WM8753_PLL2) in wm8753_set_dai_pll() 748 if (pll_id == WM8753_PLL1) { in wm8753_set_dai_pll()
|
D | wm9713.c | 815 int pll_id, unsigned int freq_in, unsigned int freq_out) in wm9713_set_pll() argument 875 static int wm9713_set_dai_pll(struct snd_soc_dai *codec_dai, int pll_id, in wm9713_set_dai_pll() argument 879 return wm9713_set_pll(component, pll_id, freq_in, freq_out); in wm9713_set_dai_pll()
|
D | wm8580.c | 460 static int wm8580_set_dai_pll(struct snd_soc_dai *codec_dai, int pll_id, in wm8580_set_dai_pll() argument 477 switch (pll_id) { in wm8580_set_dai_pll()
|
D | wm8900.c | 815 static int wm8900_set_dai_pll(struct snd_soc_dai *codec_dai, int pll_id, in wm8900_set_dai_pll() argument 818 return wm8900_set_fll(codec_dai->component, pll_id, freq_in, freq_out); in wm8900_set_dai_pll()
|
D | wm8960.c | 1227 static int wm8960_set_dai_pll(struct snd_soc_dai *codec_dai, int pll_id, in wm8960_set_dai_pll() argument 1235 if (pll_id == WM8960_SYSCLK_AUTO) in wm8960_set_dai_pll()
|
D | wm8510.c | 313 static int wm8510_set_dai_pll(struct snd_soc_dai *codec_dai, int pll_id, in wm8510_set_dai_pll() argument
|
D | wm8804.c | 401 static int wm8804_set_pll(struct snd_soc_dai *dai, int pll_id, in wm8804_set_pll() argument
|
D | wm8940.c | 573 static int wm8940_set_dai_pll(struct snd_soc_dai *codec_dai, int pll_id, in wm8940_set_dai_pll() argument
|
D | wm8974.c | 320 static int wm8974_set_dai_pll(struct snd_soc_dai *codec_dai, int pll_id, in wm8974_set_dai_pll() argument
|
D | rt1308.c | 618 int pll_id, int source, unsigned int freq_in, in rt1308_set_component_pll() argument
|
D | nau8810.c | 533 static int nau8810_set_pll(struct snd_soc_dai *codec_dai, int pll_id, in nau8810_set_pll() argument
|
D | wm8990.c | 930 static int wm8990_set_dai_pll(struct snd_soc_dai *codec_dai, int pll_id, in wm8990_set_dai_pll() argument
|
D | da7210.c | 983 static int da7210_set_dai_pll(struct snd_soc_dai *codec_dai, int pll_id, in da7210_set_dai_pll() argument
|
/sound/soc/ |
D | soc-dai.c | 62 int snd_soc_dai_set_pll(struct snd_soc_dai *dai, int pll_id, int source, in snd_soc_dai_set_pll() argument 66 return dai->driver->ops->set_pll(dai, pll_id, source, in snd_soc_dai_set_pll() 69 return snd_soc_component_set_pll(dai->component, pll_id, source, in snd_soc_dai_set_pll()
|
D | soc-component.c | 43 int snd_soc_component_set_pll(struct snd_soc_component *component, int pll_id, in snd_soc_component_set_pll() argument 48 return component->driver->set_pll(component, pll_id, source, in snd_soc_component_set_pll()
|
/sound/soc/fsl/ |
D | fsl-asoc-card.c | 47 u32 pll_id; member 274 ret = snd_soc_dai_set_pll(codec_dai, codec_priv->pll_id, in fsl_asoc_card_set_bias_level() 302 ret = snd_soc_dai_set_pll(codec_dai, codec_priv->pll_id, 0, 0, 0); in fsl_asoc_card_set_bias_level() 564 priv->codec_priv.pll_id = WM8962_FLL; in fsl_asoc_card_probe() 570 priv->codec_priv.pll_id = WM8960_SYSCLK_AUTO; in fsl_asoc_card_probe()
|
/sound/soc/pxa/ |
D | mmp-sspa.c | 136 static int mmp_sspa_set_dai_pll(struct snd_soc_dai *cpu_dai, int pll_id, in mmp_sspa_set_dai_pll() argument 143 switch (pll_id) { in mmp_sspa_set_dai_pll()
|