Lines Matching refs:bdw_rt5677
35 struct bdw_rt5677_priv *bdw_rt5677 = snd_soc_card_get_drvdata(card); in bdw_rt5677_event_hp() local
40 gpiod_set_value_cansleep(bdw_rt5677->gpio_hp_en, in bdw_rt5677_event_hp()
195 struct bdw_rt5677_priv *bdw_rt5677 = in bdw_rt5677_init() local
213 bdw_rt5677->gpio_hp_en = devm_gpiod_get(component->dev, "headphone-enable", in bdw_rt5677_init()
215 if (IS_ERR(bdw_rt5677->gpio_hp_en)) { in bdw_rt5677_init()
217 return PTR_ERR(bdw_rt5677->gpio_hp_en); in bdw_rt5677_init()
242 bdw_rt5677->component = component; in bdw_rt5677_init()
300 struct bdw_rt5677_priv *bdw_rt5677 = snd_soc_card_get_drvdata(card); in bdw_rt5677_suspend_pre() local
303 if (bdw_rt5677->component) { in bdw_rt5677_suspend_pre()
304 dapm = snd_soc_component_get_dapm(bdw_rt5677->component); in bdw_rt5677_suspend_pre()
312 struct bdw_rt5677_priv *bdw_rt5677 = snd_soc_card_get_drvdata(card); in bdw_rt5677_resume_post() local
315 if (bdw_rt5677->component) { in bdw_rt5677_resume_post()
316 dapm = snd_soc_component_get_dapm(bdw_rt5677->component); in bdw_rt5677_resume_post()
341 struct bdw_rt5677_priv *bdw_rt5677; in bdw_rt5677_probe() local
348 bdw_rt5677 = devm_kzalloc(&pdev->dev, sizeof(struct bdw_rt5677_priv), in bdw_rt5677_probe()
350 if (!bdw_rt5677) { in bdw_rt5677_probe()
362 snd_soc_card_set_drvdata(&bdw_rt5677_card, bdw_rt5677); in bdw_rt5677_probe()