Lines Matching refs:asus_wmi_set_devstate
480 static int asus_wmi_set_devstate(u32 dev_id, u32 ctrl_param, in asus_wmi_set_devstate() function
680 err = asus_wmi_set_devstate(ASUS_WMI_DEVID_DGPU, disable, &result); in dgpu_disable_store()
748 err = asus_wmi_set_devstate(ASUS_WMI_DEVID_EGPU, enable, &result); in egpu_enable_store()
834 err = asus_wmi_set_devstate(ASUS_WMI_DEVID_GPU_MUX, optimus, &result); in gpu_mux_mode_store()
994 err = asus_wmi_set_devstate(ASUS_WMI_DEVID_PPT_PL2_SPPT, value, &result); in ppt_pl2_sppt_store()
1028 err = asus_wmi_set_devstate(ASUS_WMI_DEVID_PPT_PL1_SPL, value, &result); in ppt_pl1_spl_store()
1062 err = asus_wmi_set_devstate(ASUS_WMI_DEVID_PPT_FPPT, value, &result); in ppt_fppt_store()
1096 err = asus_wmi_set_devstate(ASUS_WMI_DEVID_PPT_APU_SPPT, value, &result); in ppt_apu_sppt_store()
1130 err = asus_wmi_set_devstate(ASUS_WMI_DEVID_PPT_PLAT_SPPT, value, &result); in ppt_platform_sppt_store()
1164 err = asus_wmi_set_devstate(ASUS_WMI_DEVID_NV_DYN_BOOST, value, &result); in nv_dynamic_boost_store()
1198 err = asus_wmi_set_devstate(ASUS_WMI_DEVID_NV_THERM_TARGET, value, &result); in nv_temp_target_store()
1233 ret = asus_wmi_set_devstate(ASUS_WMI_DEVID_RSOC, value, &rv); in charge_control_end_threshold_store()
1277 asus_wmi_set_devstate(ASUS_WMI_DEVID_RSOC, 100, NULL); in asus_wmi_battery_add()
1327 asus_wmi_set_devstate(ASUS_WMI_DEVID_TOUCHPAD_LED, ctrl_param, NULL); in tpd_led_update()
1360 asus_wmi_set_devstate(ASUS_WMI_DEVID_KBD_BACKLIGHT, ctrl_param, NULL); in kbd_led_update()
1451 asus_wmi_set_devstate(ASUS_WMI_DEVID_WIRELESS_LED, ctrl_param, NULL); in wlan_led_update()
1484 asus_wmi_set_devstate(ASUS_WMI_DEVID_LIGHTBAR, ctrl_param, NULL); in lightbar_led_update()
1515 err = asus_wmi_set_devstate(ASUS_WMI_DEVID_MICMUTE_LED, state, NULL); in micmute_led_set()
1835 return asus_wmi_set_devstate(dev_id, ctrl_param, NULL); in asus_rfkill_set()
2072 err = asus_wmi_set_devstate(ASUS_WMI_DEVID_PANEL_OD, overdrive, &result); in panel_od_store()
2120 err = asus_wmi_set_devstate(ASUS_WMI_DEVID_MINI_LED_MODE, mode, &result); in mini_led_mode_store()
2171 asus_wmi_set_devstate(ASUS_WMI_DEVID_ALS_ENABLE, 1, NULL); in asus_wmi_set_als()
2268 status = asus_wmi_set_devstate(ASUS_WMI_DEVID_CPU_FAN_CTRL, in asus_fan_set_auto()
2291 status = asus_wmi_set_devstate(ASUS_WMI_DEVID_GPU_FAN_CTRL, in asus_fan_set_auto()
2444 ret = asus_wmi_set_devstate(ASUS_WMI_DEVID_CPU_FAN_CTRL, in pwm1_enable_store()
2587 ret = asus_wmi_set_devstate(ASUS_WMI_DEVID_GPU_FAN_CTRL, in pwm2_enable_store()
2633 ret = asus_wmi_set_devstate(ASUS_WMI_DEVID_MID_FAN_CTRL, in pwm3_enable_store()
2809 err = asus_wmi_set_devstate(ASUS_WMI_DEVID_FAN_BOOST_MODE, value, in fan_boost_mode_write()
3412 err = asus_wmi_set_devstate(ASUS_WMI_DEVID_THROTTLE_THERMAL_POLICY, in throttle_thermal_policy_write()
3673 err = asus_wmi_set_devstate(ASUS_WMI_DEVID_BACKLIGHT, in update_bl_status()
3689 err = asus_wmi_set_devstate(ASUS_WMI_DEVID_BRIGHTNESS, in update_bl_status()
3795 asus_wmi_set_devstate(ASUS_WMI_DEVID_FNLOCK, mode, NULL); in asus_wmi_fnlock_update()
3952 err = asus_wmi_set_devstate(devid, value, &retval); in store_sys_wmi()
4193 asus_wmi_set_devstate(ASUS_WMI_DEVID_CWAP, in asus_wmi_platform_init()
4228 err = asus_wmi_set_devstate(asus->debug.dev_id, asus->debug.ctrl_param, in show_devs()
4425 err = asus_wmi_set_devstate(ASUS_WMI_DEVID_BACKLIGHT, 2, NULL); in asus_wmi_add()
4507 asus_wmi_set_devstate(ASUS_WMI_DEVID_WLAN, wlan, NULL); in asus_hotk_thaw()