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()
368 struct bdw_rt5677_priv *bdw_rt5677 = snd_soc_card_get_drvdata(card); in bdw_rt5677_suspend_pre() local
371 if (bdw_rt5677->component) { in bdw_rt5677_suspend_pre()
372 dapm = snd_soc_component_get_dapm(bdw_rt5677->component); in bdw_rt5677_suspend_pre()
380 struct bdw_rt5677_priv *bdw_rt5677 = snd_soc_card_get_drvdata(card); in bdw_rt5677_resume_post() local
383 if (bdw_rt5677->component) { in bdw_rt5677_resume_post()
384 dapm = snd_soc_component_get_dapm(bdw_rt5677->component); in bdw_rt5677_resume_post()
419 struct bdw_rt5677_priv *bdw_rt5677; in bdw_rt5677_probe() local
426 bdw_rt5677 = devm_kzalloc(&pdev->dev, sizeof(struct bdw_rt5677_priv), in bdw_rt5677_probe()
428 if (!bdw_rt5677) { in bdw_rt5677_probe()
440 snd_soc_card_set_drvdata(&bdw_rt5677_card, bdw_rt5677); in bdw_rt5677_probe()