Home
last modified time | relevance | path

Searched refs:mnl (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/sound/pci/hda/
Dhda_eld.c227 int mnl; in snd_hdmi_parse_eld() local
239 mnl = GRAB_BITS(buf, 4, 0, 5); in snd_hdmi_parse_eld()
256 if (mnl > ELD_MAX_MNL) { in snd_hdmi_parse_eld()
257 codec_info(codec, "HDMI: MNL is reserved value %d\n", mnl); in snd_hdmi_parse_eld()
259 } else if (ELD_FIXED_BYTES + mnl > size) { in snd_hdmi_parse_eld()
260 codec_info(codec, "HDMI: out of range MNL %d\n", mnl); in snd_hdmi_parse_eld()
263 strscpy(e->monitor_name, buf + ELD_FIXED_BYTES, mnl + 1); in snd_hdmi_parse_eld()
266 if (ELD_FIXED_BYTES + mnl + 3 * (i + 1) > size) { in snd_hdmi_parse_eld()
271 buf + ELD_FIXED_BYTES + mnl + 3 * i); in snd_hdmi_parse_eld()
/linux-6.1.9/include/drm/
Ddrm_edid.h324 #define DRM_ELD_CEA_SAD(mnl, sad) (20 + (mnl) + 3 * (sad)) argument
430 unsigned int ver, mnl; in drm_eld_sad() local
436 mnl = drm_eld_mnl(eld); in drm_eld_sad()
437 if (mnl > 16) in drm_eld_sad()
440 return eld + DRM_ELD_CEA_SAD(mnl, 0); in drm_eld_sad()
/linux-6.1.9/drivers/gpu/drm/
Ddrm_edid.c5305 int mnl; in get_monitor_name() local
5311 for (mnl = 0; edid_name && mnl < 13; mnl++) { in get_monitor_name()
5312 if (edid_name[mnl] == 0x0a) in get_monitor_name()
5315 name[mnl] = edid_name[mnl]; in get_monitor_name()
5318 return mnl; in get_monitor_name()
5378 int mnl; in drm_edid_to_eld() local
5385 mnl = get_monitor_name(drm_edid, &eld[DRM_ELD_MONITOR_NAME_STRING]); in drm_edid_to_eld()
5389 eld[DRM_ELD_CEA_EDID_VER_MNL] |= mnl; in drm_edid_to_eld()
5409 memcpy(&eld[DRM_ELD_CEA_SAD(mnl, total_sad_count)], in drm_edid_to_eld()
/linux-6.1.9/sound/soc/codecs/
Dhdac_hdmi.c1222 unsigned int ver, mnl; in hdac_hdmi_parse_eld() local
1232 mnl = (port->eld.eld_buffer[DRM_ELD_CEA_EDID_VER_MNL] & in hdac_hdmi_parse_eld()
1235 if (mnl > ELD_MAX_MNL) { in hdac_hdmi_parse_eld()
1236 dev_err(&hdev->dev, "HDMI: MNL Invalid %d\n", mnl); in hdac_hdmi_parse_eld()