Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | opregion_header |
struct | opregion_acpi |
struct | opregion_swsci |
struct | opregion_asle |
Macros | |
#define | PCI_ASLE 0xe4 |
#define | PCI_ASLS 0xfc |
#define | OPREGION_HEADER_OFFSET 0 |
#define | OPREGION_ACPI_OFFSET 0x100 |
#define | ACPI_CLID 0x01ac /* current lid state indicator */ |
#define | ACPI_CDCK 0x01b0 /* current docking state indicator */ |
#define | OPREGION_SWSCI_OFFSET 0x200 |
#define | OPREGION_ASLE_OFFSET 0x300 |
#define | OPREGION_VBT_OFFSET 0x400 |
#define | OPREGION_SIGNATURE "IntelGraphicsMem" |
#define | MBOX_ACPI (1<<0) |
#define | MBOX_SWSCI (1<<1) |
#define | MBOX_ASLE (1<<2) |
#define | ASLE_SET_ALS_ILLUM (1 << 0) |
#define | ASLE_SET_BACKLIGHT (1 << 1) |
#define | ASLE_SET_PFIT (1 << 2) |
#define | ASLE_SET_PWM_FREQ (1 << 3) |
#define | ASLE_REQ_MSK 0xf |
#define | ASLE_ALS_ILLUM_FAILED (1<<10) |
#define | ASLE_BACKLIGHT_FAILED (1<<12) |
#define | ASLE_PFIT_FAILED (1<<14) |
#define | ASLE_PWM_FREQ_FAILED (1<<16) |
#define | ASLE_BCLP_VALID (1<<31) |
#define | ASLE_BCLP_MSK (~(1<<31)) |
#define | ASLE_PFIT_VALID (1<<31) |
#define | ASLE_PFIT_CENTER (1<<0) |
#define | ASLE_PFIT_STRETCH_TEXT (1<<1) |
#define | ASLE_PFIT_STRETCH_GFX (1<<2) |
#define | ASLE_ALS_ILLUM_FAILED (1<<10) |
#define | ASLE_BACKLIGHT_FAILED (1<<12) |
#define | ASLE_PFIT_FAILED (1<<14) |
#define | ASLE_PWM_FREQ_FAILED (1<<16) |
#define | ASLE_BCLP_VALID (1<<31) |
#define | ASLE_BCLP_MSK (~(1<<31)) |
#define | ASLE_PFIT_VALID (1<<31) |
#define | ASLE_PFIT_CENTER (1<<0) |
#define | ASLE_PFIT_STRETCH_TEXT (1<<1) |
#define | ASLE_PFIT_STRETCH_GFX (1<<2) |
#define | ASLE_PFMB_BRIGHTNESS_MASK (0xff) |
#define | ASLE_PFMB_BRIGHTNESS_VALID (1<<8) |
#define | ASLE_PFMB_PWM_MASK (0x7ffffe00) |
#define | ASLE_PFMB_PWM_VALID (1<<31) |
#define | ASLE_CBLV_VALID (1<<31) |
#define | ASLE_ALS_EN (1<<0) |
#define | ASLE_BLC_EN (1<<1) |
#define | ASLE_PFIT_EN (1<<2) |
#define | ASLE_PFMB_EN (1<<3) |
#define | ACPI_EV_DISPLAY_SWITCH (1<<0) |
#define | ACPI_EV_LID (1<<1) |
#define | ACPI_EV_DOCK (1<<2) |
Variables | |
struct opregion_header | __packed |
#define ACPI_CDCK 0x01b0 /* current docking state indicator */ |
Definition at line 35 of file opregion.c.
#define ACPI_CLID 0x01ac /* current lid state indicator */ |
Definition at line 34 of file opregion.c.
#define ACPI_EV_DISPLAY_SWITCH (1<<0) |
Definition at line 221 of file opregion.c.
#define ACPI_EV_DOCK (1<<2) |
Definition at line 223 of file opregion.c.
#define ACPI_EV_LID (1<<1) |
Definition at line 222 of file opregion.c.
#define ASLE_ALS_EN (1<<0) |
Definition at line 199 of file opregion.c.
#define ASLE_ALS_ILLUM_FAILED (1<<10) |
Definition at line 124 of file opregion.c.
#define ASLE_ALS_ILLUM_FAILED (1<<10) |
Definition at line 124 of file opregion.c.
#define ASLE_BACKLIGHT_FAILED (1<<12) |
Definition at line 125 of file opregion.c.
#define ASLE_BACKLIGHT_FAILED (1<<12) |
Definition at line 125 of file opregion.c.
#define ASLE_BCLP_MSK (~(1<<31)) |
Definition at line 131 of file opregion.c.
#define ASLE_BCLP_MSK (~(1<<31)) |
Definition at line 131 of file opregion.c.
#define ASLE_BCLP_VALID (1<<31) |
Definition at line 130 of file opregion.c.
#define ASLE_BCLP_VALID (1<<31) |
Definition at line 130 of file opregion.c.
#define ASLE_BLC_EN (1<<1) |
Definition at line 200 of file opregion.c.
#define ASLE_CBLV_VALID (1<<31) |
Definition at line 145 of file opregion.c.
#define ASLE_PFIT_CENTER (1<<0) |
Definition at line 135 of file opregion.c.
#define ASLE_PFIT_CENTER (1<<0) |
Definition at line 135 of file opregion.c.
#define ASLE_PFIT_EN (1<<2) |
Definition at line 201 of file opregion.c.
#define ASLE_PFIT_FAILED (1<<14) |
Definition at line 126 of file opregion.c.
#define ASLE_PFIT_FAILED (1<<14) |
Definition at line 126 of file opregion.c.
#define ASLE_PFIT_STRETCH_GFX (1<<2) |
Definition at line 137 of file opregion.c.
#define ASLE_PFIT_STRETCH_GFX (1<<2) |
Definition at line 137 of file opregion.c.
#define ASLE_PFIT_STRETCH_TEXT (1<<1) |
Definition at line 136 of file opregion.c.
#define ASLE_PFIT_STRETCH_TEXT (1<<1) |
Definition at line 136 of file opregion.c.
#define ASLE_PFIT_VALID (1<<31) |
Definition at line 134 of file opregion.c.
#define ASLE_PFIT_VALID (1<<31) |
Definition at line 134 of file opregion.c.
#define ASLE_PFMB_BRIGHTNESS_MASK (0xff) |
Definition at line 140 of file opregion.c.
#define ASLE_PFMB_BRIGHTNESS_VALID (1<<8) |
Definition at line 141 of file opregion.c.
#define ASLE_PFMB_EN (1<<3) |
Definition at line 202 of file opregion.c.
#define ASLE_PFMB_PWM_MASK (0x7ffffe00) |
Definition at line 142 of file opregion.c.
#define ASLE_PFMB_PWM_VALID (1<<31) |
Definition at line 143 of file opregion.c.
#define ASLE_PWM_FREQ_FAILED (1<<16) |
Definition at line 127 of file opregion.c.
#define ASLE_PWM_FREQ_FAILED (1<<16) |
Definition at line 127 of file opregion.c.
#define ASLE_REQ_MSK 0xf |
Definition at line 105 of file opregion.c.
#define ASLE_SET_ALS_ILLUM (1 << 0) |
Definition at line 101 of file opregion.c.
#define ASLE_SET_BACKLIGHT (1 << 1) |
Definition at line 102 of file opregion.c.
#define ASLE_SET_PFIT (1 << 2) |
Definition at line 103 of file opregion.c.
#define ASLE_SET_PWM_FREQ (1 << 3) |
Definition at line 104 of file opregion.c.
#define MBOX_ACPI (1<<0) |
Definition at line 41 of file opregion.c.
#define MBOX_ASLE (1<<2) |
Definition at line 43 of file opregion.c.
#define MBOX_SWSCI (1<<1) |
Definition at line 42 of file opregion.c.
#define OPREGION_ACPI_OFFSET 0x100 |
Definition at line 33 of file opregion.c.
#define OPREGION_ASLE_OFFSET 0x300 |
Definition at line 37 of file opregion.c.
#define OPREGION_HEADER_OFFSET 0 |
Definition at line 32 of file opregion.c.
#define OPREGION_SIGNATURE "IntelGraphicsMem" |
Definition at line 40 of file opregion.c.
#define OPREGION_SWSCI_OFFSET 0x200 |
Definition at line 36 of file opregion.c.
#define OPREGION_VBT_OFFSET 0x400 |
Definition at line 38 of file opregion.c.
#define PCI_ASLE 0xe4 |
Definition at line 29 of file opregion.c.
#define PCI_ASLS 0xfc |
Definition at line 30 of file opregion.c.
void psb_intel_opregion_asle_intr | ( | struct drm_device * | dev | ) |
Definition at line 177 of file opregion.c.
void psb_intel_opregion_enable_asle | ( | struct drm_device * | dev | ) |
Definition at line 204 of file opregion.c.
void psb_intel_opregion_fini | ( | struct drm_device * | dev | ) |
Definition at line 271 of file opregion.c.
void psb_intel_opregion_init | ( | struct drm_device * | dev | ) |
Definition at line 251 of file opregion.c.
int psb_intel_opregion_setup | ( | struct drm_device * | dev | ) |
Definition at line 295 of file opregion.c.