Lines Matching refs:component
68 static int adau17x1_setup_firmware(struct snd_soc_component *component,
74 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in adau17x1_pll_event() local
75 struct adau *adau = snd_soc_component_get_drvdata(component); in adau17x1_pll_event()
104 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in adau17x1_adc_fixup() local
105 struct adau *adau = snd_soc_component_get_drvdata(component); in adau17x1_adc_fixup()
188 struct snd_soc_component *component = snd_soc_dapm_kcontrol_component(kcontrol); in adau17x1_dsp_mux_enum_put() local
189 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(component); in adau17x1_dsp_mux_enum_put()
190 struct adau *adau = snd_soc_component_get_drvdata(component); in adau17x1_dsp_mux_enum_put()
216 change = snd_soc_component_test_bits(component, reg, 0xff, val); in adau17x1_dsp_mux_enum_put()
233 struct snd_soc_component *component = snd_soc_dapm_kcontrol_component(kcontrol); in adau17x1_dsp_mux_enum_get() local
234 struct adau *adau = snd_soc_component_get_drvdata(component); in adau17x1_dsp_mux_enum_get()
361 struct snd_soc_component *component = dai->component; in adau17x1_set_dai_pll() local
362 struct adau *adau = snd_soc_component_get_drvdata(component); in adau17x1_set_dai_pll()
386 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(dai->component); in adau17x1_set_dai_sysclk()
387 struct adau *adau = snd_soc_component_get_drvdata(dai->component); in adau17x1_set_dai_sysclk()
471 struct snd_soc_component *component = dai->component; in adau17x1_hw_params() local
472 struct adau *adau = snd_soc_component_get_drvdata(component); in adau17x1_hw_params()
536 ret = adau17x1_setup_firmware(component, params_rate(params)); in adau17x1_hw_params()
565 struct adau *adau = snd_soc_component_get_drvdata(dai->component); in adau17x1_set_dai_fmt()
646 struct adau *adau = snd_soc_component_get_drvdata(dai->component); in adau17x1_set_dai_tdm_slot()
771 struct adau *adau = snd_soc_component_get_drvdata(dai->component); in adau17x1_startup()
789 int adau17x1_set_micbias_voltage(struct snd_soc_component *component, in adau17x1_set_micbias_voltage() argument
792 struct adau *adau = snd_soc_component_get_drvdata(component); in adau17x1_set_micbias_voltage()
878 static int adau17x1_setup_firmware(struct snd_soc_component *component, in adau17x1_setup_firmware() argument
883 struct adau *adau = snd_soc_component_get_drvdata(component); in adau17x1_setup_firmware()
884 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(component); in adau17x1_setup_firmware()
923 int adau17x1_add_widgets(struct snd_soc_component *component) in adau17x1_add_widgets() argument
925 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(component); in adau17x1_add_widgets()
926 struct adau *adau = snd_soc_component_get_drvdata(component); in adau17x1_add_widgets()
929 ret = snd_soc_add_component_controls(component, adau17x1_controls, in adau17x1_add_widgets()
947 ret = sigmadsp_attach(adau->sigmadsp, component); in adau17x1_add_widgets()
949 dev_err(component->dev, "Failed to attach firmware: %d\n", in adau17x1_add_widgets()
959 int adau17x1_add_routes(struct snd_soc_component *component) in adau17x1_add_routes() argument
961 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(component); in adau17x1_add_routes()
962 struct adau *adau = snd_soc_component_get_drvdata(component); in adau17x1_add_routes()
985 int adau17x1_resume(struct snd_soc_component *component) in adau17x1_resume() argument
987 struct adau *adau = snd_soc_component_get_drvdata(component); in adau17x1_resume()
990 adau->switch_mode(component->dev); in adau17x1_resume()