/linux-6.12.1/drivers/net/wireless/mediatek/mt76/ |
D | eeprom.c | 289 s8 target_power, s8 nss_delta, s8 *max_power) in mt76_apply_array_limit() argument 299 *max_power = max(*max_power, pwr[i]); in mt76_apply_array_limit() 306 s8 nss_delta, s8 *max_power) in mt76_apply_multi_array_limit() argument 320 target_power, nss_delta, max_power); in mt76_apply_multi_array_limit() 346 s8 max_power = 0; in mt76_get_rate_power_limits() local 388 target_power, txs_delta, &max_power); in mt76_get_rate_power_limits() 393 target_power, txs_delta, &max_power); in mt76_get_rate_power_limits() 398 target_power, txs_delta, &max_power); in mt76_get_rate_power_limits() 403 target_power, txs_delta, &max_power); in mt76_get_rate_power_limits() 405 return max_power; in mt76_get_rate_power_limits()
|
/linux-6.12.1/drivers/thermal/ |
D | gov_power_allocator.c | 59 u32 max_power; member 372 if (pa->granted_power > pa->max_power) { in divvy_up_power() 373 extra_power += pa->granted_power - pa->max_power; in divvy_up_power() 374 pa->granted_power = pa->max_power; in divvy_up_power() 377 pa->extra_actor_power = pa->max_power - pa->granted_power; in divvy_up_power() 440 &pa->max_power); in allocate_power() 445 max_allocatable_power += pa->max_power; in allocate_power()
|
/linux-6.12.1/drivers/net/wireless/silabs/wfx/ |
D | scan.c | 50 if (ch_cur->max_power != ch_start->max_power) in send_scan_req() 81 if (req->channels[start_idx]->max_power != vif->bss_conf.txpower) in send_scan_req()
|
/linux-6.12.1/drivers/net/wireless/ti/wlcore/ |
D | main.c | 5919 { .hw_value = 1, .center_freq = 2412, .max_power = WLCORE_MAX_TXPWR }, 5920 { .hw_value = 2, .center_freq = 2417, .max_power = WLCORE_MAX_TXPWR }, 5921 { .hw_value = 3, .center_freq = 2422, .max_power = WLCORE_MAX_TXPWR }, 5922 { .hw_value = 4, .center_freq = 2427, .max_power = WLCORE_MAX_TXPWR }, 5923 { .hw_value = 5, .center_freq = 2432, .max_power = WLCORE_MAX_TXPWR }, 5924 { .hw_value = 6, .center_freq = 2437, .max_power = WLCORE_MAX_TXPWR }, 5925 { .hw_value = 7, .center_freq = 2442, .max_power = WLCORE_MAX_TXPWR }, 5926 { .hw_value = 8, .center_freq = 2447, .max_power = WLCORE_MAX_TXPWR }, 5927 { .hw_value = 9, .center_freq = 2452, .max_power = WLCORE_MAX_TXPWR }, 5928 { .hw_value = 10, .center_freq = 2457, .max_power = WLCORE_MAX_TXPWR }, [all …]
|
D | scan.c | 204 channels[j].tx_power_att = req_channels[i]->max_power; in wlcore_scan_get_channels() 229 req_channels[i]->max_power, in wlcore_scan_get_channels()
|
/linux-6.12.1/drivers/net/wireless/ath/carl9170/ |
D | phy.c | 1298 u8 max_power; in carl9170_calc_ctl() member 1378 modes[i].max_power = in carl9170_calc_ctl() 1397 modes[i].max_power = AR5416_MAX_RATE_POWER; in carl9170_calc_ctl() 1399 if (modes[k].max_power != in carl9170_calc_ctl() 1401 modes[i].max_power = modes[k].max_power; in carl9170_calc_ctl() 1410 modes[i].max_power); in carl9170_calc_ctl()
|
/linux-6.12.1/drivers/net/wireless/st/cw1200/ |
D | scan.c | 204 (*it)->max_power != first->max_power) in cw1200_scan_work() 246 priv->scan.output_power != first->max_power) { in cw1200_scan_work() 247 priv->scan.output_power = first->max_power; in cw1200_scan_work()
|
D | main.c | 107 .max_power = 30, \ 116 .max_power = 30, \ 328 sband->channels[i].max_power = 30; in cw1200_init_common()
|
/linux-6.12.1/drivers/net/wireless/ath/ath9k/ |
D | common-init.c | 25 .max_power = 20, \ 32 .max_power = 20, \
|
/linux-6.12.1/drivers/net/wireless/intel/iwlegacy/ |
D | 3945.c | 1523 s8 max_power; in il3945_hw_reg_get_ch_txpower_limit() local 1527 if (ch_info->tgd_data.max_power != 0) in il3945_hw_reg_get_ch_txpower_limit() 1528 max_power = in il3945_hw_reg_get_ch_txpower_limit() 1529 min(ch_info->tgd_data.max_power, in il3945_hw_reg_get_ch_txpower_limit() 1535 max_power = ch_info->eeprom.max_power_avg; in il3945_hw_reg_get_ch_txpower_limit() 1537 return min(max_power, ch_info->max_power_avg); in il3945_hw_reg_get_ch_txpower_limit() 1621 s8 max_power; in il3945_hw_reg_set_txpower() local 1640 max_power = il3945_hw_reg_get_ch_txpower_limit(ch_info); in il3945_hw_reg_set_txpower() 1641 max_power = min(power, max_power); in il3945_hw_reg_set_txpower() 1642 if (max_power != ch_info->curr_txpow) { in il3945_hw_reg_set_txpower() [all …]
|
/linux-6.12.1/drivers/staging/vt6656/ |
D | channel.c | 72 ch[i].max_power = VNT_RF_MAX_POWER; in vnt_init_bands()
|
/linux-6.12.1/drivers/accel/habanalabs/common/ |
D | sysfs.c | 363 hdev->max_power = value; in max_power_store() 433 static DEVICE_ATTR_RW(max_power); 524 hdev->max_power = hdev->asic_prop.max_power_default; in hl_sysfs_init()
|
/linux-6.12.1/include/linux/ |
D | maple.h | 64 unsigned short max_power; member
|
/linux-6.12.1/drivers/net/wireless/marvell/mwifiex/ |
D | sta_cmdresp.c | 326 int length, max_power = -1, min_power = -1; in mwifiex_get_power_level() local 342 max_power = pg->power_max; in mwifiex_get_power_level() 348 if (max_power < pg->power_max) in mwifiex_get_power_level() 349 max_power = pg->power_max; in mwifiex_get_power_level() 357 priv->max_tx_power_level = (u8) max_power; in mwifiex_get_power_level() 433 priv->max_tx_power_level = txp->max_power; in mwifiex_ret_rf_tx_power()
|
/linux-6.12.1/drivers/net/wireless/intersil/p54/ |
D | eeprom.c | 75 int max_power; member 194 dest->max_power = chan->max_power; in p54_generate_band() 266 entry->max_power = 0; in p54_update_channel_param() 379 tmp->max_power = p54_get_maxpower(priv, data); in p54_generate_channel_lists()
|
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/dvm/ |
D | eeprom.c | 352 if (chan->max_power < max_txpower_avg && in iwl_eeprom_enh_txp_read_element() 354 chan->max_power = max_txpower_avg; in iwl_eeprom_enh_txp_read_element() 571 channel->max_power = in iwl_init_channel_map() 611 data->channels[i].max_power * 2); in iwl_init_channel_map()
|
/linux-6.12.1/drivers/staging/vt6655/ |
D | channel.c | 59 supported_band->channels[i].max_power = 0x3f; in vnt_init_band()
|
/linux-6.12.1/drivers/powercap/ |
D | dtpm.c | 292 static int get_max_power_uw(struct powercap_zone *pcz, int id, u64 *max_power) in get_max_power_uw() argument 294 *max_power = to_dtpm(pcz)->power_max; in get_max_power_uw()
|
/linux-6.12.1/arch/powerpc/include/asm/ |
D | smu.h | 625 __u16 max_power; member
|
/linux-6.12.1/drivers/net/wireless/intel/ipw2x00/ |
D | libipw_geo.c | 155 .max_power = 0,
|
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt76x2/ |
D | init.c | 200 chan->max_power = min_t(int, chan->max_reg_power, in mt76x2_init_txpower()
|
/linux-6.12.1/net/wireless/ |
D | reg.c | 1802 chan->max_reg_power = chan->max_power = chan->orig_mpwr = in handle_channel_single_rule() 1844 chan->max_power = chan->max_reg_power; in handle_channel_single_rule() 1846 chan->max_power = min(chan->orig_mpwr, in handle_channel_single_rule() 1849 chan->max_power = chan->max_reg_power; in handle_channel_single_rule() 1895 chan->max_power = chan->max_reg_power; in handle_channel_adjacent_rules() 1959 chan->max_power = chan->max_reg_power; in handle_channel_adjacent_rules() 1961 chan->max_power = min(chan->orig_mpwr, in handle_channel_adjacent_rules() 1964 chan->max_power = chan->max_reg_power; in handle_channel_adjacent_rules() 2588 chan->max_reg_power = chan->max_power = in handle_channel_custom() 2601 chan->max_power = chan->max_reg_power; in handle_channel_custom() [all …]
|
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/pcie/ |
D | trans.c | 165 u8 max_power) in iwl_pcie_alloc_fw_monitor_block() argument 179 for (power = max_power; power >= 11; power--) { in iwl_pcie_alloc_fw_monitor_block() 195 if (power != max_power) in iwl_pcie_alloc_fw_monitor_block() 199 (unsigned long)BIT(max_power - 10)); in iwl_pcie_alloc_fw_monitor_block() 206 void iwl_pcie_alloc_fw_monitor(struct iwl_trans *trans, u8 max_power) in iwl_pcie_alloc_fw_monitor() argument 208 if (!max_power) { in iwl_pcie_alloc_fw_monitor() 210 max_power = 26; in iwl_pcie_alloc_fw_monitor() 212 max_power += 11; in iwl_pcie_alloc_fw_monitor() 215 if (WARN(max_power > 26, in iwl_pcie_alloc_fw_monitor() 217 max_power)) in iwl_pcie_alloc_fw_monitor() [all …]
|
/linux-6.12.1/drivers/net/wireless/ti/wl12xx/ |
D | scan.c | 46 req->channels[i]->max_power); in wl1271_get_scan_channels() 62 channels[j].tx_power_att = req->channels[i]->max_power; in wl1271_get_scan_channels()
|
/linux-6.12.1/drivers/net/wireless/marvell/libertas/ |
D | cmd.c | 752 max_pwr = ch->max_power; in lbs_set_11d_domain_info() 758 (ch->max_power == max_pwr)) { in lbs_set_11d_domain_info() 770 t->chans.max_power = max_pwr; in lbs_set_11d_domain_info() 783 t->chans.max_power = max_pwr; in lbs_set_11d_domain_info()
|