/openbmc/linux/include/linux/ |
H A D | wmi.h | 23 struct wmi_device { struct 30 extern acpi_status wmidev_evaluate_method(struct wmi_device *wdev, argument 35 extern union acpi_object *wmidev_block_query(struct wmi_device *wdev, 38 u8 wmidev_instance_count(struct wmi_device *wdev); 40 extern int set_required_buffer_size(struct wmi_device *wdev, u64 length); 61 int (*probe)(struct wmi_device *wdev, const void *context); 62 void (*remove)(struct wmi_device *wdev); 63 void (*notify)(struct wmi_device *device, union acpi_object *data); 64 long (*filter_callback)(struct wmi_device *wdev, unsigned int cmd,
|
/openbmc/linux/drivers/platform/x86/ |
H A D | gigabyte-wmi.c | 29 static int gigabyte_wmi_perform_query(struct wmi_device *wdev, in gigabyte_wmi_perform_query() 46 static int gigabyte_wmi_query_integer(struct wmi_device *wdev, in gigabyte_wmi_query_integer() 66 static int gigabyte_wmi_temperature(struct wmi_device *wdev, u8 sensor, long *res) in gigabyte_wmi_temperature() 86 struct wmi_device *wdev = dev_get_drvdata(dev); in gigabyte_wmi_hwmon_read() 118 static u8 gigabyte_wmi_detect_sensor_usability(struct wmi_device *wdev) in gigabyte_wmi_detect_sensor_usability() 131 static int gigabyte_wmi_probe(struct wmi_device *wdev, const void *context) in gigabyte_wmi_probe()
|
H A D | nvidia-wmi-ec-backlight.c | 32 static int wmi_brightness_notify(struct wmi_device *w, enum wmi_brightness_method id, enum wmi_brig… in wmi_brightness_notify() 65 struct wmi_device *wdev = bl_get_data(bd); in nvidia_wmi_ec_backlight_update_status() 74 struct wmi_device *wdev = bl_get_data(bd); in nvidia_wmi_ec_backlight_get_brightness() 91 static int nvidia_wmi_ec_backlight_probe(struct wmi_device *wdev, const void *ctx) in nvidia_wmi_ec_backlight_probe()
|
H A D | think-lmi.h | 79 struct wmi_device *wmi_device; member
|
H A D | lenovo-ymc.c | 68 static void lenovo_ymc_trigger_ec(struct wmi_device *wdev, struct lenovo_ymc_private *priv) in lenovo_ymc_trigger_ec() 94 static void lenovo_ymc_notify(struct wmi_device *wdev, union acpi_object *data) in lenovo_ymc_notify() 135 static int lenovo_ymc_probe(struct wmi_device *wdev, const void *ctx) in lenovo_ymc_probe()
|
H A D | xiaomi-wmi.c | 26 static int xiaomi_wmi_probe(struct wmi_device *wdev, const void *context) in xiaomi_wmi_probe() 51 static void xiaomi_wmi_notify(struct wmi_device *wdev, union acpi_object *dummy) in xiaomi_wmi_notify()
|
H A D | wmi-bmof.c | 37 static int wmi_bmof_probe(struct wmi_device *wdev, const void *context) in wmi_bmof_probe() 77 static void wmi_bmof_remove(struct wmi_device *wdev) in wmi_bmof_remove()
|
H A D | wmi.c | 66 struct wmi_device dev; 261 int set_required_buffer_size(struct wmi_device *wdev, u64 length) in set_required_buffer_size() 305 u8 wmidev_instance_count(struct wmi_device *wdev) in wmidev_instance_count() 352 acpi_status wmidev_evaluate_method(struct wmi_device *wdev, u8 instance, u32 method_id, in wmidev_evaluate_method() 494 union acpi_object *wmidev_block_query(struct wmi_device *wdev, u8 instance) in wmidev_block_query() 771 #define dev_to_wdev(__dev) container_of_const(__dev, struct wmi_device, dev) 855 struct wmi_device *wdev = dev_to_wdev(dev); in setable_show()
|
H A D | lenovo-yogabook.c | 334 static int yogabook_wmi_probe(struct wmi_device *wdev, const void *context) in yogabook_wmi_probe() 382 static void yogabook_wmi_remove(struct wmi_device *wdev) in yogabook_wmi_remove() 394 static void yogabook_wmi_notify(struct wmi_device *wdev, union acpi_object *dummy) in yogabook_wmi_notify()
|
H A D | think-lmi.c | 1610 static void tlmi_remove(struct wmi_device *wdev) in tlmi_remove() 1617 static int tlmi_probe(struct wmi_device *wdev, const void *context) in tlmi_probe()
|
H A D | ideapad-laptop.c | 1692 static int ideapad_wmi_probe(struct wmi_device *wdev, const void *context) in ideapad_wmi_probe() 1706 static void ideapad_wmi_notify(struct wmi_device *wdev, union acpi_object *data) in ideapad_wmi_notify()
|
/openbmc/linux/drivers/platform/x86/dell/ |
H A D | dell-smbios-wmi.c | 33 struct wmi_device *wdev; 46 static int run_smbios_call(struct wmi_device *wdev) in run_smbios_call() 111 static long dell_smbios_wmi_filter(struct wmi_device *wdev, unsigned int cmd, in dell_smbios_wmi_filter() 147 static int dell_smbios_wmi_probe(struct wmi_device *wdev, const void *context) in dell_smbios_wmi_probe() 209 static void dell_smbios_wmi_remove(struct wmi_device *wdev) in dell_smbios_wmi_remove()
|
H A D | dell-wmi-ddv.c | 111 struct wmi_device *wdev; 132 static int dell_wmi_ddv_query_type(struct wmi_device *wdev, enum dell_ddv_method method, u32 arg, in dell_wmi_ddv_query_type() 161 static int dell_wmi_ddv_query_integer(struct wmi_device *wdev, enum dell_ddv_method method, in dell_wmi_ddv_query_integer() 181 static int dell_wmi_ddv_query_buffer(struct wmi_device *wdev, enum dell_ddv_method method, in dell_wmi_ddv_query_buffer() 227 static int dell_wmi_ddv_query_string(struct wmi_device *wdev, enum dell_ddv_method method, in dell_wmi_ddv_query_string() 236 static int dell_wmi_ddv_update_sensors(struct wmi_device *wdev, enum dell_ddv_method method, in dell_wmi_ddv_update_sensors() 541 static struct hwmon_channel_info *dell_wmi_ddv_channel_init(struct wmi_device *wdev, in dell_wmi_ddv_channel_init() 571 struct wmi_device *wdev = data->wdev; in dell_wmi_ddv_hwmon_add() 799 static void dell_wmi_ddv_debugfs_init(struct wmi_device *wdev) in dell_wmi_ddv_debugfs_init() 815 static int dell_wmi_ddv_probe(struct wmi_device *wdev, const void *context) in dell_wmi_ddv_probe()
|
H A D | dell-wmi-base.c | 398 static int dell_wmi_process_key(struct wmi_device *wdev, int type, int code, u16 *buffer, int remai… in dell_wmi_process_key() 442 static void dell_wmi_notify(struct wmi_device *wdev, in dell_wmi_notify() 612 static int dell_wmi_input_setup(struct wmi_device *wdev) in dell_wmi_input_setup() 728 static void dell_wmi_input_destroy(struct wmi_device *wdev) in dell_wmi_input_destroy() 774 static int dell_wmi_probe(struct wmi_device *wdev, const void *context) in dell_wmi_probe() 795 static void dell_wmi_remove(struct wmi_device *wdev) in dell_wmi_remove()
|
H A D | dell-wmi-privacy.c | 36 struct wmi_device *wdev; 203 static int get_current_status(struct wmi_device *wdev) in get_current_status() 295 static int dell_privacy_wmi_probe(struct wmi_device *wdev, const void *context) in dell_privacy_wmi_probe() 374 static void dell_privacy_wmi_remove(struct wmi_device *wdev) in dell_privacy_wmi_remove()
|
H A D | dell-wmi-descriptor.c | 101 static int dell_wmi_descriptor_probe(struct wmi_device *wdev, in dell_wmi_descriptor_probe() 177 static void dell_wmi_descriptor_remove(struct wmi_device *wdev) in dell_wmi_descriptor_remove()
|
/openbmc/linux/drivers/platform/x86/dell/dell-wmi-sysman/ |
H A D | passwordattr-interface.c | 11 static int call_password_interface(struct wmi_device *wdev, char *in_args, size_t size) in call_password_interface() 114 static int bios_attr_pass_interface_probe(struct wmi_device *wdev, const void *context) in bios_attr_pass_interface_probe() 122 static void bios_attr_pass_interface_remove(struct wmi_device *wdev) in bios_attr_pass_interface_remove()
|
H A D | biosattr-interface.c | 16 static int call_biosattributes_interface(struct wmi_device *wdev, char *in_args, size_t size, in call_biosattributes_interface() 147 static int bios_attr_set_interface_probe(struct wmi_device *wdev, const void *context) in bios_attr_set_interface_probe() 155 static void bios_attr_set_interface_remove(struct wmi_device *wdev) in bios_attr_set_interface_remove()
|
H A D | dell-wmi-sysman.h | 70 struct wmi_device *password_attr_wdev; 71 struct wmi_device *bios_attr_wdev;
|
/openbmc/linux/Documentation/driver-api/ |
H A D | wmi.rst | 12 WMI device to a :c:type:`struct wmi_device <wmi_device>`, so it supports
|
/openbmc/linux/drivers/platform/x86/intel/wmi/ |
H A D | sbl-fw-update.c | 113 static int intel_wmi_sbl_fw_update_probe(struct wmi_device *wdev, in intel_wmi_sbl_fw_update_probe() 120 static void intel_wmi_sbl_fw_update_remove(struct wmi_device *wdev) in intel_wmi_sbl_fw_update_remove()
|
/openbmc/linux/drivers/platform/x86/hp/hp-bioscfg/ |
H A D | biosattr-interface.c | 275 static int hp_attr_set_interface_probe(struct wmi_device *wdev, const void *context) in hp_attr_set_interface_probe() 282 static void hp_attr_set_interface_remove(struct wmi_device *wdev) in hp_attr_set_interface_remove()
|
/openbmc/linux/drivers/hwmon/ |
H A D | asus_wmi_sensors.c | 614 static int asus_wmi_probe(struct wmi_device *wdev, const void *context) in asus_wmi_probe()
|
H A D | hp-wmi-sensors.c | 392 struct wmi_device *wdev; 2055 static int hp_wmi_sensors_probe(struct wmi_device *wdev, const void *context) in hp_wmi_sensors_probe()
|