Lines Matching refs:bdw_rt5677

32 	struct bdw_rt5677_priv *bdw_rt5677 = snd_soc_card_get_drvdata(card);  in bdw_rt5677_event_hp()  local
37 gpiod_set_value_cansleep(bdw_rt5677->gpio_hp_en, in bdw_rt5677_event_hp()
228 struct bdw_rt5677_priv *bdw_rt5677 = in bdw_rt5677_init() local
251 bdw_rt5677->gpio_hp_en = gpiod_get(component->dev, "headphone-enable", in bdw_rt5677_init()
253 if (IS_ERR(bdw_rt5677->gpio_hp_en)) { in bdw_rt5677_init()
255 return PTR_ERR(bdw_rt5677->gpio_hp_en); in bdw_rt5677_init()
280 bdw_rt5677->component = component; in bdw_rt5677_init()
288 struct bdw_rt5677_priv *bdw_rt5677 = in bdw_rt5677_exit() local
295 if (!IS_ERR_OR_NULL(bdw_rt5677->gpio_hp_en)) in bdw_rt5677_exit()
296 gpiod_put(bdw_rt5677->gpio_hp_en); in bdw_rt5677_exit()
369 struct bdw_rt5677_priv *bdw_rt5677 = snd_soc_card_get_drvdata(card); in bdw_rt5677_suspend_pre() local
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()
381 struct bdw_rt5677_priv *bdw_rt5677 = snd_soc_card_get_drvdata(card); in bdw_rt5677_resume_post() local
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()
418 struct bdw_rt5677_priv *bdw_rt5677; in bdw_rt5677_probe() local
425 bdw_rt5677 = devm_kzalloc(&pdev->dev, sizeof(struct bdw_rt5677_priv), in bdw_rt5677_probe()
427 if (!bdw_rt5677) in bdw_rt5677_probe()
446 snd_soc_card_set_drvdata(&bdw_rt5677_card, bdw_rt5677); in bdw_rt5677_probe()