Lines Matching +full:- +full:12000000
1 // SPDX-License-Identifier: GPL-2.0-only
3 * wm8711.c -- WM8711 ALSA SoC Audio driver
60 static const DECLARE_TLV_DB_SCALE(out_tlv, -12100, 100, 1);
114 {12000000, 48000, 250, 0x0, 0x0, 0x1},
119 {12000000, 32000, 375, 0x6, 0x0, 0x1},
126 {12000000, 8000, 1500, 0x3, 0x0, 0x1},
131 {12000000, 96000, 125, 0x7, 0x0, 0x1},
136 {12000000, 44100, 272, 0x8, 0x1, 0x1},
141 {12000000, 88200, 136, 0xf, 0x1, 0x1},
159 struct snd_soc_component *component = dai->component;
162 int i = get_coeff(wm8711->sysclk, params_rate(params));
187 struct snd_soc_component *component = dai->component;
198 struct snd_soc_component *component = dai->component;
209 struct snd_soc_component *component = dai->component;
223 struct snd_soc_component *component = codec_dai->component;
228 case 12000000:
232 wm8711->sysclk = freq;
235 return -EINVAL;
241 struct snd_soc_component *component = codec_dai->component;
252 return -EINVAL;
272 return -EINVAL;
289 return -EINVAL;
311 regcache_sync(wm8711->regmap);
339 .name = "wm8711-hifi",
356 dev_err(component->dev, "Failed to issue reset\n");
407 wm8711 = devm_kzalloc(&spi->dev, sizeof(struct wm8711_priv),
410 return -ENOMEM;
412 wm8711->regmap = devm_regmap_init_spi(spi, &wm8711_regmap);
413 if (IS_ERR(wm8711->regmap))
414 return PTR_ERR(wm8711->regmap);
418 ret = devm_snd_soc_register_component(&spi->dev,
439 wm8711 = devm_kzalloc(&client->dev, sizeof(struct wm8711_priv),
442 return -ENOMEM;
444 wm8711->regmap = devm_regmap_init_i2c(client, &wm8711_regmap);
445 if (IS_ERR(wm8711->regmap))
446 return PTR_ERR(wm8711->regmap);
450 ret = devm_snd_soc_register_component(&client->dev,