Furquan Shaikh | e084463 | 2020-05-02 10:23:37 -0700 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Furquan Shaikh | e084463 | 2020-05-02 10:23:37 -0700 | [diff] [blame] | 2 | |
Furquan Shaikh | 56eafbb | 2020-04-30 18:38:55 -0700 | [diff] [blame] | 3 | #ifndef __ACPI_ACPIGEN_DSM_H__ |
| 4 | #define __ACPI_ACPIGEN_DSM_H__ |
Furquan Shaikh | e084463 | 2020-05-02 10:23:37 -0700 | [diff] [blame] | 5 | |
| 6 | #include <stdint.h> |
| 7 | |
| 8 | struct dsm_i2c_hid_config { |
| 9 | uint8_t hid_desc_reg_offset; |
| 10 | }; |
| 11 | |
| 12 | void acpigen_write_dsm_i2c_hid(struct dsm_i2c_hid_config *config); |
| 13 | |
Kane Chen | 56e448b | 2022-12-12 13:15:03 +0800 | [diff] [blame] | 14 | struct dsm_usb_config { |
| 15 | uint8_t usb_lpm_incapable; |
| 16 | }; |
| 17 | void acpigen_write_dsm_usb(struct dsm_usb_config *config); |
| 18 | |
Furquan Shaikh | 56eafbb | 2020-04-30 18:38:55 -0700 | [diff] [blame] | 19 | #endif /* __ACPI_ACPIGEN_DSM_H__ */ |