/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | mcs.h | 134 struct mcs { struct 156 void (*mcs_set_hw_capabilities)(struct mcs *mcs); argument 157 void (*mcs_parser_cfg)(struct mcs *mcs); 158 void (*mcs_tx_sa_mem_map_write)(struct mcs *mcs, struct mcs_tx_sc_sa_map *map); 159 void (*mcs_rx_sa_mem_map_write)(struct mcs *mcs, struct mcs_rx_sc_sa_map *map); 160 void (*mcs_flowid_secy_map)(struct mcs *mcs, struct secy_mem_map *map, int dir); 161 void (*mcs_bbe_intr_handler)(struct mcs *mcs, u64 intr, enum mcs_direction dir); 162 void (*mcs_pab_intr_handler)(struct mcs *mcs, u64 intr, enum mcs_direction dir); 167 static inline void mcs_reg_write(struct mcs *mcs, u64 offset, u64 val) in mcs_reg_write() argument 169 writeq(val, mcs->reg_base + offset); in mcs_reg_write() [all …]
|
H A D | mcs.c | 27 void mcs_get_tx_secy_stats(struct mcs *mcs, struct mcs_secy_stats *stats, int id) in mcs_get_tx_secy_stats() argument 32 stats->ctl_pkt_bcast_cnt = mcs_reg_read(mcs, reg); in mcs_get_tx_secy_stats() 35 stats->ctl_pkt_mcast_cnt = mcs_reg_read(mcs, reg); in mcs_get_tx_secy_stats() 38 stats->ctl_octet_cnt = mcs_reg_read(mcs, reg); in mcs_get_tx_secy_stats() 41 stats->ctl_pkt_ucast_cnt = mcs_reg_read(mcs, reg); in mcs_get_tx_secy_stats() 44 stats->unctl_pkt_bcast_cnt = mcs_reg_read(mcs, reg); in mcs_get_tx_secy_stats() 47 stats->unctl_pkt_mcast_cnt = mcs_reg_read(mcs, reg); in mcs_get_tx_secy_stats() 50 stats->unctl_octet_cnt = mcs_reg_read(mcs, reg); in mcs_get_tx_secy_stats() 53 stats->unctl_pkt_ucast_cnt = mcs_reg_read(mcs, reg); in mcs_get_tx_secy_stats() 56 stats->octet_encrypted_cnt = mcs_reg_read(mcs, reg); in mcs_get_tx_secy_stats() [all …]
|
H A D | mcs_rvu_if.c | 38 struct mcs *mcs; in rvu_mcs_ptp_cfg() local 52 mcs = mcs_get_pdata(rpm_id); in rvu_mcs_ptp_cfg() 53 cfg = mcs_reg_read(mcs, MCSX_PEX_RX_SLAVE_PEX_CONFIGURATION); in rvu_mcs_ptp_cfg() 58 mcs_reg_write(mcs, MCSX_PEX_RX_SLAVE_PEX_CONFIGURATION, cfg); in rvu_mcs_ptp_cfg() 62 mcs = mcs_get_pdata(0); in rvu_mcs_ptp_cfg() 64 cfg = mcs_reg_read(mcs, MCSX_PEX_RX_SLAVE_PORT_CFGX(port)); in rvu_mcs_ptp_cfg() 69 mcs_reg_write(mcs, MCSX_PEX_RX_SLAVE_PORT_CFGX(port), cfg); in rvu_mcs_ptp_cfg() 76 struct mcs *mcs; in rvu_mbox_handler_mcs_set_lmac_mode() local 81 mcs = mcs_get_pdata(req->mcs_id); in rvu_mbox_handler_mcs_set_lmac_mode() 83 if (BIT_ULL(req->lmac_id) & mcs->hw->lmac_bmap) in rvu_mbox_handler_mcs_set_lmac_mode() [all …]
|
H A D | mcs_cnf10kb.c | 25 void cnf10kb_mcs_set_hw_capabilities(struct mcs *mcs) in cnf10kb_mcs_set_hw_capabilities() argument 27 struct hwinfo *hw = mcs->hw; in cnf10kb_mcs_set_hw_capabilities() 39 void cnf10kb_mcs_parser_cfg(struct mcs *mcs) in cnf10kb_mcs_parser_cfg() argument 47 mcs_reg_write(mcs, reg, val); in cnf10kb_mcs_parser_cfg() 50 mcs_reg_write(mcs, reg, val); in cnf10kb_mcs_parser_cfg() 57 mcs_reg_write(mcs, reg, val); in cnf10kb_mcs_parser_cfg() 61 mcs_reg_write(mcs, reg, val); in cnf10kb_mcs_parser_cfg() 67 mcs_reg_write(mcs, reg, val); in cnf10kb_mcs_parser_cfg() 70 mcs_reg_write(mcs, reg, val); in cnf10kb_mcs_parser_cfg() 73 void cnf10kb_mcs_flowid_secy_map(struct mcs *mcs, struct secy_mem_map *map, int dir) in cnf10kb_mcs_flowid_secy_map() argument [all …]
|
H A D | mcs_reg.h | 18 if (mcs->hw->mcs_blks > 1) \ 28 if (mcs->hw->mcs_blks > 1) \ 37 if (mcs->hw->mcs_blks > 1) \ 45 if (mcs->hw->mcs_blks > 1) \ 54 if (mcs->hw->mcs_blks > 1) \ 62 if (mcs->hw->mcs_blks > 1) \ 71 if (mcs->hw->mcs_blks > 1) \ 79 if (mcs->hw->mcs_blks > 1) \ 88 if (mcs->hw->mcs_blks > 1) \ 105 if (mcs->hw->mcs_blks > 1) \ [all …]
|
H A D | rvu_debugfs.c | 230 struct mcs *mcs = filp->private; in rvu_dbg_mcs_port_stats_display() local 235 mutex_lock(&mcs->stats_lock); in rvu_dbg_mcs_port_stats_display() 236 for_each_set_bit(lmac, &mcs->hw->lmac_bmap, mcs->hw->lmac_cnt) { in rvu_dbg_mcs_port_stats_display() 237 mcs_get_port_stats(mcs, &stats, lmac, dir); in rvu_dbg_mcs_port_stats_display() 241 if (dir == MCS_RX && mcs->hw->mcs_blks > 1) in rvu_dbg_mcs_port_stats_display() 248 mutex_unlock(&mcs->stats_lock); in rvu_dbg_mcs_port_stats_display() 268 struct mcs *mcs = filp->private; in rvu_dbg_mcs_sa_stats_display() local 274 map = &mcs->tx.sa; in rvu_dbg_mcs_sa_stats_display() 275 mutex_lock(&mcs->stats_lock); in rvu_dbg_mcs_sa_stats_display() 276 for_each_set_bit(sa_id, map->bmap, mcs->hw->sa_entries) { in rvu_dbg_mcs_sa_stats_display() [all …]
|
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
H A D | rate.h | 56 static inline u8 mcs_2_txstreams(u8 mcs) in mcs_2_txstreams() argument 58 return (mcs_table[mcs].tx_phy_ctl3 & MCS_TXS_MASK) >> MCS_TXS_SHIFT; in mcs_2_txstreams() 61 static inline uint mcs_2_rate(u8 mcs, bool is40, bool sgi) in mcs_2_rate() argument 65 return mcs_table[mcs].phy_rate_40_sgi; in mcs_2_rate() 66 return mcs_table[mcs].phy_rate_20_sgi; in mcs_2_rate() 69 return mcs_table[mcs].phy_rate_40; in mcs_2_rate() 71 return mcs_table[mcs].phy_rate_20; in mcs_2_rate() 190 static inline bool is_single_stream(u8 mcs) in is_single_stream() argument 192 return mcs <= HIGHEST_SINGLE_STREAM_MCS || mcs == 32; in is_single_stream()
|
H A D | rate.c | 294 rs->mcs[i] = 0; in brcms_c_rateset_mcs_upd() 334 rs->mcs[i] = (rs->mcs[i] & hw_rs->mcs[i]); in brcms_c_rate_hwrs_filter_sort_validate() 432 memcpy(&dst->mcs[0], &src->mcs[0], MCSSET_LEN); in brcms_c_rateset_filter() 498 rateset->mcs[i] = 0; in brcms_c_rateset_mcs_clear() 503 memcpy(&rateset->mcs[0], &cck_ofdm_mimo_rates.mcs[0], MCSSET_LEN); in brcms_c_rateset_mcs_build() 511 setbit(rateset->mcs, 32); in brcms_c_rateset_bw_mcs_filter() 513 clrbit(rateset->mcs, 32); in brcms_c_rateset_bw_mcs_filter()
|
H A D | ampdu.c | 154 u32 rate, mcs; in brcms_c_scb_ampdu_update_max_txlen() local 156 for (mcs = 0; mcs < MCS_TABLE_SIZE; mcs++) { in brcms_c_scb_ampdu_update_max_txlen() 159 rate = mcs_2_rate(mcs, false, false); in brcms_c_scb_ampdu_update_max_txlen() 160 ampdu->max_txlen[mcs][0][0] = (rate * dur) >> 3; in brcms_c_scb_ampdu_update_max_txlen() 162 rate = mcs_2_rate(mcs, true, false); in brcms_c_scb_ampdu_update_max_txlen() 163 ampdu->max_txlen[mcs][1][0] = (rate * dur) >> 3; in brcms_c_scb_ampdu_update_max_txlen() 165 rate = mcs_2_rate(mcs, false, true); in brcms_c_scb_ampdu_update_max_txlen() 166 ampdu->max_txlen[mcs][0][1] = (rate * dur) >> 3; in brcms_c_scb_ampdu_update_max_txlen() 168 rate = mcs_2_rate(mcs, true, true); in brcms_c_scb_ampdu_update_max_txlen() 169 ampdu->max_txlen[mcs][1][1] = (rate * dur) >> 3; in brcms_c_scb_ampdu_update_max_txlen() [all …]
|
/openbmc/linux/sound/soc/codecs/ |
H A D | adau1977.c | 266 unsigned int mcs; in adau1977_lookup_mcs() local 279 mcs = adau1977->sysclk / rate; in adau1977_lookup_mcs() 282 if (mcs < 1 || mcs > 6 || mcs == 5) in adau1977_lookup_mcs() 285 mcs = mcs - 1; in adau1977_lookup_mcs() 286 if (mcs == 5) in adau1977_lookup_mcs() 287 mcs = 4; in adau1977_lookup_mcs() 289 return mcs; in adau1977_lookup_mcs() 301 int mcs, fs; in adau1977_hw_params() local 309 mcs = adau1977_lookup_mcs(adau1977, rate, fs); in adau1977_hw_params() 310 if (mcs < 0) in adau1977_hw_params() [all …]
|
/openbmc/linux/drivers/net/wireless/ath/ath11k/ |
H A D | debugfs_sta.c | 22 int gi, mcs, bw, nss; in ath11k_debugfs_sta_add_tx_stats() local 29 mcs = txrate->mcs; in ath11k_debugfs_sta_add_tx_stats() 36 STATS_OP_FMT(SUCC).he[0][mcs] += peer_stats->succ_bytes; in ath11k_debugfs_sta_add_tx_stats() 37 STATS_OP_FMT(SUCC).he[1][mcs] += peer_stats->succ_pkts; in ath11k_debugfs_sta_add_tx_stats() 38 STATS_OP_FMT(FAIL).he[0][mcs] += peer_stats->failed_bytes; in ath11k_debugfs_sta_add_tx_stats() 39 STATS_OP_FMT(FAIL).he[1][mcs] += peer_stats->failed_pkts; in ath11k_debugfs_sta_add_tx_stats() 40 STATS_OP_FMT(RETRY).he[0][mcs] += peer_stats->retry_bytes; in ath11k_debugfs_sta_add_tx_stats() 41 STATS_OP_FMT(RETRY).he[1][mcs] += peer_stats->retry_pkts; in ath11k_debugfs_sta_add_tx_stats() 43 STATS_OP_FMT(SUCC).vht[0][mcs] += peer_stats->succ_bytes; in ath11k_debugfs_sta_add_tx_stats() 44 STATS_OP_FMT(SUCC).vht[1][mcs] += peer_stats->succ_pkts; in ath11k_debugfs_sta_add_tx_stats() [all …]
|
/openbmc/linux/arch/x86/xen/ |
H A D | mmu_pv.c | 192 struct multicall_space mcs; in xen_extend_mmu_update() local 195 mcs = xen_mc_extend_args(__HYPERVISOR_mmu_update, sizeof(*u)); in xen_extend_mmu_update() 197 if (mcs.mc != NULL) { in xen_extend_mmu_update() 198 mcs.mc->args[1]++; in xen_extend_mmu_update() 200 mcs = __xen_mc_entry(sizeof(*u)); in xen_extend_mmu_update() 201 MULTI_mmu_update(mcs.mc, mcs.args, 1, NULL, DOMID_SELF); in xen_extend_mmu_update() 204 u = mcs.args; in xen_extend_mmu_update() 210 struct multicall_space mcs; in xen_extend_mmuext_op() local 213 mcs = xen_mc_extend_args(__HYPERVISOR_mmuext_op, sizeof(*u)); in xen_extend_mmuext_op() 215 if (mcs.mc != NULL) { in xen_extend_mmuext_op() [all …]
|
/openbmc/linux/net/mac80211/ |
H A D | ht.c | 69 scaps = (u8 *)(&ht_capa->mcs.rx_mask); in ieee80211_apply_htcap_overrides() 70 smask = (u8 *)(&ht_capa_mask->mcs.rx_mask); in ieee80211_apply_htcap_overrides() 81 ht_cap->mcs.rx_mask[i] &= ~m; /* turn off all masked bits */ in ieee80211_apply_htcap_overrides() 83 ht_cap->mcs.rx_mask[i] |= (m & scaps[i]); in ieee80211_apply_htcap_overrides() 201 tx_mcs_set_cap = own_cap.mcs.tx_params; in ieee80211_ht_cap_ie_to_sta_ht_cap() 204 ht_cap.mcs.tx_params = ht_cap_ie->mcs.tx_params; in ieee80211_ht_cap_ie_to_sta_ht_cap() 226 ht_cap.mcs.rx_mask[i] = in ieee80211_ht_cap_ie_to_sta_ht_cap() 227 own_cap.mcs.rx_mask[i] & ht_cap_ie->mcs.rx_mask[i]; in ieee80211_ht_cap_ie_to_sta_ht_cap() 232 ht_cap.mcs.rx_mask[i] = in ieee80211_ht_cap_ie_to_sta_ht_cap() 233 own_cap.mcs.rx_mask[i] & in ieee80211_ht_cap_ie_to_sta_ht_cap() [all …]
|
/openbmc/linux/drivers/net/wireless/marvell/mwifiex/ |
H A D | 11ac.c | 46 u8 i, nss, mcs; in mwifiex_convert_mcsmap_to_maxrate() local 59 mcs = GET_VHTNSSMCS(mcs_map, i); in mwifiex_convert_mcsmap_to_maxrate() 60 if (mcs < IEEE80211_VHT_MCS_NOT_SUPPORTED) in mwifiex_convert_mcsmap_to_maxrate() 63 mcs = GET_VHTNSSMCS(mcs_map, nss); in mwifiex_convert_mcsmap_to_maxrate() 66 if (mcs == IEEE80211_VHT_MCS_NOT_SUPPORTED) in mwifiex_convert_mcsmap_to_maxrate() 67 mcs = IEEE80211_VHT_MCS_SUPPORT_0_9; in mwifiex_convert_mcsmap_to_maxrate() 71 max_rate = max_rate_lgi_160MHZ[nss - 1][mcs]; in mwifiex_convert_mcsmap_to_maxrate() 74 max_rate = max_rate_lgi_160MHZ[nss - 1][mcs - 1]; in mwifiex_convert_mcsmap_to_maxrate() 76 max_rate = max_rate_lgi_80MHZ[nss - 1][mcs]; in mwifiex_convert_mcsmap_to_maxrate() 79 max_rate = max_rate_lgi_80MHZ[nss - 1][mcs - 1]; in mwifiex_convert_mcsmap_to_maxrate()
|
/openbmc/qemu/hw/misc/macio/ |
H A D | cuda.c | 70 MOS6522CUDAState *mcs = container_of(s, MOS6522CUDAState, parent_obj); in cuda_get_counter_value() local 71 CUDAState *cs = container_of(mcs, CUDAState, mos6522_cuda); in cuda_get_counter_value() 83 MOS6522CUDAState *mcs = container_of(s, MOS6522CUDAState, parent_obj); in cuda_get_load_time() local 84 CUDAState *cs = container_of(mcs, CUDAState, mos6522_cuda); in cuda_get_load_time() 94 MOS6522CUDAState *mcs = &s->mos6522_cuda; in cuda_set_sr_int() local 95 MOS6522State *ms = MOS6522(mcs); in cuda_set_sr_int() 114 MOS6522CUDAState *mcs = &s->mos6522_cuda; in cuda_update() local 115 MOS6522State *ms = MOS6522(mcs); in cuda_update() 458 MOS6522CUDAState *mcs = &s->mos6522_cuda; in mos6522_cuda_read() local 459 MOS6522State *ms = MOS6522(mcs); in mos6522_cuda_read() [all …]
|
/openbmc/linux/drivers/net/wireless/realtek/rtw88/ |
H A D | util.c | 82 void rtw_desc_to_mcsrate(u16 rate, u8 *mcs, u8 *nss) in rtw_desc_to_mcsrate() argument 90 *mcs = rate - DESC_RATEVHT1SS_MCS0; in rtw_desc_to_mcsrate() 94 *mcs = rate - DESC_RATEVHT2SS_MCS0; in rtw_desc_to_mcsrate() 98 *mcs = rate - DESC_RATEVHT3SS_MCS0; in rtw_desc_to_mcsrate() 102 *mcs = rate - DESC_RATEVHT4SS_MCS0; in rtw_desc_to_mcsrate() 105 *mcs = rate - DESC_RATEMCS0; in rtw_desc_to_mcsrate()
|
/openbmc/u-boot/board/imgtec/boston/ |
H A D | config.mk | 9 u-boot.mcs: u-boot.bin 14 ALL-$(has_srec_cat) += u-boot.mcs 15 CLEAN_FILES += u-boot.mcs
|
/openbmc/linux/drivers/net/wireless/ath/wil6210/ |
H A D | trace.h | 158 __field(u8, mcs) 169 __entry->mcs = wil_rxdesc_mcs(d); 173 __entry->mid, __entry->cid, __entry->tid, __entry->mcs, 190 __field(u8, mcs) 202 __entry->mcs = wil_rx_status_get_mcs(msg); 207 __entry->mid, __entry->cid, __entry->tid, __entry->mcs, 259 __field(u8, mcs) 267 __entry->mcs = wil_tx_status_get_mcs(msg); 272 __entry->num_descs, __entry->status, __entry->mcs)
|
/openbmc/linux/drivers/net/wireless/ath/ath9k/ |
H A D | common-init.c | 210 memset(&ht_info->mcs, 0, sizeof(ht_info->mcs)); in ath9k_cmn_setup_ht_cap() 218 ht_info->mcs.tx_params |= IEEE80211_HT_MCS_TX_RX_DIFF; in ath9k_cmn_setup_ht_cap() 219 ht_info->mcs.tx_params |= ((tx_streams - 1) << in ath9k_cmn_setup_ht_cap() 224 ht_info->mcs.rx_mask[i] = 0xff; in ath9k_cmn_setup_ht_cap() 226 ht_info->mcs.tx_params |= IEEE80211_HT_MCS_TX_DEFINED; in ath9k_cmn_setup_ht_cap()
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7615/ |
H A D | mcu.c | 2030 SKU_FIELD(HT20_0_8, mcs[0][0]), in mt7615_mcu_set_txpower_sku() 2032 SKU_FIELD(HT20_1_2_9_10, mcs[0][1]), in mt7615_mcu_set_txpower_sku() 2033 SKU_FIELD(HT20_3_4_11_12, mcs[0][3]), in mt7615_mcu_set_txpower_sku() 2034 SKU_FIELD(HT20_5_13, mcs[0][5]), in mt7615_mcu_set_txpower_sku() 2035 SKU_FIELD(HT20_6_14, mcs[0][6]), in mt7615_mcu_set_txpower_sku() 2036 SKU_FIELD(HT20_7_15, mcs[0][7]), in mt7615_mcu_set_txpower_sku() 2037 SKU_FIELD(HT40_0_8, mcs[1][0]), in mt7615_mcu_set_txpower_sku() 2039 SKU_FIELD(HT40_1_2_9_10, mcs[1][1]), in mt7615_mcu_set_txpower_sku() 2040 SKU_FIELD(HT40_3_4_11_12, mcs[1][3]), in mt7615_mcu_set_txpower_sku() 2041 SKU_FIELD(HT40_5_13, mcs[1][5]), in mt7615_mcu_set_txpower_sku() [all …]
|
/openbmc/linux/kernel/locking/ |
H A D | qspinlock.c | 83 struct mcs_spinlock mcs; member 131 return per_cpu_ptr(&qnodes[idx].mcs, cpu); in decode_tail() 137 return &((struct qnode *)base + idx)->mcs; in grab_mcs_node() 401 node = this_cpu_ptr(&qnodes[0].mcs); in queued_spin_lock_slowpath() 565 __this_cpu_dec(qnodes[0].mcs.count); in queued_spin_lock_slowpath()
|
/openbmc/linux/net/wireless/ |
H A D | util.c | 244 WARN_ON((sband->ht_cap.mcs.rx_mask[0] & 0x1e) != 0x1e); in set_mandatory_flags_band() 1224 if (WARN_ON_ONCE(rate->mcs >= 32)) in cfg80211_calculate_bitrate_ht() 1227 modulation = rate->mcs & 7; in cfg80211_calculate_bitrate_ht() 1228 streams = (rate->mcs >> 3) + 1; in cfg80211_calculate_bitrate_ht() 1289 if (WARN_ON_ONCE(rate->mcs >= ARRAY_SIZE(__mcs2bitrate))) in cfg80211_calculate_bitrate_dmg() 1292 return __mcs2bitrate[rate->mcs]; in cfg80211_calculate_bitrate_dmg() 1308 if (WARN_ON_ONCE(rate->mcs < 6 || rate->mcs > 12)) in cfg80211_calculate_bitrate_extended_sc_dmg() 1311 return __mcs2bitrate[rate->mcs - 6]; in cfg80211_calculate_bitrate_extended_sc_dmg() 1342 if (WARN_ON_ONCE(rate->mcs >= ARRAY_SIZE(__mcs2bitrate))) in cfg80211_calculate_bitrate_edmg() 1345 return __mcs2bitrate[rate->mcs] * rate->n_bonded_ch; in cfg80211_calculate_bitrate_edmg() [all …]
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/ |
H A D | mt76x02_txrx.c | 62 u8 mcs = ieee80211_rate_get_vht_mcs(rate); in mt76x02_tx_get_max_txpwr_adj() local 64 if (mcs == 8 || mcs == 9) { in mt76x02_tx_get_max_txpwr_adj() 70 idx = ((nss - 1) << 3) + mcs; in mt76x02_tx_get_max_txpwr_adj()
|
/openbmc/linux/drivers/net/wireless/ath/ath12k/ |
H A D | dp_mon.c | 93 ppdu_info->mcs = u32_get_bits(info1, HAL_RX_VHT_SIG_A_INFO_INFO1_MCS); in ath12k_dp_mon_parse_vht_sig_a() 120 ppdu_info->vht_flag_values3[0] = (((ppdu_info->mcs) << 4) | in ath12k_dp_mon_parse_vht_sig_a() 135 ppdu_info->mcs = u32_get_bits(info0, HAL_RX_HT_SIG_INFO_INFO0_MCS); in ath12k_dp_mon_parse_ht_sig() 140 ppdu_info->nss = (ppdu_info->mcs >> 3); in ath12k_dp_mon_parse_ht_sig() 234 ppdu_info->mcs = u32_get_bits(info0, HAL_RX_HE_SIG_B2_OFDMA_INFO_INFO0_STA_MCS); in ath12k_dp_mon_parse_he_sig_b2_ofdma() 235 value = ppdu_info->mcs << HE_TRANSMIT_MCS_SHIFT; in ath12k_dp_mon_parse_he_sig_b2_ofdma() 269 ppdu_info->mcs = u32_get_bits(info0, HAL_RX_HE_SIG_B2_MU_INFO_INFO0_STA_MCS); in ath12k_dp_mon_parse_he_sig_b2_mu() 270 value = ppdu_info->mcs << HE_TRANSMIT_MCS_SHIFT; in ath12k_dp_mon_parse_he_sig_b2_mu() 487 ppdu_info->mcs = value; in ath12k_dp_mon_parse_he_sig_su() 572 ppdu_info->mcs = in ath12k_dp_mon_parse_he_sig_su() [all …]
|
/openbmc/qemu/hw/arm/ |
H A D | stellaris.c | 480 uint32_t mcs; member 506 return s->mcs | STELLARIS_I2C_MCS_IDLE; in stellaris_i2c_read() 549 if ((value & 2) && (s->mcs & STELLARIS_I2C_MCS_BUSBSY) == 0) { in stellaris_i2c_write() 551 s->mcs |= STELLARIS_I2C_MCS_ARBLST; in stellaris_i2c_write() 553 s->mcs &= ~STELLARIS_I2C_MCS_ARBLST; in stellaris_i2c_write() 554 s->mcs |= STELLARIS_I2C_MCS_BUSBSY; in stellaris_i2c_write() 559 || (s->mcs & STELLARIS_I2C_MCS_BUSBSY) == 0) { in stellaris_i2c_write() 560 s->mcs |= STELLARIS_I2C_MCS_ERROR; in stellaris_i2c_write() 563 s->mcs &= ~STELLARIS_I2C_MCS_ERROR; in stellaris_i2c_write() 580 s->mcs &= ~STELLARIS_I2C_MCS_BUSBSY; in stellaris_i2c_write() [all …]
|