Lines Matching refs:component
100 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in max98925_dac_event() local
101 struct max98925_priv *max98925 = snd_soc_component_get_drvdata(component); in max98925_dac_event()
257 static inline int max98925_rate_value(struct snd_soc_component *component, in max98925_rate_value() argument
298 struct snd_soc_component *component = codec_dai->component; in max98925_dai_set_fmt() local
299 struct max98925_priv *max98925 = snd_soc_component_get_drvdata(component); in max98925_dai_set_fmt()
302 dev_dbg(component->dev, "%s: fmt 0x%08X\n", __func__, fmt); in max98925_dai_set_fmt()
320 dev_err(component->dev, "DAI clock mode unsupported"); in max98925_dai_set_fmt()
337 dev_err(component->dev, "DAI invert mode unsupported"); in max98925_dai_set_fmt()
350 struct snd_soc_component *component = max98925->component; in max98925_set_clock() local
393 dev_info(max98925->component->dev, "unsupported sysclk %d\n", in max98925_set_clock()
398 if (max98925_rate_value(component, rate, clock, &dai_sr, &n, &m)) in max98925_set_clock()
425 struct snd_soc_component *component = dai->component; in max98925_dai_hw_params() local
426 struct max98925_priv *max98925 = snd_soc_component_get_drvdata(component); in max98925_dai_hw_params()
452 dev_dbg(component->dev, "%s: format supported %d", in max98925_dai_hw_params()
460 struct snd_soc_component *component = dai->component; in max98925_dai_set_sysclk() local
461 struct max98925_priv *max98925 = snd_soc_component_get_drvdata(component); in max98925_dai_set_sysclk()
514 static int max98925_probe(struct snd_soc_component *component) in max98925_probe() argument
516 struct max98925_priv *max98925 = snd_soc_component_get_drvdata(component); in max98925_probe()
518 max98925->component = component; in max98925_probe()