]>
Commit | Line | Data |
---|---|---|
92b8c540 ML |
1 | /* |
2 | * Dell WMI descriptor driver | |
3 | * | |
4 | * Copyright (c) 2017 Dell Inc. | |
5 | * | |
6 | * This program is free software; you can redistribute it and/or modify | |
7 | * it under the terms of the GNU General Public License version 2 as | |
8 | * published by the Free Software Foundation. | |
9 | */ | |
10 | ||
11 | #ifndef _DELL_WMI_DESCRIPTOR_H_ | |
12 | #define _DELL_WMI_DESCRIPTOR_H_ | |
13 | ||
14 | #include <linux/wmi.h> | |
15 | ||
868b8d33 ML |
16 | /* possible return values: |
17 | * -ENODEV: Descriptor GUID missing from WMI bus | |
18 | * -EPROBE_DEFER: probing for dell-wmi-descriptor not yet run | |
19 | * 0: valid descriptor, successfully probed | |
20 | * < 0: invalid descriptor, don't probe dependent devices | |
21 | */ | |
22 | int dell_wmi_get_descriptor_valid(void); | |
92b8c540 ML |
23 | |
24 | bool dell_wmi_get_interface_version(u32 *version); | |
25 | bool dell_wmi_get_size(u32 *size); | |
4255c30f | 26 | bool dell_wmi_get_hotfix(u32 *hotfix); |
92b8c540 ML |
27 | |
28 | #endif |