Lines Matching refs:acpi_dev
32 struct acpi_device *acpi_dev = dev_get_drvdata(dev);\
36 status = acpi_evaluate_integer(acpi_dev->handle, #object,\
70 struct acpi_device *acpi_dev = dev_get_drvdata(dev); in prochot_confirm_store() local
77 status = acpi_execute_simple_method(acpi_dev->handle, "PBOK", seq_no); in prochot_confirm_store()
174 struct acpi_device *acpi_dev; in dptf_power_add() local
178 acpi_dev = ACPI_COMPANION(&(pdev->dev)); in dptf_power_add()
179 if (!acpi_dev) in dptf_power_add()
182 ptype = dptf_participant_type(acpi_dev->handle); in dptf_power_add()
190 result = acpi_install_notify_handler(acpi_dev->handle, in dptf_power_add()
200 acpi_remove_notify_handler(acpi_dev->handle, in dptf_power_add()
206 platform_set_drvdata(pdev, acpi_dev); in dptf_power_add()
213 struct acpi_device *acpi_dev = platform_get_drvdata(pdev); in dptf_power_remove() local
215 acpi_remove_notify_handler(acpi_dev->handle, in dptf_power_remove()
219 if (dptf_participant_type(acpi_dev->handle) == 0x0CULL) in dptf_power_remove()