Home
last modified time | relevance | path

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

/drivers/net/wireless/ath/ath9k/
Deeprom.c406 u16 ath9k_hw_get_scaled_power(struct ath_hw *ah, u16 power_limit, in ath9k_hw_get_scaled_power() argument
426 if (power_limit > reduction) in ath9k_hw_get_scaled_power()
427 power_limit -= reduction; in ath9k_hw_get_scaled_power()
429 power_limit = 0; in ath9k_hw_get_scaled_power()
431 return min_t(u16, power_limit, MAX_RATE_POWER); in ath9k_hw_get_scaled_power()
Dcommon.c372 if (ah->curchan && reg->power_limit != new_txpow) in ath9k_cmn_update_txpow()
Deeprom.h702 u16 ath9k_hw_get_scaled_power(struct ath_hw *ah, u16 power_limit,
Dhw.c460 regulatory->power_limit = MAX_COMBINED_POWER; in ath9k_hw_init_defaults()
2970 new_pwr = min_t(int, chan_pwr, reg->power_limit); in ath9k_hw_apply_txpower()
2982 reg->power_limit = min_t(u32, limit, MAX_COMBINED_POWER); in ath9k_hw_set_txpowerlimit()
/drivers/net/wireless/intel/iwlegacy/
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()
/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dphy.c1655 s8 power_limit = 0, prev_power_limit, ret; in _rtl8812ae_phy_set_txpower_limit() local
1659 &power_limit)) { in _rtl8812ae_phy_set_txpower_limit()
1662 channel, power_limit); in _rtl8812ae_phy_set_txpower_limit()
1665 power_limit = power_limit > MAX_POWER_INDEX ? in _rtl8812ae_phy_set_txpower_limit()
1666 MAX_POWER_INDEX : power_limit; in _rtl8812ae_phy_set_txpower_limit()
1717 if (power_limit < prev_power_limit) in _rtl8812ae_phy_set_txpower_limit()
1720 power_limit; in _rtl8812ae_phy_set_txpower_limit()
1741 if (power_limit < prev_power_limit) in _rtl8812ae_phy_set_txpower_limit()
1743 [rate_section][channel_index][RF90_PATH_A] = power_limit; in _rtl8812ae_phy_set_txpower_limit()
1761 u8 *power_limit) in _rtl8812ae_phy_config_bb_txpwr_lmt() argument
[all …]
/drivers/net/wireless/ath/
Dath.h86 int16_t power_limit; member
/drivers/net/wireless/realtek/rtw88/
Dphy.c1681 s8 power_limit = (s8)rtwdev->chip->max_power_index; in rtw_phy_get_tx_power_limit() local
1688 return power_limit; in rtw_phy_get_tx_power_limit()
1725 power_limit = min_t(s8, cur_lmt, power_limit); in rtw_phy_get_tx_power_limit()
1728 return power_limit; in rtw_phy_get_tx_power_limit()
/drivers/powercap/
Dintel_rapl_common.c312 u64 power_limit) in set_power_limit() argument
338 rapl_write_data_raw(rd, POWER_LIMIT1, power_limit); in set_power_limit()
341 rapl_write_data_raw(rd, POWER_LIMIT2, power_limit); in set_power_limit()
/drivers/net/wireless/ath/ath10k/
Dcore.h337 u32 power_limit; member
358 u32 power_limit; member
Dwmi.c4823 tpc_stats->power_limit = __le32_to_cpu(ev->power_limit); in ath10k_wmi_event_pdev_tpc_config()
4848 __le32_to_cpu(ev->power_limit), in ath10k_wmi_event_pdev_tpc_config()
5070 tpc_stats->power_limit = __le32_to_cpu(ev->power_limit); in ath10k_wmi_event_tpc_final_table()
5095 __le32_to_cpu(ev->power_limit), in ath10k_wmi_event_tpc_final_table()
Dwmi.h4156 __le32 power_limit; member
4185 __le32 power_limit; member
Ddebug.c1573 tpc_stats->power_limit, in ath10k_tpc_stats_fill()
/drivers/gpu/drm/amd/powerplay/
Dnavi10_ppt.c1563 !smu->power_limit) { in navi10_get_power_limit()
1592 smu->power_limit = asic_default_power_limit; in navi10_get_power_limit()
1598 *limit = smu->power_limit; in navi10_get_power_limit()
Darcturus_ppt.c1343 !smu->power_limit) { in arcturus_get_power_limit()
1372 smu->power_limit = asic_default_power_limit; in arcturus_get_power_limit()
1378 *limit = smu->power_limit; in arcturus_get_power_limit()
Damd_powerplay.c1006 hwmgr->power_limit = limit; in pp_set_power_limit()
1028 *limit = hwmgr->power_limit; in pp_get_power_limit()
Dsmu_v11_0.c1089 smu->power_limit = n; in smu_v11_0_set_power_limit()
/drivers/gpu/drm/amd/powerplay/hwmgr/
Dvega10_powertune.c1343 hwmgr->default_power_limit = hwmgr->power_limit = in vega10_enable_power_containment()
1359 result = vega10_set_power_limit(hwmgr, hwmgr->power_limit); in vega10_enable_power_containment()
Dsmu7_powertune.c1141 hwmgr->default_power_limit = hwmgr->power_limit = in smu7_enable_power_containment()
1146 if (smu7_set_power_limit(hwmgr, hwmgr->power_limit)) in smu7_enable_power_containment()
Dvega20_hwmgr.c1743 hwmgr->power_limit = in vega20_enable_dpm_tasks()
/drivers/staging/rtl8723bs/include/
Dwifi.h1145 int16_t power_limit; member
/drivers/gpu/drm/amd/powerplay/inc/
Dhwmgr.h793 uint32_t power_limit; member
Damdgpu_smu.h363 uint32_t power_limit; member
/drivers/gpu/drm/radeon/
Dci_dpm.c1637 u32 power_limit;
1640 power_limit = (u32)(cac_tdp_table->maximum_power_delivery_limit * 256);
1642 power_limit = (u32)(cac_tdp_table->battery_power_limit * 256);
1644 ci_set_power_limit(rdev, power_limit);
/drivers/net/wireless/realtek/rtlwifi/
Dwifi.h1222 int16_t power_limit; member