Home
last modified time | relevance | path

Searched refs:vbt_header (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/gpu/drm/gma500/
H A Dmid_bios.c119 struct mid_vbt_header vbt_header; member
125 struct mid_vbt_header vbt_header; member
276 struct mid_vbt_header vbt_header; in mid_get_vbt_data() local
292 vbt_virtual = ioremap(addr, sizeof(vbt_header)); in mid_get_vbt_data()
296 memcpy_fromio(&vbt_header, vbt_virtual, sizeof(vbt_header)); in mid_get_vbt_data()
299 if (memcmp(&vbt_header.signature, "$GCT", 4)) in mid_get_vbt_data()
302 dev_dbg(dev->dev, "GCT revision is %02x\n", vbt_header.revision); in mid_get_vbt_data()
304 switch (vbt_header.revision) { in mid_get_vbt_data()
H A Dintel_bios.c521 struct vbt_header *vbt = NULL; in psb_intel_init_bios()
532 struct vbt_header *vbt = dev_priv->opregion.vbt; in psb_intel_init_bios()
549 vbt = (struct vbt_header *)(bios + i); in psb_intel_init_bios()
H A Dintel_bios.h14 struct vbt_header { struct
/openbmc/linux/drivers/gpu/drm/i915/gvt/
H A Dopregion.c118 struct vbt_header header;
157 v->bdb_header.bdb_size = sizeof(struct vbt) - sizeof(struct vbt_header); in virt_vbt_generation()
/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_bios.c2897 const struct vbt_header *vbt = buf; in intel_bios_is_valid_vbt()
2903 if (sizeof(struct vbt_header) > size) { in intel_bios_is_valid_vbt()
2944 static struct vbt_header *spi_oprom_get_vbt(struct drm_i915_private *i915) in spi_oprom_get_vbt()
2972 found + offsetof(struct vbt_header, vbt_size)); in spi_oprom_get_vbt()
2987 return (struct vbt_header *)vbt; in spi_oprom_get_vbt()
2995 static struct vbt_header *oprom_get_vbt(struct drm_i915_private *i915) in oprom_get_vbt()
2999 struct vbt_header *vbt; in oprom_get_vbt()
3020 if (sizeof(struct vbt_header) > size) { in oprom_get_vbt()
3025 vbt_size = ioread16(p + offsetof(struct vbt_header, vbt_size)); in oprom_get_vbt()
3066 const struct vbt_header *vbt = i915->display.opregion.vbt; in intel_bios_init()
[all …]
H A Dintel_vbt_defs.h53 struct vbt_header { struct