| /linux/sound/soc/amd/ |
| H A D | acp-es8336.c | 34 static struct device *codec_dev; variable 202 codec_dev = acpi_get_first_physical_node(adev); in st_es8336_late_probe() 204 if (!codec_dev) { in st_es8336_late_probe() 209 ret = devm_acpi_dev_add_driver_gpios(codec_dev, acpi_es8336_gpios); in st_es8336_late_probe() 213 gpio_pa = gpiod_get_optional(codec_dev, "pa-enable", GPIOD_OUT_LOW); in st_es8336_late_probe() 217 put_device(codec_dev); in st_es8336_late_probe()
|
| /linux/sound/soc/fsl/ |
| H A D | imx-sgtl5000.c | 56 struct i2c_client *codec_dev; in imx_sgtl5000_probe() local 113 codec_dev = of_find_i2c_device_by_node(codec_np); in imx_sgtl5000_probe() 114 if (!codec_dev) { in imx_sgtl5000_probe() 132 data->codec_clk = clk_get(&codec_dev->dev, NULL); in imx_sgtl5000_probe() 186 put_device(&codec_dev->dev); in imx_sgtl5000_probe()
|
| H A D | fsl-asoc-card.c | 625 struct device *codec_dev[2] = { NULL, NULL }; in fsl_asoc_card_probe() local 669 codec_dev[codec_idx] = &codec_i2c->dev; in fsl_asoc_card_probe() 672 if (!codec_dev[codec_idx]) { in fsl_asoc_card_probe() 675 codec_dev[codec_idx] = &codec_pdev->dev; in fsl_asoc_card_probe() 688 if (codec_dev[codec_idx]) { in fsl_asoc_card_probe() 689 struct clk *codec_clk = clk_get(codec_dev[codec_idx], NULL); in fsl_asoc_card_probe() 831 if (codec_dev[0]) in fsl_asoc_card_probe() 832 priv->codec_priv[0].mclk = devm_clk_get(codec_dev[0], NULL); in fsl_asoc_card_probe() 892 if (!fsl_asoc_card_is_ac97(priv) && !codec_dev[0] in fsl_asoc_card_probe()
|
| /linux/drivers/platform/x86/x86-android-tablets/ |
| H A D | lenovo.c | 523 struct device *codec_dev; in lenovo_yoga_tab2_830_1050_init_codec() local 527 codec_dev = bus_find_device_by_name(&spi_bus_type, NULL, in lenovo_yoga_tab2_830_1050_init_codec() 529 if (!codec_dev) { in lenovo_yoga_tab2_830_1050_init_codec() 538 pinctrl = pinctrl_get_select(codec_dev, "codec_32khz_clk"); in lenovo_yoga_tab2_830_1050_init_codec() 540 ret = dev_err_probe(codec_dev, PTR_ERR(pinctrl), "selecting codec_32khz_clk\n"); in lenovo_yoga_tab2_830_1050_init_codec() 544 ret = device_add_software_node(codec_dev, &lenovo_yoga_tab2_830_1050_wm5102); in lenovo_yoga_tab2_830_1050_init_codec() 546 dev_err_probe(codec_dev, ret, "adding software node\n"); in lenovo_yoga_tab2_830_1050_init_codec() 550 lenovo_yoga_tab2_830_1050_codec_dev = codec_dev; in lenovo_yoga_tab2_830_1050_init_codec() 559 put_device(codec_dev); in lenovo_yoga_tab2_830_1050_init_codec()
|
| /linux/drivers/gpu/drm/display/ |
| H A D | drm_hdmi_audio_helper.c | 98 struct device *codec_dev) in drm_connector_hdmi_audio_hook_plugged_cb() argument 105 connector->hdmi_audio.plugged_cb_dev = codec_dev; in drm_connector_hdmi_audio_hook_plugged_cb() 108 fn(codec_dev, connector->hdmi_audio.last_state); in drm_connector_hdmi_audio_hook_plugged_cb()
|
| /linux/drivers/gpu/drm/mediatek/ |
| H A D | mtk_hdmi_common.h | 174 struct device *codec_dev; member 186 struct device *codec_dev);
|
| H A D | mtk_hdmi_common.c | 193 struct device *codec_dev) in mtk_hdmi_audio_set_plugged_cb() argument 197 hdmi->codec_dev = codec_dev; in mtk_hdmi_audio_set_plugged_cb()
|
| H A D | mtk_hdmi.c | 887 if (hdmi->plugged_cb && hdmi->codec_dev) in mtk_hdmi_update_plugged_status() 888 hdmi->plugged_cb(hdmi->codec_dev, connected); in mtk_hdmi_update_plugged_status() 1140 struct device *codec_dev) in mtk_hdmi_audio_hook_plugged_cb() argument 1144 mtk_hdmi_audio_set_plugged_cb(hdmi, fn, codec_dev); in mtk_hdmi_audio_hook_plugged_cb()
|
| H A D | mtk_hdmi_v2.c | 987 if (hdmi->plugged_cb && hdmi->codec_dev) in mtk_hdmi_v2_handle_plugged_change() 988 hdmi->plugged_cb(hdmi->codec_dev, plugged); in mtk_hdmi_v2_handle_plugged_change() 1342 struct device *codec_dev) in mtk_hdmi_v2_audio_hook_plugged_cb() argument 1350 mtk_hdmi_audio_set_plugged_cb(hdmi, fn, codec_dev); in mtk_hdmi_v2_audio_hook_plugged_cb()
|
| H A D | mtk_dp.c | 134 struct device *codec_dev; member 2115 if (mtk_dp->plugged_cb && mtk_dp->codec_dev) in mtk_dp_update_plugged_status() 2116 mtk_dp->plugged_cb(mtk_dp->codec_dev, in mtk_dp_update_plugged_status() 2632 struct device *codec_dev) in mtk_dp_audio_hook_plugged_cb() argument 2638 mtk_dp->codec_dev = codec_dev; in mtk_dp_audio_hook_plugged_cb()
|
| /linux/sound/soc/intel/boards/ |
| H A D | cht_bsw_rt5645.c | 532 struct device *codec_dev; in snd_cht_mc_probe() local 587 codec_dev = acpi_get_first_physical_node(adev); in snd_cht_mc_probe() 589 if (!codec_dev) in snd_cht_mc_probe() 592 snd_soc_card_chtrt5645.components = rt5645_components(codec_dev); in snd_cht_mc_probe() 593 snd_soc_card_chtrt5650.components = rt5645_components(codec_dev); in snd_cht_mc_probe()
|
| /linux/drivers/gpu/drm/bridge/synopsys/ |
| H A D | dw-hdmi-i2s-audio.c | 173 struct device *codec_dev) in dw_hdmi_i2s_hook_plugged_cb() argument 178 return dw_hdmi_set_plugged_cb(hdmi, fn, codec_dev); in dw_hdmi_i2s_hook_plugged_cb()
|
| /linux/include/sound/ |
| H A D | hdmi-codec.h | 117 struct device *codec_dev);
|
| /linux/drivers/gpu/drm/bridge/analogix/ |
| H A D | anx7625.h | 464 struct device *codec_dev; member
|
| H A D | anx7625.c | 1974 if (ctx->plugged_cb && ctx->codec_dev) { in anx7625_audio_update_connector_status() 1975 ctx->plugged_cb(ctx->codec_dev, in anx7625_audio_update_connector_status() 1982 struct device *codec_dev) in anx7625_audio_hook_plugged_cb() argument 1987 ctx->codec_dev = codec_dev; in anx7625_audio_hook_plugged_cb()
|
| /linux/sound/soc/codecs/ |
| H A D | rt5645.c | 3947 static void rt5645_get_pdata(struct device *codec_dev, struct rt5645_platform_data *pdata) in rt5645_get_pdata() 3953 dev_info(codec_dev, "Detected %s platform\n", dmi_data->ident); in rt5645_get_pdata() 3955 } else if (rt5645_check_dp(codec_dev)) { in rt5645_get_pdata() 3956 rt5645_parse_dt(codec_dev, pdata); in rt5645_get_pdata() 3972 const char *rt5645_components(struct device *codec_dev) in rt5645_components() 3979 rt5645_get_pdata(codec_dev, &pdata); in rt5645_components() 3946 rt5645_get_pdata(struct device * codec_dev,struct rt5645_platform_data * pdata) rt5645_get_pdata() argument 3971 rt5645_components(struct device * codec_dev) rt5645_components() argument
|
| H A D | rt5645.h | 2211 const char *rt5645_components(struct device *codec_dev);
|