Home
last modified time | relevance | path

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

/drivers/acpi/pmic/
Dintel_pmic.c59 struct intel_pmic_opregion *opregion = region_context; in intel_pmic_power_handler() local
60 struct regmap *regmap = opregion->regmap; in intel_pmic_power_handler()
61 struct intel_pmic_opregion_data *d = opregion->data; in intel_pmic_power_handler()
75 mutex_lock(&opregion->lock); in intel_pmic_power_handler()
81 mutex_unlock(&opregion->lock); in intel_pmic_power_handler()
86 static int pmic_read_temp(struct intel_pmic_opregion *opregion, in pmic_read_temp() argument
91 if (!opregion->data->get_raw_temp) in pmic_read_temp()
94 raw_temp = opregion->data->get_raw_temp(opregion->regmap, reg); in pmic_read_temp()
98 if (!opregion->lpat_table) { in pmic_read_temp()
103 temp = acpi_lpat_raw_to_temp(opregion->lpat_table, raw_temp); in pmic_read_temp()
[all …]
/drivers/gpu/drm/i915/
Dintel_opregion.c263 struct opregion_swsci *swsci = dev_priv->opregion.swsci; in swsci()
279 if ((dev_priv->opregion.swsci_sbcb_sub_functions & in swsci()
283 if ((dev_priv->opregion.swsci_gbda_sub_functions & in swsci()
437 struct opregion_asle *asle = dev_priv->opregion.asle; in asle_set_backlight()
545 struct intel_opregion *opregion = in asle_work() local
548 container_of(opregion, struct drm_i915_private, opregion); in asle_work()
549 struct opregion_asle *asle = dev_priv->opregion.asle; in asle_work()
597 if (dev_priv->opregion.asle) in intel_opregion_asle_intr()
598 schedule_work(&dev_priv->opregion.asle_work); in intel_opregion_asle_intr()
645 static u32 get_did(struct intel_opregion *opregion, int i) in get_did() argument
[all …]
Di915_debugfs.c1823 struct intel_opregion *opregion = &dev_priv->opregion; in i915_opregion() local
1830 if (opregion->header) in i915_opregion()
1831 seq_write(m, opregion->header, OPREGION_SIZE); in i915_opregion()
1841 struct intel_opregion *opregion = &node_to_i915(m->private)->opregion; in i915_vbt() local
1843 if (opregion->vbt) in i915_vbt()
1844 seq_write(m, opregion->vbt, opregion->vbt_size); in i915_vbt()
Dintel_bios.c1480 const struct vbt_header *vbt = dev_priv->opregion.vbt; in intel_bios_init()
1620 if (dev_priv->opregion.vbt) in intel_bios_is_lvds_present()
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_drv.h1822 struct intel_opregion opregion; member
Di915_irq.c602 if (!dev_priv->opregion.asle || !IS_MOBILE(dev_priv)) in i915_enable_asle_pipestat()
/drivers/gpu/drm/gma500/
Dopregion.c151 struct opregion_asle *asle = dev_priv->opregion.asle; in asle_set_backlight()
175 struct psb_intel_opregion *opregion = in psb_intel_opregion_asle_work() local
178 container_of(opregion, struct drm_psb_private, opregion); in psb_intel_opregion_asle_work()
179 struct opregion_asle *asle = opregion->asle; in psb_intel_opregion_asle_work()
203 if (dev_priv->opregion.asle) in psb_intel_opregion_asle_intr()
204 schedule_work(&dev_priv->opregion.asle_work); in psb_intel_opregion_asle_intr()
215 struct opregion_asle *asle = dev_priv->opregion.asle; in psb_intel_opregion_enable_asle()
262 struct psb_intel_opregion *opregion = &dev_priv->opregion; in psb_intel_opregion_init() local
264 if (!opregion->header) in psb_intel_opregion_init()
267 if (opregion->acpi) { in psb_intel_opregion_init()
[all …]
Dintel_bios.c540 if (dev_priv->opregion.vbt) { in psb_intel_init_bios()
541 struct vbt_header *vbt = dev_priv->opregion.vbt; in psb_intel_init_bios()
547 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.c583 if (dev_priv->opregion.vbt) in lvds_is_present_in_vbt()
Dpsb_drv.h569 struct psb_intel_opregion opregion; member
/drivers/acpi/
Dacpi_video.c2052 int opregion = 0; in intel_opregion_present() local
2067 opregion = 1; in intel_opregion_present()
2069 return opregion; in intel_opregion_present()