Searched refs:power_limits (Results 1 – 5 of 5) sorted by relevance
228 if (!tunables || !tunables->power_limits) \231 return sysfs_emit(buf, "%d\n", tunables->power_limits->_val); \242 if (!tunables || !tunables->power_limits) \247 tunables->power_limits->_attrname##_def ? \248 tunables->power_limits->_attrname##_def : \249 tunables->power_limits->_attrname##_max); \261 if (!tunables || !tunables->power_limits) \264 if (tunables->power_limits->_attr##_min == \265 tunables->power_limits->_attr##_max) \269 tunables->power_limits->_attr##_min, \[all …]
68 const struct power_limits *power_limits; member869 static bool has_valid_limit(const char *name, const struct power_limits *limits) in has_valid_limit()901 const struct power_limits *limits; in asus_fw_attr_add()965 if (ac_rog_tunables && ac_rog_tunables->power_limits && in asus_fw_attr_add()967 limits = ac_rog_tunables->power_limits; in asus_fw_attr_add()1013 const struct power_limits *ac_limits, *dc_limits; in init_rog_tunables()1020 dmi_id = dmi_first_match(power_limits); in init_rog_tunables()1042 ac_rog_tunables->power_limits = ac_limits; in init_rog_tunables()1088 dc_rog_tunables->power_limits = dc_limits; in init_rog_tunables()
2076 struct victus_power_limits power_limits; in victus_s_set_cpu_pl1_pl2() local2087 power_limits.pl1 = pl1; in victus_s_set_cpu_pl1_pl2()2088 power_limits.pl2 = pl2; in victus_s_set_cpu_pl1_pl2()2089 power_limits.pl4 = HP_POWER_LIMIT_NO_CHANGE; in victus_s_set_cpu_pl1_pl2()2090 power_limits.cpu_gpu_concurrent_limit = HP_POWER_LIMIT_NO_CHANGE; in victus_s_set_cpu_pl1_pl2()2093 &power_limits, sizeof(power_limits), 0); in victus_s_set_cpu_pl1_pl2()
378 struct p54_channel_output_limit_longbow power_limits; member
446 memcpy(&body->longbow.power_limits, in p54_scan()