Lines Matching refs:component
24 struct snd_soc_component *component; member
230 struct snd_soc_component *component = asoc_rtd_to_codec(rtd, 0)->component; in bdw_rt5677_init() local
231 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(component); in bdw_rt5677_init()
234 ret = devm_acpi_dev_add_driver_gpios(component->dev, bdw_rt5677_gpios); in bdw_rt5677_init()
236 dev_warn(component->dev, "Failed to add driver gpios\n"); in bdw_rt5677_init()
241 rt5677_sel_asrc_clk_src(component, RT5677_DA_STEREO_FILTER | in bdw_rt5677_init()
247 rt5677_sel_asrc_clk_src(component, RT5677_AD_MONO_L_FILTER, in bdw_rt5677_init()
251 bdw_rt5677->gpio_hp_en = gpiod_get(component->dev, "headphone-enable", in bdw_rt5677_init()
254 dev_err(component->dev, "Can't find HP_AMP_SHDN_L gpio\n"); in bdw_rt5677_init()
262 headphone_jack_gpio.gpiod_dev = component->dev; in bdw_rt5677_init()
265 dev_err(component->dev, "Can't add headphone jack gpio\n"); in bdw_rt5677_init()
267 dev_err(component->dev, "Can't create headphone jack\n"); in bdw_rt5677_init()
274 mic_jack_gpio.gpiod_dev = component->dev; in bdw_rt5677_init()
276 dev_err(component->dev, "Can't add mic jack gpio\n"); in bdw_rt5677_init()
278 dev_err(component->dev, "Can't create mic jack\n"); in bdw_rt5677_init()
280 bdw_rt5677->component = component; in bdw_rt5677_init()
372 if (bdw_rt5677->component) { in bdw_rt5677_suspend_pre()
373 dapm = snd_soc_component_get_dapm(bdw_rt5677->component); in bdw_rt5677_suspend_pre()
384 if (bdw_rt5677->component) { in bdw_rt5677_resume_post()
385 dapm = snd_soc_component_get_dapm(bdw_rt5677->component); in bdw_rt5677_resume_post()