Lines Matching refs:codec
232 struct snd_soc_codec *codec = dai->codec; in ak4613_dai_shutdown() local
233 struct ak4613_priv *priv = snd_soc_codec_get_drvdata(codec); in ak4613_dai_shutdown()
234 struct device *dev = codec->dev; in ak4613_dai_shutdown()
249 struct snd_soc_codec *codec = dai->codec; in ak4613_dai_set_fmt() local
250 struct ak4613_priv *priv = snd_soc_codec_get_drvdata(codec); in ak4613_dai_set_fmt()
272 struct snd_soc_codec *codec = dai->codec; in ak4613_dai_hw_params() local
273 struct ak4613_priv *priv = snd_soc_codec_get_drvdata(codec); in ak4613_dai_hw_params()
275 struct device *dev = codec->dev; in ak4613_dai_hw_params()
343 snd_soc_update_bits(codec, CTRL1, FMT_MASK, fmt_ctrl); in ak4613_dai_hw_params()
344 snd_soc_write(codec, CTRL2, ctrl2); in ak4613_dai_hw_params()
353 static int ak4613_set_bias_level(struct snd_soc_codec *codec, in ak4613_set_bias_level() argument
373 snd_soc_write(codec, PW_MGMT1, mgmt1); in ak4613_set_bias_level()
415 static int ak4613_resume(struct snd_soc_codec *codec) in ak4613_resume() argument
417 struct regmap *regmap = dev_get_regmap(codec->dev, NULL); in ak4613_resume()