Lines Matching refs:jz4740_codec
70 struct jz4740_codec { struct
153 struct jz4740_codec *jz4740_codec = snd_soc_component_get_drvdata(dai->component); in jz4740_codec_hw_params() local
190 regmap_update_bits(jz4740_codec->regmap, JZ4740_REG_CODEC_2, in jz4740_codec_hw_params()
234 struct jz4740_codec *jz4740_codec = snd_soc_component_get_drvdata(component); in jz4740_codec_set_bias_level() local
235 struct regmap *regmap = jz4740_codec->regmap; in jz4740_codec_set_bias_level()
273 struct jz4740_codec *jz4740_codec = snd_soc_component_get_drvdata(component); in jz4740_codec_dev_probe() local
275 regmap_update_bits(jz4740_codec->regmap, JZ4740_REG_CODEC_1, in jz4740_codec_dev_probe()
310 struct jz4740_codec *jz4740_codec; in jz4740_codec_probe() local
313 jz4740_codec = devm_kzalloc(&pdev->dev, sizeof(*jz4740_codec), in jz4740_codec_probe()
315 if (!jz4740_codec) in jz4740_codec_probe()
322 jz4740_codec->regmap = devm_regmap_init_mmio(&pdev->dev, base, in jz4740_codec_probe()
324 if (IS_ERR(jz4740_codec->regmap)) in jz4740_codec_probe()
325 return PTR_ERR(jz4740_codec->regmap); in jz4740_codec_probe()
327 platform_set_drvdata(pdev, jz4740_codec); in jz4740_codec_probe()