Lines Matching refs:codec_dev
40 struct device *codec_dev; member
475 struct device *codec_dev; in snd_byt_cht_es8316_mc_probe() local
545 codec_dev = acpi_get_first_physical_node(adev); in snd_byt_cht_es8316_mc_probe()
546 if (!codec_dev) in snd_byt_cht_es8316_mc_probe()
548 priv->codec_dev = get_device(codec_dev); in snd_byt_cht_es8316_mc_probe()
556 put_device(codec_dev); in snd_byt_cht_es8316_mc_probe()
560 ret = device_add_software_node(codec_dev, to_software_node(fwnode)); in snd_byt_cht_es8316_mc_probe()
565 put_device(codec_dev); in snd_byt_cht_es8316_mc_probe()
571 devm_acpi_dev_add_driver_gpios(codec_dev, byt_cht_es8316_gpios); in snd_byt_cht_es8316_mc_probe()
573 gpiod_get_optional(codec_dev, "speaker-enable", in snd_byt_cht_es8316_mc_probe()
622 device_remove_software_node(priv->codec_dev); in snd_byt_cht_es8316_mc_probe()
623 put_device(priv->codec_dev); in snd_byt_cht_es8316_mc_probe()
633 device_remove_software_node(priv->codec_dev); in snd_byt_cht_es8316_mc_remove()
634 put_device(priv->codec_dev); in snd_byt_cht_es8316_mc_remove()