/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/clk_mgr/dce60/ |
D | dce60_clk_mgr.c | 132 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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce/ |
D | dce_clk_mgr.c | 680 level_change_req.power_level = dce_get_required_clocks_state(clk_mgr, context); in dce_update_clocks() 682 if ((level_change_req.power_level < clk_mgr_dce->cur_min_clks_state && safe_to_lower) in dce_update_clocks() 683 || level_change_req.power_level > clk_mgr_dce->cur_min_clks_state) { in dce_update_clocks() 685 clk_mgr_dce->cur_min_clks_state = level_change_req.power_level; in dce_update_clocks() 707 level_change_req.power_level = dce_get_required_clocks_state(clk_mgr, context); in dce11_update_clocks() 709 if ((level_change_req.power_level < clk_mgr_dce->cur_min_clks_state && safe_to_lower) in dce11_update_clocks() 710 || level_change_req.power_level > clk_mgr_dce->cur_min_clks_state) { in dce11_update_clocks() 712 clk_mgr_dce->cur_min_clks_state = level_change_req.power_level; in dce11_update_clocks() 734 level_change_req.power_level = dce_get_required_clocks_state(clk_mgr, context); in dce112_update_clocks() 736 if ((level_change_req.power_level < clk_mgr_dce->cur_min_clks_state && safe_to_lower) in dce112_update_clocks() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/clk_mgr/dce112/ |
D | dce112_clk_mgr.c | 204 level_change_req.power_level = dce_get_required_clocks_state(clk_mgr_base, context); in dce112_update_clocks() 206 if ((level_change_req.power_level < clk_mgr_dce->cur_min_clks_state && safe_to_lower) in dce112_update_clocks() 207 || level_change_req.power_level > clk_mgr_dce->cur_min_clks_state) { in dce112_update_clocks() 209 clk_mgr_dce->cur_min_clks_state = level_change_req.power_level; in dce112_update_clocks()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/ |
D | dce110_clk_mgr.c | 260 level_change_req.power_level = dce_get_required_clocks_state(clk_mgr_base, context); in dce11_update_clocks() 262 if ((level_change_req.power_level < clk_mgr_dce->cur_min_clks_state && safe_to_lower) in dce11_update_clocks() 263 || level_change_req.power_level > clk_mgr_dce->cur_min_clks_state) { in dce11_update_clocks() 265 clk_mgr_dce->cur_min_clks_state = level_change_req.power_level; in dce11_update_clocks()
|
/kernel/linux/linux-5.10/drivers/staging/pi433/ |
D | rf69.c | 350 int rf69_set_output_power_level(struct spi_device *spi, u8 power_level) in rf69_set_output_power_level() argument 369 power_level += 18; in rf69_set_output_power_level() 372 power_level += 18; in rf69_set_output_power_level() 376 power_level += 11; in rf69_set_output_power_level() 378 power_level += 14; in rf69_set_output_power_level() 385 if (power_level > 0x1f) in rf69_set_output_power_level() 388 if (power_level < min_power_level) in rf69_set_output_power_level() 393 power_level); in rf69_set_output_power_level()
|
D | rf69.h | 30 int rf69_set_output_power_level(struct spi_device *spi, u8 power_level);
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/clk_mgr/dce100/ |
D | dce_clk_mgr.c | 407 level_change_req.power_level = dce_get_required_clocks_state(clk_mgr_base, context); in dce_update_clocks() 409 if ((level_change_req.power_level < clk_mgr_dce->cur_min_clks_state && safe_to_lower) in dce_update_clocks() 410 || level_change_req.power_level > clk_mgr_dce->cur_min_clks_state) { in dce_update_clocks() 412 clk_mgr_dce->cur_min_clks_state = level_change_req.power_level; in dce_update_clocks()
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/dvm/ |
D | power.c | 306 if (iwlwifi_mod_params.power_level > IWL_POWER_INDEX_1 && in iwl_power_build_cmd() 307 iwlwifi_mod_params.power_level <= IWL_POWER_NUM) in iwl_power_build_cmd() 309 iwlwifi_mod_params.power_level - 1, dtimper); in iwl_power_build_cmd()
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/ |
D | iwl-modparams.h | 127 int power_level; member
|
D | iwl-drv.c | 1741 .power_level = IWL_POWER_INDEX_1, 1890 module_param_named(power_level, iwlwifi_mod_params.power_level, int, 0444); 1891 MODULE_PARM_DESC(power_level,
|
/kernel/linux/linux-5.10/drivers/net/wireless/ralink/rt2x00/ |
D | rt2800lib.c | 3787 int power_level) { in rt2800_config_alc() argument 3795 power_level *= 2; in rt2800_config_alc() 3796 if (power_level > 0x2f) in rt2800_config_alc() 3797 power_level = 0x2f; in rt2800_config_alc() 3804 rt2x00_set_field32(®, TX_ALC_CFG_0_CH_INIT_0, power_level); in rt2800_config_alc() 3805 rt2x00_set_field32(®, TX_ALC_CFG_0_CH_INIT_1, power_level); in rt2800_config_alc() 4560 int power_level, int max_power) in rt2800_get_txpower_reg_delta() argument 4576 delta = power_level - max_power; in rt2800_get_txpower_reg_delta() 4581 enum nl80211_band band, int power_level, in rt2800_compensate_txpower() argument 4622 reg_limit = (eirp_txpower > power_level) ? in rt2800_compensate_txpower() [all …]
|
D | rt2x00config.c | 253 rt2x00dev->tx_power = conf->power_level; in rt2x00lib_config()
|
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt76x0/ |
D | main.c | 47 dev->txpower_conf = hw->conf.power_level * 2; in mt76x0_config()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wl1251/ |
D | main.c | 469 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() 1609 wl->power_level = WL1251_DEFAULT_POWER_LEVEL; in wl1251_alloc_hw()
|
D | wl1251.h | 369 int power_level; member
|
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt76x2/ |
D | usb_main.c | 81 dev->txpower_conf = hw->conf.power_level * 2; in mt76x2u_config()
|
D | pci_main.c | 81 dev->txpower_conf = hw->conf.power_level * 2; in mt76x2_config()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath5k/ |
D | mac80211-ops.c | 211 (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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/ |
D | dm_services_types.h | 250 enum dm_pp_clocks_state power_level; member
|
/kernel/linux/linux-5.10/drivers/staging/wfx/ |
D | hif_api_mib.h | 209 __le32 power_level; // signed value member
|
D | hif_tx_mib.c | 20 .power_level = cpu_to_le32(val * 10), in hif_set_output_power()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wlcore/ |
D | wlcore_i.h | 425 int power_level; member
|
D | main.c | 1967 wl->power_level = WL1271_DEFAULT_POWER_LEVEL; in wlcore_op_stop_locked() 2295 wlvif->power_level = wl->power_level; in wl12xx_init_vif_data() 3099 if (conf->power_level != wlvif->power_level) { in wl12xx_config_vif() 3100 ret = wl1271_acx_tx_power(wl, wlvif, conf->power_level); in wl12xx_config_vif() 3104 wlvif->power_level = conf->power_level; in wl12xx_config_vif() 3120 conf->power_level, in wl1271_op_config() 3127 wl->power_level = conf->power_level; in wl1271_op_config() 4663 bss_conf->txpower != wlvif->power_level) { in wl1271_op_bss_info_changed() 4669 wlvif->power_level = bss_conf->txpower; in wl1271_op_bss_info_changed() 6412 wl->power_level = WL1271_DEFAULT_POWER_LEVEL; in wlcore_alloc_hw()
|
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/ |
D | ioctl.h | 271 u32 power_level; member
|
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
D | phy.c | 3173 u32 power_level, data, offset; in _rtl8821ae_phy_txpower_training_by_path() local 3180 power_level = in _rtl8821ae_phy_txpower_training_by_path() 3185 power_level = in _rtl8821ae_phy_txpower_training_by_path() 3193 power_level = power_level - 10; in _rtl8821ae_phy_txpower_training_by_path() 3195 power_level = power_level - 8; in _rtl8821ae_phy_txpower_training_by_path() 3197 power_level = power_level - 6; in _rtl8821ae_phy_txpower_training_by_path() 3199 data |= (((power_level > 2) ? (power_level) : 2) << (i * 8)); in _rtl8821ae_phy_txpower_training_by_path()
|