Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | vbt_header |
struct | bdb_header |
struct | vbios_data |
struct | bdb_general_features |
struct | child_device_config |
struct | bdb_general_definitions |
struct | bdb_lvds_options |
struct | bdb_lvds_backlight |
struct | bdb_lvds_lfp_data_ptr |
struct | bdb_lvds_lfp_data_ptrs |
struct | lvds_fp_timing |
struct | lvds_dvo_timing |
struct | lvds_pnp_id |
struct | bdb_lvds_lfp_data_entry |
struct | bdb_lvds_lfp_data |
struct | aimdb_header |
struct | aimdb_block |
struct | vch_panel_data |
struct | vch_bdb_22 |
struct | bdb_sdvo_lvds_options |
struct | bdb_driver_features |
struct | edp_power_seq |
struct | edp_link_params |
struct | bdb_edp |
Functions | |
struct vbt_header | __attribute__ ((packed)) |
int | psb_intel_init_bios (struct drm_device *dev) |
void | psb_intel_destroy_bios (struct drm_device *dev) |
#define BDB_CHILD_DEVICE_TABLE 11 |
Definition at line 81 of file intel_bios.h.
#define BDB_DISPLAY_REMOVE 19 |
Definition at line 89 of file intel_bios.h.
#define BDB_DISPLAY_SELECT 16 |
Definition at line 86 of file intel_bios.h.
#define BDB_DOT_CLOCK_OVERRIDE 15 |
Definition at line 85 of file intel_bios.h.
#define BDB_DOT_CLOCK_TABLE 9 |
Definition at line 79 of file intel_bios.h.
#define BDB_DRIVER_FEATURE_EDP 3 |
Definition at line 399 of file intel_bios.h.
#define BDB_DRIVER_FEATURE_INT_LVDS 1 |
Definition at line 397 of file intel_bios.h.
#define BDB_DRIVER_FEATURE_NO_LVDS 0 |
Definition at line 396 of file intel_bios.h.
#define BDB_DRIVER_FEATURE_SDVO_LVDS 2 |
Definition at line 398 of file intel_bios.h.
#define BDB_DRIVER_FEATURES 12 |
Definition at line 82 of file intel_bios.h.
#define BDB_DRIVER_PERSISTENCE 13 |
Definition at line 83 of file intel_bios.h.
#define BDB_DRIVER_ROTATION 18 |
Definition at line 88 of file intel_bios.h.
#define BDB_EDP 27 |
Definition at line 97 of file intel_bios.h.
#define BDB_EFP_LIST 21 /* workarounds for VGA hsync/vsync */ |
Definition at line 91 of file intel_bios.h.
#define BDB_EXT_MMIO_REGS 6 |
Definition at line 76 of file intel_bios.h.
#define BDB_EXT_TABLE_PTRS 14 |
Definition at line 84 of file intel_bios.h.
#define BDB_GENERAL_DEFINITIONS 2 |
Definition at line 72 of file intel_bios.h.
#define BDB_GENERAL_FEATURES 1 |
Definition at line 71 of file intel_bios.h.
#define BDB_GENERIC_MODE_TABLE 5 |
Definition at line 75 of file intel_bios.h.
#define BDB_LVDS_BACKLIGHT 43 |
Definition at line 101 of file intel_bios.h.
#define BDB_LVDS_LFP_DATA 42 |
Definition at line 100 of file intel_bios.h.
#define BDB_LVDS_LFP_DATA_PTRS 41 |
Definition at line 99 of file intel_bios.h.
#define BDB_LVDS_OPTIONS 40 |
Definition at line 98 of file intel_bios.h.
#define BDB_LVDS_POWER 44 |
Definition at line 102 of file intel_bios.h.
#define BDB_MODE_REMOVAL_TABLE 10 |
Definition at line 80 of file intel_bios.h.
#define BDB_MODE_SUPPORT_LIST 4 |
Definition at line 74 of file intel_bios.h.
#define BDB_OEM_CUSTOM 20 |
Definition at line 90 of file intel_bios.h.
#define BDB_OLD_TOGGLE_LIST 3 |
Definition at line 73 of file intel_bios.h.
#define BDB_SDVO_LVDS_OPTIONS 22 |
Definition at line 92 of file intel_bios.h.
#define BDB_SDVO_LVDS_PNP_IDS 24 |
Definition at line 94 of file intel_bios.h.
#define BDB_SDVO_LVDS_POWER_SEQ 25 |
Definition at line 95 of file intel_bios.h.
#define BDB_SDVO_PANEL_DTDS 23 |
Definition at line 93 of file intel_bios.h.
#define BDB_SKIP 254 /* VBIOS private block, ignore */ |
Definition at line 103 of file intel_bios.h.
#define BDB_SWF_IO 7 |
Definition at line 77 of file intel_bios.h.
#define BDB_SWF_MMIO 8 |
Definition at line 78 of file intel_bios.h.
#define BDB_TV_OPTIONS 26 |
Definition at line 96 of file intel_bios.h.
#define DEVICE_CFG_12BIT_DVOB 0x01 |
Definition at line 173 of file intel_bios.h.
#define DEVICE_CFG_12BIT_DVOC 0x02 |
Definition at line 174 of file intel_bios.h.
#define DEVICE_CFG_24BIT_DVOBC 0x09 |
Definition at line 175 of file intel_bios.h.
#define DEVICE_CFG_24BIT_DVOCB 0x0a |
Definition at line 176 of file intel_bios.h.
#define DEVICE_CFG_DUAL_DVOB 0x11 |
Definition at line 177 of file intel_bios.h.
#define DEVICE_CFG_DUAL_DVOBC 0x13 |
Definition at line 179 of file intel_bios.h.
#define DEVICE_CFG_DUAL_DVOC 0x12 |
Definition at line 178 of file intel_bios.h.
#define DEVICE_CFG_DUAL_LINK_DVOBC 0x19 |
Definition at line 180 of file intel_bios.h.
#define DEVICE_CFG_DUAL_LINK_DVOCB 0x1a |
Definition at line 181 of file intel_bios.h.
#define DEVICE_CFG_NONE 0x00 |
Definition at line 172 of file intel_bios.h.
#define DEVICE_PORT_DVOA 0x00 /* none on 845+ */ |
Definition at line 192 of file intel_bios.h.
#define DEVICE_PORT_DVOB 0x01 |
Definition at line 193 of file intel_bios.h.
#define DEVICE_PORT_DVOC 0x02 |
Definition at line 194 of file intel_bios.h.
#define DEVICE_TYPE_CRT 0x01 |
Definition at line 146 of file intel_bios.h.
#define DEVICE_TYPE_CRT_DPMS 0x6001 |
Definition at line 151 of file intel_bios.h.
#define DEVICE_TYPE_CRT_DPMS_HOTPLUG 0x4001 |
Definition at line 152 of file intel_bios.h.
#define DEVICE_TYPE_DP 0x68C6 |
Definition at line 608 of file intel_bios.h.
#define DEVICE_TYPE_eDP 0x78C6 |
Definition at line 609 of file intel_bios.h.
#define DEVICE_TYPE_EFP 0x12 |
Definition at line 148 of file intel_bios.h.
#define DEVICE_TYPE_EFP_DVI_D_DUAL 0x6152 |
Definition at line 162 of file intel_bios.h.
#define DEVICE_TYPE_EFP_DVI_D_HDCP 0x60d2 |
Definition at line 163 of file intel_bios.h.
#define DEVICE_TYPE_EFP_DVI_HOTPLUG_PWR 0x6052 |
Definition at line 160 of file intel_bios.h.
#define DEVICE_TYPE_EFP_DVI_I 0x6053 |
Definition at line 161 of file intel_bios.h.
#define DEVICE_TYPE_EFP_HOTPLUG_PWR 0x6012 |
Definition at line 159 of file intel_bios.h.
#define DEVICE_TYPE_HDMI 0x60D2 |
Definition at line 607 of file intel_bios.h.
#define DEVICE_TYPE_INT_LFP 0x1022 |
Definition at line 605 of file intel_bios.h.
#define DEVICE_TYPE_INT_TV 0x1009 |
Definition at line 606 of file intel_bios.h.
#define DEVICE_TYPE_LFP 0x22 |
Definition at line 149 of file intel_bios.h.
#define DEVICE_TYPE_LFP_CMOS_PWR 0x5042 |
Definition at line 167 of file intel_bios.h.
#define DEVICE_TYPE_LFP_LVDS_DUAL 0x5162 |
Definition at line 169 of file intel_bios.h.
#define DEVICE_TYPE_LFP_LVDS_DUAL_HDCP 0x51e2 |
Definition at line 170 of file intel_bios.h.
#define DEVICE_TYPE_LFP_LVDS_PWR 0x5062 |
Definition at line 168 of file intel_bios.h.
#define DEVICE_TYPE_LFP_PANELLINK 0x5012 |
Definition at line 166 of file intel_bios.h.
#define DEVICE_TYPE_NONE 0x00 |
Definition at line 145 of file intel_bios.h.
#define DEVICE_TYPE_OPENLDI_DUALPIX 0x6162 |
Definition at line 165 of file intel_bios.h.
#define DEVICE_TYPE_OPENLDI_HOTPLUG_PWR 0x6062 |
Definition at line 164 of file intel_bios.h.
#define DEVICE_TYPE_TV 0x09 |
Definition at line 147 of file intel_bios.h.
#define DEVICE_TYPE_TV_CODEC_HOTPLUG_PWR 0x6009 |
Definition at line 158 of file intel_bios.h.
#define DEVICE_TYPE_TV_COMPOSITE 0x0209 |
Definition at line 153 of file intel_bios.h.
#define DEVICE_TYPE_TV_MACROVISION 0x0289 |
Definition at line 154 of file intel_bios.h.
#define DEVICE_TYPE_TV_RF_COMPOSITE 0x020c |
Definition at line 155 of file intel_bios.h.
#define DEVICE_TYPE_TV_SCART 0x0209 |
Definition at line 157 of file intel_bios.h.
#define DEVICE_TYPE_TV_SVIDEO_COMPOSITE 0x0609 |
Definition at line 156 of file intel_bios.h.
#define DEVICE_WIRE_DVOB 0x01 |
Definition at line 184 of file intel_bios.h.
#define DEVICE_WIRE_DVOB_MASTER 0x0d |
Definition at line 189 of file intel_bios.h.
#define DEVICE_WIRE_DVOBB 0x05 |
Definition at line 187 of file intel_bios.h.
#define DEVICE_WIRE_DVOBC 0x03 |
Definition at line 186 of file intel_bios.h.
#define DEVICE_WIRE_DVOC 0x02 |
Definition at line 185 of file intel_bios.h.
#define DEVICE_WIRE_DVOC_MASTER 0x0e |
Definition at line 190 of file intel_bios.h.
#define DEVICE_WIRE_DVOCC 0x06 |
Definition at line 188 of file intel_bios.h.
#define DEVICE_WIRE_NONE 0x00 |
Definition at line 183 of file intel_bios.h.
#define DVO_B 1 |
Definition at line 612 of file intel_bios.h.
#define DVO_C 2 |
Definition at line 613 of file intel_bios.h.
#define DVO_D 3 |
Definition at line 614 of file intel_bios.h.
#define EDP_18BPP 0 |
Definition at line 441 of file intel_bios.h.
#define EDP_24BPP 1 |
Definition at line 442 of file intel_bios.h.
#define EDP_30BPP 2 |
Definition at line 443 of file intel_bios.h.
#define EDP_LANE_1 0 |
Definition at line 446 of file intel_bios.h.
#define EDP_LANE_2 1 |
Definition at line 447 of file intel_bios.h.
#define EDP_LANE_4 3 |
Definition at line 448 of file intel_bios.h.
#define EDP_PREEMPHASIS_3_5dB 1 |
Definition at line 450 of file intel_bios.h.
#define EDP_PREEMPHASIS_6dB 2 |
Definition at line 451 of file intel_bios.h.
#define EDP_PREEMPHASIS_9_5dB 3 |
Definition at line 452 of file intel_bios.h.
#define EDP_PREEMPHASIS_NONE 0 |
Definition at line 449 of file intel_bios.h.
#define EDP_RATE_1_62 0 |
Definition at line 444 of file intel_bios.h.
#define EDP_RATE_2_7 1 |
Definition at line 445 of file intel_bios.h.
#define EDP_VSWING_0_4V 0 |
Definition at line 453 of file intel_bios.h.
#define EDP_VSWING_0_6V 1 |
Definition at line 454 of file intel_bios.h.
#define EDP_VSWING_0_8V 2 |
Definition at line 455 of file intel_bios.h.
#define EDP_VSWING_1_2V 3 |
Definition at line 456 of file intel_bios.h.
#define GPIO_PIN_ADD_DDC 0x04 /* "ADDCARD DDC GPIO pins" */ |
Definition at line 141 of file intel_bios.h.
#define GPIO_PIN_ADD_DDC_I2C 0x06 /* "ADDCARD DDC/I2C GPIO pins" */ |
Definition at line 142 of file intel_bios.h.
#define GPIO_PIN_ADD_I2C 0x05 /* "ADDCARD I2C GPIO pins" */ |
Definition at line 140 of file intel_bios.h.
#define GPIO_PIN_DVI_LVDS 0x03 /* "DVI/LVDS DDC GPIO pins" */ |
Definition at line 139 of file intel_bios.h.
#define GR18_A0000_FLUSH_EN (1<<1) |
Definition at line 501 of file intel_bios.h.
Definition at line 489 of file intel_bios.h.
#define GR18_HK_APM_CHANGE (0xa<<3) |
Definition at line 498 of file intel_bios.h.
#define GR18_HK_DISP_SWITCH (0x4<<3) /* see SWF14 15:0 for what to enable */ |
Definition at line 494 of file intel_bios.h.
#define GR18_HK_LFP_STRETCH (0x1<<3) |
Definition at line 492 of file intel_bios.h.
#define GR18_HK_MULTIPLE (0xc<<3) |
Definition at line 499 of file intel_bios.h.
#define GR18_HK_NONE (0x0<<3) |
Definition at line 491 of file intel_bios.h.
#define GR18_HK_PFIT (0x8<<3) |
Definition at line 497 of file intel_bios.h.
#define GR18_HK_POPUP_DISABLED (0x6<<3) |
Definition at line 495 of file intel_bios.h.
#define GR18_HK_POPUP_ENABLED (0x7<<3) |
Definition at line 496 of file intel_bios.h.
#define GR18_HK_TOGGLE_DISP (0x2<<3) |
Definition at line 493 of file intel_bios.h.
#define GR18_HOTKEY_MASK 0x78 /* See also SWF4 15:0 */ |
Definition at line 490 of file intel_bios.h.
#define GR18_SMM_EN (1<<0) |
Definition at line 502 of file intel_bios.h.
#define GR18_USER_INT_EN (1<<2) |
Definition at line 500 of file intel_bios.h.
#define PORT_IDPB 7 |
Definition at line 617 of file intel_bios.h.
#define PORT_IDPC 8 |
Definition at line 618 of file intel_bios.h.
#define PORT_IDPD 9 |
Definition at line 619 of file intel_bios.h.
#define SWF00_RES_MASK 0xffff |
Definition at line 507 of file intel_bios.h.
#define SWF00_XRES_SHIFT 0 |
Definition at line 506 of file intel_bios.h.
#define SWF00_YRES_SHIFT 16 |
Definition at line 505 of file intel_bios.h.
#define SWF01_TV1_FORMAT_SHIFT 0 |
Definition at line 511 of file intel_bios.h.
#define SWF01_TV2_FORMAT_SHIFT 8 |
Definition at line 510 of file intel_bios.h.
#define SWF01_TV_FORMAT_MASK 0xffff |
Definition at line 512 of file intel_bios.h.
#define SWF10_ACTIVE_DISP_MASK 0xffff |
Definition at line 531 of file intel_bios.h.
#define SWF10_ACTIVE_TOGGLE_LIST_MASK (7<<24) |
Definition at line 517 of file intel_bios.h.
#define SWF10_DRIVER_LOADED (1<<22) |
Definition at line 524 of file intel_bios.h.
#define SWF10_EXCLUSIVE_MODE (1<<20) |
Definition at line 526 of file intel_bios.h.
#define SWF10_EXTENDED_DESKTOP (1<<21) |
Definition at line 525 of file intel_bios.h.
#define SWF10_GTT_OVERRIDE_EN (1<<28) |
Definition at line 515 of file intel_bios.h.
#define SWF10_LFP_DPMS_OVR (1<<27) /* override DPMS on display switch */ |
Definition at line 516 of file intel_bios.h.
#define SWF10_OLD_TOGGLE 0x0 |
Definition at line 518 of file intel_bios.h.
#define SWF10_OVERLAY_EN (1<<19) |
Definition at line 527 of file intel_bios.h.
#define SWF10_PANNING_EN (1<<23) |
Definition at line 523 of file intel_bios.h.
#define SWF10_PIPEA_CRT (1<<0) |
Definition at line 547 of file intel_bios.h.
#define SWF10_PIPEA_CRT2 (1<<4) |
Definition at line 543 of file intel_bios.h.
#define SWF10_PIPEA_EFP (1<<2) |
Definition at line 545 of file intel_bios.h.
#define SWF10_PIPEA_EFP2 (1<<6) |
Definition at line 541 of file intel_bios.h.
#define SWF10_PIPEA_LFP (1<<3) |
Definition at line 544 of file intel_bios.h.
#define SWF10_PIPEA_LFP2 (1<<7) |
Definition at line 540 of file intel_bios.h.
#define SWF10_PIPEA_TV (1<<1) |
Definition at line 546 of file intel_bios.h.
#define SWF10_PIPEA_TV2 (1<<5) |
Definition at line 542 of file intel_bios.h.
#define SWF10_PIPEB_CRT (1<<8) |
Definition at line 539 of file intel_bios.h.
#define SWF10_PIPEB_CRT2 (1<<12) |
Definition at line 535 of file intel_bios.h.
#define SWF10_PIPEB_EFP (1<<10) |
Definition at line 537 of file intel_bios.h.
#define SWF10_PIPEB_EFP2 (1<<14) |
Definition at line 533 of file intel_bios.h.
#define SWF10_PIPEB_LFP (1<<11) |
Definition at line 536 of file intel_bios.h.
#define SWF10_PIPEB_LFP2 (1<<15) |
Definition at line 532 of file intel_bios.h.
#define SWF10_PIPEB_TV (1<<9) |
Definition at line 538 of file intel_bios.h.
#define SWF10_PIPEB_TV2 (1<<13) |
Definition at line 534 of file intel_bios.h.
#define SWF10_PLANEA_HOLDOFF (1<<17) |
Definition at line 529 of file intel_bios.h.
#define SWF10_PLANEB_HOLDOFF (1<<18) |
Definition at line 528 of file intel_bios.h.
#define SWF10_TOGGLE_LIST_1 0x1 |
Definition at line 519 of file intel_bios.h.
#define SWF10_TOGGLE_LIST_2 0x2 |
Definition at line 520 of file intel_bios.h.
#define SWF10_TOGGLE_LIST_3 0x3 |
Definition at line 521 of file intel_bios.h.
#define SWF10_TOGGLE_LIST_4 0x4 |
Definition at line 522 of file intel_bios.h.
#define SWF10_VBIOS_BLC_I2C_EN (1<<29) |
Definition at line 514 of file intel_bios.h.
#define SWF10_VGA_HOLDOFF (1<<16) |
Definition at line 530 of file intel_bios.h.
#define SWF11_DISPLAY_HOLDOFF (1<<13) |
Definition at line 552 of file intel_bios.h.
#define SWF11_DPMS_MASK 0x07 |
Definition at line 556 of file intel_bios.h.
#define SWF11_DPMS_OFF (1<<2) |
Definition at line 557 of file intel_bios.h.
#define SWF11_DPMS_ON 0 |
Definition at line 560 of file intel_bios.h.
#define SWF11_DPMS_REDUCED (1<<12) |
Definition at line 553 of file intel_bios.h.
#define SWF11_DPMS_STANDBY (1<<0) |
Definition at line 559 of file intel_bios.h.
#define SWF11_DPMS_SUSPEND (1<<1) |
Definition at line 558 of file intel_bios.h.
#define SWF11_IS_AGP (1<<14) |
Definition at line 551 of file intel_bios.h.
#define SWF11_IS_VBE_MODE (1<<11) |
Definition at line 554 of file intel_bios.h.
#define SWF11_MEMORY_SIZE_SHIFT 16 |
Definition at line 549 of file intel_bios.h.
Definition at line 555 of file intel_bios.h.
#define SWF11_SV_TEST_EN (1<<15) |
Definition at line 550 of file intel_bios.h.
#define SWF14_APM_HIBERNATE 0x4 |
Definition at line 599 of file intel_bios.h.
#define SWF14_APM_RESTORE 0x0 |
Definition at line 602 of file intel_bios.h.
#define SWF14_APM_STANDBY 0x1 |
Definition at line 601 of file intel_bios.h.
#define SWF14_APM_SUSPEND 0x3 |
Definition at line 600 of file intel_bios.h.
#define SWF14_DISP_DETECT_EN (1<<26) |
Definition at line 567 of file intel_bios.h.
#define SWF14_DISPLAY_HOLDOFF (1<<27) |
Definition at line 566 of file intel_bios.h.
#define SWF14_DOCKING_STATUS_DOCKED (1<<25) /* 0 here means undocked */ |
Definition at line 568 of file intel_bios.h.
#define SWF14_DRIVER_STATUS (1<<24) |
Definition at line 569 of file intel_bios.h.
#define SWF14_DS_PIPEA_CRT2_EN (1<<4) |
Definition at line 591 of file intel_bios.h.
#define SWF14_DS_PIPEA_CRT_EN (1<<0) |
Definition at line 595 of file intel_bios.h.
#define SWF14_DS_PIPEA_EFP2_EN (1<<6) |
Definition at line 589 of file intel_bios.h.
#define SWF14_DS_PIPEA_EFP_EN (1<<2) |
Definition at line 593 of file intel_bios.h.
#define SWF14_DS_PIPEA_LFP2_EN (1<<7) |
Definition at line 588 of file intel_bios.h.
#define SWF14_DS_PIPEA_LFP_EN (1<<3) |
Definition at line 592 of file intel_bios.h.
#define SWF14_DS_PIPEA_TV2_EN (1<<5) |
Definition at line 590 of file intel_bios.h.
#define SWF14_DS_PIPEA_TV_EN (1<<1) |
Definition at line 594 of file intel_bios.h.
#define SWF14_DS_PIPEB_CRT2_EN (1<<12) |
Definition at line 583 of file intel_bios.h.
#define SWF14_DS_PIPEB_CRT_EN (1<<8) |
Definition at line 587 of file intel_bios.h.
#define SWF14_DS_PIPEB_EFP2_EN (1<<14) |
Definition at line 581 of file intel_bios.h.
#define SWF14_DS_PIPEB_EFP_EN (1<<10) |
Definition at line 585 of file intel_bios.h.
#define SWF14_DS_PIPEB_LFP2_EN (1<<15) |
Definition at line 580 of file intel_bios.h.
#define SWF14_DS_PIPEB_LFP_EN (1<<11) |
Definition at line 584 of file intel_bios.h.
#define SWF14_DS_PIPEB_TV2_EN (1<<13) |
Definition at line 582 of file intel_bios.h.
#define SWF14_DS_PIPEB_TV_EN (1<<9) |
Definition at line 586 of file intel_bios.h.
#define SWF14_GFX_PFIT_EN (1<<31) |
Definition at line 562 of file intel_bios.h.
#define SWF14_HK_REQUEST_MASK 0x0000ffff /* see GR18 6:3 for event type */ |
Definition at line 578 of file intel_bios.h.
Definition at line 564 of file intel_bios.h.
#define SWF14_OS_TYPE_WIN9X (1<<23) |
Definition at line 570 of file intel_bios.h.
#define SWF14_OS_TYPE_WINNT (1<<22) |
Definition at line 571 of file intel_bios.h.
#define SWF14_PFIT_EN (1<<0) /* 0 means disable */ |
Definition at line 597 of file intel_bios.h.
#define SWF14_PM_ACPI (0x3 << 16) |
Definition at line 575 of file intel_bios.h.
#define SWF14_PM_ACPI_VIDEO (0x4 << 16) |
Definition at line 574 of file intel_bios.h.
#define SWF14_PM_APM_11 (0x1 << 16) |
Definition at line 577 of file intel_bios.h.
#define SWF14_PM_APM_12 (0x2 << 16) |
Definition at line 576 of file intel_bios.h.
#define SWF14_PM_TYPE_MASK 0x00070000 |
Definition at line 573 of file intel_bios.h.
#define SWF14_POPUP_EN (1<<28) |
Definition at line 565 of file intel_bios.h.
#define SWF14_TEXT_PFIT_EN (1<<30) |
Definition at line 563 of file intel_bios.h.
|
read |
Definition at line 171 of file esd_usb2.c.
void psb_intel_destroy_bios | ( | struct drm_device * | dev | ) |
Destroy and free VBT data
Definition at line 591 of file intel_bios.c.
int psb_intel_init_bios | ( | struct drm_device * | dev | ) |
psb_intel_init_bios - initialize VBIOS settings & find VBT : DRM device
Loads the Video BIOS and checks that the VBT exists. Sets scratch registers to appropriate values.
VBT existence is a sanity check that is relied on by other i830_bios.c code. Note that it would be better to use a BIOS call to get the VBT, as BIOSes may feed an updated VBT back through that, compared to what we'll fetch using this method of groping around in the BIOS data.
Returns 0 on success, nonzero on failure.
Definition at line 527 of file intel_bios.c.
u16 addin_offset |
Definition at line 220 of file intel_bios.h.
u32 aim_offset[4] |
from beginning of VBT
Definition at line 45 of file intel_bios.h.
Definition at line 379 of file intel_bios.h.
u16 aimdb_header_size |
Definition at line 361 of file intel_bios.h.
u8 aimdb_id |
Definition at line 363 of file intel_bios.h.
u16 aimdb_size |
Definition at line 362 of file intel_bios.h.
u16 aimdb_version |
Definition at line 360 of file intel_bios.h.
u8 allow_display_switch |
Definition at line 442 of file intel_bios.h.
u16 als_high_trip |
Definition at line 400 of file intel_bios.h.
u16 als_low_trip |
Definition at line 399 of file intel_bios.h.
u8 bandwidth_percent |
Definition at line 76 of file intel_bios.h.
u32 bdb_offset |
from beginning of VBT
Definition at line 44 of file intel_bios.h.
u8 block_display_switch |
Definition at line 441 of file intel_bios.h.
u8 boot_dev_algorithm |
Definition at line 440 of file intel_bios.h.
u8 boot_mode_bpp |
Definition at line 451 of file intel_bios.h.
u8 boot_mode_refresh |
Definition at line 452 of file intel_bios.h.
u16 boot_mode_x |
Definition at line 449 of file intel_bios.h.
u16 boot_mode_y |
Definition at line 450 of file intel_bios.h.
u8 brightnesscmd |
Definition at line 279 of file intel_bios.h.
Definition at line 231 of file intel_bios.h.
Definition at line 67 of file intel_bios.h.
u8 clear_screen |
Definition at line 141 of file intel_bios.h.
u16 clock |
In 10khz
Definition at line 332 of file intel_bios.h.
u16 code_segment |
Definition at line 74 of file intel_bios.h.
u8 coefficient[8] |
Definition at line 403 of file intel_bios.h.
Definition at line 480 of file intel_bios.h.
u8 color_flip |
Definition at line 142 of file intel_bios.h.
u8 copyright[61] |
Definition at line 73 of file intel_bios.h.
u16 crt_hotplug |
Definition at line 464 of file intel_bios.h.
u16 cui_aspect_scaling |
Definition at line 461 of file intel_bios.h.
u8 custom_vbt_version |
Definition at line 476 of file intel_bios.h.
Definition at line 350 of file intel_bios.h.
u8 ddc2_pin |
Definition at line 230 of file intel_bios.h.
u8 ddc_pin |
Definition at line 224 of file intel_bios.h.
__le32 device_id |
Definition at line 219 of file intel_bios.h.
Definition at line 218 of file intel_bios.h.
u8 digital |
Definition at line 353 of file intel_bios.h.
u8 disable_smooth_vision |
Definition at line 153 of file intel_bios.h.
u8 disable_ssc_ddt |
Definition at line 149 of file intel_bios.h.
u8 dos_boot_mode |
Definition at line 75 of file intel_bios.h.
u8 download_ext_vbt |
Definition at line 145 of file intel_bios.h.
u8 dp_ssc_enb |
Definition at line 164 of file intel_bios.h.
u8 dp_ssc_freq |
Definition at line 165 of file intel_bios.h.
u16 dual_frequency |
Definition at line 456 of file intel_bios.h.
u8 dual_view_zoom |
Definition at line 444 of file intel_bios.h.
u8 dvo2_port |
Definition at line 227 of file intel_bios.h.
u8 dvo2_wiring |
Definition at line 233 of file intel_bios.h.
u8 dvo_cfg |
Definition at line 226 of file intel_bios.h.
u8 dvo_function |
Definition at line 235 of file intel_bios.h.
u8 dvo_port |
Definition at line 221 of file intel_bios.h.
u8 dvo_table_size |
Definition at line 285 of file intel_bios.h.
struct lvds_dvo_timing dvo_timing |
Definition at line 347 of file intel_bios.h.
u16 dvo_timing_offset |
Definition at line 284 of file intel_bios.h.
u8 dvo_timing_size |
Definition at line 377 of file intel_bios.h.
u8 dvo_wiring |
Definition at line 232 of file intel_bios.h.
u16 edid_ptr |
Definition at line 225 of file intel_bios.h.
u8 enable_lfp_on_override |
Definition at line 148 of file intel_bios.h.
u16 enable_lfp_primary |
Definition at line 454 of file intel_bios.h.
u8 enable_ssc |
Definition at line 146 of file intel_bios.h.
u16 extended_type |
Definition at line 234 of file intel_bios.h.
u8 flexaim |
Definition at line 139 of file intel_bios.h.
u8 fp_table_size |
Definition at line 283 of file intel_bios.h.
struct lvds_fp_timing fp_timing |
Definition at line 346 of file intel_bios.h.
u16 fp_timing_offset |
Definition at line 282 of file intel_bios.h.
u8 fp_timing_size |
Definition at line 375 of file intel_bios.h.
static { ... } freq |
Definition at line 276 of file intel_bios.h.
u8 gmbus |
Definition at line 275 of file intel_bios.h.
Definition at line 274 of file intel_bios.h.
u16 graphics_fitting_offset |
Definition at line 380 of file intel_bios.h.
u8 graphics_fitting_size |
Definition at line 381 of file intel_bios.h.
u8 h40_set_panel_type |
Definition at line 396 of file intel_bios.h.
u8 h_border |
Definition at line 350 of file intel_bios.h.
u8 h_image |
Definition at line 347 of file intel_bios.h.
u8 hactive_hi |
Definition at line 336 of file intel_bios.h.
u8 hactive_lo |
Definition at line 333 of file intel_bios.h.
Definition at line 217 of file intel_bios.h.
u8 hblank_hi |
Definition at line 335 of file intel_bios.h.
u8 hblank_lo |
Definition at line 334 of file intel_bios.h.
Definition at line 467 of file intel_bios.h.
u8 hdmi_termination |
Definition at line 475 of file intel_bios.h.
u16 header_size |
in bytes
Definition at line 40 of file intel_bios.h.
u8 hotplug_dvo |
Definition at line 443 of file intel_bios.h.
u8 hsync_off_hi |
Definition at line 346 of file intel_bios.h.
u8 hsync_off_lo |
Definition at line 341 of file intel_bios.h.
u8 hsync_positive |
Definition at line 355 of file intel_bios.h.
u8 hsync_pulse_width |
Definition at line 342 of file intel_bios.h.
u8 i2c2_pin |
Definition at line 228 of file intel_bios.h.
u8 i2c_pin |
Definition at line 222 of file intel_bios.h.
u8 i2caddr |
Definition at line 278 of file intel_bios.h.
u8 int15h_hook |
Definition at line 445 of file intel_bios.h.
u8 int_crt_support |
Definition at line 161 of file intel_bios.h.
u8 int_efp_support |
Definition at line 163 of file intel_bios.h.
u8 int_tv_support |
Definition at line 162 of file intel_bios.h.
u8 lanes |
Definition at line 473 of file intel_bios.h.
u8 legacy_crt_max_refresh |
Definition at line 473 of file intel_bios.h.
u16 legacy_crt_max_x |
Definition at line 471 of file intel_bios.h.
u16 legacy_crt_max_y |
Definition at line 472 of file intel_bios.h.
u8 legacy_monitor_detect |
Definition at line 158 of file intel_bios.h.
Definition at line 482 of file intel_bios.h.
u16 lvds_config |
Definition at line 465 of file intel_bios.h.
u8 lvds_edid |
Definition at line 268 of file intel_bios.h.
u8 lvds_entries |
Definition at line 287 of file intel_bios.h.
u8 lvds_present |
Definition at line 68 of file intel_bios.h.
u32 lvds_reg |
Definition at line 306 of file intel_bios.h.
u32 lvds_reg_val |
Definition at line 307 of file intel_bios.h.
u8 max_hv |
Definition at line 349 of file intel_bios.h.
u16 mfg_name |
Definition at line 340 of file intel_bios.h.
u8 mfg_week |
Definition at line 343 of file intel_bios.h.
u8 mfg_year |
Definition at line 344 of file intel_bios.h.
u8 minbrightness |
Definition at line 277 of file intel_bios.h.
u8 msg_enable |
Definition at line 140 of file intel_bios.h.
u16 nt_clone_support |
Definition at line 458 of file intel_bios.h.
char oem_device[20] |
Definition at line 359 of file intel_bios.h.
u8 panel_backlight |
Definition at line 395 of file intel_bios.h.
u8 panel_fitting |
Definition at line 138 of file intel_bios.h.
u8 panel_misc_bits_1 |
Definition at line 404 of file intel_bios.h.
u8 panel_misc_bits_2 |
Definition at line 405 of file intel_bios.h.
u8 panel_misc_bits_3 |
Definition at line 406 of file intel_bios.h.
u8 panel_misc_bits_4 |
Definition at line 407 of file intel_bios.h.
u16 panel_pnp_id_offset |
Definition at line 286 of file intel_bios.h.
Definition at line 260 of file intel_bios.h.
struct vch_panel_data panels[16] |
Definition at line 380 of file intel_bios.h.
u8 pfit_gfx_mode_enhanced |
Definition at line 265 of file intel_bios.h.
u8 pfit_mode |
Definition at line 263 of file intel_bios.h.
u8 pfit_ratio_auto |
Definition at line 266 of file intel_bios.h.
u32 pfit_reg |
Definition at line 314 of file intel_bios.h.
u32 pfit_reg_val |
Definition at line 315 of file intel_bios.h.
u8 pfit_text_mode_enhanced |
Definition at line 264 of file intel_bios.h.
u8 pixel_dither |
Definition at line 267 of file intel_bios.h.
Definition at line 348 of file intel_bios.h.
u8 pnp_table_size |
Definition at line 287 of file intel_bios.h.
u8 pol |
Definition at line 273 of file intel_bios.h.
u16 power_scheme_ui |
Definition at line 459 of file intel_bios.h.
struct edp_power_seq power_seqs[16] |
Definition at line 479 of file intel_bios.h.
u32 pp_cycle_reg |
Definition at line 312 of file intel_bios.h.
u32 pp_cycle_reg_val |
Definition at line 313 of file intel_bios.h.
u32 pp_off_reg |
Definition at line 310 of file intel_bios.h.
u32 pp_off_reg_val |
Definition at line 311 of file intel_bios.h.
u32 pp_on_reg |
Definition at line 308 of file intel_bios.h.
u32 pp_on_reg_val |
Definition at line 309 of file intel_bios.h.
u8 preemphasis |
Definition at line 474 of file intel_bios.h.
u16 preserve_aspect_ratio |
Definition at line 462 of file intel_bios.h.
u8 primary_lfp_id |
Definition at line 447 of file intel_bios.h.
u16 product_code |
Definition at line 341 of file intel_bios.h.
struct bdb_lvds_lfp_data_ptr ptr[16] |
Definition at line 288 of file intel_bios.h.
u8 rate |
Definition at line 472 of file intel_bios.h.
u8 relstage |
Definition at line 66 of file intel_bios.h.
u16 render_clock_freq |
Definition at line 457 of file intel_bios.h.
u8 reserved0 |
Definition at line 43 of file intel_bios.h.
u8 reserved2 |
Definition at line 470 of file intel_bios.h.
u8 resize_pci_bios |
Definition at line 78 of file intel_bios.h.
u8 rsvd0 |
Definition at line 345 of file intel_bios.h.
u8 rsvd1 |
Definition at line 261 of file intel_bios.h.
u8 rsvd11 |
Definition at line 166 of file intel_bios.h.
u8 rsvd2 |
Definition at line 70 of file intel_bios.h.
u8 rsvd3[4] |
Definition at line 71 of file intel_bios.h.
u8 rsvd4 |
Definition at line 77 of file intel_bios.h.
u8 rsvd5 |
Definition at line 79 of file intel_bios.h.
u8 rsvd8 |
Definition at line 150 of file intel_bios.h.
u8 rsvd9 |
Definition at line 155 of file intel_bios.h.
u8 sclalarcoeff_tab_row_num |
Definition at line 401 of file intel_bios.h.
u8 sclalarcoeff_tab_row_size |
Definition at line 402 of file intel_bios.h.
u32 sdrrs_msa_timing_delay |
Definition at line 481 of file intel_bios.h.
u16 sdvo_device_power_down |
Definition at line 463 of file intel_bios.h.
u16 selective_mode_pruning |
Definition at line 455 of file intel_bios.h.
u32 serial |
Definition at line 342 of file intel_bios.h.
char signature[16] |
Always starts with 'VBT$'
Definition at line 38 of file intel_bios.h.
u8 signon[155] |
Definition at line 72 of file intel_bios.h.
u8 single_dvi |
Definition at line 154 of file intel_bios.h.
u8 slave2_addr |
Definition at line 229 of file intel_bios.h.
u8 slave_addr |
Definition at line 223 of file intel_bios.h.
u16 sprite_display_assign |
Definition at line 460 of file intel_bios.h.
u8 sprite_in_clone |
Definition at line 446 of file intel_bios.h.
u8 ssc_clk_freq |
Definition at line 398 of file intel_bios.h.
u8 ssc_freq |
Definition at line 147 of file intel_bios.h.
u8 static_display |
Definition at line 469 of file intel_bios.h.
u16 t10 |
Definition at line 468 of file intel_bios.h.
u16 t11_t12 |
Definition at line 469 of file intel_bios.h.
u16 t1_t3 |
Definition at line 465 of file intel_bios.h.
u16 t8 |
Definition at line 466 of file intel_bios.h.
u16 t9 |
Definition at line 467 of file intel_bios.h.
u16 terminator |
Definition at line 316 of file intel_bios.h.
u16 text_fitting_offset |
Definition at line 378 of file intel_bios.h.
u8 text_fitting_size |
Definition at line 379 of file intel_bios.h.
u16 tv_hotplug |
Definition at line 466 of file intel_bios.h.
u8 tv_present |
Definition at line 69 of file intel_bios.h.
Definition at line 65 of file intel_bios.h.
u8 v_border |
Definition at line 351 of file intel_bios.h.
u8 v_image |
Definition at line 348 of file intel_bios.h.
u8 vactive_hi |
Definition at line 340 of file intel_bios.h.
u8 vactive_lo |
Definition at line 337 of file intel_bios.h.
u8 vblank_hi |
Definition at line 339 of file intel_bios.h.
u8 vblank_lo |
Definition at line 338 of file intel_bios.h.
u8 vbt_checksum |
Definition at line 42 of file intel_bios.h.
u16 vbt_size |
in bytes
Definition at line 41 of file intel_bios.h.
u16 version |
decimal
Definition at line 39 of file intel_bios.h.
u8 vswing |
Definition at line 475 of file intel_bios.h.
u8 vsync_off |
Definition at line 344 of file intel_bios.h.
u8 vsync_positive |
Definition at line 354 of file intel_bios.h.
u8 vsync_pulse_width |
Definition at line 343 of file intel_bios.h.
u16 x_res |
Definition at line 304 of file intel_bios.h.
u16 y_res |
Definition at line 305 of file intel_bios.h.