/linux-4.1.27/drivers/net/wireless/brcm80211/brcmsmac/ |
D | channel.c | 230 struct brcms_cm_info *wlc_cm, struct txpwr_limits *txpwr, in brcms_c_channel_min_txpower_limits_with_local_constraint() argument 237 txpwr->cck[j] = min(txpwr->cck[j], local_constraint_qdbm); in brcms_c_channel_min_txpower_limits_with_local_constraint() 241 txpwr->ofdm[j] = min(txpwr->ofdm[j], local_constraint_qdbm); in brcms_c_channel_min_txpower_limits_with_local_constraint() 245 txpwr->ofdm_cdd[j] = in brcms_c_channel_min_txpower_limits_with_local_constraint() 246 min(txpwr->ofdm_cdd[j], local_constraint_qdbm); in brcms_c_channel_min_txpower_limits_with_local_constraint() 250 txpwr->ofdm_40_siso[j] = in brcms_c_channel_min_txpower_limits_with_local_constraint() 251 min(txpwr->ofdm_40_siso[j], local_constraint_qdbm); in brcms_c_channel_min_txpower_limits_with_local_constraint() 255 txpwr->ofdm_40_cdd[j] = in brcms_c_channel_min_txpower_limits_with_local_constraint() 256 min(txpwr->ofdm_40_cdd[j], local_constraint_qdbm); in brcms_c_channel_min_txpower_limits_with_local_constraint() 260 txpwr->mcs_20_siso[j] = in brcms_c_channel_min_txpower_limits_with_local_constraint() [all …]
|
D | channel.h | 42 struct txpwr_limits *txpwr);
|
D | pub.h | 324 int brcms_c_set_tx_power(struct brcms_c_info *wlc, int txpwr);
|
D | main.h | 639 bool mute, struct txpwr_limits *txpwr);
|
D | main.c | 3850 bool mute_tx, struct txpwr_limits *txpwr) in brcms_b_set_chanspec() argument 3881 wlc_phy_txpower_limit_set(wlc_hw->band->pi, txpwr, in brcms_b_set_chanspec() 3886 wlc_phy_txpower_limit_set(wlc_hw->band->pi, txpwr, chanspec); in brcms_b_set_chanspec() 7640 int brcms_c_set_tx_power(struct brcms_c_info *wlc, int txpwr) in brcms_c_set_tx_power() argument 7645 qdbm = min_t(uint, txpwr * BRCMS_TXPWR_DB_FACTOR, 0xff); in brcms_c_set_tx_power()
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmsmac/phy/ |
D | phy_cmn.c | 1323 struct txpwr_limits *txpwr) in wlc_phy_txpower_target_set() argument 1329 &txpwr->cck[0], BRCMS_NUM_RATES_CCK); in wlc_phy_txpower_target_set() 1332 &txpwr->ofdm[0], BRCMS_NUM_RATES_OFDM); in wlc_phy_txpower_target_set() 1334 &txpwr->ofdm_cdd[0], BRCMS_NUM_RATES_OFDM); in wlc_phy_txpower_target_set() 1337 &txpwr->ofdm_40_siso[0], BRCMS_NUM_RATES_OFDM); in wlc_phy_txpower_target_set() 1339 &txpwr->ofdm_40_cdd[0], BRCMS_NUM_RATES_OFDM); in wlc_phy_txpower_target_set() 1342 &txpwr->mcs_20_siso[0], BRCMS_NUM_RATES_MCS_1_STREAM); in wlc_phy_txpower_target_set() 1344 &txpwr->mcs_20_cdd[0], BRCMS_NUM_RATES_MCS_1_STREAM); in wlc_phy_txpower_target_set() 1346 &txpwr->mcs_20_stbc[0], BRCMS_NUM_RATES_MCS_1_STREAM); in wlc_phy_txpower_target_set() 1348 &txpwr->mcs_20_mimo[0], BRCMS_NUM_RATES_MCS_2_STREAM); in wlc_phy_txpower_target_set() [all …]
|
D | phy_lcn.c | 4889 s8 txpwr = 0; in wlc_phy_txpwr_srom_read_lcnphy() local 4918 txpwr = sprom->core_pwr_info[0].maxpwr_2g; in wlc_phy_txpwr_srom_read_lcnphy() 4919 pi->tx_srom_max_2g = txpwr; in wlc_phy_txpwr_srom_read_lcnphy() 4929 uint max_pwr_chan = txpwr; in wlc_phy_txpwr_srom_read_lcnphy() 4949 pi->tx_srom_max_rate_2g[i] = txpwr; in wlc_phy_txpwr_srom_read_lcnphy() 4952 pi->tx_srom_max_rate_2g[i] = txpwr - in wlc_phy_txpwr_srom_read_lcnphy() 4962 txpwr - ((offset_mcs & 0xf) * 2); in wlc_phy_txpwr_srom_read_lcnphy()
|
/linux-4.1.27/drivers/net/wireless/rtl818x/rtl8187/ |
D | dev.c | 1436 u16 txpwr, reg; in rtl8187_probe() local 1511 &txpwr); in rtl8187_probe() 1512 (*channel++).hw_value = txpwr & 0xFF; in rtl8187_probe() 1513 (*channel++).hw_value = txpwr >> 8; in rtl8187_probe() 1517 &txpwr); in rtl8187_probe() 1518 (*channel++).hw_value = txpwr & 0xFF; in rtl8187_probe() 1519 (*channel++).hw_value = txpwr >> 8; in rtl8187_probe() 1585 &txpwr); in rtl8187_probe() 1586 (*channel++).hw_value = txpwr & 0xFF; in rtl8187_probe() 1587 (*channel++).hw_value = txpwr >> 8; in rtl8187_probe() [all …]
|
/linux-4.1.27/sound/soc/codecs/ |
D | wm8804.c | 169 unsigned int txpwr; in txsrc_put() local 178 txpwr = snd_soc_read(codec, WM8804_PWRDN) & 0x4; in txsrc_put() 187 snd_soc_update_bits(codec, WM8804_PWRDN, 0x4, txpwr); in txsrc_put()
|
/linux-4.1.27/drivers/net/wireless/rtl818x/rtl8180/ |
D | dev.c | 1676 u16 txpwr; in rtl8180_eeprom_read() local 1678 &txpwr); in rtl8180_eeprom_read() 1679 priv->channels[i].hw_value = txpwr & 0xFF; in rtl8180_eeprom_read() 1680 priv->channels[i + 1].hw_value = txpwr >> 8; in rtl8180_eeprom_read() 1686 u16 txpwr; in rtl8180_eeprom_read() local 1687 eeprom_93cx6_read(&eeprom, 0x20 + (i >> 1), &txpwr); in rtl8180_eeprom_read() 1688 priv->channels[i].hw_value |= (txpwr & 0xFF) << 8; in rtl8180_eeprom_read() 1689 priv->channels[i + 1].hw_value |= txpwr & 0xFF00; in rtl8180_eeprom_read()
|
/linux-4.1.27/drivers/net/wireless/mwifiex/ |
D | sta_ioctl.c | 192 char txpwr[] = {"marvell,00_txpwrlimit"}; in mwifiex_dnld_txpwr_table() local 194 memcpy(&txpwr[8], priv->adapter->country_code, 2); in mwifiex_dnld_txpwr_table() 195 mwifiex_dnld_dt_cfgdata(priv, priv->adapter->dt_node, txpwr); in mwifiex_dnld_txpwr_table()
|