Lines Matching refs:component
74 struct snd_soc_component *component = codec_dai->component; in max98520_dai_set_fmt() local
76 snd_soc_component_get_drvdata(component); in max98520_dai_set_fmt()
80 dev_dbg(component->dev, "%s: fmt 0x%08X\n", __func__, fmt); in max98520_dai_set_fmt()
89 dev_err(component->dev, "DAI invert mode unsupported\n"); in max98520_dai_set_fmt()
140 static int max98520_set_clock(struct snd_soc_component *component, in max98520_set_clock() argument
144 snd_soc_component_get_drvdata(component); in max98520_set_clock()
153 dev_err(component->dev, "format unsupported %d\n", in max98520_set_clock()
163 dev_dbg(component->dev, "%s tdm_mode:%d out\n", __func__, max98520->tdm_mode); in max98520_set_clock()
171 struct snd_soc_component *component = dai->component; in max98520_dai_hw_params() local
173 snd_soc_component_get_drvdata(component); in max98520_dai_hw_params()
189 dev_err(component->dev, "format unsupported %d\n", in max98520_dai_hw_params()
200 dev_dbg(component->dev, "format supported %d", in max98520_dai_hw_params()
245 dev_err(component->dev, "rate %d not supported\n", in max98520_dai_hw_params()
250 dev_dbg(component->dev, " %s ch_size: %d, sampling rate : %d out\n", __func__, in max98520_dai_hw_params()
258 return max98520_set_clock(component, params); in max98520_dai_hw_params()
260 dev_dbg(component->dev, "%s out error", __func__); in max98520_dai_hw_params()
268 struct snd_soc_component *component = dai->component; in max98520_dai_tdm_slot() local
270 snd_soc_component_get_drvdata(component); in max98520_dai_tdm_slot()
282 dev_err(component->dev, "BCLK %d not supported\n", in max98520_dai_tdm_slot()
304 dev_err(component->dev, "format unsupported %d\n", in max98520_dai_tdm_slot()
340 struct snd_soc_component *component = in max98520_dac_event() local
343 snd_soc_component_get_drvdata(component); in max98520_dac_event()
347 dev_dbg(component->dev, " AMP ON\n"); in max98520_dac_event()
354 dev_dbg(component->dev, " AMP OFF\n"); in max98520_dac_event()
597 static int max98520_probe(struct snd_soc_component *component) in max98520_probe() argument
600 snd_soc_component_get_drvdata(component); in max98520_probe()