/drivers/gpu/drm/i915/display/ |
D | intel_opregion.c | 255 struct opregion_swsci *swsci = i915->display.opregion.swsci; in check_swsci_function() 268 if ((i915->display.opregion.swsci_sbcb_sub_functions & in check_swsci_function() 272 if ((i915->display.opregion.swsci_gbda_sub_functions & in check_swsci_function() 283 struct opregion_swsci *swsci = dev_priv->display.opregion.swsci; in swsci() 465 struct opregion_asle *asle = dev_priv->display.opregion.asle; in asle_set_backlight() 586 struct intel_opregion *opregion = in asle_work() local 589 container_of(opregion, struct drm_i915_private, display.opregion); in asle_work() 590 struct opregion_asle *asle = dev_priv->display.opregion.asle; in asle_work() 638 if (dev_priv->display.opregion.asle) in intel_opregion_asle_intr() 639 schedule_work(&dev_priv->display.opregion.asle_work); in intel_opregion_asle_intr() [all …]
|
D | intel_display_debugfs.c | 108 struct intel_opregion *opregion = &i915->display.opregion; in i915_opregion() local 110 if (opregion->header) in i915_opregion() 111 seq_write(m, opregion->header, OPREGION_SIZE); in i915_opregion() 119 struct intel_opregion *opregion = &i915->display.opregion; in i915_vbt() local 121 if (opregion->vbt) in i915_vbt() 122 seq_write(m, opregion->vbt, opregion->vbt_size); in i915_vbt()
|
D | intel_display_core.h | 420 struct intel_opregion opregion; member
|
D | intel_bios.c | 3141 const struct vbt_header *vbt = i915->display.opregion.vbt; in intel_bios_init() 3375 if (i915->display.opregion.vbt) in intel_bios_is_lvds_present()
|
/drivers/acpi/pmic/ |
D | intel_pmic.c | 54 struct intel_pmic_opregion *opregion = region_context; in intel_pmic_power_handler() local 55 struct regmap *regmap = opregion->regmap; in intel_pmic_power_handler() 56 const struct intel_pmic_opregion_data *d = opregion->data; in intel_pmic_power_handler() 70 mutex_lock(&opregion->lock); in intel_pmic_power_handler() 76 mutex_unlock(&opregion->lock); in intel_pmic_power_handler() 81 static int pmic_read_temp(struct intel_pmic_opregion *opregion, in pmic_read_temp() argument 86 if (!opregion->data->get_raw_temp) in pmic_read_temp() 89 raw_temp = opregion->data->get_raw_temp(opregion->regmap, reg); in pmic_read_temp() 93 if (!opregion->lpat_table) { in pmic_read_temp() 98 temp = opregion->data->lpat_raw_to_temp(opregion->lpat_table, raw_temp); in pmic_read_temp() [all …]
|
D | tps68470_pmic.c | 282 struct tps68470_pmic_opregion *opregion = region_context; in tps68470_pmic_common_handler() local 283 struct regmap *regmap = opregion->regmap; in tps68470_pmic_common_handler() 296 mutex_lock(&opregion->lock); in tps68470_pmic_common_handler() 302 mutex_unlock(&opregion->lock); in tps68470_pmic_common_handler() 376 struct tps68470_pmic_opregion *opregion; in tps68470_pmic_opregion_probe() local 389 opregion = devm_kzalloc(dev, sizeof(*opregion), GFP_KERNEL); in tps68470_pmic_opregion_probe() 390 if (!opregion) in tps68470_pmic_opregion_probe() 393 mutex_init(&opregion->lock); in tps68470_pmic_opregion_probe() 394 opregion->regmap = tps68470_regmap; in tps68470_pmic_opregion_probe() 399 NULL, opregion); in tps68470_pmic_opregion_probe() [all …]
|
/drivers/gpu/drm/gma500/ |
D | opregion.c | 152 struct opregion_asle *asle = dev_priv->opregion.asle; in asle_set_backlight() 172 struct psb_intel_opregion *opregion = in psb_intel_opregion_asle_work() local 175 container_of(opregion, struct drm_psb_private, opregion); in psb_intel_opregion_asle_work() 176 struct opregion_asle *asle = opregion->asle; in psb_intel_opregion_asle_work() 200 if (dev_priv->opregion.asle) in psb_intel_opregion_asle_intr() 201 schedule_work(&dev_priv->opregion.asle_work); in psb_intel_opregion_asle_intr() 212 struct opregion_asle *asle = dev_priv->opregion.asle; in psb_intel_opregion_enable_asle() 259 struct psb_intel_opregion *opregion = &dev_priv->opregion; in psb_intel_opregion_init() local 261 if (!opregion->header) in psb_intel_opregion_init() 264 if (opregion->acpi) { in psb_intel_opregion_init() [all …]
|
D | intel_bios.c | 531 if (dev_priv->opregion.vbt) { in psb_intel_init_bios() 532 struct vbt_header *vbt = dev_priv->opregion.vbt; in psb_intel_init_bios() 538 dev_priv->opregion.vbt = NULL; in psb_intel_init_bios()
|
D | Makefile | 40 gma500_gfx-$(CONFIG_ACPI) += opregion.o
|
D | psb_lid.c | 20 u32 __iomem *lid_state = dev_priv->opregion.lid_state; in psb_lid_timer_func()
|
D | cdv_intel_lvds.c | 457 if (dev_priv->opregion.vbt) in lvds_is_present_in_vbt()
|
D | psb_drv.h | 507 struct psb_intel_opregion opregion; member
|
/drivers/vfio/pci/ |
D | vfio_pci_igd.c | 29 void *opregion; member 84 opregionvbt->opregion + pos, &pos, in vfio_pci_igd_rw() 93 __le16 version = *(__le16 *)(opregionvbt->opregion + in vfio_pci_igd_rw() 112 opregionvbt->opregion + pos, &pos, in vfio_pci_igd_rw() 135 opregionvbt->opregion + pos, &pos, in vfio_pci_igd_rw() 159 memunmap(opregionvbt->opregion); in vfio_pci_igd_release() 187 opregionvbt->opregion = memremap(addr, OPREGION_SIZE, MEMREMAP_WB); in vfio_pci_igd_opregion_init() 188 if (!opregionvbt->opregion) { in vfio_pci_igd_opregion_init() 193 if (memcmp(opregionvbt->opregion, OPREGION_SIGNATURE, 16)) { in vfio_pci_igd_opregion_init() 194 memunmap(opregionvbt->opregion); in vfio_pci_igd_opregion_init() [all …]
|
/drivers/gpu/drm/i915/gvt/ |
D | Makefile | 20 gvt/opregion.o \
|
D | gvt.h | 124 #define vgpu_opregion(vgpu) (&(vgpu->opregion)) 199 struct intel_vgpu_opregion opregion; member
|
/drivers/acpi/ |
D | acpi_video.c | 2126 int opregion = 0; in intel_opregion_present() local 2141 opregion = 1; in intel_opregion_present() 2143 return opregion; in intel_opregion_present()
|
/drivers/gpu/drm/i915/ |
D | i915_irq.c | 598 if (!dev_priv->display.opregion.asle) in i915_has_asle()
|