Home
last modified time | relevance | path

Searched refs:power_level (Results 1 – 25 of 41) 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()
1126 if (power_level < 1) in sa1100_irda_init()
1127 power_level = 1; in sa1100_irda_init()
1128 if (power_level > 3) in sa1100_irda_init()
1129 power_level = 3; in sa1100_irda_init()
1141 module_param(power_level, int, 0);
1148 MODULE_PARM_DESC(power_level, "IrDA power level, 1 (low) to 3 (high)");
/drivers/net/wireless/rt2x00/
Drt2800lib.c3616 int power_level, int max_power) in rt2800_get_txpower_reg_delta() argument
3632 delta = power_level - max_power; in rt2800_get_txpower_reg_delta()
3637 enum ieee80211_band band, int power_level, in rt2800_compensate_txpower() argument
3675 reg_limit = (eirp_txpower > power_level) ? in rt2800_compensate_txpower()
3676 (eirp_txpower - power_level) : 0; in rt2800_compensate_txpower()
3706 int power_level) in rt2800_config_txpower_rt3593() argument
3737 txpower = rt2800_compensate_txpower(rt2x00dev, 1, band, power_level, in rt2800_config_txpower_rt3593()
3748 txpower = rt2800_compensate_txpower(rt2x00dev, 1, band, power_level, in rt2800_config_txpower_rt3593()
3759 txpower = rt2800_compensate_txpower(rt2x00dev, 0, band, power_level, in rt2800_config_txpower_rt3593()
3770 txpower = rt2800_compensate_txpower(rt2x00dev, 0, band, power_level, in rt2800_config_txpower_rt3593()
[all …]
Drt2x00config.c282 rt2x00dev->tx_power = conf->power_level; in rt2x00lib_config()
Drt2500usb.c681 libconf->conf->power_level); in rt2500usb_config()
685 libconf->conf->power_level); in rt2500usb_config()
/drivers/net/wireless/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.c1261 priv->tx_power_user_lmt, conf->power_level); in iwlagn_mac_config()
1263 iwl_set_tx_power(priv, conf->power_level, false); in iwlagn_mac_config()
/drivers/net/wireless/ti/wl1251/
Dmain.c485 wl->power_level = WL1251_DEFAULT_POWER_LEVEL; in wl1251_op_stop()
621 conf->power_level); in wl1251_op_config()
710 if (conf->power_level != wl->power_level) { in wl1251_op_config()
711 ret = wl1251_acx_tx_power(wl, conf->power_level); in wl1251_op_config()
715 wl->power_level = conf->power_level; in wl1251_op_config()
1552 wl->power_level = WL1251_DEFAULT_POWER_LEVEL; in wl1251_alloc_hw()
Dwl1251.h383 int power_level; member
/drivers/net/wireless/iwlwifi/
Diwl-modparams.h117 int power_level; member
Diwl-drv.c1275 .power_level = IWL_POWER_INDEX_1,
1430 module_param_named(power_level, iwlwifi_mod_params.power_level,
1432 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.c1965 wl->power_level = WL1271_DEFAULT_POWER_LEVEL; in wlcore_op_stop_locked()
2282 wlvif->power_level = wl->power_level; in wl12xx_init_vif_data()
3078 if (conf->power_level != wlvif->power_level) { in wl12xx_config_vif()
3079 ret = wl1271_acx_tx_power(wl, wlvif, conf->power_level); in wl12xx_config_vif()
3083 wlvif->power_level = conf->power_level; in wl12xx_config_vif()
3099 conf->power_level, in wl1271_op_config()
3106 wl->power_level = conf->power_level; in wl1271_op_config()
4574 bss_conf->txpower != wlvif->power_level) { in wl1271_op_bss_info_changed()
4580 wlvif->power_level = bss_conf->txpower; in wl1271_op_bss_info_changed()
6149 wl->power_level = WL1271_DEFAULT_POWER_LEVEL; in wlcore_alloc_hw()
Dwlcore_i.h426 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.c552 ret = wl1271_acx_tx_power(wl, wlvif, wlvif->power_level); in wl12xx_init_ap_role()
/drivers/net/wireless/rtlwifi/rtl8821ae/
Dphy.c3210 u32 power_level, data, offset; in _rtl8821ae_phy_txpower_training_by_path() local
3217 power_level = in _rtl8821ae_phy_txpower_training_by_path()
3222 power_level = in _rtl8821ae_phy_txpower_training_by_path()
3230 power_level = power_level - 10; in _rtl8821ae_phy_txpower_training_by_path()
3232 power_level = power_level - 8; in _rtl8821ae_phy_txpower_training_by_path()
3234 power_level = power_level - 6; in _rtl8821ae_phy_txpower_training_by_path()
3236 data |= (((power_level > 2) ? (power_level) : 2) << (i * 8)); in _rtl8821ae_phy_txpower_training_by_path()
/drivers/net/wireless/mwifiex/
Dioctl.h248 u32 power_level; member
/drivers/net/wireless/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/brcm80211/brcmsmac/
Dmac80211_if.c548 err = brcms_c_set_tx_power(wl->wlc, conf->power_level); in brcms_ops_config()
555 if (new_int != conf->power_level) in brcms_ops_config()
558 __func__, conf->power_level, in brcms_ops_config()
/drivers/net/wireless/b43legacy/
Db43legacy.h463 u8 power_level; member
Dmain.c2758 if (conf->power_level != 0) { in b43legacy_op_dev_config()
2759 if (conf->power_level != phy->power_level) { in b43legacy_op_dev_config()
2760 phy->power_level = conf->power_level; in b43legacy_op_dev_config()
/drivers/net/wireless/
Dmac80211_hwsim.c443 int power_level; member
986 rx_status.signal = data->power_level - 50; in mac80211_hwsim_tx_frame_no_nl()
1388 data->power_level = conf->power_level; in mac80211_hwsim_config()
/drivers/net/wireless/p54/
Dmain.c327 priv->output_power = conf->power_level << 2; in p54_config()

12