Searched refs:power_limits (Results 1 – 6 of 6) 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 …]
67 const struct power_limits *power_limits; member842 static bool has_valid_limit(const char *name, const struct power_limits *limits) in has_valid_limit()874 const struct power_limits *limits; in asus_fw_attr_add()938 if (ac_rog_tunables && ac_rog_tunables->power_limits && in asus_fw_attr_add()940 limits = ac_rog_tunables->power_limits; in asus_fw_attr_add()986 const struct power_limits *ac_limits, *dc_limits; in init_rog_tunables()992 dmi_id = dmi_first_match(power_limits); in init_rog_tunables()1013 ac_rog_tunables->power_limits = ac_limits; in init_rog_tunables()1062 dc_rog_tunables->power_limits = dc_limits; in init_rog_tunables()
1784 struct victus_power_limits power_limits; in victus_s_set_cpu_pl1_pl2() local1795 power_limits.pl1 = pl1; in victus_s_set_cpu_pl1_pl2()1796 power_limits.pl2 = pl2; in victus_s_set_cpu_pl1_pl2()1797 power_limits.pl4 = HP_POWER_LIMIT_NO_CHANGE; in victus_s_set_cpu_pl1_pl2()1798 power_limits.cpu_gpu_concurrent_limit = HP_POWER_LIMIT_NO_CHANGE; in victus_s_set_cpu_pl1_pl2()1801 &power_limits, sizeof(power_limits), 0); in victus_s_set_cpu_pl1_pl2()
378 struct p54_channel_output_limit_longbow power_limits; member
514 if (!smu->user_dpm_profile.power_limits[i]) in smu_restore_dpm_user_profile()517 smu->user_dpm_profile.power_limits[i]); in smu_restore_dpm_user_profile()3006 smu->user_dpm_profile.power_limits[limit_type] = limit; in smu_set_power_limit()
237 uint32_t power_limits[SMU_LIMIT_TYPE_COUNT]; member