Home
last modified time | relevance | path

Searched refs:max_power (Results 1 – 25 of 109) sorted by relevance

12345

/linux-6.3-rc2/drivers/net/wireless/mediatek/mt76/
A Deeprom.c229 s8 target_power, s8 nss_delta, s8 *max_power) in mt76_apply_array_limit() argument
239 *max_power = max(*max_power, pwr[i]); in mt76_apply_array_limit()
246 s8 nss_delta, s8 *max_power) in mt76_apply_multi_array_limit() argument
260 target_power, nss_delta, max_power); in mt76_apply_multi_array_limit()
286 s8 max_power = 0; in mt76_get_rate_power_limits() local
328 target_power, txs_delta, &max_power); in mt76_get_rate_power_limits()
333 target_power, txs_delta, &max_power); in mt76_get_rate_power_limits()
338 target_power, txs_delta, &max_power); in mt76_get_rate_power_limits()
343 target_power, txs_delta, &max_power); in mt76_get_rate_power_limits()
345 return max_power; in mt76_get_rate_power_limits()
/linux-6.3-rc2/drivers/thermal/
A Dgov_power_allocator.c335 static void divvy_up_power(u32 *req_power, u32 *max_power, int num_actors, in divvy_up_power() argument
356 if (granted_power[i] > max_power[i]) { in divvy_up_power()
357 extra_power += granted_power[i] - max_power[i]; in divvy_up_power()
358 granted_power[i] = max_power[i]; in divvy_up_power()
361 extra_actor_power[i] = max_power[i] - granted_power[i]; in divvy_up_power()
386 u32 *req_power, *max_power, *granted_power, *extra_actor_power; in allocate_power() local
413 BUILD_BUG_ON(sizeof(*req_power) != sizeof(*max_power)); in allocate_power()
421 max_power = &req_power[num_actors]; in allocate_power()
452 &max_power[i])) in allocate_power()
456 max_allocatable_power += max_power[i]; in allocate_power()
[all …]
/linux-6.3-rc2/drivers/net/wireless/silabs/wfx/
A Dscan.c50 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.3-rc2/drivers/net/wireless/ti/wlcore/
A Dmain.c5837 { .hw_value = 1, .center_freq = 2412, .max_power = WLCORE_MAX_TXPWR },
5838 { .hw_value = 2, .center_freq = 2417, .max_power = WLCORE_MAX_TXPWR },
5839 { .hw_value = 3, .center_freq = 2422, .max_power = WLCORE_MAX_TXPWR },
5840 { .hw_value = 4, .center_freq = 2427, .max_power = WLCORE_MAX_TXPWR },
5841 { .hw_value = 5, .center_freq = 2432, .max_power = WLCORE_MAX_TXPWR },
5842 { .hw_value = 6, .center_freq = 2437, .max_power = WLCORE_MAX_TXPWR },
5843 { .hw_value = 7, .center_freq = 2442, .max_power = WLCORE_MAX_TXPWR },
5844 { .hw_value = 8, .center_freq = 2447, .max_power = WLCORE_MAX_TXPWR },
5845 { .hw_value = 9, .center_freq = 2452, .max_power = WLCORE_MAX_TXPWR },
6223 wl1271_band_2ghz.channels[i].max_power = WLCORE_MAX_TXPWR; in wl1271_init_ieee80211()
[all …]
A Dscan.c204 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.3-rc2/drivers/net/wireless/ath/carl9170/
A Dphy.c1298 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.3-rc2/drivers/net/wireless/ath/ath9k/
A Dcommon-init.c25 .max_power = 20, \
32 .max_power = 20, \
/linux-6.3-rc2/drivers/net/wireless/st/cw1200/
A Dscan.c204 (*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()
A Dmain.c107 .max_power = 30, \
116 .max_power = 30, \
324 sband->channels[i].max_power = 30; in cw1200_init_common()
/linux-6.3-rc2/drivers/net/wireless/intel/iwlegacy/
A D3945.c1523 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.3-rc2/drivers/staging/vt6656/
A Dchannel.c72 ch[i].max_power = VNT_RF_MAX_POWER; in vnt_init_bands()
/linux-6.3-rc2/drivers/accel/habanalabs/common/
A Dsysfs.c340 hdev->max_power = value; in max_power_store()
395 static DEVICE_ATTR_RW(max_power);
482 hdev->max_power = hdev->asic_prop.max_power_default; in hl_sysfs_init()
/linux-6.3-rc2/include/linux/
A Dmaple.h65 unsigned short max_power; member
/linux-6.3-rc2/drivers/net/wireless/intel/iwlwifi/
A Diwl-eeprom-parse.c352 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.3-rc2/drivers/net/wireless/intersil/p54/
A Deeprom.c75 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.3-rc2/drivers/net/wireless/marvell/mwifiex/
A Dsta_cmdresp.c326 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.3-rc2/drivers/staging/vt6655/
A Dchannel.c59 supported_band->channels[i].max_power = 0x3f; in vnt_init_band()
/linux-6.3-rc2/drivers/powercap/
A Ddtpm.c292 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.3-rc2/arch/powerpc/include/asm/
A Dsmu.h625 __u16 max_power; member
/linux-6.3-rc2/drivers/net/wireless/intel/ipw2x00/
A Dlibipw_geo.c155 .max_power = 0,
/linux-6.3-rc2/drivers/net/wireless/mediatek/mt76/mt76x2/
A Dinit.c200 chan->max_power = min_t(int, chan->max_reg_power, in mt76x2_init_txpower()
/linux-6.3-rc2/drivers/net/wireless/intel/iwlwifi/pcie/
A Dtrans.c164 u8 max_power, u8 min_power) in iwl_pcie_alloc_fw_monitor_block() argument
175 for (power = max_power; power >= min_power; power--) { in iwl_pcie_alloc_fw_monitor_block()
191 if (power != max_power) in iwl_pcie_alloc_fw_monitor_block()
195 (unsigned long)BIT(max_power - 10)); in iwl_pcie_alloc_fw_monitor_block()
202 void iwl_pcie_alloc_fw_monitor(struct iwl_trans *trans, u8 max_power) in iwl_pcie_alloc_fw_monitor() argument
204 if (!max_power) { in iwl_pcie_alloc_fw_monitor()
206 max_power = 26; in iwl_pcie_alloc_fw_monitor()
208 max_power += 11; in iwl_pcie_alloc_fw_monitor()
211 if (WARN(max_power > 26, in iwl_pcie_alloc_fw_monitor()
213 max_power)) in iwl_pcie_alloc_fw_monitor()
[all …]
/linux-6.3-rc2/net/wireless/
A Dreg.c1787 chan->max_reg_power = chan->max_power = chan->orig_mpwr = in handle_channel_single_rule()
1823 chan->max_power = chan->max_reg_power; in handle_channel_single_rule()
1825 chan->max_power = min(chan->orig_mpwr, in handle_channel_single_rule()
1828 chan->max_power = chan->max_reg_power; in handle_channel_single_rule()
1874 chan->max_power = chan->max_reg_power; in handle_channel_adjacent_rules()
1932 chan->max_power = chan->max_reg_power; in handle_channel_adjacent_rules()
1934 chan->max_power = min(chan->orig_mpwr, in handle_channel_adjacent_rules()
1937 chan->max_power = chan->max_reg_power; in handle_channel_adjacent_rules()
2565 chan->max_reg_power = chan->max_power = in handle_channel_custom()
2575 chan->max_power = chan->max_reg_power; in handle_channel_custom()
[all …]
/linux-6.3-rc2/drivers/net/wireless/ti/wl12xx/
A Dscan.c46 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.3-rc2/drivers/net/wireless/mediatek/mt76/mt76x0/
A Dinit.c231 chan->max_power = min_t(int, chan->max_reg_power, in mt76x0_init_txpower()

Completed in 69 milliseconds

12345