Searched refs:mnl (Results 1 – 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/include/drm/ |
D | drm_edid.h | 288 #define DRM_ELD_CEA_SAD(mnl, sad) (20 + (mnl) + 3 * (sad)) argument 406 unsigned int ver, mnl; in drm_eld_sad() local 412 mnl = drm_eld_mnl(eld); in drm_eld_sad() 413 if (mnl > 16) in drm_eld_sad() 416 return eld + DRM_ELD_CEA_SAD(mnl, 0); in drm_eld_sad()
|
/kernel/linux/linux-5.10/sound/pci/hda/ |
D | hda_eld.c | 227 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 strlcpy(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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
D | drm_edid.c | 4450 int mnl; in get_monitor_name() local 4456 for (mnl = 0; edid_name && mnl < 13; mnl++) { in get_monitor_name() 4457 if (edid_name[mnl] == 0x0a) in get_monitor_name() 4460 name[mnl] = edid_name[mnl]; in get_monitor_name() 4463 return mnl; in get_monitor_name() 4513 int mnl; in drm_edid_to_eld() local 4527 mnl = get_monitor_name(edid, &eld[DRM_ELD_MONITOR_NAME_STRING]); in drm_edid_to_eld() 4531 eld[DRM_ELD_CEA_EDID_VER_MNL] |= mnl; in drm_edid_to_eld() 4558 memcpy(&eld[DRM_ELD_CEA_SAD(mnl, total_sad_count)], in drm_edid_to_eld()
|
/kernel/linux/linux-5.10/sound/soc/codecs/ |
D | hdac_hdmi.c | 1222 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()
|