Searched refs:opregion (Results 1 – 15 of 15) sorted by relevance
/drivers/acpi/pmic/ |
D | intel_pmic.c | 52 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/ |
D | intel_opregion.c | 242 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 …]
|
D | intel_bios.c | 1324 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()
|
D | intel_lvds.c | 827 if (dev_priv->opregion.vbt) in lvds_is_present_in_vbt()
|
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_debugfs.c | 1841 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()
|
D | i915_drv.h | 1784 struct intel_opregion opregion; member
|
D | i915_irq.c | 593 if (!dev_priv->opregion.asle || !IS_MOBILE(dev)) 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() 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 …]
|
D | intel_bios.c | 543 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()
|
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 | 594 if (dev_priv->opregion.vbt) in lvds_is_present_in_vbt()
|
D | psb_drv.h | 568 struct psb_intel_opregion opregion; member
|
/drivers/acpi/ |
D | acpi_video.c | 2017 int opregion = 0; in intel_opregion_present() local 2032 opregion = 1; in intel_opregion_present() 2034 return opregion; in intel_opregion_present()
|