Lines Matching refs:handle

80 static void acpi_video_bus_notify(acpi_handle handle, u32 event, void *data);
207 static void acpi_video_device_notify(acpi_handle handle, u32 event, void *data);
308 acpi_video_device_lcd_query_levels(acpi_handle handle,
318 status = acpi_evaluate_object(handle, "_BCL", NULL, &buffer);
323 acpi_handle_info(handle, "Invalid _BCL data\n");
344 status = acpi_execute_simple_method(device->dev->handle,
347 acpi_handle_info(device->dev->handle, "_BCM evaluation failed\n");
361 acpi_handle_info(device->dev->handle, "Current brightness invalid\n");
567 status = acpi_evaluate_integer(device->dev->handle, buf,
591 acpi_handle_info(device->dev->handle,
603 acpi_handle_info(device->dev->handle,
633 status = acpi_evaluate_object(device->dev->handle, "_DDC", &args, &buffer);
642 acpi_handle_debug(device->dev->handle,
689 status = acpi_execute_simple_method(video->device->handle, "_DOS",
795 if (ACPI_FAILURE(acpi_video_device_lcd_query_levels(device->handle, &obj))) {
796 acpi_handle_debug(device->handle,
829 acpi_handle_info(device->handle, "Invalid data\n");
866 acpi_handle_info(device->handle,
877 acpi_handle_info(device->handle,
956 acpi_handle_debug(device->dev->handle, "found %d brightness levels\n",
981 if (acpi_has_method(device->dev->handle, "_ADR"))
983 if (acpi_has_method(device->dev->handle, "_BCL"))
985 if (acpi_has_method(device->dev->handle, "_BCM"))
987 if (acpi_has_method(device->dev->handle, "_BQC")) {
989 } else if (acpi_has_method(device->dev->handle, "_BCQ")) {
990 acpi_handle_info(device->dev->handle,
995 if (acpi_has_method(device->dev->handle, "_DDC"))
1011 if (acpi_has_method(video->device->handle, "_DOS"))
1013 if (acpi_has_method(video->device->handle, "_DOD"))
1015 if (acpi_has_method(video->device->handle, "_ROM"))
1017 if (acpi_has_method(video->device->handle, "_GPD"))
1019 if (acpi_has_method(video->device->handle, "_SPD"))
1021 if (acpi_has_method(video->device->handle, "_VPO"))
1038 dev = acpi_get_pci_dev(video->device->handle);
1120 status = acpi_evaluate_integer(device->handle, "_ADR", NULL, &device_id);
1244 acpi_handle_debug(video->device->handle, "%s: %d\n",
1296 status = acpi_evaluate_object(video->device->handle, "_DOD", NULL, &buffer);
1298 acpi_handle_info(video->device->handle,
1306 acpi_handle_info(video->device->handle, "Invalid _DOD data\n");
1311 acpi_handle_debug(video->device->handle, "Found %d video heads in _DOD\n",
1327 acpi_handle_info(video->device->handle,
1335 acpi_handle_debug(video->device->handle,
1429 acpi_handle_info(device->dev->handle,
1528 static void acpi_video_bus_notify(acpi_handle handle, u32 event, void *data)
1564 acpi_handle_debug(device->handle, "Unsupported event [0x%x]\n",
1591 static void acpi_video_device_notify(acpi_handle handle, u32 event, void *data)
1636 acpi_handle_debug(handle, "Unsupported event [0x%x]\n", event);
1681 acpi_video_bus_match(acpi_handle handle, u32 level, void *context,
1687 if (handle == device->handle)
1690 sibling = acpi_fetch_acpi_dev(handle);
1719 if (ACPI_SUCCESS(acpi_get_parent(device->dev->handle, &acpi_parent))) {
1783 if (!acpi_video_device_lcd_query_levels(dev->dev->handle, &levels))
1873 status = acpi_install_notify_handler(adev->handle, ACPI_DEVICE_NOTIFY,
1938 acpi_remove_notify_handler(dev->dev->handle, ACPI_DEVICE_NOTIFY,
1982 acpi_dev_parent(device)->handle, 1,
2207 * state before any ACPI video calls are made. To handle this we defer