• Home
  • Raw
  • Download

Lines Matching refs:acpi_dev

90 	struct acpi_device	*acpi_dev;  member
128 status = acpi_evaluate_integer(resource->acpi_dev->handle, "_GAI", in update_avg_interval()
143 struct acpi_device *acpi_dev = to_acpi_device(dev); in show_avg_interval() local
144 struct acpi_power_meter_resource *resource = acpi_dev->driver_data; in show_avg_interval()
157 struct acpi_device *acpi_dev = to_acpi_device(dev); in set_avg_interval() local
158 struct acpi_power_meter_resource *resource = acpi_dev->driver_data; in set_avg_interval()
176 status = acpi_evaluate_integer(resource->acpi_dev->handle, "_PAI", in set_avg_interval()
200 status = acpi_evaluate_integer(resource->acpi_dev->handle, "_GHL", in update_cap()
215 struct acpi_device *acpi_dev = to_acpi_device(dev); in show_cap() local
216 struct acpi_power_meter_resource *resource = acpi_dev->driver_data; in show_cap()
228 struct acpi_device *acpi_dev = to_acpi_device(dev); in set_cap() local
229 struct acpi_power_meter_resource *resource = acpi_dev->driver_data; in set_cap()
247 status = acpi_evaluate_integer(resource->acpi_dev->handle, "_SHL", in set_cap()
284 status = acpi_evaluate_integer(resource->acpi_dev->handle, "_PTP", in set_acpi_trip()
302 struct acpi_device *acpi_dev = to_acpi_device(dev); in set_trip() local
303 struct acpi_power_meter_resource *resource = acpi_dev->driver_data; in set_trip()
336 status = acpi_evaluate_integer(resource->acpi_dev->handle, "_PMM", in update_meter()
353 struct acpi_device *acpi_dev = to_acpi_device(dev); in show_power() local
354 struct acpi_power_meter_resource *resource = acpi_dev->driver_data; in show_power()
369 struct acpi_device *acpi_dev = to_acpi_device(dev); in show_str() local
370 struct acpi_power_meter_resource *resource = acpi_dev->driver_data; in show_str()
396 struct acpi_device *acpi_dev = to_acpi_device(dev); in show_val() local
397 struct acpi_power_meter_resource *resource = acpi_dev->driver_data; in show_val()
449 struct acpi_device *acpi_dev = to_acpi_device(dev); in show_accuracy() local
450 struct acpi_power_meter_resource *resource = acpi_dev->driver_data; in show_accuracy()
556 status = acpi_evaluate_object(resource->acpi_dev->handle, "_PMD", NULL, in read_domain_devices()
566 dev_err(&resource->acpi_dev->dev, ACPI_POWER_METER_NAME in read_domain_devices()
583 &resource->acpi_dev->dev.kobj); in read_domain_devices()
631 struct device *dev = &resource->acpi_dev->dev; in register_attrs()
669 device_remove_file(&resource->acpi_dev->dev, in remove_attrs()
694 dev_err(&resource->acpi_dev->dev, in setup_attrs()
750 status = acpi_evaluate_object(resource->acpi_dev->handle, "_PMC", NULL, in read_capabilities()
761 dev_err(&resource->acpi_dev->dev, ACPI_POWER_METER_NAME in read_capabilities()
779 dev_err(&resource->acpi_dev->dev, ACPI_POWER_METER_NAME in read_capabilities()
808 dev_info(&resource->acpi_dev->dev, "Found ACPI power meter.\n"); in read_capabilities()
880 resource->acpi_dev = device; in acpi_power_meter_add()