Home
last modified time | relevance | path

Searched refs:hdmi_id (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/gpu/drm/display/
H A Ddrm_dp_dual_mode_helper.c161 static bool is_hdmi_adaptor(const char hdmi_id[DP_DUAL_MODE_HDMI_ID_LEN]) in is_hdmi_adaptor()
166 return memcmp(hdmi_id, dp_dual_mode_hdmi_id, in is_hdmi_adaptor()
181 static bool is_lspcon_adaptor(const char hdmi_id[DP_DUAL_MODE_HDMI_ID_LEN], in is_lspcon_adaptor()
184 return is_hdmi_adaptor(hdmi_id) && in is_lspcon_adaptor()
208 char hdmi_id[DP_DUAL_MODE_HDMI_ID_LEN] = {}; in drm_dp_dual_mode_detect() local
227 hdmi_id, sizeof(hdmi_id)); in drm_dp_dual_mode_detect()
229 ret ? 0 : (int)sizeof(hdmi_id), hdmi_id, ret); in drm_dp_dual_mode_detect()
237 if (is_lspcon_adaptor(hdmi_id, adaptor_id)) in drm_dp_dual_mode_detect()
240 if (is_hdmi_adaptor(hdmi_id)) in drm_dp_dual_mode_detect()
254 if (is_hdmi_adaptor(hdmi_id)) in drm_dp_dual_mode_detect()
/linux/sound/soc/intel/boards/
H A Dsof_board_helpers.c277 int be_id, int hdmi_id, bool idisp_codec) in set_idisp_hdmi_link() argument
281 dev_dbg(dev, "link %d: idisp hdmi %d, idisp codec %d\n", be_id, hdmi_id, in set_idisp_hdmi_link()
285 link->name = devm_kasprintf(dev, GFP_KERNEL, "iDisp%d", hdmi_id); in set_idisp_hdmi_link()
295 cpus->dai_name = devm_kasprintf(dev, GFP_KERNEL, "iDisp%d Pin", hdmi_id); in set_idisp_hdmi_link()
312 "intel-hdmi-hifi%d", hdmi_id); in set_idisp_hdmi_link()
327 link->init = (hdmi_id == 1) ? hdmi_init : NULL; in set_idisp_hdmi_link()