Home
last modified time | relevance | path

Searched refs:lid_state (Results 1 – 11 of 11) sorted by relevance

/drivers/gpu/drm/gma500/
Dpsb_lid.c32 u32 __iomem *lid_state = dev_priv->opregion.lid_state; in psb_lid_timer_func() local
35 if (readl(lid_state) == dev_priv->lid_last_state) in psb_lid_timer_func()
38 if ((readl(lid_state)) & 0x01) { in psb_lid_timer_func()
61 dev_priv->lid_last_state = readl(lid_state); in psb_lid_timer_func()
Dopregion.c335 opregion->lid_state = base + ACPI_CLID; in psb_intel_opregion_setup()
Dpsb_drv.h256 u32 __iomem *lid_state; member
/drivers/acpi/
Dbutton.c131 unsigned long long lid_state; in acpi_lid_evaluate_state() local
134 status = acpi_evaluate_integer(device->handle, "_LID", NULL, &lid_state); in acpi_lid_evaluate_state()
138 return lid_state ? 1 : 0; in acpi_lid_evaluate_state()
/drivers/gpu/drm/i915/
Dintel_opregion.c842 opregion->lid_state = NULL; in intel_opregion_unregister()
995 opregion->lid_state = base + ACPI_CLID; in intel_opregion_setup()
Dintel_panel.c382 if (!i915.panel_ignore_lid && dev_priv->opregion.lid_state) { in intel_panel_detect()
383 return *dev_priv->opregion.lid_state & 0x1 ? in intel_panel_detect()
Di915_drv.h652 u32 *lid_state; member
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_acpi.c124 f->lid_state = mask & ATIF_GET_LID_STATE_SUPPORTED; in amdgpu_atif_parse_functions()
Damdgpu.h1346 bool lid_state; member
/drivers/gpu/drm/radeon/
Dradeon_acpi.c186 f->lid_state = mask & ATIF_GET_LID_STATE_SUPPORTED; in radeon_atif_parse_functions()
Dradeon.h2279 bool lid_state; member