Home
last modified time | relevance | path

Searched refs:power_limit (Results 1 – 25 of 36) sorted by relevance

12

/linux/drivers/powercap/
A Ddtpm.c116 parent->power_limit -= dtpm->power_limit; in __dtpm_sub_power()
128 parent->power_limit += dtpm->power_limit; in __dtpm_add_power()
145 dtpm->power_limit = dtpm->power_max; in __dtpm_update_power()
218 *power_limit = dtpm->power_limit; in __get_power_limit_uw()
223 int cid, u64 *power_limit) in get_power_limit_uw() argument
258 dtpm->zone.name, power_limit); in __set_power_limit_uw()
264 dtpm->power_limit = dtpm->ops->set_power_uw(dtpm, power_limit); in __set_power_limit_uw()
266 dtpm->power_limit = 0; in __set_power_limit_uw()
297 dtpm->power_limit += power; in __set_power_limit_uw()
305 int cid, u64 power_limit) in set_power_limit_uw() argument
[all …]
A Ddtpm_cpu.c41 static u64 set_pd_power_limit(struct dtpm *dtpm, u64 power_limit) in set_pd_power_limit() argument
57 if (power > power_limit) in set_pd_power_limit()
65 power_limit = pd->table[i - 1].power * in set_pd_power_limit()
68 return power_limit; in set_pd_power_limit()
A Dintel_rapl_common.c313 u64 power_limit) in set_power_limit() argument
339 rapl_write_data_raw(rd, POWER_LIMIT1, power_limit); in set_power_limit()
342 rapl_write_data_raw(rd, POWER_LIMIT2, power_limit); in set_power_limit()
345 rapl_write_data_raw(rd, POWER_LIMIT4, power_limit); in set_power_limit()
/linux/Documentation/power/powercap/
A Ddtpm.rst92 SoC (w=1024) <--- power_limit = 3200mW
94 |-- pkg (w=538) --> power_limit = 1681mW
96 | |-- pd0 (w=231) --> power_limit = 378mW
98 | `-- pd1 (w=794) --> power_limit = 1303mW
100 `-- pd2 (w=486) --> power_limit = 1519mW
/linux/drivers/net/wireless/ath/ath9k/
A Deeprom.c416 u16 ath9k_hw_get_scaled_power(struct ath_hw *ah, u16 power_limit, in ath9k_hw_get_scaled_power() argument
436 if (power_limit > reduction) in ath9k_hw_get_scaled_power()
437 power_limit -= reduction; in ath9k_hw_get_scaled_power()
439 power_limit = 0; in ath9k_hw_get_scaled_power()
441 return min_t(u16, power_limit, MAX_RATE_POWER); in ath9k_hw_get_scaled_power()
A Dcommon.c372 if (ah->curchan && reg->power_limit != new_txpow) in ath9k_cmn_update_txpow()
A Deeprom.h702 u16 ath9k_hw_get_scaled_power(struct ath_hw *ah, u16 power_limit,
/linux/include/linux/
A Ddtpm.h22 u64 power_limit; member
/linux/arch/mips/include/asm/octeon/
A Dcvmx-mio-defs.h1198 uint64_t power_limit:2; member
1224 uint64_t power_limit:2;
1424 uint64_t power_limit:2; member
1448 uint64_t power_limit:2;
1488 uint64_t power_limit:2; member
1512 uint64_t power_limit:2;
1521 uint64_t power_limit:2; member
1543 uint64_t power_limit:2;
1552 uint64_t power_limit:2; member
1574 uint64_t power_limit:2;
[all …]
/linux/drivers/net/wireless/intel/iwlegacy/
A D4965.c1010 s32 power_limit; in il4965_fill_txpower_tbl() local
1158 power_limit = saturation_power - back_off_table[i]; in il4965_fill_txpower_tbl()
1159 if (power_limit > current_regulatory) in il4965_fill_txpower_tbl()
1160 power_limit = current_regulatory; in il4965_fill_txpower_tbl()
1165 if (target_power > power_limit) in il4965_fill_txpower_tbl()
1166 target_power = power_limit; in il4965_fill_txpower_tbl()
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
A Dphy.c1653 &power_limit)) { in _rtl8812ae_phy_set_txpower_limit()
1656 channel, power_limit); in _rtl8812ae_phy_set_txpower_limit()
1659 power_limit = power_limit > MAX_POWER_INDEX ? in _rtl8812ae_phy_set_txpower_limit()
1660 MAX_POWER_INDEX : power_limit; in _rtl8812ae_phy_set_txpower_limit()
1711 if (power_limit < prev_power_limit) in _rtl8812ae_phy_set_txpower_limit()
1714 power_limit; in _rtl8812ae_phy_set_txpower_limit()
1735 if (power_limit < prev_power_limit) in _rtl8812ae_phy_set_txpower_limit()
1755 const char *power_limit) in _rtl8812ae_phy_config_bb_txpwr_lmt() argument
1759 power_limit); in _rtl8812ae_phy_config_bb_txpwr_lmt()
2341 s8 power_limit = MAX_POWER_INDEX; in _rtl8812ae_phy_get_txpower_limit() local
[all …]
/linux/drivers/gpu/drm/amd/pm/swsmu/smu11/
A Darcturus_ppt.c1355 uint32_t power_limit, od_percent; in arcturus_get_power_limit() local
1357 if (smu_v11_0_get_current_power_limit(smu, &power_limit)) { in arcturus_get_power_limit()
1363 power_limit = in arcturus_get_power_limit()
1368 *current_power_limit = power_limit; in arcturus_get_power_limit()
1370 *default_power_limit = power_limit; in arcturus_get_power_limit()
1376 … dev_dbg(smu->adev->dev, "ODSETTING_POWERPERCENTAGE: %d (default: %d)\n", od_percent, power_limit); in arcturus_get_power_limit()
1378 power_limit *= (100 + od_percent); in arcturus_get_power_limit()
1379 power_limit /= 100; in arcturus_get_power_limit()
1382 *max_power_limit = power_limit; in arcturus_get_power_limit()
A Dnavi10_ppt.c2156 uint32_t power_limit, od_percent; in navi10_get_power_limit() local
2158 if (smu_v11_0_get_current_power_limit(smu, &power_limit)) { in navi10_get_power_limit()
2164 power_limit = in navi10_get_power_limit()
2169 *current_power_limit = power_limit; in navi10_get_power_limit()
2171 *default_power_limit = power_limit; in navi10_get_power_limit()
2178 … dev_dbg(smu->adev->dev, "ODSETTING_POWERPERCENTAGE: %d (default: %d)\n", od_percent, power_limit); in navi10_get_power_limit()
2180 power_limit *= (100 + od_percent); in navi10_get_power_limit()
2181 power_limit /= 100; in navi10_get_power_limit()
2184 *max_power_limit = power_limit; in navi10_get_power_limit()
A Dsienna_cichlid_ppt.c1791 uint32_t power_limit, od_percent; in sienna_cichlid_get_power_limit() local
1796 if (smu_v11_0_get_current_power_limit(smu, &power_limit)) { in sienna_cichlid_get_power_limit()
1797 power_limit = in sienna_cichlid_get_power_limit()
1802 *current_power_limit = power_limit; in sienna_cichlid_get_power_limit()
1804 *default_power_limit = power_limit; in sienna_cichlid_get_power_limit()
1810 … dev_dbg(smu->adev->dev, "ODSETTING_POWERPERCENTAGE: %d (default: %d)\n", od_percent, power_limit); in sienna_cichlid_get_power_limit()
1812 power_limit *= (100 + od_percent); in sienna_cichlid_get_power_limit()
1813 power_limit /= 100; in sienna_cichlid_get_power_limit()
1815 *max_power_limit = power_limit; in sienna_cichlid_get_power_limit()
/linux/drivers/gpu/drm/amd/pm/inc/
A Dsmu_v13_0.h164 uint32_t *power_limit);
A Dsmu_v11_0.h198 uint32_t *power_limit);
A Damdgpu_smu.h233 uint32_t power_limit; member
/linux/drivers/net/wireless/ath/
A Dath.h86 int16_t power_limit; member
/linux/drivers/gpu/drm/amd/pm/swsmu/smu13/
A Daldebaran_ppt.c1196 uint32_t power_limit = 0; in aldebaran_get_power_limit() local
1218 &power_limit); in aldebaran_get_power_limit()
1227 power_limit = pptable->PptLimit; in aldebaran_get_power_limit()
1232 *current_power_limit = power_limit; in aldebaran_get_power_limit()
1234 *default_power_limit = power_limit; in aldebaran_get_power_limit()
A Dsmu_v13_0.c925 uint32_t *power_limit) in smu_v13_0_get_current_power_limit() argument
944 power_limit); in smu_v13_0_get_current_power_limit()
/linux/drivers/net/wireless/ath/ath10k/
A Dcore.h368 u32 power_limit; member
389 u32 power_limit; member
/linux/drivers/net/wireless/realtek/rtw88/
A Dphy.c2013 s8 power_limit = (s8)rtwdev->chip->max_power_index; in rtw_phy_get_tx_power_limit() local
2020 return power_limit; in rtw_phy_get_tx_power_limit()
2057 power_limit = min_t(s8, cur_lmt, power_limit); in rtw_phy_get_tx_power_limit()
2060 return power_limit; in rtw_phy_get_tx_power_limit()
/linux/drivers/staging/rtl8723bs/include/
A Dwifi.h774 int16_t power_limit; member
/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
A Dvega10_powertune.c1322 hwmgr->default_power_limit = hwmgr->power_limit = in vega10_enable_power_containment()
1341 result = vega10_set_power_limit(hwmgr, hwmgr->power_limit); in vega10_enable_power_containment()
/linux/drivers/gpu/drm/amd/pm/powerplay/
A Damd_powerplay.c1028 hwmgr->power_limit = limit; in pp_set_power_limit()
1050 *limit = hwmgr->power_limit; in pp_get_power_limit()

Completed in 143 milliseconds

12