Lines Matching refs:component
76 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in max98388_dac_event() local
77 struct max98388_priv *max98388 = snd_soc_component_get_drvdata(component); in max98388_dac_event()
417 static int max98388_probe(struct snd_soc_component *component) in max98388_probe() argument
419 struct max98388_priv *max98388 = snd_soc_component_get_drvdata(component); in max98388_probe()
422 max98388_reset(max98388, component->dev); in max98388_probe()
466 struct snd_soc_component *component = codec_dai->component; in max98388_dai_set_fmt() local
467 struct max98388_priv *max98388 = snd_soc_component_get_drvdata(component); in max98388_dai_set_fmt()
471 dev_dbg(component->dev, "%s: fmt 0x%08X\n", __func__, fmt); in max98388_dai_set_fmt()
480 dev_err(component->dev, "DAI invert mode unsupported\n"); in max98388_dai_set_fmt()
531 static int max98388_set_clock(struct snd_soc_component *component, in max98388_set_clock() argument
534 struct max98388_priv *max98388 = snd_soc_component_get_drvdata(component); in max98388_set_clock()
543 dev_err(component->dev, "format unsupported %d\n", in max98388_set_clock()
560 struct snd_soc_component *component = dai->component; in max98388_dai_hw_params() local
561 struct max98388_priv *max98388 = snd_soc_component_get_drvdata(component); in max98388_dai_hw_params()
579 dev_err(component->dev, "format unsupported %d\n", in max98388_dai_hw_params()
607 dev_dbg(component->dev, "format supported %d", in max98388_dai_hw_params()
646 dev_err(component->dev, "rate %d not supported\n", in max98388_dai_hw_params()
670 ret = max98388_set_clock(component, params); in max98388_dai_hw_params()
691 struct snd_soc_component *component = dai->component; in max98388_dai_tdm_slot() local
692 struct max98388_priv *max98388 = snd_soc_component_get_drvdata(component); in max98388_dai_tdm_slot()
707 dev_err(component->dev, "BCLK %d not supported\n", in max98388_dai_tdm_slot()
729 dev_err(component->dev, "format unsupported %d\n", in max98388_dai_tdm_slot()