acpi_dev 884 drivers/acpi/bus.c struct acpi_device *acpi_dev = to_acpi_device(dev); acpi_dev 887 drivers/acpi/bus.c return acpi_dev->flags.match_driver acpi_dev 888 drivers/acpi/bus.c && !acpi_match_device_ids(acpi_dev, acpi_drv->ids); acpi_dev 898 drivers/acpi/bus.c struct acpi_device *acpi_dev = to_acpi_device(dev); acpi_dev 902 drivers/acpi/bus.c if (acpi_dev->handler && !acpi_is_pnp_device(acpi_dev)) acpi_dev 908 drivers/acpi/bus.c ret = acpi_drv->ops.add(acpi_dev); acpi_dev 912 drivers/acpi/bus.c acpi_dev->driver = acpi_drv; acpi_dev 915 drivers/acpi/bus.c acpi_drv->name, acpi_dev->pnp.bus_id)); acpi_dev 918 drivers/acpi/bus.c ret = acpi_device_install_notify_handler(acpi_dev); acpi_dev 921 drivers/acpi/bus.c acpi_drv->ops.remove(acpi_dev); acpi_dev 923 drivers/acpi/bus.c acpi_dev->driver = NULL; acpi_dev 924 drivers/acpi/bus.c acpi_dev->driver_data = NULL; acpi_dev 930 drivers/acpi/bus.c acpi_drv->name, acpi_dev->pnp.bus_id)); acpi_dev 937 drivers/acpi/bus.c struct acpi_device *acpi_dev = to_acpi_device(dev); acpi_dev 938 drivers/acpi/bus.c struct acpi_driver *acpi_drv = acpi_dev->driver; acpi_dev 942 drivers/acpi/bus.c acpi_device_remove_notify_handler(acpi_dev); acpi_dev 944 drivers/acpi/bus.c acpi_drv->ops.remove(acpi_dev); acpi_dev 946 drivers/acpi/bus.c acpi_dev->driver = NULL; acpi_dev 947 drivers/acpi/bus.c acpi_dev->driver_data = NULL; acpi_dev 134 drivers/acpi/device_sysfs.c static int create_pnp_modalias(struct acpi_device *acpi_dev, char *modalias, acpi_dev 142 drivers/acpi/device_sysfs.c if (!acpi_device_is_present(acpi_dev)) acpi_dev 151 drivers/acpi/device_sysfs.c list_for_each_entry(id, &acpi_dev->pnp.ids, list) acpi_dev 164 drivers/acpi/device_sysfs.c list_for_each_entry(id, &acpi_dev->pnp.ids, list) { acpi_dev 192 drivers/acpi/device_sysfs.c static int create_of_modalias(struct acpi_device *acpi_dev, char *modalias, acpi_dev 202 drivers/acpi/device_sysfs.c status = acpi_get_name(acpi_dev->handle, ACPI_SINGLE_NAME, &buf); acpi_dev 216 drivers/acpi/device_sysfs.c of_compatible = acpi_dev->data.of_compatible; acpi_dev 403 drivers/acpi/device_sysfs.c struct acpi_device *acpi_dev = to_acpi_device(dev); acpi_dev 405 drivers/acpi/device_sysfs.c return sprintf(buf, "%s\n", acpi_device_hid(acpi_dev)); acpi_dev 412 drivers/acpi/device_sysfs.c struct acpi_device *acpi_dev = to_acpi_device(dev); acpi_dev 414 drivers/acpi/device_sysfs.c return sprintf(buf, "%s\n", acpi_dev->pnp.unique_id); acpi_dev 421 drivers/acpi/device_sysfs.c struct acpi_device *acpi_dev = to_acpi_device(dev); acpi_dev 423 drivers/acpi/device_sysfs.c if (acpi_dev->pnp.bus_address > U32_MAX) acpi_dev 424 drivers/acpi/device_sysfs.c return sprintf(buf, "0x%016llx\n", acpi_dev->pnp.bus_address); acpi_dev 426 drivers/acpi/device_sysfs.c return sprintf(buf, "0x%08llx\n", acpi_dev->pnp.bus_address); acpi_dev 433 drivers/acpi/device_sysfs.c struct acpi_device *acpi_dev = to_acpi_device(dev); acpi_dev 435 drivers/acpi/device_sysfs.c return acpi_object_path(acpi_dev->handle, buf); acpi_dev 443 drivers/acpi/device_sysfs.c struct acpi_device *acpi_dev = to_acpi_device(dev); acpi_dev 446 drivers/acpi/device_sysfs.c if (acpi_dev->pnp.str_obj == NULL) acpi_dev 454 drivers/acpi/device_sysfs.c (wchar_t *)acpi_dev->pnp.str_obj->buffer.pointer, acpi_dev 455 drivers/acpi/device_sysfs.c acpi_dev->pnp.str_obj->buffer.length, acpi_dev 468 drivers/acpi/device_sysfs.c struct acpi_device *acpi_dev = to_acpi_device(dev); acpi_dev 472 drivers/acpi/device_sysfs.c status = acpi_evaluate_integer(acpi_dev->handle, "_SUN", NULL, &sun); acpi_dev 483 drivers/acpi/device_sysfs.c struct acpi_device *acpi_dev = to_acpi_device(dev); acpi_dev 487 drivers/acpi/device_sysfs.c status = acpi_evaluate_integer(acpi_dev->handle, "_HRV", NULL, &hrv); acpi_dev 497 drivers/acpi/device_sysfs.c struct acpi_device *acpi_dev = to_acpi_device(dev); acpi_dev 501 drivers/acpi/device_sysfs.c status = acpi_evaluate_integer(acpi_dev->handle, "_STA", NULL, &sta); acpi_dev 25 drivers/acpi/dptf/dptf_power.c struct acpi_device *acpi_dev = dev_get_drvdata(dev);\ acpi_dev 29 drivers/acpi/dptf/dptf_power.c status = acpi_evaluate_integer(acpi_dev->handle, #object,\ acpi_dev 65 drivers/acpi/dptf/dptf_power.c struct acpi_device *acpi_dev; acpi_dev 70 drivers/acpi/dptf/dptf_power.c acpi_dev = ACPI_COMPANION(&(pdev->dev)); acpi_dev 71 drivers/acpi/dptf/dptf_power.c if (!acpi_dev) acpi_dev 74 drivers/acpi/dptf/dptf_power.c status = acpi_evaluate_integer(acpi_dev->handle, "PTYP", NULL, &ptype); acpi_dev 86 drivers/acpi/dptf/dptf_power.c platform_set_drvdata(pdev, acpi_dev); acpi_dev 174 drivers/acpi/glue.c int acpi_bind_one(struct device *dev, struct acpi_device *acpi_dev) acpi_dev 183 drivers/acpi/glue.c if (acpi_dev) { acpi_dev 187 drivers/acpi/glue.c acpi_dev = ACPI_COMPANION(dev); acpi_dev 190 drivers/acpi/glue.c if (!acpi_dev) acpi_dev 193 drivers/acpi/glue.c get_device(&acpi_dev->dev); acpi_dev 201 drivers/acpi/glue.c mutex_lock(&acpi_dev->physical_node_lock); acpi_dev 207 drivers/acpi/glue.c physnode_list = &acpi_dev->physical_node_list; acpi_dev 209 drivers/acpi/glue.c list_for_each_entry(pn, &acpi_dev->physical_node_list, node) { acpi_dev 212 drivers/acpi/glue.c mutex_unlock(&acpi_dev->physical_node_lock); acpi_dev 216 drivers/acpi/glue.c if (ACPI_COMPANION(dev) != acpi_dev) acpi_dev 220 drivers/acpi/glue.c put_device(&acpi_dev->dev); acpi_dev 232 drivers/acpi/glue.c acpi_dev->physical_node_count++; acpi_dev 235 drivers/acpi/glue.c ACPI_COMPANION_SET(dev, acpi_dev); acpi_dev 238 drivers/acpi/glue.c retval = sysfs_create_link(&acpi_dev->dev.kobj, &dev->kobj, acpi_dev 241 drivers/acpi/glue.c dev_err(&acpi_dev->dev, "Failed to create link %s (%d)\n", acpi_dev 244 drivers/acpi/glue.c retval = sysfs_create_link(&dev->kobj, &acpi_dev->dev.kobj, acpi_dev 250 drivers/acpi/glue.c mutex_unlock(&acpi_dev->physical_node_lock); acpi_dev 252 drivers/acpi/glue.c if (acpi_dev->wakeup.flags.valid) acpi_dev 260 drivers/acpi/glue.c put_device(&acpi_dev->dev); acpi_dev 267 drivers/acpi/glue.c struct acpi_device *acpi_dev = ACPI_COMPANION(dev); acpi_dev 270 drivers/acpi/glue.c if (!acpi_dev) acpi_dev 273 drivers/acpi/glue.c mutex_lock(&acpi_dev->physical_node_lock); acpi_dev 275 drivers/acpi/glue.c list_for_each_entry(entry, &acpi_dev->physical_node_list, node) acpi_dev 280 drivers/acpi/glue.c acpi_dev->physical_node_count--; acpi_dev 283 drivers/acpi/glue.c sysfs_remove_link(&acpi_dev->dev.kobj, physnode_name); acpi_dev 288 drivers/acpi/glue.c put_device(&acpi_dev->dev); acpi_dev 293 drivers/acpi/glue.c mutex_unlock(&acpi_dev->physical_node_lock); acpi_dev 467 drivers/acpi/scan.c struct acpi_device *acpi_dev = to_acpi_device(dev); acpi_dev 469 drivers/acpi/scan.c acpi_free_properties(acpi_dev); acpi_dev 470 drivers/acpi/scan.c acpi_free_pnp_ids(&acpi_dev->pnp); acpi_dev 471 drivers/acpi/scan.c acpi_free_power_resources_lists(acpi_dev); acpi_dev 472 drivers/acpi/scan.c kfree(acpi_dev); acpi_dev 67 drivers/acpi/video_detect.c struct acpi_device *acpi_dev; acpi_dev 73 drivers/acpi/video_detect.c if (acpi_bus_get_device(handle, &acpi_dev)) acpi_dev 76 drivers/acpi/video_detect.c if (!acpi_match_device_ids(acpi_dev, video_ids)) { acpi_dev 75 drivers/gpio/gpio-amdpt.c struct acpi_device *acpi_dev; acpi_dev 80 drivers/gpio/gpio-amdpt.c if (acpi_bus_get_device(handle, &acpi_dev)) { acpi_dev 76 drivers/hwmon/acpi_power_meter.c struct acpi_device *acpi_dev; acpi_dev 114 drivers/hwmon/acpi_power_meter.c status = acpi_evaluate_integer(resource->acpi_dev->handle, "_GAI", acpi_dev 129 drivers/hwmon/acpi_power_meter.c struct acpi_device *acpi_dev = to_acpi_device(dev); acpi_dev 130 drivers/hwmon/acpi_power_meter.c struct acpi_power_meter_resource *resource = acpi_dev->driver_data; acpi_dev 143 drivers/hwmon/acpi_power_meter.c struct acpi_device *acpi_dev = to_acpi_device(dev); acpi_dev 144 drivers/hwmon/acpi_power_meter.c struct acpi_power_meter_resource *resource = acpi_dev->driver_data; acpi_dev 162 drivers/hwmon/acpi_power_meter.c status = acpi_evaluate_integer(resource->acpi_dev->handle, "_PAI", acpi_dev 186 drivers/hwmon/acpi_power_meter.c status = acpi_evaluate_integer(resource->acpi_dev->handle, "_GHL", acpi_dev 201 drivers/hwmon/acpi_power_meter.c struct acpi_device *acpi_dev = to_acpi_device(dev); acpi_dev 202 drivers/hwmon/acpi_power_meter.c struct acpi_power_meter_resource *resource = acpi_dev->driver_data; acpi_dev 214 drivers/hwmon/acpi_power_meter.c struct acpi_device *acpi_dev = to_acpi_device(dev); acpi_dev 215 drivers/hwmon/acpi_power_meter.c struct acpi_power_meter_resource *resource = acpi_dev->driver_data; acpi_dev 233 drivers/hwmon/acpi_power_meter.c status = acpi_evaluate_integer(resource->acpi_dev->handle, "_SHL", acpi_dev 270 drivers/hwmon/acpi_power_meter.c status = acpi_evaluate_integer(resource->acpi_dev->handle, "_PTP", acpi_dev 288 drivers/hwmon/acpi_power_meter.c struct acpi_device *acpi_dev = to_acpi_device(dev); acpi_dev 289 drivers/hwmon/acpi_power_meter.c struct acpi_power_meter_resource *resource = acpi_dev->driver_data; acpi_dev 322 drivers/hwmon/acpi_power_meter.c status = acpi_evaluate_integer(resource->acpi_dev->handle, "_PMM", acpi_dev 339 drivers/hwmon/acpi_power_meter.c struct acpi_device *acpi_dev = to_acpi_device(dev); acpi_dev 340 drivers/hwmon/acpi_power_meter.c struct acpi_power_meter_resource *resource = acpi_dev->driver_data; acpi_dev 355 drivers/hwmon/acpi_power_meter.c struct acpi_device *acpi_dev = to_acpi_device(dev); acpi_dev 356 drivers/hwmon/acpi_power_meter.c struct acpi_power_meter_resource *resource = acpi_dev->driver_data; acpi_dev 384 drivers/hwmon/acpi_power_meter.c struct acpi_device *acpi_dev = to_acpi_device(dev); acpi_dev 385 drivers/hwmon/acpi_power_meter.c struct acpi_power_meter_resource *resource = acpi_dev->driver_data; acpi_dev 439 drivers/hwmon/acpi_power_meter.c struct acpi_device *acpi_dev = to_acpi_device(dev); acpi_dev 440 drivers/hwmon/acpi_power_meter.c struct acpi_power_meter_resource *resource = acpi_dev->driver_data; acpi_dev 546 drivers/hwmon/acpi_power_meter.c status = acpi_evaluate_object(resource->acpi_dev->handle, "_PMD", NULL, acpi_dev 556 drivers/hwmon/acpi_power_meter.c dev_err(&resource->acpi_dev->dev, ACPI_POWER_METER_NAME acpi_dev 574 drivers/hwmon/acpi_power_meter.c &resource->acpi_dev->dev.kobj); acpi_dev 621 drivers/hwmon/acpi_power_meter.c struct device *dev = &resource->acpi_dev->dev; acpi_dev 659 drivers/hwmon/acpi_power_meter.c device_remove_file(&resource->acpi_dev->dev, acpi_dev 684 drivers/hwmon/acpi_power_meter.c dev_warn(&resource->acpi_dev->dev, acpi_dev 740 drivers/hwmon/acpi_power_meter.c status = acpi_evaluate_object(resource->acpi_dev->handle, "_PMC", NULL, acpi_dev 751 drivers/hwmon/acpi_power_meter.c dev_err(&resource->acpi_dev->dev, ACPI_POWER_METER_NAME acpi_dev 769 drivers/hwmon/acpi_power_meter.c dev_err(&resource->acpi_dev->dev, ACPI_POWER_METER_NAME acpi_dev 798 drivers/hwmon/acpi_power_meter.c dev_info(&resource->acpi_dev->dev, "Found ACPI power meter.\n"); acpi_dev 871 drivers/hwmon/acpi_power_meter.c resource->acpi_dev = device; acpi_dev 109 drivers/hwmon/asus_atk0110.c struct acpi_device *acpi_dev; acpi_dev 329 drivers/hwmon/asus_atk0110.c struct device *dev = &data->acpi_dev->dev; acpi_dev 424 drivers/hwmon/asus_atk0110.c struct device *dev = &data->acpi_dev->dev; acpi_dev 451 drivers/hwmon/asus_atk0110.c struct device *dev = &data->acpi_dev->dev; acpi_dev 489 drivers/hwmon/asus_atk0110.c struct device *dev = &data->acpi_dev->dev; acpi_dev 525 drivers/hwmon/asus_atk0110.c struct device *dev = &data->acpi_dev->dev; acpi_dev 567 drivers/hwmon/asus_atk0110.c struct device *dev = &data->acpi_dev->dev; acpi_dev 604 drivers/hwmon/asus_atk0110.c struct device *dev = &data->acpi_dev->dev; acpi_dev 822 drivers/hwmon/asus_atk0110.c struct device *dev = &data->acpi_dev->dev; acpi_dev 940 drivers/hwmon/asus_atk0110.c struct device *dev = &data->acpi_dev->dev; acpi_dev 1015 drivers/hwmon/asus_atk0110.c struct device *dev = &data->acpi_dev->dev; acpi_dev 1061 drivers/hwmon/asus_atk0110.c struct device *dev = &data->acpi_dev->dev; acpi_dev 1088 drivers/hwmon/asus_atk0110.c struct device *dev = &data->acpi_dev->dev; acpi_dev 1120 drivers/hwmon/asus_atk0110.c struct device *dev = &data->acpi_dev->dev; acpi_dev 1162 drivers/hwmon/asus_atk0110.c struct device *dev = &data->acpi_dev->dev; acpi_dev 1188 drivers/hwmon/asus_atk0110.c struct device *dev = &data->acpi_dev->dev; acpi_dev 1200 drivers/hwmon/asus_atk0110.c struct device *dev = &data->acpi_dev->dev; acpi_dev 1287 drivers/hwmon/asus_atk0110.c data->acpi_dev = device; acpi_dev 735 drivers/perf/qcom_l3_pmu.c struct acpi_device *acpi_dev; acpi_dev 742 drivers/perf/qcom_l3_pmu.c acpi_dev = ACPI_COMPANION(&pdev->dev); acpi_dev 743 drivers/perf/qcom_l3_pmu.c if (!acpi_dev) acpi_dev 748 drivers/perf/qcom_l3_pmu.c acpi_dev->parent->pnp.unique_id, acpi_dev->pnp.unique_id); acpi_dev 1607 drivers/pinctrl/intel/pinctrl-baytrail.c struct acpi_device *acpi_dev; acpi_dev 1611 drivers/pinctrl/intel/pinctrl-baytrail.c acpi_dev = ACPI_COMPANION(&pdev->dev); acpi_dev 1612 drivers/pinctrl/intel/pinctrl-baytrail.c if (!acpi_dev) acpi_dev 1618 drivers/pinctrl/intel/pinctrl-baytrail.c if (!strcmp(acpi_dev->pnp.unique_id, soc_table[i]->uid)) { acpi_dev 162 drivers/platform/chrome/chromeos_laptop.c const struct acpi_peripheral *acpi_dev; acpi_dev 171 drivers/platform/chrome/chromeos_laptop.c acpi_dev = &cros_laptop->acpi_peripherals[i]; acpi_dev 173 drivers/platform/chrome/chromeos_laptop.c memcpy(acpi_ids[0].id, acpi_dev->hid, ACPI_ID_LEN); acpi_dev 177 drivers/platform/chrome/chromeos_laptop.c acpi_dev->properties); acpi_dev 773 drivers/platform/chrome/chromeos_laptop.c struct acpi_peripheral *acpi_dev; acpi_dev 793 drivers/platform/chrome/chromeos_laptop.c acpi_dev = acpi_peripherals; acpi_dev 799 drivers/platform/chrome/chromeos_laptop.c *acpi_dev = *src_dev; acpi_dev 803 drivers/platform/chrome/chromeos_laptop.c acpi_dev->properties = acpi_dev 805 drivers/platform/chrome/chromeos_laptop.c if (IS_ERR(acpi_dev->properties)) { acpi_dev 806 drivers/platform/chrome/chromeos_laptop.c error = PTR_ERR(acpi_dev->properties); acpi_dev 811 drivers/platform/chrome/chromeos_laptop.c acpi_dev++; acpi_dev 821 drivers/platform/chrome/chromeos_laptop.c acpi_dev = &acpi_peripherals[i]; acpi_dev 822 drivers/platform/chrome/chromeos_laptop.c if (acpi_dev->properties) acpi_dev 823 drivers/platform/chrome/chromeos_laptop.c property_entries_free(acpi_dev->properties); acpi_dev 832 drivers/platform/chrome/chromeos_laptop.c const struct acpi_peripheral *acpi_dev; acpi_dev 846 drivers/platform/chrome/chromeos_laptop.c acpi_dev = &cros_laptop->acpi_peripherals[i]; acpi_dev 848 drivers/platform/chrome/chromeos_laptop.c property_entries_free(acpi_dev->properties); acpi_dev 59 drivers/platform/x86/hp-wireless.c static void hpwl_notify(struct acpi_device *acpi_dev, u32 event) acpi_dev 3355 drivers/platform/x86/sony-laptop.c struct acpi_device *acpi_dev; acpi_dev 4699 drivers/platform/x86/sony-laptop.c spic_dev.acpi_dev = device; acpi_dev 162 drivers/platform/x86/toshiba_acpi.c struct acpi_device *acpi_dev; acpi_dev 329 drivers/platform/x86/toshiba_acpi.c status = acpi_evaluate_object(dev->acpi_dev->handle, acpi_dev 2407 drivers/platform/x86/toshiba_acpi.c if (sysfs_update_group(&toshiba_acpi->acpi_dev->dev.kobj, acpi_dev 2419 drivers/platform/x86/toshiba_acpi.c acpi_bus_generate_netlink_event(toshiba_acpi->acpi_dev->pnp.device_class, acpi_dev 2420 drivers/platform/x86/toshiba_acpi.c dev_name(&toshiba_acpi->acpi_dev->dev), acpi_dev 2614 drivers/platform/x86/toshiba_acpi.c &dev->acpi_dev->dev, acpi_dev 2642 drivers/platform/x86/toshiba_acpi.c status = acpi_evaluate_object(dev->acpi_dev->handle, acpi_dev 2703 drivers/platform/x86/toshiba_acpi.c status = acpi_evaluate_integer(dev->acpi_dev->handle, "INFO", acpi_dev 2838 drivers/platform/x86/toshiba_acpi.c if (acpi_has_method(dev->acpi_dev->handle, "INFO")) acpi_dev 2914 drivers/platform/x86/toshiba_acpi.c &dev->acpi_dev->dev, acpi_dev 2973 drivers/platform/x86/toshiba_acpi.c static int toshiba_acpi_remove(struct acpi_device *acpi_dev) acpi_dev 2975 drivers/platform/x86/toshiba_acpi.c struct toshiba_acpi_dev *dev = acpi_driver_data(acpi_dev); acpi_dev 2987 drivers/platform/x86/toshiba_acpi.c sysfs_remove_group(&dev->acpi_dev->dev.kobj, acpi_dev 3033 drivers/platform/x86/toshiba_acpi.c static int toshiba_acpi_add(struct acpi_device *acpi_dev) acpi_dev 3046 drivers/platform/x86/toshiba_acpi.c hci_method = find_hci_method(acpi_dev->handle); acpi_dev 3055 drivers/platform/x86/toshiba_acpi.c dev->acpi_dev = acpi_dev; acpi_dev 3068 drivers/platform/x86/toshiba_acpi.c acpi_dev->driver_data = dev; acpi_dev 3069 drivers/platform/x86/toshiba_acpi.c dev_set_drvdata(&acpi_dev->dev, dev); acpi_dev 3099 drivers/platform/x86/toshiba_acpi.c if (!led_classdev_register(&acpi_dev->dev, &dev->led_dev)) acpi_dev 3109 drivers/platform/x86/toshiba_acpi.c if (!led_classdev_register(&dev->acpi_dev->dev, &dev->eco_led)) acpi_dev 3126 drivers/platform/x86/toshiba_acpi.c if (!led_classdev_register(&dev->acpi_dev->dev, &dev->kbd_led)) acpi_dev 3145 drivers/platform/x86/toshiba_acpi.c dev->indio_dev->dev.parent = &acpi_dev->dev; acpi_dev 3187 drivers/platform/x86/toshiba_acpi.c ret = sysfs_create_group(&dev->acpi_dev->dev.kobj, acpi_dev 3202 drivers/platform/x86/toshiba_acpi.c toshiba_acpi_remove(acpi_dev); acpi_dev 3206 drivers/platform/x86/toshiba_acpi.c static void toshiba_acpi_notify(struct acpi_device *acpi_dev, u32 event) acpi_dev 3208 drivers/platform/x86/toshiba_acpi.c struct toshiba_acpi_dev *dev = acpi_driver_data(acpi_dev); acpi_dev 3240 drivers/platform/x86/toshiba_acpi.c if (sysfs_update_group(&acpi_dev->dev.kobj, acpi_dev 3259 drivers/platform/x86/toshiba_acpi.c acpi_bus_generate_netlink_event(acpi_dev->pnp.device_class, acpi_dev 3260 drivers/platform/x86/toshiba_acpi.c dev_name(&acpi_dev->dev), acpi_dev 30 drivers/platform/x86/toshiba_bluetooth.c struct acpi_device *acpi_dev; acpi_dev 147 drivers/platform/x86/toshiba_bluetooth.c status = toshiba_bluetooth_status(bt_dev->acpi_dev->handle); acpi_dev 177 drivers/platform/x86/toshiba_bluetooth.c ret = toshiba_bluetooth_disable(bt_dev->acpi_dev->handle); acpi_dev 179 drivers/platform/x86/toshiba_bluetooth.c ret = toshiba_bluetooth_enable(bt_dev->acpi_dev->handle); acpi_dev 249 drivers/platform/x86/toshiba_bluetooth.c bt_dev->acpi_dev = device; acpi_dev 21 drivers/platform/x86/toshiba_haps.c struct acpi_device *acpi_dev; acpi_dev 85 drivers/platform/x86/toshiba_haps.c ret = toshiba_haps_protection_level(haps->acpi_dev->handle, level); acpi_dev 111 drivers/platform/x86/toshiba_haps.c ret = toshiba_haps_reset_protection(haps->acpi_dev->handle); acpi_dev 175 drivers/platform/x86/toshiba_haps.c static int toshiba_haps_add(struct acpi_device *acpi_dev) acpi_dev 183 drivers/platform/x86/toshiba_haps.c if (!toshiba_haps_available(acpi_dev->handle)) acpi_dev 192 drivers/platform/x86/toshiba_haps.c haps->acpi_dev = acpi_dev; acpi_dev 194 drivers/platform/x86/toshiba_haps.c acpi_dev->driver_data = haps; acpi_dev 195 drivers/platform/x86/toshiba_haps.c dev_set_drvdata(&acpi_dev->dev, haps); acpi_dev 198 drivers/platform/x86/toshiba_haps.c ret = toshiba_haps_protection_level(acpi_dev->handle, 2); acpi_dev 202 drivers/platform/x86/toshiba_haps.c ret = sysfs_create_group(&acpi_dev->dev.kobj, &haps_attr_group); acpi_dev 220 drivers/platform/x86/toshiba_haps.c ret = toshiba_haps_protection_level(haps->acpi_dev->handle, 0); acpi_dev 233 drivers/platform/x86/toshiba_haps.c ret = toshiba_haps_protection_level(haps->acpi_dev->handle, acpi_dev 237 drivers/platform/x86/toshiba_haps.c ret = toshiba_haps_reset_protection(haps->acpi_dev->handle); acpi_dev 51 drivers/pnp/pnpacpi/core.c struct acpi_device *acpi_dev; acpi_dev 57 drivers/pnp/pnpacpi/core.c acpi_dev = ACPI_COMPANION(&dev->dev); acpi_dev 58 drivers/pnp/pnpacpi/core.c if (!acpi_dev) { acpi_dev 63 drivers/pnp/pnpacpi/core.c if (WARN_ON_ONCE(acpi_dev != dev->data)) acpi_dev 64 drivers/pnp/pnpacpi/core.c dev->data = acpi_dev; acpi_dev 66 drivers/pnp/pnpacpi/core.c handle = acpi_dev->handle; acpi_dev 84 drivers/pnp/pnpacpi/core.c if (!ret && acpi_device_power_manageable(acpi_dev)) acpi_dev 85 drivers/pnp/pnpacpi/core.c ret = acpi_device_set_power(acpi_dev, ACPI_STATE_D0); acpi_dev 92 drivers/pnp/pnpacpi/core.c struct acpi_device *acpi_dev; acpi_dev 97 drivers/pnp/pnpacpi/core.c acpi_dev = ACPI_COMPANION(&dev->dev); acpi_dev 98 drivers/pnp/pnpacpi/core.c if (!acpi_dev) { acpi_dev 104 drivers/pnp/pnpacpi/core.c if (acpi_device_power_manageable(acpi_dev)) acpi_dev 105 drivers/pnp/pnpacpi/core.c acpi_device_set_power(acpi_dev, ACPI_STATE_D3_COLD); acpi_dev 108 drivers/pnp/pnpacpi/core.c status = acpi_evaluate_object(acpi_dev->handle, "_DIS", NULL, NULL); acpi_dev 118 drivers/pnp/pnpacpi/core.c struct acpi_device *acpi_dev = ACPI_COMPANION(&dev->dev); acpi_dev 120 drivers/pnp/pnpacpi/core.c if (!acpi_dev) { acpi_dev 125 drivers/pnp/pnpacpi/core.c return acpi_bus_can_wakeup(acpi_dev->handle); acpi_dev 130 drivers/pnp/pnpacpi/core.c struct acpi_device *acpi_dev = ACPI_COMPANION(&dev->dev); acpi_dev 133 drivers/pnp/pnpacpi/core.c if (!acpi_dev) { acpi_dev 145 drivers/pnp/pnpacpi/core.c if (acpi_device_power_manageable(acpi_dev)) { acpi_dev 158 drivers/pnp/pnpacpi/core.c error = acpi_device_set_power(acpi_dev, power_state); acpi_dev 166 drivers/pnp/pnpacpi/core.c struct acpi_device *acpi_dev = ACPI_COMPANION(&dev->dev); acpi_dev 169 drivers/pnp/pnpacpi/core.c if (!acpi_dev) { acpi_dev 177 drivers/pnp/pnpacpi/core.c if (acpi_device_power_manageable(acpi_dev)) acpi_dev 178 drivers/pnp/pnpacpi/core.c error = acpi_device_set_power(acpi_dev, ACPI_STATE_D0); acpi_dev 272 drivers/pnp/pnpacpi/rsparser.c struct acpi_device *acpi_dev = dev->data; acpi_dev 273 drivers/pnp/pnpacpi/rsparser.c acpi_handle handle = acpi_dev->handle; acpi_dev 551 drivers/pnp/pnpacpi/rsparser.c struct acpi_device *acpi_dev = dev->data; acpi_dev 552 drivers/pnp/pnpacpi/rsparser.c acpi_handle handle = acpi_dev->handle; acpi_dev 624 drivers/pnp/pnpacpi/rsparser.c struct acpi_device *acpi_dev = dev->data; acpi_dev 625 drivers/pnp/pnpacpi/rsparser.c acpi_handle handle = acpi_dev->handle;