Lines Matching refs:component
166 struct snd_soc_component *component = codec_dai->component; in max98390_dai_set_fmt() local
168 snd_soc_component_get_drvdata(component); in max98390_dai_set_fmt()
173 dev_dbg(component->dev, "%s: fmt 0x%08X\n", __func__, fmt); in max98390_dai_set_fmt()
184 dev_err(component->dev, "DAI clock mode unsupported\n"); in max98390_dai_set_fmt()
200 dev_err(component->dev, "DAI invert mode unsupported\n"); in max98390_dai_set_fmt()
250 static int max98390_set_clock(struct snd_soc_component *component, in max98390_set_clock() argument
254 snd_soc_component_get_drvdata(component); in max98390_set_clock()
274 dev_err(component->dev, "failed to find proper clock rate.\n"); in max98390_set_clock()
288 dev_err(component->dev, "format unsupported %d\n", in max98390_set_clock()
305 struct snd_soc_component *component = in max98390_dai_hw_params() local
306 dai->component; in max98390_dai_hw_params()
308 snd_soc_component_get_drvdata(component); in max98390_dai_hw_params()
325 dev_err(component->dev, "format unsupported %d\n", in max98390_dai_hw_params()
334 dev_dbg(component->dev, "format supported %d", in max98390_dai_hw_params()
367 dev_err(component->dev, "rate %d not supported\n", in max98390_dai_hw_params()
378 return max98390_set_clock(component, params); in max98390_dai_hw_params()
387 struct snd_soc_component *component = dai->component; in max98390_dai_tdm_slot() local
389 snd_soc_component_get_drvdata(component); in max98390_dai_tdm_slot()
399 dev_dbg(component->dev, in max98390_dai_tdm_slot()
405 dev_err(component->dev, "BCLK %d not supported\n", in max98390_dai_tdm_slot()
427 dev_err(component->dev, "format unsupported %d\n", in max98390_dai_tdm_slot()
458 struct snd_soc_component *component = dai->component; in max98390_dai_set_sysclk() local
460 snd_soc_component_get_drvdata(component); in max98390_dai_set_sysclk()
476 struct snd_soc_component *component = in max98390_dac_event() local
479 snd_soc_component_get_drvdata(component); in max98390_dac_event()
538 struct snd_soc_component *component = in max98390_ref_rdc_put() local
541 snd_soc_component_get_drvdata(component); in max98390_ref_rdc_put()
558 struct snd_soc_component *component = in max98390_ref_rdc_get() local
561 snd_soc_component_get_drvdata(component); in max98390_ref_rdc_get()
571 struct snd_soc_component *component = in max98390_ambient_temp_put() local
574 snd_soc_component_get_drvdata(component); in max98390_ambient_temp_put()
589 struct snd_soc_component *component = in max98390_ambient_temp_get() local
592 snd_soc_component_get_drvdata(component); in max98390_ambient_temp_get()
602 struct snd_soc_component *component = in max98390_adaptive_rdc_put() local
605 dev_warn(component->dev, "Put adaptive rdc not supported\n"); in max98390_adaptive_rdc_put()
614 struct snd_soc_component *component = in max98390_adaptive_rdc_get() local
617 snd_soc_component_get_drvdata(component); in max98390_adaptive_rdc_get()
636 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in max98390_dsm_calib_put() local
637 struct max98390_priv *max98390 = snd_soc_component_get_drvdata(component); in max98390_dsm_calib_put()
638 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(component); in max98390_dsm_calib_put()
675 dev_info(component->dev, in max98390_dsm_calib_put()
790 static int max98390_dsm_init(struct snd_soc_component *component) in max98390_dsm_init() argument
797 snd_soc_component_get_drvdata(component); in max98390_dsm_init()
815 ret = request_firmware(&fw, filename, component->dev); in max98390_dsm_init()
817 ret = request_firmware(&fw, "dsm_param.bin", component->dev); in max98390_dsm_init()
820 component->dev); in max98390_dsm_init()
826 dev_dbg(component->dev, in max98390_dsm_init()
830 dev_err(component->dev, in max98390_dsm_init()
841 dev_err(component->dev, in max98390_dsm_init()
858 static void max98390_init_regs(struct snd_soc_component *component) in max98390_init_regs() argument
861 snd_soc_component_get_drvdata(component); in max98390_init_regs()
914 static int max98390_probe(struct snd_soc_component *component) in max98390_probe() argument
917 snd_soc_component_get_drvdata(component); in max98390_probe()
924 max98390_init_regs(component); in max98390_probe()
926 max98390_dsm_init(component); in max98390_probe()