Home
last modified time | relevance | path

Searched refs:deemph (Results 1 – 14 of 14) sorted by relevance

/sound/soc/codecs/
Duda1334.c25 struct gpio_desc *deemph; member
47 int deemph = ucontrol->value.integer.value[0]; in uda1334_put_deemph() local
49 if (deemph > 1) in uda1334_put_deemph()
52 gpiod_set_value_cansleep(uda1334->deemph, deemph); in uda1334_put_deemph()
64 ret = gpiod_get_value_cansleep(uda1334->deemph); in uda1334_get_deemph()
267 uda1334->deemph = devm_gpiod_get(&pdev->dev, "nxp,deemph", GPIOD_OUT_LOW); in uda1334_codec_probe()
268 if (IS_ERR(uda1334->deemph)) { in uda1334_codec_probe()
269 ret = PTR_ERR(uda1334->deemph); in uda1334_codec_probe()
Dak4641.c53 int deemph; member
77 if (ak4641->deemph && deemph_settings[i] != 0 && in ak4641_set_deemph()
82 if (!ak4641->deemph && deemph_settings[i] == 0) in ak4641_set_deemph()
96 int deemph = ucontrol->value.integer.value[0]; in ak4641_put_deemph() local
98 if (deemph > 1) in ak4641_put_deemph()
101 ak4641->deemph = deemph; in ak4641_put_deemph()
112 ucontrol->value.integer.value[0] = ak4641->deemph; in ak4641_get_deemph()
Dwm8731.c52 bool deemph; member
96 if (wm8731->deemph) { in wm8731_set_deemph()
122 ucontrol->value.integer.value[0] = wm8731->deemph; in wm8731_get_deemph()
132 unsigned int deemph = ucontrol->value.integer.value[0]; in wm8731_put_deemph() local
135 if (deemph > 1) in wm8731_put_deemph()
139 if (wm8731->deemph != deemph) { in wm8731_put_deemph()
140 wm8731->deemph = deemph; in wm8731_put_deemph()
Des8328.c83 bool deemph; member
124 if (es8328->deemph) { in es8328_set_deemph()
149 ucontrol->value.integer.value[0] = es8328->deemph; in es8328_get_deemph()
158 unsigned int deemph = ucontrol->value.integer.value[0]; in es8328_put_deemph() local
161 if (deemph > 1) in es8328_put_deemph()
164 if (es8328->deemph == deemph) in es8328_put_deemph()
171 es8328->deemph = deemph; in es8328_put_deemph()
Dpcm1681.c77 unsigned int deemph; member
89 if (priv->deemph) { in pcm1681_set_deemph()
117 ucontrol->value.integer.value[0] = priv->deemph; in pcm1681_get_deemph()
128 priv->deemph = ucontrol->value.integer.value[0]; in pcm1681_put_deemph()
Dadav80x.c150 bool deemph; member
288 if (adav80x->deemph) { in adav80x_set_deemph()
319 unsigned int deemph = ucontrol->value.integer.value[0]; in adav80x_put_deemph() local
321 if (deemph > 1) in adav80x_put_deemph()
324 adav80x->deemph = deemph; in adav80x_put_deemph()
335 ucontrol->value.integer.value[0] = adav80x->deemph; in adav80x_get_deemph()
Dwm8955.c43 int deemph; member
368 if (wm8955->deemph) { in wm8955_set_deemph()
393 ucontrol->value.integer.value[0] = wm8955->deemph; in wm8955_get_deemph()
402 unsigned int deemph = ucontrol->value.integer.value[0]; in wm8955_put_deemph() local
404 if (deemph > 1) in wm8955_put_deemph()
407 wm8955->deemph = deemph; in wm8955_put_deemph()
Dwm8960.c128 bool deemph; member
176 if (wm8960->deemph) { in wm8960_set_deemph()
201 ucontrol->value.integer.value[0] = wm8960->deemph; in wm8960_get_deemph()
210 unsigned int deemph = ucontrol->value.integer.value[0]; in wm8960_put_deemph() local
212 if (deemph > 1) in wm8960_put_deemph()
215 wm8960->deemph = deemph; in wm8960_put_deemph()
Dwm8903.c135 int deemph; member
424 if (wm8903->deemph) { in wm8903_set_deemph()
451 ucontrol->value.integer.value[0] = wm8903->deemph; in wm8903_get_deemph()
461 unsigned int deemph = ucontrol->value.integer.value[0]; in wm8903_put_deemph() local
464 if (deemph > 1) in wm8903_put_deemph()
468 if (wm8903->deemph != deemph) { in wm8903_put_deemph()
469 wm8903->deemph = deemph; in wm8903_put_deemph()
Dcs4271.c159 bool deemph; member
263 if (cs4271->deemph) { in cs4271_set_deemph()
286 ucontrol->value.integer.value[0] = cs4271->deemph; in cs4271_get_deemph()
296 cs4271->deemph = ucontrol->value.integer.value[0]; in cs4271_put_deemph()
Dtas5086.c243 bool deemph; member
260 if (priv->deemph) { in tas5086_set_deemph()
279 ucontrol->value.integer.value[0] = priv->deemph; in tas5086_get_deemph()
290 priv->deemph = ucontrol->value.integer.value[0]; in tas5086_put_deemph()
Dcs4341.c137 static const char * const deemph[] = { variable
142 SOC_ENUM_SINGLE(CS4341_REG_MODE2, 2, 4, deemph);
Dwm8904.c56 int deemph; member
498 if (wm8904->deemph) { in wm8904_set_deemph()
523 ucontrol->value.integer.value[0] = wm8904->deemph; in wm8904_get_deemph()
532 unsigned int deemph = ucontrol->value.integer.value[0]; in wm8904_put_deemph() local
534 if (deemph > 1) in wm8904_put_deemph()
537 wm8904->deemph = deemph; in wm8904_put_deemph()
Dwm8988.c159 static SOC_ENUM_SINGLE_DECL(deemph,
208 SOC_ENUM("Playback De-emphasis", deemph),