Lines Matching refs:component
102 static int audio_iio_aux_add_controls(struct snd_soc_component *component, in audio_iio_aux_add_controls() argument
114 return snd_soc_add_component_controls(component, &control, 1); in audio_iio_aux_add_controls()
130 static int audio_iio_aux_add_dapms(struct snd_soc_component *component, in audio_iio_aux_add_dapms() argument
133 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(component); in audio_iio_aux_add_dapms()
181 static int audio_iio_aux_component_probe(struct snd_soc_component *component) in audio_iio_aux_component_probe() argument
183 struct audio_iio_aux *iio_aux = snd_soc_component_get_drvdata(component); in audio_iio_aux_component_probe()
193 return dev_err_probe(component->dev, ret, in audio_iio_aux_component_probe()
199 return dev_err_probe(component->dev, ret, in audio_iio_aux_component_probe()
209 dev_dbg(component->dev, "chan[%d] %s: Swap min and max\n", in audio_iio_aux_component_probe()
218 return dev_err_probe(component->dev, ret, in audio_iio_aux_component_probe()
222 ret = audio_iio_aux_add_controls(component, chan); in audio_iio_aux_component_probe()
226 ret = audio_iio_aux_add_dapms(component, chan); in audio_iio_aux_component_probe()
230 dev_dbg(component->dev, "chan[%d]: Added %s (min=%d, max=%d, invert=%s)\n", in audio_iio_aux_component_probe()