Home
last modified time | relevance | path

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

1234

/kernel/linux/linux-5.10/drivers/thermal/
Dgov_power_allocator.c281 static void divvy_up_power(u32 *req_power, u32 *max_power, int num_actors, in divvy_up_power() argument
302 if (granted_power[i] > max_power[i]) { in divvy_up_power()
303 extra_power += granted_power[i] - max_power[i]; in divvy_up_power()
304 granted_power[i] = max_power[i]; in divvy_up_power()
307 extra_actor_power[i] = max_power[i] - granted_power[i]; in divvy_up_power()
330 u32 *req_power, *max_power, *granted_power, *extra_actor_power; in allocate_power() local
361 BUILD_BUG_ON(sizeof(*req_power) != sizeof(*max_power)); in allocate_power()
371 max_power = &req_power[num_actors]; in allocate_power()
401 if (power_actor_get_max_power(cdev, &max_power[i])) in allocate_power()
405 max_allocatable_power += max_power[i]; in allocate_power()
[all …]
Dthermal_core.h69 u32 *max_power);
/kernel/linux/linux-5.10/drivers/staging/wfx/
Dscan.c51 if (ch_cur->max_power != ch_start->max_power) in send_scan_req()
65 if (req->channels[start_idx]->max_power != wvif->vif->bss_conf.txpower) in send_scan_req()
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wlcore/
Dmain.c5906 { .hw_value = 1, .center_freq = 2412, .max_power = WLCORE_MAX_TXPWR },
5907 { .hw_value = 2, .center_freq = 2417, .max_power = WLCORE_MAX_TXPWR },
5908 { .hw_value = 3, .center_freq = 2422, .max_power = WLCORE_MAX_TXPWR },
5909 { .hw_value = 4, .center_freq = 2427, .max_power = WLCORE_MAX_TXPWR },
5910 { .hw_value = 5, .center_freq = 2432, .max_power = WLCORE_MAX_TXPWR },
5911 { .hw_value = 6, .center_freq = 2437, .max_power = WLCORE_MAX_TXPWR },
5912 { .hw_value = 7, .center_freq = 2442, .max_power = WLCORE_MAX_TXPWR },
5913 { .hw_value = 8, .center_freq = 2447, .max_power = WLCORE_MAX_TXPWR },
5914 { .hw_value = 9, .center_freq = 2452, .max_power = WLCORE_MAX_TXPWR },
5915 { .hw_value = 10, .center_freq = 2457, .max_power = WLCORE_MAX_TXPWR },
[all …]
Dscan.c206 channels[j].tx_power_att = req_channels[i]->max_power; in wlcore_scan_get_channels()
231 req_channels[i]->max_power, in wlcore_scan_get_channels()
/kernel/linux/linux-5.10/drivers/staging/vt6656/
Dchannel.c142 ch[i].max_power = VNT_RF_MAX_POWER; in vnt_init_bands()
156 ch[i].max_power = VNT_RF_MAX_POWER; in vnt_init_bands()
/kernel/linux/linux-5.10/drivers/misc/habanalabs/common/
Dsysfs.c93 pkt.value = cpu_to_le64(hdev->max_power); in hl_set_max_power()
334 hdev->max_power = value; in max_power_store()
382 static DEVICE_ATTR_RW(max_power);
446 hdev->max_power = hdev->asic_prop.max_power_default; in hl_sysfs_init()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/carl9170/
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()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
Dcommon-init.c25 .max_power = 20, \
32 .max_power = 20, \
/kernel/linux/linux-5.10/drivers/staging/vt6655/
Dchannel.c130 ch[i].max_power = 0x3f; in vnt_init_bands()
145 ch[i].max_power = 0x3f; in vnt_init_bands()
/kernel/linux/linux-5.10/drivers/net/wireless/st/cw1200/
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()
Dmain.c107 .max_power = 30, \
116 .max_power = 30, \
323 sband->channels[i].max_power = 30; in cw1200_init_common()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlegacy/
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 …]
/kernel/linux/linux-5.10/include/linux/
Dmaple.h65 unsigned short max_power; member
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/
Diwl-eeprom-parse.c406 if (chan->max_power < max_txpower_avg && in iwl_eeprom_enh_txp_read_element()
408 chan->max_power = max_txpower_avg; in iwl_eeprom_enh_txp_read_element()
625 channel->max_power = in iwl_init_channel_map()
665 data->channels[i].max_power * 2); in iwl_init_channel_map()
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/p54/
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()
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/
Dsta_cmdresp.c337 int length, max_power = -1, min_power = -1; in mwifiex_get_power_level() local
353 max_power = pg->power_max; in mwifiex_get_power_level()
359 if (max_power < pg->power_max) in mwifiex_get_power_level()
360 max_power = pg->power_max; in mwifiex_get_power_level()
368 priv->max_tx_power_level = (u8) max_power; in mwifiex_get_power_level()
444 priv->max_tx_power_level = txp->max_power; in mwifiex_ret_rf_tx_power()
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt76x2/
Dinit.c171 chan->max_power = min_t(int, chan->max_reg_power, in mt76x2_init_txpower()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dsmu.h625 __u16 max_power; member
/kernel/linux/linux-5.10/net/wireless/
Dreg.c1779 chan->max_reg_power = chan->max_power = chan->orig_mpwr = in handle_channel_single_rule()
1815 chan->max_power = chan->max_reg_power; in handle_channel_single_rule()
1817 chan->max_power = min(chan->orig_mpwr, in handle_channel_single_rule()
1820 chan->max_power = chan->max_reg_power; in handle_channel_single_rule()
1866 chan->max_power = chan->max_reg_power; in handle_channel_adjacent_rules()
1924 chan->max_power = chan->max_reg_power; in handle_channel_adjacent_rules()
1926 chan->max_power = min(chan->orig_mpwr, in handle_channel_adjacent_rules()
1929 chan->max_power = chan->max_reg_power; in handle_channel_adjacent_rules()
2524 chan->max_reg_power = chan->max_power = in handle_channel_custom()
2534 chan->max_power = chan->max_reg_power; in handle_channel_custom()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/intel/ipw2x00/
Dlibipw_geo.c155 .max_power = 0,
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/pcie/
Dtrans.c207 u8 max_power, u8 min_power) in iwl_pcie_alloc_fw_monitor_block() argument
218 for (power = max_power; power >= min_power; power--) { in iwl_pcie_alloc_fw_monitor_block()
234 if (power != max_power) in iwl_pcie_alloc_fw_monitor_block()
238 (unsigned long)BIT(max_power - 10)); in iwl_pcie_alloc_fw_monitor_block()
245 void iwl_pcie_alloc_fw_monitor(struct iwl_trans *trans, u8 max_power) in iwl_pcie_alloc_fw_monitor() argument
247 if (!max_power) { in iwl_pcie_alloc_fw_monitor()
249 max_power = 26; in iwl_pcie_alloc_fw_monitor()
251 max_power += 11; in iwl_pcie_alloc_fw_monitor()
254 if (WARN(max_power > 26, in iwl_pcie_alloc_fw_monitor()
256 max_power)) in iwl_pcie_alloc_fw_monitor()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wl12xx/
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()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/wcn36xx/
Dwcn36xx.h95 #define WCN36XX_MAX_POWER(__wcn) (__wcn->hw->conf.chandef.chan->max_power)
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt76x0/
Dinit.c231 chan->max_power = min_t(int, chan->max_reg_power, in mt76x0_init_txpower()

1234