Searched refs:acpi_dev (Results 1 - 12 of 12) sorted by relevance

/drivers/hwmon/
H A Dacpi_power_meter.c89 struct acpi_device *acpi_dev; member in struct:acpi_power_meter_resource
135 status = acpi_evaluate_integer(resource->acpi_dev->handle, "_GAI",
150 struct acpi_device *acpi_dev = to_acpi_device(dev); local
151 struct acpi_power_meter_resource *resource = acpi_dev->driver_data;
164 struct acpi_device *acpi_dev = to_acpi_device(dev); local
165 struct acpi_power_meter_resource *resource = acpi_dev->driver_data;
183 status = acpi_evaluate_integer(resource->acpi_dev->handle, "_PAI",
207 status = acpi_evaluate_integer(resource->acpi_dev->handle, "_GHL",
222 struct acpi_device *acpi_dev = to_acpi_device(dev); local
223 struct acpi_power_meter_resource *resource = acpi_dev
235 struct acpi_device *acpi_dev = to_acpi_device(dev); local
309 struct acpi_device *acpi_dev = to_acpi_device(dev); local
362 struct acpi_device *acpi_dev = to_acpi_device(dev); local
378 struct acpi_device *acpi_dev = to_acpi_device(dev); local
405 struct acpi_device *acpi_dev = to_acpi_device(dev); local
458 struct acpi_device *acpi_dev = to_acpi_device(dev); local
[all...]
H A Dasus_atk0110.c106 struct acpi_device *acpi_dev; member in struct:atk_data
333 struct device *dev = &data->acpi_dev->dev;
428 struct device *dev = &data->acpi_dev->dev;
455 struct device *dev = &data->acpi_dev->dev;
493 struct device *dev = &data->acpi_dev->dev;
529 struct device *dev = &data->acpi_dev->dev;
571 struct device *dev = &data->acpi_dev->dev;
608 struct device *dev = &data->acpi_dev->dev;
842 struct device *dev = &data->acpi_dev->dev;
966 struct device *dev = &data->acpi_dev
[all...]
/drivers/acpi/
H A Dvideo_detect.c116 struct acpi_device *acpi_dev; local
122 if (acpi_bus_get_device(handle, &acpi_dev))
125 if (!acpi_match_device_ids(acpi_dev, video_ids)) {
130 *cap |= acpi_is_video_device(acpi_dev);
H A Dglue.c148 struct acpi_device *acpi_dev; local
163 status = acpi_bus_get_device(handle, &acpi_dev);
167 ret = sysfs_create_link(&dev->kobj, &acpi_dev->dev.kobj,
169 ret = sysfs_create_link(&acpi_dev->dev.kobj, &dev->kobj,
171 if (acpi_dev->wakeup.flags.valid)
183 struct acpi_device *acpi_dev; local
189 &acpi_dev)) {
191 sysfs_remove_link(&acpi_dev->dev.kobj, "physical_node");
H A Dscan.c47 static int create_modalias(struct acpi_device *acpi_dev, char *modalias, argument
54 if (list_empty(&acpi_dev->pnp.ids))
60 list_for_each_entry(id, &acpi_dev->pnp.ids, list) {
74 struct acpi_device *acpi_dev = to_acpi_device(dev); local
78 len = create_modalias(acpi_dev, buf, 1024);
172 struct acpi_device *acpi_dev = to_acpi_device(dev); local
174 return sprintf(buf, "%s\n", acpi_device_hid(acpi_dev));
180 struct acpi_device *acpi_dev = to_acpi_device(dev); local
184 result = acpi_get_name(acpi_dev->handle, ACPI_FULL_PATHNAME, &path);
287 struct acpi_device *acpi_dev local
295 struct acpi_device *acpi_dev = to_acpi_device(dev); local
305 struct acpi_device *acpi_dev = to_acpi_device(dev); local
315 struct acpi_device *acpi_dev = to_acpi_device(dev); local
323 struct acpi_device *acpi_dev = to_acpi_device(dev); local
397 struct acpi_device *acpi_dev = to_acpi_device(dev); local
426 struct acpi_device *acpi_dev = to_acpi_device(dev); local
[all...]
H A Dpower.c208 struct acpi_device *acpi_dev; local
212 if (acpi_bus_get_device(handle, &acpi_dev))
215 if(acpi_power_get_inferred_state(acpi_dev, &state))
377 struct acpi_device *acpi_dev; local
384 if (acpi_bus_get_device(handle, &acpi_dev))
387 list = &acpi_dev->power.states[ACPI_STATE_D0].resources;
423 struct acpi_device *acpi_dev; local
431 ret = acpi_bus_get_device(handle, &acpi_dev);
435 if (!acpi_dev->power.flags.power_resources)
445 list = &acpi_dev
[all...]
/drivers/pnp/pnpacpi/
H A Dcore.c85 struct acpi_device *acpi_dev; local
93 if (!handle || ACPI_FAILURE(acpi_bus_get_device(handle, &acpi_dev))) {
116 struct acpi_device *acpi_dev; local
123 if (!handle || ACPI_FAILURE(acpi_bus_get_device(handle, &acpi_dev))) {
141 struct acpi_device *acpi_dev; local
145 if (!handle || ACPI_FAILURE(acpi_bus_get_device(handle, &acpi_dev))) {
155 struct acpi_device *acpi_dev; local
160 if (!handle || ACPI_FAILURE(acpi_bus_get_device(handle, &acpi_dev))) {
193 struct acpi_device *acpi_dev; local
197 if (!handle || ACPI_FAILURE(acpi_bus_get_device(handle, &acpi_dev))) {
[all...]
H A Drsparser.c488 struct acpi_device *acpi_dev = dev->data; local
489 acpi_handle handle = acpi_dev->handle;
767 struct acpi_device *acpi_dev = dev->data; local
768 acpi_handle handle = acpi_dev->handle;
840 struct acpi_device *acpi_dev = dev->data; local
841 acpi_handle handle = acpi_dev->handle;
/drivers/platform/x86/
H A Dtoshiba_acpi.c119 struct acpi_device *acpi_dev; member in struct:toshiba_acpi_dev
228 status = acpi_evaluate_object(dev->acpi_dev->handle,
909 status = acpi_evaluate_object(dev->acpi_dev->handle, "INFO",
982 status = acpi_get_handle(dev->acpi_dev->handle, "INFO", &handle);
996 status = acpi_evaluate_object(dev->acpi_dev->handle, "ENAB", NULL, NULL);
1023 static int toshiba_acpi_remove(struct acpi_device *acpi_dev, int type) argument
1025 struct toshiba_acpi_dev *dev = acpi_driver_data(acpi_dev);
1074 static int __devinit toshiba_acpi_add(struct acpi_device *acpi_dev) argument
1089 hci_method = find_hci_method(acpi_dev->handle);
1098 dev->acpi_dev
1172 toshiba_acpi_notify(struct acpi_device *acpi_dev, u32 event) argument
1213 toshiba_acpi_suspend(struct acpi_device *acpi_dev, pm_message_t state) argument
1225 toshiba_acpi_resume(struct acpi_device *acpi_dev) argument
[all...]
H A Dsony-laptop.c1886 struct acpi_device *acpi_dev; member in struct:sony_pic_dev
3165 acpi_bus_generate_proc_event(dev->acpi_dev, 1, device_event);
3223 spic_dev.acpi_dev = device;
/drivers/gpu/drm/i915/
H A Dintel_opregion.c337 struct acpi_device *acpi_dev, *acpi_cdev, *acpi_video_bus = NULL; local
343 if (!handle || ACPI_FAILURE(acpi_bus_get_device(handle, &acpi_dev)))
346 if (acpi_is_video_device(acpi_dev))
347 acpi_video_bus = acpi_dev;
349 list_for_each_entry(acpi_cdev, &acpi_dev->children, node) {
/drivers/char/ipmi/
H A Dipmi_si_intf.c2134 struct acpi_device *acpi_dev; local
2141 acpi_dev = pnp_acpi_device(dev);
2142 if (!acpi_dev)
2152 handle = acpi_dev->handle;

Completed in 231 milliseconds