vbt_header
struct vbt_header *vbt = NULL;
struct vbt_header *vbt = dev_priv->opregion.vbt;
vbt = (struct vbt_header *)(bios + i);
struct mid_vbt_header vbt_header;
struct mid_vbt_header vbt_header;
struct mid_vbt_header vbt_header;
vbt_virtual = ioremap(addr, sizeof(vbt_header));
memcpy_fromio(&vbt_header, vbt_virtual, sizeof(vbt_header));
if (memcmp(&vbt_header.signature, "$GCT", 4))
dev_dbg(dev->dev, "GCT revision is %02x\n", vbt_header.revision);
switch (vbt_header.revision) {
static const struct bdb_header *get_bdb_header(const struct vbt_header *vbt)
const struct vbt_header *vbt = buf;
if (sizeof(struct vbt_header) > size) {
static struct vbt_header *firmware_get_vbt(struct intel_display *display,
struct vbt_header *vbt = NULL;
static struct vbt_header *oprom_get_vbt(struct intel_display *display,
struct vbt_header *vbt;
if (sizeof(struct vbt_header) > intel_rom_size(rom) - offset) {
vbt_size = intel_rom_read16(rom, offset + offsetof(struct vbt_header, vbt_size));
static const struct vbt_header *intel_bios_get_vbt(struct intel_display *display,
const struct vbt_header *vbt = NULL;
const struct vbt_header *vbt;
struct vbt_header header;
v->bdb_header.bdb_size = sizeof(struct vbt) - sizeof(struct vbt_header);