Lines Matching defs:asus
189 struct asus_wmi *asus; member
475 static int asus_wmi_get_devstate(struct asus_wmi *asus, u32 dev_id, u32 *retval) in asus_wmi_get_devstate()
488 static int asus_wmi_get_devstate_bits(struct asus_wmi *asus, in asus_wmi_get_devstate_bits()
509 static int asus_wmi_get_devstate_simple(struct asus_wmi *asus, u32 dev_id) in asus_wmi_get_devstate_simple()
515 static bool asus_wmi_dev_is_present(struct asus_wmi *asus, u32 dev_id) in asus_wmi_dev_is_present()
524 static void asus_wmi_tablet_sw_report(struct asus_wmi *asus, bool value) in asus_wmi_tablet_sw_report()
531 static void asus_wmi_tablet_sw_init(struct asus_wmi *asus, u32 dev_id, int event_code) in asus_wmi_tablet_sw_init()
549 static int asus_wmi_input_init(struct asus_wmi *asus) in asus_wmi_input_init()
594 static void asus_wmi_input_exit(struct asus_wmi *asus) in asus_wmi_input_exit()
604 static void asus_wmi_tablet_mode_get_state(struct asus_wmi *asus) in asus_wmi_tablet_mode_get_state()
620 struct asus_wmi *asus = dev_get_drvdata(dev); in charge_mode_show() local
636 struct asus_wmi *asus = dev_get_drvdata(dev); in dgpu_disable_show() local
659 struct asus_wmi *asus = dev_get_drvdata(dev); in dgpu_disable_store() local
701 struct asus_wmi *asus = dev_get_drvdata(dev); in egpu_enable_show() local
719 struct asus_wmi *asus = dev_get_drvdata(dev); in egpu_enable_store() local
769 struct asus_wmi *asus = dev_get_drvdata(dev); in egpu_connected_show() local
785 struct asus_wmi *asus = dev_get_drvdata(dev); in gpu_mux_mode_show() local
799 struct asus_wmi *asus = dev_get_drvdata(dev); in gpu_mux_mode_store() local
985 struct asus_wmi *asus = dev_get_drvdata(dev); in ppt_pl2_sppt_store() local
1019 struct asus_wmi *asus = dev_get_drvdata(dev); in ppt_pl1_spl_store() local
1053 struct asus_wmi *asus = dev_get_drvdata(dev); in ppt_fppt_store() local
1087 struct asus_wmi *asus = dev_get_drvdata(dev); in ppt_apu_sppt_store() local
1121 struct asus_wmi *asus = dev_get_drvdata(dev); in ppt_platform_sppt_store() local
1155 struct asus_wmi *asus = dev_get_drvdata(dev); in nv_dynamic_boost_store() local
1189 struct asus_wmi *asus = dev_get_drvdata(dev); in nv_temp_target_store() local
1296 static void asus_wmi_battery_init(struct asus_wmi *asus) in asus_wmi_battery_init()
1305 static void asus_wmi_battery_exit(struct asus_wmi *asus) in asus_wmi_battery_exit()
1322 struct asus_wmi *asus; in tpd_led_update() local
1333 struct asus_wmi *asus; in tpd_led_set() local
1341 static int read_tpd_led_state(struct asus_wmi *asus) in read_tpd_led_state()
1348 struct asus_wmi *asus; in tpd_led_get() local
1355 static void kbd_led_update(struct asus_wmi *asus) in kbd_led_update()
1363 static int kbd_led_read(struct asus_wmi *asus, int *level, int *env) in kbd_led_read()
1392 struct asus_wmi *asus; in do_kbd_led_set() local
1412 static void kbd_led_set_by_kbd(struct asus_wmi *asus, enum led_brightness value) in kbd_led_set_by_kbd()
1422 struct asus_wmi *asus; in kbd_led_get() local
1434 static int wlan_led_unknown_state(struct asus_wmi *asus) in wlan_led_unknown_state()
1446 struct asus_wmi *asus; in wlan_led_update() local
1457 struct asus_wmi *asus; in wlan_led_set() local
1467 struct asus_wmi *asus; in wlan_led_get() local
1478 struct asus_wmi *asus; in lightbar_led_update() local
1490 struct asus_wmi *asus; in lightbar_led_set() local
1500 struct asus_wmi *asus; in lightbar_led_get() local
1519 static void asus_wmi_led_exit(struct asus_wmi *asus) in asus_wmi_led_exit()
1531 static int asus_wmi_led_init(struct asus_wmi *asus) in asus_wmi_led_init()
1630 static bool asus_wlan_rfkill_blocked(struct asus_wmi *asus) in asus_wlan_rfkill_blocked()
1639 static void asus_rfkill_hotplug(struct asus_wmi *asus) in asus_rfkill_hotplug()
1706 struct asus_wmi *asus = data; in asus_rfkill_notify() local
1721 static int asus_register_rfkill_notifier(struct asus_wmi *asus, char *node) in asus_register_rfkill_notifier()
1738 static void asus_unregister_rfkill_notifier(struct asus_wmi *asus, char *node) in asus_unregister_rfkill_notifier()
1756 struct asus_wmi *asus = container_of(hotplug_slot, in asus_get_adapter_status() local
1774 struct asus_wmi *asus; in asus_hotplug_work() local
1780 static int asus_setup_pci_hotplug(struct asus_wmi *asus) in asus_setup_pci_hotplug()
1854 struct asus_wmi *asus = priv->asus; in asus_rfkill_wlan_set() local
1880 static int asus_new_rfkill(struct asus_wmi *asus, in asus_new_rfkill()
1918 static void asus_wmi_rfkill_exit(struct asus_wmi *asus) in asus_wmi_rfkill_exit()
1968 static int asus_wmi_rfkill_init(struct asus_wmi *asus) in asus_wmi_rfkill_init()
2046 struct asus_wmi *asus = dev_get_drvdata(dev); in panel_od_show() local
2063 struct asus_wmi *asus = dev_get_drvdata(dev); in panel_od_store() local
2094 struct asus_wmi *asus = dev_get_drvdata(dev); in mini_led_mode_show() local
2111 struct asus_wmi *asus = dev_get_drvdata(dev); in mini_led_mode_store() local
2140 static void asus_wmi_set_xusb2pr(struct asus_wmi *asus) in asus_wmi_set_xusb2pr()
2176 static int asus_agfn_fan_speed_read(struct asus_wmi *asus, int fan, in asus_agfn_fan_speed_read()
2203 static int asus_agfn_fan_speed_write(struct asus_wmi *asus, int fan, in asus_agfn_fan_speed_write()
2235 static bool asus_wmi_has_agfn_fan(struct asus_wmi *asus) in asus_wmi_has_agfn_fan()
2261 static int asus_fan_set_auto(struct asus_wmi *asus) in asus_fan_set_auto()
2307 struct asus_wmi *asus = dev_get_drvdata(dev); in pwm1_show() local
2342 struct asus_wmi *asus = dev_get_drvdata(dev); in pwm1_store() local
2366 struct asus_wmi *asus = dev_get_drvdata(dev); in fan1_input_show() local
2403 struct asus_wmi *asus = dev_get_drvdata(dev); in pwm1_enable_show() local
2421 struct asus_wmi *asus = dev_get_drvdata(dev); in pwm1_enable_store() local
2491 struct asus_wmi *asus = dev_get_drvdata(dev); in asus_hwmon_temp1() local
2508 struct asus_wmi *asus = dev_get_drvdata(dev); in fan2_input_show() local
2533 struct asus_wmi *asus = dev_get_drvdata(dev); in fan3_input_show() local
2557 struct asus_wmi *asus = dev_get_drvdata(dev); in pwm2_enable_show() local
2566 struct asus_wmi *asus = dev_get_drvdata(dev); in pwm2_enable_store() local
2603 struct asus_wmi *asus = dev_get_drvdata(dev); in pwm3_enable_show() local
2612 struct asus_wmi *asus = dev_get_drvdata(dev); in pwm3_enable_store() local
2682 struct asus_wmi *asus = dev_get_drvdata(dev->parent); in asus_hwmon_sysfs_is_visible() local
2728 static int asus_wmi_hwmon_init(struct asus_wmi *asus) in asus_wmi_hwmon_init()
2743 static int asus_wmi_fan_init(struct asus_wmi *asus) in asus_wmi_fan_init()
2775 static int fan_boost_mode_check_present(struct asus_wmi *asus) in fan_boost_mode_check_present()
2800 static int fan_boost_mode_write(struct asus_wmi *asus) in fan_boost_mode_write()
2829 static int fan_boost_mode_switch_next(struct asus_wmi *asus) in fan_boost_mode_switch_next()
2853 struct asus_wmi *asus = dev_get_drvdata(dev); in fan_boost_mode_show() local
2862 struct asus_wmi *asus = dev_get_drvdata(dev); in fan_boost_mode_store() local
2908 static int fan_curve_get_factory_default(struct asus_wmi *asus, u32 fan_dev) in fan_curve_get_factory_default()
2945 static int fan_curve_check_present(struct asus_wmi *asus, bool *available, in fan_curve_check_present()
2965 static struct fan_curve_data *fan_curve_attr_select(struct asus_wmi *asus, in fan_curve_attr_select()
2974 static struct fan_curve_data *fan_curve_attr_2_select(struct asus_wmi *asus, in fan_curve_attr_2_select()
2986 struct asus_wmi *asus = dev_get_drvdata(dev); in fan_curve_show() local
3005 static int fan_curve_write(struct asus_wmi *asus, in fan_curve_write()
3035 struct asus_wmi *asus = dev_get_drvdata(dev); in fan_curve_store() local
3066 struct asus_wmi *asus = dev_get_drvdata(dev); in fan_curve_enable_show() local
3082 struct asus_wmi *asus = dev_get_drvdata(dev); in fan_curve_enable_store() local
3314 struct asus_wmi *asus = dev_get_drvdata(dev->parent); in asus_fan_curve_is_visible() local
3342 static int asus_wmi_custom_fan_curve_init(struct asus_wmi *asus) in asus_wmi_custom_fan_curve_init()
3382 static int throttle_thermal_policy_check_present(struct asus_wmi *asus) in throttle_thermal_policy_check_present()
3404 static int throttle_thermal_policy_write(struct asus_wmi *asus) in throttle_thermal_policy_write()
3440 static int throttle_thermal_policy_set_default(struct asus_wmi *asus) in throttle_thermal_policy_set_default()
3449 static int throttle_thermal_policy_switch_next(struct asus_wmi *asus) in throttle_thermal_policy_switch_next()
3474 struct asus_wmi *asus = dev_get_drvdata(dev); in throttle_thermal_policy_show() local
3484 struct asus_wmi *asus = dev_get_drvdata(dev); in throttle_thermal_policy_store() local
3517 struct asus_wmi *asus; in asus_wmi_platform_profile_get() local
3544 struct asus_wmi *asus; in asus_wmi_platform_profile_set() local
3567 static int platform_profile_setup(struct asus_wmi *asus) in platform_profile_setup()
3600 static int read_backlight_power(struct asus_wmi *asus) in read_backlight_power()
3616 static int read_brightness_max(struct asus_wmi *asus) in read_brightness_max()
3636 struct asus_wmi *asus = bl_get_data(bd); in read_brightness() local
3649 struct asus_wmi *asus = bl_get_data(bd); in get_scalar_command() local
3666 struct asus_wmi *asus = bl_get_data(bd); in update_bl_status() local
3700 static int asus_wmi_backlight_notify(struct asus_wmi *asus, int code) in asus_wmi_backlight_notify()
3718 static int asus_wmi_backlight_init(struct asus_wmi *asus) in asus_wmi_backlight_init()
3760 static void asus_wmi_backlight_exit(struct asus_wmi *asus) in asus_wmi_backlight_exit()
3781 static bool asus_wmi_has_fnlock_key(struct asus_wmi *asus) in asus_wmi_has_fnlock_key()
3791 static void asus_wmi_fnlock_update(struct asus_wmi *asus) in asus_wmi_fnlock_update()
3825 static void asus_wmi_handle_event_code(int code, struct asus_wmi *asus) in asus_wmi_handle_event_code()
3889 struct asus_wmi *asus = context; in asus_wmi_notify() local
3916 static int asus_wmi_notify_queue_flush(struct asus_wmi *asus) in asus_wmi_notify_queue_flush()
3938 static ssize_t store_sys_wmi(struct asus_wmi *asus, int devid, in store_sys_wmi()
3959 static ssize_t show_sys_wmi(struct asus_wmi *asus, int devid, char *buf) in show_sys_wmi()
4051 struct asus_wmi *asus = dev_get_drvdata(dev); in asus_sysfs_is_visible() local
4121 static int asus_wmi_platform_init(struct asus_wmi *asus) in asus_wmi_platform_init()
4202 struct asus_wmi *asus; member
4209 struct asus_wmi *asus = m->private; in show_dsts() local
4224 struct asus_wmi *asus = m->private; in show_devs() local
4241 struct asus_wmi *asus = m->private; in show_call() local
4294 static void asus_wmi_debugfs_exit(struct asus_wmi *asus) in asus_wmi_debugfs_exit()
4299 static void asus_wmi_debugfs_init(struct asus_wmi *asus) in asus_wmi_debugfs_init()
4330 struct asus_wmi *asus; in asus_wmi_add() local
4471 struct asus_wmi *asus; in asus_wmi_remove() local
4496 struct asus_wmi *asus = dev_get_drvdata(device); in asus_hotk_thaw() local
4515 struct asus_wmi *asus = dev_get_drvdata(device); in asus_hotk_resume() local
4529 struct asus_wmi *asus = dev_get_drvdata(device); in asus_hotk_restore() local