Home
last modified time | relevance | path

Searched refs:vbios (Results 1 – 17 of 17) sorted by relevance

/drivers/video/fbdev/matrox/
Dmatroxfb_misc.c426 static void get_bios_version(unsigned char __iomem * vbios, struct matrox_bios* bd) { in get_bios_version() argument
429 pcir_offset = readb(vbios + 24) | (readb(vbios + 25) << 8); in get_bios_version()
431 readb(vbios + pcir_offset ) == 'P' && in get_bios_version()
432 readb(vbios + pcir_offset + 1) == 'C' && in get_bios_version()
433 readb(vbios + pcir_offset + 2) == 'I' && in get_bios_version()
434 readb(vbios + pcir_offset + 3) == 'R') { in get_bios_version()
437 h = readb(vbios + pcir_offset + 0x12); in get_bios_version()
440 bd->version.vRev = readb(vbios + pcir_offset + 0x13); in get_bios_version()
444 h = readb(vbios + 5); in get_bios_version()
451 static void get_bios_output(unsigned char __iomem* vbios, struct matrox_bios* bd) { in get_bios_output() argument
[all …]
/drivers/staging/xgifb/
Dvb_init.c874 u8 *vbios; in xgifb_read_vbios() local
881 vbios = xgifb_copy_rom(pdev, &vbios_size); in xgifb_read_vbios()
882 if (vbios == NULL) { in xgifb_read_vbios()
892 if (!(vbios[0x65] & 0x1) && in xgifb_read_vbios()
895 vfree(vbios); in xgifb_read_vbios()
900 i = vbios[0x316] | (vbios[0x317] << 8); in xgifb_read_vbios()
903 j = vbios[i - 1]; in xgifb_read_vbios()
918 lvds->LVDS_Capability = vbios[i] | (vbios[i + 1] << 8); in xgifb_read_vbios()
919 lvds->LVDSHT = vbios[i + 2] | (vbios[i + 3] << 8); in xgifb_read_vbios()
920 lvds->LVDSVT = vbios[i + 4] | (vbios[i + 5] << 8); in xgifb_read_vbios()
[all …]
/drivers/gpu/drm/nouveau/
Dnouveau_debugfs.c41 for (i = 0; i < drm->vbios.length; i++) in nouveau_debugfs_vbios_image()
42 seq_printf(m, "%c", drm->vbios.data[i]); in nouveau_debugfs_vbios_image()
Dnouveau_bios.c112 struct nvbios *bios = &drm->vbios; in call_lvds_manufacturer_script()
149 struct nvbios *bios = &drm->vbios; in run_lvds_table()
219 struct nvbios *bios = &drm->vbios; in call_lvds_script()
451 struct nvbios *bios = &drm->vbios; in nouveau_bios_fp_mode()
522 struct nvbios *bios = &drm->vbios; in nouveau_bios_parse_lvds_table()
638 struct nvbios *bios = &drm->vbios; in run_tmds_table()
974 struct nvbios *bios = &drm->vbios; in bit_table()
1255 dcb = ROMPTR(dev, drm->vbios.data[0x36]); in olddcb_table()
1643 struct dcb_table *dcb = &drm->vbios.dcb; in apply_dcb_encoder_quirks()
1781 struct dcb_table *dcb = &drm->vbios.dcb; in parse_dcb_entry()
[all …]
Dnouveau_connector.c353 if (!drm->vbios.fp_no_ddc) { in nouveau_connector_detect_lvds()
379 if (nouveau_bios_fp_mode(dev, NULL) && (drm->vbios.fp_no_ddc || in nouveau_connector_detect_lvds()
388 if (!drm->vbios.fp_no_ddc) { in nouveau_connector_detect_lvds()
683 struct nvbios *bios = &drm->vbios; in nouveau_connector_detect_depth()
748 drm->vbios.fp_no_ddc) && nouveau_bios_fp_mode(dev, NULL)) { in nouveau_connector_get_modes()
1087 struct dcb_table *dcbt = &drm->vbios.dcb; in nouveau_connector_create()
Dnouveau_bios.h40 ROM16(x) ? &drm->vbios.data[ROM16(x)] : NULL; \
Dnouveau_drm.h157 struct nvbios vbios; member
Dnv50_display.c1614 args.load.data = nouveau_drm(encoder->dev)->vbios.dactestval; in nv50_dac_detect()
1917 struct nvbios *bios = &drm->vbios; in nv50_sor_mode_set()
2471 struct dcb_table *dcb = &drm->vbios.dcb; in nv50_display_create()
Dnouveau_display.c480 if (nouveau_modeset != 2 && drm->vbios.dcb.entries) { in nouveau_display_create()
/drivers/gpu/drm/nouveau/core/subdev/instmem/
Dnv04.c117 nouveau_gpuobj_ref(NULL, &priv->vbios); in nv04_instmem_dtor()
146 &priv->vbios); in nv04_instmem_ctor()
Dnv04.h18 struct nouveau_gpuobj *vbios; member
Dnv40.c96 &priv->vbios); in nv40_instmem_ctor()
/drivers/gpu/drm/nouveau/dispnv04/
Ddac.c246 if (drm->vbios.tvdactestval) in nv17_dac_sample_load()
247 testval = drm->vbios.tvdactestval; in nv17_dac_sample_load()
251 if (drm->vbios.dactestval) in nv17_dac_sample_load()
252 testval = drm->vbios.dactestval; in nv17_dac_sample_load()
Ddisp.c57 struct dcb_table *dcb = &drm->vbios.dcb; in nv04_display_create()
Dtvnv17.c58 if (drm->vbios.tvdactestval) in nv42_tv_sample_load()
59 testval = drm->vbios.tvdactestval; in nv42_tv_sample_load()
434 drm->vbios.fp.dual_link); in nv17_tv_prepare()
Ddfp.c303 drm->vbios.digital_min_front_porch) in nv04_dfp_mode_set()
306 regp->fp_horiz_regs[FP_CRTC] = output_mode->hsync_start - drm->vbios.digital_min_front_porch - 1; in nv04_dfp_mode_set()
/drivers/gpu/drm/radeon/
Dradeon_bios.c604 GOP_VBIOS_CONTENT *vbios; in radeon_acpi_vfct_bios() local
620 vbios = (GOP_VBIOS_CONTENT *)((char *)hdr + vfct->VBIOSImageOffset); in radeon_acpi_vfct_bios()
621 vhdr = &vbios->VbiosHeader; in radeon_acpi_vfct_bios()
640 rdev->bios = kmemdup(&vbios->VbiosContent, vhdr->ImageLength, GFP_KERNEL); in radeon_acpi_vfct_bios()