acpi_bus.h (cf5c5763eb531ff5120111ad300126e926fb5a56) acpi_bus.h (ac2a3feefad549814f5e7cca30be07a255c8494a)
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2/*
3 * acpi_bus.h - ACPI Bus Driver ($Revision: 22 $)
4 *
5 * Copyright (C) 2001, 2002 Andy Grover <andrew.grover@intel.com>
6 * Copyright (C) 2001, 2002 Paul Diefenbaugh <paul.s.diefenbaugh@intel.com>
7 */
8

--- 495 unchanged lines hidden (view full) ---

504extern int acpi_notifier_call_chain(struct acpi_device *, u32, u32);
505extern int register_acpi_notifier(struct notifier_block *);
506extern int unregister_acpi_notifier(struct notifier_block *);
507
508/*
509 * External Functions
510 */
511
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2/*
3 * acpi_bus.h - ACPI Bus Driver ($Revision: 22 $)
4 *
5 * Copyright (C) 2001, 2002 Andy Grover <andrew.grover@intel.com>
6 * Copyright (C) 2001, 2002 Paul Diefenbaugh <paul.s.diefenbaugh@intel.com>
7 */
8

--- 495 unchanged lines hidden (view full) ---

504extern int acpi_notifier_call_chain(struct acpi_device *, u32, u32);
505extern int register_acpi_notifier(struct notifier_block *);
506extern int unregister_acpi_notifier(struct notifier_block *);
507
508/*
509 * External Functions
510 */
511
512int acpi_bus_get_device(acpi_handle handle, struct acpi_device **device);
513struct acpi_device *acpi_fetch_acpi_dev(acpi_handle handle);
514acpi_status acpi_bus_get_status_handle(acpi_handle handle,
515 unsigned long long *sta);
516int acpi_bus_get_status(struct acpi_device *device);
517
518int acpi_bus_set_power(acpi_handle handle, int state);
519const char *acpi_power_state_string(int state);
520int acpi_device_set_power(struct acpi_device *device, int state);

--- 249 unchanged lines hidden ---
512struct acpi_device *acpi_fetch_acpi_dev(acpi_handle handle);
513acpi_status acpi_bus_get_status_handle(acpi_handle handle,
514 unsigned long long *sta);
515int acpi_bus_get_status(struct acpi_device *device);
516
517int acpi_bus_set_power(acpi_handle handle, int state);
518const char *acpi_power_state_string(int state);
519int acpi_device_set_power(struct acpi_device *device, int state);

--- 249 unchanged lines hidden ---