Home
last modified time | relevance | path

Searched refs:opregion (Results 1 – 15 of 15) sorted by relevance

/drivers/acpi/pmic/
Dintel_pmic.c52 struct intel_pmic_opregion *opregion = region_context; in intel_pmic_power_handler() local
53 struct regmap *regmap = opregion->regmap; in intel_pmic_power_handler()
54 struct intel_pmic_opregion_data *d = opregion->data; in intel_pmic_power_handler()
68 mutex_lock(&opregion->lock); in intel_pmic_power_handler()
74 mutex_unlock(&opregion->lock); in intel_pmic_power_handler()
79 static int pmic_read_temp(struct intel_pmic_opregion *opregion, in pmic_read_temp() argument
84 if (!opregion->data->get_raw_temp) in pmic_read_temp()
87 raw_temp = opregion->data->get_raw_temp(opregion->regmap, reg); in pmic_read_temp()
91 if (!opregion->lpat_table) { in pmic_read_temp()
96 temp = acpi_lpat_raw_to_temp(opregion->lpat_table, raw_temp); in pmic_read_temp()
[all …]
/drivers/gpu/drm/i915/
Dintel_opregion.c242 struct opregion_swsci *swsci = dev_priv->opregion.swsci; in swsci()
257 if ((dev_priv->opregion.swsci_sbcb_sub_functions & in swsci()
261 if ((dev_priv->opregion.swsci_gbda_sub_functions & in swsci()
415 struct opregion_asle *asle = dev_priv->opregion.asle; in asle_set_backlight()
522 struct intel_opregion *opregion = in asle_work() local
525 container_of(opregion, struct drm_i915_private, opregion); in asle_work()
527 struct opregion_asle *asle = dev_priv->opregion.asle; in asle_work()
577 if (dev_priv->opregion.asle) in intel_opregion_asle_intr()
578 schedule_work(&dev_priv->opregion.asle_work); in intel_opregion_asle_intr()
625 static u32 get_did(struct intel_opregion *opregion, int i) in get_did() argument
[all …]
Dintel_bios.c1324 if (!dmi_check_system(intel_no_opregion_vbt) && dev_priv->opregion.vbt) in intel_parse_bios()
1325 bdb = validate_vbt(dev_priv->opregion.header, OPREGION_SIZE, in intel_parse_bios()
1326 dev_priv->opregion.vbt, "OpRegion"); in intel_parse_bios()
Dintel_lvds.c827 if (dev_priv->opregion.vbt) in lvds_is_present_in_vbt()
Dintel_panel.c383 if (!i915.panel_ignore_lid && dev_priv->opregion.lid_state) { in intel_panel_detect()
384 return *dev_priv->opregion.lid_state & 0x1 ? in intel_panel_detect()
Di915_debugfs.c1841 struct intel_opregion *opregion = &dev_priv->opregion; in i915_opregion() local
1852 if (opregion->header) { in i915_opregion()
1853 memcpy(data, opregion->header, OPREGION_SIZE); in i915_opregion()
Di915_drv.h1784 struct intel_opregion opregion; member
Di915_irq.c593 if (!dev_priv->opregion.asle || !IS_MOBILE(dev)) in i915_enable_asle_pipestat()
/drivers/gpu/drm/gma500/
Dopregion.c151 struct opregion_asle *asle = dev_priv->opregion.asle; in asle_set_backlight()
178 struct psb_intel_opregion *opregion = in psb_intel_opregion_asle_work() local
181 container_of(opregion, struct drm_psb_private, opregion); in psb_intel_opregion_asle_work()
182 struct opregion_asle *asle = opregion->asle; in psb_intel_opregion_asle_work()
206 if (dev_priv->opregion.asle) in psb_intel_opregion_asle_intr()
207 schedule_work(&dev_priv->opregion.asle_work); in psb_intel_opregion_asle_intr()
218 struct opregion_asle *asle = dev_priv->opregion.asle; in psb_intel_opregion_enable_asle()
265 struct psb_intel_opregion *opregion = &dev_priv->opregion; in psb_intel_opregion_init() local
267 if (!opregion->header) in psb_intel_opregion_init()
270 if (opregion->acpi) { in psb_intel_opregion_init()
[all …]
Dintel_bios.c543 if (dev_priv->opregion.vbt) { in psb_intel_init_bios()
544 struct vbt_header *vbt = dev_priv->opregion.vbt; in psb_intel_init_bios()
550 dev_priv->opregion.vbt = NULL; in psb_intel_init_bios()
DMakefile30 gma500_gfx-$(CONFIG_ACPI) += opregion.o \
Dpsb_lid.c32 u32 __iomem *lid_state = dev_priv->opregion.lid_state; in psb_lid_timer_func()
Dcdv_intel_lvds.c594 if (dev_priv->opregion.vbt) in lvds_is_present_in_vbt()
Dpsb_drv.h568 struct psb_intel_opregion opregion; member
/drivers/acpi/
Dacpi_video.c2017 int opregion = 0; in intel_opregion_present() local
2032 opregion = 1; in intel_opregion_present()
2034 return opregion; in intel_opregion_present()