/freebsd/sys/contrib/dev/rtw89/ |
H A D | rtw8852c_rfk.c | 1912 dpk->bp[path][kidx].bw = chan->band_width; in _dpk_information() 3800 enum rtw89_bandwidth bw, bool is_dav) in _bw_setting() argument 3814 switch (bw) { in _bw_setting() 3845 enum rtw89_bandwidth bw) in _ctrl_bw() argument 3859 _bw_setting(rtwdev, path, bw, is_dav); in _ctrl_bw() 3861 _bw_setting(rtwdev, path, bw, is_dav); in _ctrl_bw() 3939 enum rtw89_bandwidth bw) in _rxbb_bw() argument 3952 switch (bw) { in _rxbb_bw() 4038 enum rtw89_bandwidth bw) in rtw8852c_ctrl_bw_ch() argument 4041 _ctrl_bw(rtwdev, phy, bw); in rtw8852c_ctrl_bw_ch() [all …]
|
H A D | phy.c | 868 u8 bw:4; member 922 u8 bw = arg.bw; in rtw89_phy_cfg_bb_rpl_ofst() local 929 switch (bw) { in rtw89_phy_cfg_bb_rpl_ofst() 993 arg.addr, data, bw); in rtw89_phy_cfg_bb_rpl_ofst() 1708 bw, ntx, \ 1885 u8 bw = chan->band_width; in rtw89_phy_fill_txpwr_limit() local 1889 switch (bw) { in rtw89_phy_fill_txpwr_limit() 2077 u8 bw = chan->band_width; in rtw89_phy_fill_txpwr_limit_ru() local 2081 switch (bw) { in rtw89_phy_fill_txpwr_limit_ru() 2194 u8 bw = chan->band_width; in rtw89_phy_set_txpwr_limit() local [all …]
|
H A D | coex.c | 2315 bw = r->bw; in _set_bt_afh_info() 2321 bw = r1->bw; in _set_bt_afh_info() 2327 bw = r2->bw; in _set_bt_afh_info() 2342 bw = r->bw; in _set_bt_afh_info() 2347 bw = r1->bw; in _set_bt_afh_info() 2352 bw = r2->bw; in _set_bt_afh_info() 2358 switch (bw) { in _set_bt_afh_info() 2372 bw = 0; in _set_bt_afh_info() 2379 wl->afh_info.bw == bw && in _set_bt_afh_info() 2389 wl->afh_info.bw = bw; in _set_bt_afh_info() [all …]
|
/freebsd/contrib/bearssl/src/int/ |
H A D | i62_modpow2.c | 131 uint64_t aw, bw, dw; in i62_sub() local 134 bw = b[u]; in i62_sub() 135 dw = aw - bw - cc; in i62_sub()
|
/freebsd/sys/dev/aac/ |
H A D | aac.c | 1262 struct aac_blockwrite *bw; in aac_bio_command() local 1264 bw->Command = VM_CtBlockWrite; in aac_bio_command() 1266 bw->BlockNumber = bp->bio_pblkno; in aac_bio_command() 1267 bw->ByteCount = bp->bio_bcount; in aac_bio_command() 1268 bw->Stable = CUNSTABLE; in aac_bio_command() 1271 cm->cm_sgtable = &bw->SgMap; in aac_bio_command() 1288 struct aac_blockwrite64 *bw; in aac_bio_command() local 1290 bw->Command = VM_CtHostWrite64; in aac_bio_command() 1293 bw->BlockNumber = bp->bio_pblkno; in aac_bio_command() 1294 bw->Pad = 0; in aac_bio_command() [all …]
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7915/ |
H A D | testmode.h | 62 u8 bw; member
|
H A D | mcu.c | 1226 bf->bw = sta->deflink.bandwidth; in mt7915_mcu_sta_bfer_tlv() 1506 ra->bw = sta->deflink.bandwidth; in mt7915_mcu_sta_rate_ctrl_tlv() 1507 ra->phy.bw = sta->deflink.bandwidth; in mt7915_mcu_sta_rate_ctrl_tlv() 2699 u8 bw; in mt7915_mcu_set_chan_info() member 2958 if (bw == NL80211_CHAN_WIDTH_80P80 || bw == NL80211_CHAN_WIDTH_160) in mt7915_dpd_freq_idx() 2961 if (bw != NL80211_CHAN_WIDTH_20) { in mt7915_dpd_freq_idx() 3696 switch (res->bw) { in mt7915_mcu_get_rx_rate() 3698 rate->bw = RATE_INFO_BW_160; in mt7915_mcu_get_rx_rate() 3701 rate->bw = RATE_INFO_BW_80; in mt7915_mcu_get_rx_rate() 3704 rate->bw = RATE_INFO_BW_40; in mt7915_mcu_get_rx_rate() [all …]
|
H A D | mcu.h | 112 u8 bw; member 163 u8 bw; member
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7921/ |
H A D | mcu.h | 23 u8 bw; member
|
H A D | mcu.c | 606 u8 bw; in mt7921_mcu_set_roc() member 626 .bw = CMD_CBW_20MHZ, in mt7921_mcu_set_roc() 693 u8 bw; in mt7921_mcu_set_chan_info() member 710 .bw = mt76_connac_chan_bw(chandef), in mt7921_mcu_set_chan_info() 1014 u8 bw; in mt7921_mcu_config_sniffer() member 1037 req.tlv.bw = ch_width[chandef->width]; in mt7921_mcu_config_sniffer()
|
/freebsd/sys/contrib/dev/mediatek/mt76/ |
H A D | mt76x02_mac.c | 183 u8 phy, rate_idx, nss, bw = 0; in mt76x02_mac_tx_rate_val() local 191 bw = 2; in mt76x02_mac_tx_rate_val() 193 bw = 1; in mt76x02_mac_tx_rate_val() 201 bw = 1; in mt76x02_mac_tx_rate_val() 220 rateval |= FIELD_PREP(MT_RXWI_RATE_BW, bw); in mt76x02_mac_tx_rate_val() 717 status->bw = RATE_INFO_BW_40; in mt76x02_mac_process_rate() 720 status->bw = RATE_INFO_BW_80; in mt76x02_mac_process_rate()
|
/freebsd/sbin/ipfw/ |
H A D | dummynet.c | 820 uint64_t bw; in read_bandwidth() local 823 bw = strtoul(arg, &end, 0); in read_bandwidth() 826 bw *= 1000; in read_bandwidth() 829 bw *= 1000000; in read_bandwidth() 832 bw *= 1000000000; in read_bandwidth() 837 bw *= 8; in read_bandwidth() 839 if (bw > UINT_MAX) in read_bandwidth() 842 *bandwidth = (uint32_t)bw; in read_bandwidth()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86InstrExtension.td | 40 "movs{bw|x}\t{$src, $dst|$dst, $src}", []>, 44 "movs{bw|x}\t{$src, $dst|$dst, $src}", []>, 66 "movz{bw|x}\t{$src, $dst|$dst, $src}", []>, 70 "movz{bw|x}\t{$src, $dst|$dst, $src}", []>,
|
/freebsd/usr.bin/sdiotool/ |
H A D | cam_sdio.h | 93 int sdio_card_set_bus_width(struct cam_device *dev, enum mmc_bus_width bw);
|
H A D | cam_sdio.c | 295 sdio_card_set_bus_width(struct cam_device *dev, enum mmc_bus_width bw) { in sdio_card_set_bus_width() argument 304 switch (bw) { in sdio_card_set_bus_width()
|
/freebsd/sys/contrib/dev/rtw88/ |
H A D | fw.c | 75 u8 mac_id, rate, sgi, bw; in rtw_fw_ra_report_iter() local 87 bw = GET_RA_REPORT_BW(ra_data->payload); in rtw_fw_ra_report_iter() 108 if (bw == RTW_CHANNEL_WIDTH_80) in rtw_fw_ra_report_iter() 109 si->ra_report.txrate.bw = RATE_INFO_BW_80; in rtw_fw_ra_report_iter() 110 else if (bw == RTW_CHANNEL_WIDTH_40) in rtw_fw_ra_report_iter() 111 si->ra_report.txrate.bw = RATE_INFO_BW_40; in rtw_fw_ra_report_iter() 113 si->ra_report.txrate.bw = RATE_INFO_BW_20; in rtw_fw_ra_report_iter() 539 void rtw_fw_wl_ch_info(struct rtw_dev *rtwdev, u8 link, u8 ch, u8 bw) in rtw_fw_wl_ch_info() argument 547 SET_WL_CH_INFO_BW(h2c_pkt, bw); in rtw_fw_wl_ch_info() 2027 CH_INFO_SET_BW(chan, info->bw); in rtw_add_chan_info() [all …]
|
H A D | main.c | 960 u8 bw = 0; in hw_bw_cap_to_bitamp() local 965 bw |= BIT(RTW_CHANNEL_WIDTH_80); in hw_bw_cap_to_bitamp() 968 bw |= BIT(RTW_CHANNEL_WIDTH_40); in hw_bw_cap_to_bitamp() 971 bw |= BIT(RTW_CHANNEL_WIDTH_20); in hw_bw_cap_to_bitamp() 975 return bw; in hw_bw_cap_to_bitamp() 1576 if (efuse->hw_cap.bw & BIT(RTW_CHANNEL_WIDTH_40)) in rtw_init_ht_cap() 1939 u8 bw; in rtw_dump_hw_feature() local 1953 bw = GET_EFUSE_HW_CAP_BW(hw_feature); in rtw_dump_hw_feature() 1954 efuse->hw_cap.bw = hw_bw_cap_to_bitamp(bw); in rtw_dump_hw_feature() 1968 efuse->hw_cap.hci, efuse->hw_cap.bw, efuse->hw_cap.ptcl, in rtw_dump_hw_feature()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/ |
H A D | MSP430InstrFormats.td | 46 class IForm<bits<4> opcode, DestMode ad, bit bw, SourceMode as, int size, 57 let Inst{6} = bw; 317 class IIForm<bits<3> opcode, bit bw, SourceMode as, int size, 326 let Inst{6} = bw;
|
/freebsd/contrib/bearssl/T0/ |
H A D | T0Comp.cs | 1774 BlobWriter bw; in Generate() 1778 bw = new BlobWriter(tw, 78, 1); in Generate() 1779 bw.Append((byte)0); in Generate() 1781 cd.Encode(bw); in Generate() 1789 bw = new BlobWriter(tw, 78, 1); in Generate() 1791 ce.Encode(bw, oneByteCode); in Generate()
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7615/ |
H A D | usb_sdio.c | 76 w27 |= FIELD_PREP(MT_WTBL_W27_CC_BW_SEL, rate->bw); in mt7663_usb_sdio_set_rates() 83 w5 |= FIELD_PREP(MT_WTBL_W5_BW_CAP, rate->bw) | in mt7663_usb_sdio_set_rates()
|
H A D | mcu.c | 2126 u8 bw; in mt7615_mcu_set_chan_info() member 2161 req.bw = mt7615_mcu_chan_bw(chandef); in mt7615_mcu_set_chan_info() 2233 static int mt7615_dcoc_freq_idx(u16 freq, u8 bw) in mt7615_dcoc_freq_idx() argument 2266 switch (bw) { in mt7615_dcoc_freq_idx() 2311 u8 bw; in mt7615_mcu_apply_rx_dcoc() member 2329 .bw = mt7615_mcu_chan_bw(chandef), in mt7615_mcu_apply_rx_dcoc() 2371 static int mt7615_dpd_freq_idx(u16 freq, u8 bw) in mt7615_dpd_freq_idx() argument 2398 if (bw != NL80211_CHAN_WIDTH_20) { in mt7615_dpd_freq_idx() 2426 u8 bw; in mt7615_mcu_apply_tx_dpd() member 2450 .bw = mt7615_mcu_chan_bw(chandef), in mt7615_mcu_apply_tx_dpd()
|
/freebsd/sys/contrib/dev/athk/ath10k/ |
H A D | mac.c | 6755 bw = arsta->bw; in ath10k_sta_rc_update_wk() 8534 u32 bw, smps; in ath10k_sta_rc_update() local 8575 arsta->bw = bw; in ath10k_sta_rc_update() 9163 u8 *flags, u8 *bw) in ath10k_mac_get_rate_flags_ht() argument 9193 *bw = RATE_INFO_BW_20; in ath10k_mac_get_rate_flags_ht() 9224 *bw = RATE_INFO_BW_80; in ath10k_mac_get_rate_flags_vht() 9226 *bw = RATE_INFO_BW_80; in ath10k_mac_get_rate_flags_vht() 9229 *bw = RATE_INFO_BW_40; in ath10k_mac_get_rate_flags_vht() 9264 u8 flags = 0, bw = 0; in ath10k_mac_parse_bitrate() local 9281 rate->bw = bw; in ath10k_mac_parse_bitrate() [all …]
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7996/ |
H A D | mcu.c | 563 ch->bw = mt76_connac_chan_bw(chandef); in mt7996_mcu_bss_rfch_tlv() 1361 u8 nss_mcs = u8_get_bits(eht_nss->bw._80.rx_tx_mcs9_max_nss, in mt7996_mcu_sta_bfer_eht() 1385 nss_mcs = u8_get_bits(eht_nss->bw._160.rx_tx_mcs9_max_nss, in mt7996_mcu_sta_bfer_eht() 1396 nss_mcs = u8_get_bits(eht_nss->bw._320.rx_tx_mcs9_max_nss, in mt7996_mcu_sta_bfer_eht() 1450 bf->bw = sta->deflink.bandwidth; in mt7996_mcu_sta_bfer_tlv() 1661 ra->bw = (sta->deflink.bandwidth == IEEE80211_STA_RX_BW_320) ? in mt7996_mcu_sta_rate_ctrl_tlv() 1663 ra->phy.bw = ra->bw; in mt7996_mcu_sta_rate_ctrl_tlv() 2869 req.bw = mt76_connac_chan_bw(&mphy->chandef); in mt7996_mcu_background_chain_ctrl() 2888 req.bw = mt76_connac_chan_bw(&mphy->chandef); in mt7996_mcu_background_chain_ctrl() 2958 u8 bw; in mt7996_mcu_set_chan_info() member [all …]
|
/freebsd/sys/contrib/dev/athk/ath12k/ |
H A D | dp_rx.c | 1347 u8 flags, mcs, nss, bw, sgi, dcm, rate_idx = 0; in ath12k_update_per_peer_tx_stats() local 1378 bw = HTT_USR_RATE_BW(user_rate->rate_flags) - 2; in ath12k_update_per_peer_tx_stats() 1461 arsta->txrate.bw = ath12k_mac_bw_to_mac80211_bw(bw); in ath12k_update_per_peer_tx_stats() 2288 u8 bw; in ath12k_dp_rx_h_rate() local 2294 bw = ath12k_dp_rx_h_rx_bw(ab, rx_desc); in ath12k_dp_rx_h_rate() 2318 rx_status->bw = ath12k_mac_bw_to_mac80211_bw(bw); in ath12k_dp_rx_h_rate() 2332 rx_status->bw = ath12k_mac_bw_to_mac80211_bw(bw); in ath12k_dp_rx_h_rate() 2345 rx_status->bw = ath12k_mac_bw_to_mac80211_bw(bw); in ath12k_dp_rx_h_rate() 2362 rx_status->bw = RATE_INFO_BW_20; in ath12k_dp_rx_h_ppdu() 2444 (status->bw == RATE_INFO_BW_40) ? "40" : "", in ath12k_dp_rx_deliver_msdu() [all …]
|
/freebsd/sys/contrib/dev/iwlwifi/ |
H A D | iwl-nvm-parse.c | 715 .bw._80 = { 720 .bw._160 = { 725 .bw._320 = { 811 .bw._80 = { 816 .bw._160 = { 821 .bw._320 = {
|