Searched refs:edid_infop (Results 1 – 1 of 1) sorted by relevance
496 struct vesa_edid_info *edid_infop; in efifb_gop_get_edid() local514 size = MAX(sizeof(*edid_infop), edid->SizeOfEdid); in efifb_gop_get_edid()516 edid_infop = calloc(1, size); in efifb_gop_get_edid()517 if (edid_infop == NULL) in efifb_gop_get_edid()520 memcpy(edid_infop, edid->Edid, edid->SizeOfEdid); in efifb_gop_get_edid()523 if (memcmp(edid_infop, magic, sizeof (magic)) != 0) in efifb_gop_get_edid()526 if (edid_infop->header.version != 1) in efifb_gop_get_edid()529 return (edid_infop); in efifb_gop_get_edid()531 free(edid_infop); in efifb_gop_get_edid()