Searched refs:opregion (Results 1 – 14 of 14) sorted by relevance
/drivers/acpi/pmic/ |
D | intel_pmic.c | 59 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/ |
D | intel_opregion.c | 263 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 …]
|
D | i915_debugfs.c | 1823 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()
|
D | intel_bios.c | 1480 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()
|
D | intel_panel.c | 383 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()
|
D | i915_drv.h | 1822 struct intel_opregion opregion; member
|
D | i915_irq.c | 602 if (!dev_priv->opregion.asle || !IS_MOBILE(dev_priv)) in i915_enable_asle_pipestat()
|
/drivers/gpu/drm/gma500/ |
D | opregion.c | 151 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 …]
|
D | intel_bios.c | 540 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()
|
D | Makefile | 30 gma500_gfx-$(CONFIG_ACPI) += opregion.o \
|
D | psb_lid.c | 32 u32 __iomem *lid_state = dev_priv->opregion.lid_state; in psb_lid_timer_func()
|
D | cdv_intel_lvds.c | 583 if (dev_priv->opregion.vbt) in lvds_is_present_in_vbt()
|
D | psb_drv.h | 569 struct psb_intel_opregion opregion; member
|
/drivers/acpi/ |
D | acpi_video.c | 2052 int opregion = 0; in intel_opregion_present() local 2067 opregion = 1; in intel_opregion_present() 2069 return opregion; in intel_opregion_present()
|