Home
last modified time | relevance | path

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

123

/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dce60/
H A Ddce60_clk_mgr.c132 level_change_req.power_level = dce_get_required_clocks_state(clk_mgr_base, context); in dce60_update_clocks()
134 if ((level_change_req.power_level < clk_mgr_dce->cur_min_clks_state && safe_to_lower) in dce60_update_clocks()
135 || level_change_req.power_level > clk_mgr_dce->cur_min_clks_state) { in dce60_update_clocks()
137 clk_mgr_dce->cur_min_clks_state = level_change_req.power_level; in dce60_update_clocks()
/linux/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_clk_mgr.c684 level_change_req.power_level = dce_get_required_clocks_state(clk_mgr, context); in dce_update_clocks()
686 if ((level_change_req.power_level < clk_mgr_dce->cur_min_clks_state && safe_to_lower) in dce_update_clocks()
687 || level_change_req.power_level > clk_mgr_dce->cur_min_clks_state) { in dce_update_clocks()
689 clk_mgr_dce->cur_min_clks_state = level_change_req.power_level; in dce_update_clocks()
711 level_change_req.power_level = dce_get_required_clocks_state(clk_mgr, context); in dce11_update_clocks()
713 if ((level_change_req.power_level < clk_mgr_dce->cur_min_clks_state && safe_to_lower) in dce11_update_clocks()
714 || level_change_req.power_level > clk_mgr_dce->cur_min_clks_state) { in dce11_update_clocks()
716 clk_mgr_dce->cur_min_clks_state = level_change_req.power_level; in dce11_update_clocks()
738 level_change_req.power_level = dce_get_required_clocks_state(clk_mgr, context); in dce112_update_clocks()
740 if ((level_change_req.power_level < clk_mgr_dce->cur_min_clks_state && safe_to_lower) in dce112_update_clocks()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dce112/
H A Ddce112_clk_mgr.c203 level_change_req.power_level = dce_get_required_clocks_state(clk_mgr_base, context); in dce112_update_clocks()
205 if ((level_change_req.power_level < clk_mgr_dce->cur_min_clks_state && safe_to_lower) in dce112_update_clocks()
206 || level_change_req.power_level > clk_mgr_dce->cur_min_clks_state) { in dce112_update_clocks()
208 clk_mgr_dce->cur_min_clks_state = level_change_req.power_level; in dce112_update_clocks()
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/
H A Ddce110_clk_mgr.c261 level_change_req.power_level = dce_get_required_clocks_state(clk_mgr_base, context); in dce11_update_clocks()
263 if ((level_change_req.power_level < clk_mgr_dce->cur_min_clks_state && safe_to_lower) in dce11_update_clocks()
264 || level_change_req.power_level > clk_mgr_dce->cur_min_clks_state) { in dce11_update_clocks()
266 clk_mgr_dce->cur_min_clks_state = level_change_req.power_level; in dce11_update_clocks()
/linux/drivers/net/wireless/mediatek/mt76/mt76x0/
H A Dmain.c37 int err = -EINVAL, power = hw->conf.power_level * 2; in mt76x0_set_sar_specs()
72 dev->txpower_conf = hw->conf.power_level * 2; in mt76x0_config()
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dce100/
H A Ddce_clk_mgr.c409 level_change_req.power_level = dce_get_required_clocks_state(clk_mgr_base, context); in dce_update_clocks()
411 if ((level_change_req.power_level < clk_mgr_dce->cur_min_clks_state && safe_to_lower) in dce_update_clocks()
412 || level_change_req.power_level > clk_mgr_dce->cur_min_clks_state) { in dce_update_clocks()
414 clk_mgr_dce->cur_min_clks_state = level_change_req.power_level; in dce_update_clocks()
/linux/drivers/net/wireless/intel/iwlwifi/dvm/
H A Dpower.c302 if (iwlwifi_mod_params.power_level > IWL_POWER_INDEX_1 && in iwl_power_build_cmd()
303 iwlwifi_mod_params.power_level <= IWL_POWER_NUM) in iwl_power_build_cmd()
305 iwlwifi_mod_params.power_level - 1, dtimper); in iwl_power_build_cmd()
/linux/drivers/net/wireless/ti/wl1251/
H A Dmain.c469 wl->power_level = WL1251_DEFAULT_POWER_LEVEL; in wl1251_op_stop()
606 conf->power_level); in wl1251_op_config()
695 if (conf->power_level != wl->power_level) { in wl1251_op_config()
696 ret = wl1251_acx_tx_power(wl, conf->power_level); in wl1251_op_config()
700 wl->power_level = conf->power_level; in wl1251_op_config()
1621 wl->power_level = WL1251_DEFAULT_POWER_LEVEL; in wl1251_alloc_hw()
H A Dwl1251.h368 int power_level; member
/linux/drivers/net/wireless/intel/iwlwifi/
H A Diwl-modparams.h75 int power_level; member
H A Diwl-drv.c1863 .power_level = IWL_POWER_INDEX_1,
2011 module_param_named(power_level, iwlwifi_mod_params.power_level, int, 0444);
2012 MODULE_PARM_DESC(power_level,
/linux/drivers/net/wireless/ath/ath5k/
H A Dmac80211-ops.c211 (ah->ah_txpower.txp_requested != conf->power_level)) { in ath5k_config()
212 ah->ah_txpower.txp_requested = conf->power_level; in ath5k_config()
215 ath5k_hw_set_txpower_limit(ah, (conf->power_level * 2)); in ath5k_config()
/linux/drivers/net/wireless/mediatek/mt76/mt76x2/
H A Dusb_main.c71 dev->txpower_conf = hw->conf.power_level * 2; in mt76x2u_config()
H A Dpci_main.c75 dev->txpower_conf = hw->conf.power_level * 2; in mt76x2_config()
H A Dinit.c14 int err = -EINVAL, power = hw->conf.power_level * 2; in mt76x2_set_sar_specs()
/linux/drivers/gpu/drm/amd/display/dc/
H A Ddm_services_types.h250 enum dm_pp_clocks_state power_level; member
/linux/drivers/net/wireless/silabs/wfx/
H A Dhif_api_mib.h212 __le32 power_level; /* signed value */ member
H A Dhif_tx_mib.c20 .power_level = cpu_to_le32(val * 10), in wfx_hif_set_output_power()
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
H A Dphy.c3147 u32 power_level, data, offset; in _rtl8821ae_phy_txpower_training_by_path() local
3154 power_level = in _rtl8821ae_phy_txpower_training_by_path()
3159 power_level = in _rtl8821ae_phy_txpower_training_by_path()
3167 power_level = power_level - 10; in _rtl8821ae_phy_txpower_training_by_path()
3169 power_level = power_level - 8; in _rtl8821ae_phy_txpower_training_by_path()
3171 power_level = power_level - 6; in _rtl8821ae_phy_txpower_training_by_path()
3173 data |= (((power_level > 2) ? (power_level) : 2) << (i * 8)); in _rtl8821ae_phy_txpower_training_by_path()
/linux/drivers/net/wireless/ralink/rt2x00/
H A Drt2x00config.c254 rt2x00dev->tx_power = conf->power_level; in rt2x00lib_config()
/linux/drivers/net/wireless/ti/wlcore/
H A Dwlcore_i.h435 int power_level; member
/linux/drivers/net/wireless/marvell/mwifiex/
H A Dioctl.h265 u32 power_level; member
/linux/drivers/net/wireless/st/cw1200/
H A Dwsm.h1275 int power_level) in wsm_set_output_power() argument
1277 __le32 val = __cpu_to_le32(power_level); in wsm_set_output_power()
/linux/drivers/net/wireless/ath/carl9170/
H A Dmac.c521 power = min_t(unsigned int, power, ar->hw->conf.power_level * 2); in carl9170_set_mac_tpc()
/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A Dmac80211_if.c551 err = brcms_c_set_tx_power(wl->wlc, conf->power_level); in brcms_ops_config()
558 if (new_int != conf->power_level) in brcms_ops_config()
561 __func__, conf->power_level, in brcms_ops_config()

123