Lines Matching refs:adev
53 struct acpi_device *adev; member
94 obj->int340x_zone = int340x_thermal_zone_add(priv->adev, NULL); in int3403_sensor_add()
98 result = acpi_install_notify_handler(priv->adev->handle, in int3403_sensor_add()
115 acpi_remove_notify_handler(priv->adev->handle, in int3403_sensor_remove()
140 status = acpi_evaluate_integer(priv->adev->handle, "PPPC", NULL, &level); in int3403_get_cur_state()
154 status = acpi_execute_simple_method(priv->adev->handle, "SPPC", state); in int3403_set_cur_state()
179 status = acpi_evaluate_object(priv->adev->handle, "PPSS", NULL, &buf); in int3403_cdev_add()
192 thermal_cooling_device_register(acpi_device_bid(priv->adev), in int3403_cdev_add()
225 priv->adev = ACPI_COMPANION(&(pdev->dev)); in int3403_add()
226 if (!priv->adev) { in int3403_add()
231 status = acpi_evaluate_integer(priv->adev->handle, "PTYP", in int3403_add()