Lines Matching refs:ok
4052 bool ok = true; in asus_sysfs_is_visible() local
4066 ok = asus->charge_mode_available; in asus_sysfs_is_visible()
4068 ok = asus->egpu_enable_available; in asus_sysfs_is_visible()
4070 ok = asus->egpu_connect_available; in asus_sysfs_is_visible()
4072 ok = asus->dgpu_disable_available; in asus_sysfs_is_visible()
4074 ok = asus->gpu_mux_mode_available; in asus_sysfs_is_visible()
4076 ok = asus->fan_boost_mode_available; in asus_sysfs_is_visible()
4078 ok = asus->throttle_thermal_policy_available; in asus_sysfs_is_visible()
4080 ok = asus->ppt_pl2_sppt_available; in asus_sysfs_is_visible()
4082 ok = asus->ppt_pl1_spl_available; in asus_sysfs_is_visible()
4084 ok = asus->ppt_fppt_available; in asus_sysfs_is_visible()
4086 ok = asus->ppt_apu_sppt_available; in asus_sysfs_is_visible()
4088 ok = asus->ppt_plat_sppt_available; in asus_sysfs_is_visible()
4090 ok = asus->nv_dyn_boost_available; in asus_sysfs_is_visible()
4092 ok = asus->nv_temp_tgt_available; in asus_sysfs_is_visible()
4094 ok = asus->panel_overdrive_available; in asus_sysfs_is_visible()
4096 ok = asus->mini_led_mode_available; in asus_sysfs_is_visible()
4099 ok = !(asus_wmi_get_devstate_simple(asus, devid) < 0); in asus_sysfs_is_visible()
4101 return ok ? attr->mode : 0; in asus_sysfs_is_visible()