Home
last modified time | relevance | path

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

12

/freebsd/sys/contrib/dev/mediatek/mt76/
H A Deeprom.c297 s8 target_power, s8 nss_delta, s8 *max_power) in mt76_apply_array_limit() argument
307 *max_power = max(*max_power, pwr[i]); in mt76_apply_array_limit()
314 s8 nss_delta, s8 *max_power) in mt76_apply_multi_array_limit() argument
328 target_power, nss_delta, max_power); in mt76_apply_multi_array_limit()
359 s8 max_power = 0; in mt76_get_rate_power_limits() local
404 target_power, txs_delta, &max_power); in mt76_get_rate_power_limits()
409 target_power, txs_delta, &max_power); in mt76_get_rate_power_limits()
414 target_power, txs_delta, &max_power); in mt76_get_rate_power_limits()
419 target_power, txs_delta, &max_power); in mt76_get_rate_power_limits()
422 return max_power; in mt76_get_rate_power_limits()
H A Dmac80211.c20 .max_power = 30, \
27 .max_power = 30, \
34 .max_power = 30, \
H A Dmt76_connac_mcu.c2052 int max_power = is_mt7921(dev) ? 127 : 63; in mt76_connac_mcu_build_sku() local
2055 memset(sku, max_power, MT_SKU_POWER_LIMIT); in mt76_connac_mcu_build_sku()
/freebsd/sys/dev/sff/
H A Dsfp_fdt.c53 uint32_t max_power; /* in mW */ member
109 (void)device_get_property(dev, "maximum-power-milliwatt", &sc->max_power, in sfp_fdt_attach()
110 sizeof(sc->max_power), DEVICE_PROP_UINT32); in sfp_fdt_attach()
/freebsd/sys/contrib/dev/iwlwifi/
H A Diwl-eeprom-parse.c
H A Diwl-nvm-parse.c470 * Default value - highest tx power value. max_power in iwl_init_channel_map()
473 channel->max_power = IWL_DEFAULT_MAX_TX_POWER; in iwl_init_channel_map()
490 channel->hw_value, channel->max_power); in iwl_init_vht_hw_capab()
/freebsd/sys/contrib/dev/mediatek/mt76/mt76x2/
H A Dinit.c200 chan->max_power = min_t(int, chan->max_reg_power, in mt76x2_init_txpower()
/freebsd/sys/contrib/dev/iwlwifi/pcie/
H A Dtrans.c193 u8 max_power) in iwl_pcie_alloc_fw_monitor_block()
207 for (power = max_power; power >= 11; power--) { in iwl_pcie_alloc_fw_monitor_block()
223 if (power != max_power) in iwl_pcie_alloc_fw_monitor_block()
227 (unsigned long)BIT(max_power - 10)); in iwl_pcie_alloc_fw_monitor_block()
234 void iwl_pcie_alloc_fw_monitor(struct iwl_trans *trans, u8 max_power)
236 if (!max_power) { in iwl_pcie_alloc_fw_monitor()
237 /* default max_power is maximum */ in iwl_pcie_alloc_fw_monitor()
238 max_power = 26; in iwl_pcie_alloc_fw_monitor()
240 max_power += 11; in iwl_pcie_alloc_fw_monitor()
243 if (WARN(max_power > 2 in iwl_pcie_alloc_fw_monitor()
194 iwl_pcie_alloc_fw_monitor_block(struct iwl_trans * trans,u8 max_power) iwl_pcie_alloc_fw_monitor_block() argument
235 iwl_pcie_alloc_fw_monitor(struct iwl_trans * trans,u8 max_power) iwl_pcie_alloc_fw_monitor() argument
[all...]
H A Dinternal.h1128 void iwl_pcie_alloc_fw_monitor(struct iwl_trans *trans, u8 max_power);
/freebsd/sys/dev/usb/
H A Dusb_device.c676 uint16_t max_power; in usbd_set_config_index() local
747 max_power = udev->parent_hub->hub->portpower; in usbd_set_config_index()
749 max_power = USB_MAX_POWER; in usbd_set_config_index()
752 if (power > max_power) { in usbd_set_config_index()
753 DPRINTFN(0, "power exceeded %d > %d\n", power, max_power); in usbd_set_config_index()
/freebsd/sys/contrib/dev/mediatek/mt76/mt7603/
H A Dinit.c480 chan->max_power = min_t(int, chan->max_reg_power, target_power); in mt7603_init_txpower()
/freebsd/sys/contrib/dev/athk/ath12k/
H A Dreg.c154 ch->maxpower = channel->max_power * 2; in ath12k_reg_update_chan_list()
H A Dmac.c24 .max_power = 30, \
33 .max_power = 30, \
42 .max_power = 30, \
839 arg.max_power = channel->max_power; in ath12k_mac_monitor_vdev_start()
5818 arg.max_power = chandef->chan->max_power * 2; in ath12k_mac_vdev_start_restart()
H A Dwmi.h2863 u32 max_power; member
H A Dwmi.c1005 chan->reg_info_1 = le32_encode_bits(arg->max_power, in ath12k_wmi_put_wmi_channel()
1012 le32_encode_bits(arg->max_power, WMI_CHAN_REG_INFO2_MAX_TX_PWR); in ath12k_wmi_put_wmi_channel()
/freebsd/sys/contrib/dev/athk/ath11k/
H A Dreg.c195 ch->maxpower = channel->max_power * 2; in ath11k_reg_update_chan_list()
H A Dmac.c33 .max_power = 30, \
42 .max_power = 30, \
51 .max_power = 30, \
944 arg.channel.max_power = channel->max_power; in ath11k_mac_monitor_vdev_start()
7212 arg.channel.max_power = chandef->chan->max_power; in ath11k_mac_vdev_start_restart()
/freebsd/sys/contrib/dev/mediatek/mt76/mt7615/
H A Dinit.c315 chan->max_power = min_t(int, chan->max_reg_power, in mt7615_init_txpower()
/freebsd/sys/contrib/dev/mediatek/mt76/mt7996/
H A Dinit.c125 chan->max_power = min_t(int, chan->max_reg_power, in mt7996_init_txpower()
/freebsd/sys/contrib/dev/athk/ath10k/
H A Dmac.c1062 arg.channel.max_power = channel->max_power * 2; in ath10k_monitor_vdev_start()
1508 arg.channel.max_power = chandef->chan->max_power * 2; in ath10k_vdev_start_restart()
3439 ch->max_power = channel->max_power * 2; in ath10k_update_channel_list()
3459 ch->freq, ch->max_power, ch->max_reg_power, in ath10k_update_channel_list()
9523 .max_power = 30, \
9532 .max_power = 30, \
H A Dwmi.h2061 u8 max_power; member
2089 u32 max_power; member
H A Dwmi.c1760 ch->max_power = arg->max_power; in ath10k_wmi_put_wmi_channel()
1763 ch->max_tx_power = arg->max_power; in ath10k_wmi_put_wmi_channel()
7313 cmd->chan.flags, arg->channel.max_power); in ath10k_wmi_op_gen_vdev_start()
/freebsd/sys/contrib/dev/mediatek/mt76/mt7915/
H A Dinit.c320 chan->max_power = min_t(int, chan->max_reg_power, in mt7915_init_txpower()
/freebsd/sys/compat/linuxkpi/common/include/net/
H A Dcfg80211.h131 int8_t max_power; /* ic_maxpower */
124 int8_t max_power; /* ic_maxpower */ global() member
/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_80211.c3353 lc->max_power = c->ic_maxpower; in lkpi_ic_scan_start()
4502 channels[i].max_power, in lkpi_ic_getradiocaps()
4572 channels[i].max_power, in lkpi_ic_getradiocaps()

12