Home
last modified time | relevance | path

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

12

/drivers/net/irda/
Dsa1100_ir.c43 static int power_level = 3; variable
833 sa1100_set_power(si, power_level); /* low power mode */ in sa1100_irda_start()
1125 if (power_level < 1) in sa1100_irda_init()
1126 power_level = 1; in sa1100_irda_init()
1127 if (power_level > 3) in sa1100_irda_init()
1128 power_level = 3; in sa1100_irda_init()
1140 module_param(power_level, int, 0);
1147 MODULE_PARM_DESC(power_level, "IrDA power level, 1 (low) to 3 (high)");
/drivers/net/wireless/ralink/rt2x00/
Drt2800lib.c3593 int power_level, int max_power) in rt2800_get_txpower_reg_delta() argument
3609 delta = power_level - max_power; in rt2800_get_txpower_reg_delta()
3614 enum nl80211_band band, int power_level, in rt2800_compensate_txpower() argument
3652 reg_limit = (eirp_txpower > power_level) ? in rt2800_compensate_txpower()
3653 (eirp_txpower - power_level) : 0; in rt2800_compensate_txpower()
3683 int power_level) in rt2800_config_txpower_rt3593() argument
3714 txpower = rt2800_compensate_txpower(rt2x00dev, 1, band, power_level, in rt2800_config_txpower_rt3593()
3725 txpower = rt2800_compensate_txpower(rt2x00dev, 1, band, power_level, in rt2800_config_txpower_rt3593()
3736 txpower = rt2800_compensate_txpower(rt2x00dev, 0, band, power_level, in rt2800_config_txpower_rt3593()
3747 txpower = rt2800_compensate_txpower(rt2x00dev, 0, band, power_level, in rt2800_config_txpower_rt3593()
[all …]
Drt2x00config.c287 rt2x00dev->tx_power = conf->power_level; in rt2x00lib_config()
Drt2500usb.c682 libconf->conf->power_level); in rt2500usb_config()
686 libconf->conf->power_level); in rt2500usb_config()
Drt2500pci.c603 libconf->conf->power_level); in rt2500pci_config()
607 libconf->conf->power_level); in rt2500pci_config()
/drivers/net/wireless/intel/iwlwifi/dvm/
Dpower.c320 if (iwlwifi_mod_params.power_level > IWL_POWER_INDEX_1 && in iwl_power_build_cmd()
321 iwlwifi_mod_params.power_level <= IWL_POWER_NUM) in iwl_power_build_cmd()
323 iwlwifi_mod_params.power_level - 1, dtimper); in iwl_power_build_cmd()
Drxon.c1257 priv->tx_power_user_lmt, conf->power_level); in iwlagn_mac_config()
1259 iwl_set_tx_power(priv, conf->power_level, false); in iwlagn_mac_config()
/drivers/net/wireless/ti/wl1251/
Dmain.c489 wl->power_level = WL1251_DEFAULT_POWER_LEVEL; in wl1251_op_stop()
626 conf->power_level); in wl1251_op_config()
715 if (conf->power_level != wl->power_level) { in wl1251_op_config()
716 ret = wl1251_acx_tx_power(wl, conf->power_level); in wl1251_op_config()
720 wl->power_level = conf->power_level; in wl1251_op_config()
1550 wl->power_level = WL1251_DEFAULT_POWER_LEVEL; in wl1251_alloc_hw()
Dwl1251.h383 int power_level; member
/drivers/net/wireless/intel/iwlwifi/
Diwl-modparams.h134 int power_level; member
Diwl-drv.c1554 .power_level = IWL_POWER_INDEX_1,
1710 module_param_named(power_level, iwlwifi_mod_params.power_level,
1712 MODULE_PARM_DESC(power_level,
/drivers/net/wireless/ath/ath5k/
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()
/drivers/net/wireless/ti/wlcore/
Dmain.c1945 wl->power_level = WL1271_DEFAULT_POWER_LEVEL; in wlcore_op_stop_locked()
2267 wlvif->power_level = wl->power_level; in wl12xx_init_vif_data()
3070 if (conf->power_level != wlvif->power_level) { in wl12xx_config_vif()
3071 ret = wl1271_acx_tx_power(wl, wlvif, conf->power_level); in wl12xx_config_vif()
3075 wlvif->power_level = conf->power_level; in wl12xx_config_vif()
3091 conf->power_level, in wl1271_op_config()
3098 wl->power_level = conf->power_level; in wl1271_op_config()
4579 bss_conf->txpower != wlvif->power_level) { in wl1271_op_bss_info_changed()
4585 wlvif->power_level = bss_conf->txpower; in wl1271_op_bss_info_changed()
6257 wl->power_level = WL1271_DEFAULT_POWER_LEVEL; in wlcore_alloc_hw()
Dwlcore_i.h439 int power_level; member
Dwlcore.h351 int power_level; member
Ddebugfs.c495 DRIVER_STATE_PRINT_INT(power_level); in driver_state_read()
612 VIF_STATE_PRINT_INT(power_level); in vifs_state_read()
Dinit.c562 ret = wl1271_acx_tx_power(wl, wlvif, wlvif->power_level); in wl12xx_init_ap_role()
/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dphy.c3276 u32 power_level, data, offset; in _rtl8821ae_phy_txpower_training_by_path() local
3283 power_level = in _rtl8821ae_phy_txpower_training_by_path()
3288 power_level = in _rtl8821ae_phy_txpower_training_by_path()
3296 power_level = power_level - 10; in _rtl8821ae_phy_txpower_training_by_path()
3298 power_level = power_level - 8; in _rtl8821ae_phy_txpower_training_by_path()
3300 power_level = power_level - 6; in _rtl8821ae_phy_txpower_training_by_path()
3302 data |= (((power_level > 2) ? (power_level) : 2) << (i * 8)); in _rtl8821ae_phy_txpower_training_by_path()
/drivers/net/wireless/marvell/mwifiex/
Dioctl.h268 u32 power_level; member
/drivers/net/wireless/st/cw1200/
Dwsm.h1290 int power_level) in wsm_set_output_power() argument
1292 __le32 val = __cpu_to_le32(power_level); in wsm_set_output_power()
/drivers/net/wireless/ath/carl9170/
Dmac.c525 power = min_t(unsigned int, power, ar->hw->conf.power_level * 2); in carl9170_set_mac_tpc()
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Dmac80211_if.c547 err = brcms_c_set_tx_power(wl->wlc, conf->power_level); in brcms_ops_config()
554 if (new_int != conf->power_level) in brcms_ops_config()
557 __func__, conf->power_level, in brcms_ops_config()
/drivers/net/wireless/broadcom/b43legacy/
Db43legacy.h463 u8 power_level; member
Dmain.c2756 if (conf->power_level != 0) { in b43legacy_op_dev_config()
2757 if (conf->power_level != phy->power_level) { in b43legacy_op_dev_config()
2758 phy->power_level = conf->power_level; in b43legacy_op_dev_config()
/drivers/net/wireless/intersil/p54/
Dmain.c327 priv->output_power = conf->power_level << 2; in p54_config()

12