Lines Matching refs:codec_dev
37 struct device *codec_dev; member
461 struct device *codec_dev; in sof_es8336_probe() local
510 codec_dev = bus_find_device_by_name(&i2c_bus_type, NULL, codec_name); in sof_es8336_probe()
511 if (!codec_dev) in sof_es8336_probe()
514 ret = devm_acpi_dev_add_driver_gpios(codec_dev, gpio_mapping); in sof_es8336_probe()
516 dev_warn(codec_dev, "unable to add GPIO mapping table\n"); in sof_es8336_probe()
518 priv->gpio_pa = gpiod_get(codec_dev, "pa-enable", GPIOD_OUT_LOW); in sof_es8336_probe()
521 dev_err(codec_dev, "%s, could not get pa-enable: %d\n", in sof_es8336_probe()
526 priv->codec_dev = codec_dev; in sof_es8336_probe()
541 put_device(codec_dev); in sof_es8336_probe()
551 put_device(priv->codec_dev); in sof_es8336_remove()