rspec             646 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c 	u32 rspec = 0, rspec_fallback = 0;
rspec             726 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c 	rspec = RSPEC_MIMORATE;
rspec             727 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c 	rspec |= plcp[0] & ~MIMO_PLCP_40MHZ;
rspec             729 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c 		rspec |= (PHY_TXC1_BW_40MHZ << RSPEC_BW_SHIFT);
rspec             744 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c 			brcms_c_rspec_to_rts_rspec(wlc, rspec,
rspec             757 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c 		u16 mmodelen = brcms_c_calc_lsig_len(wlc, rspec,
rspec             791 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c 						   rspec, rts_preamble_type,
rspec             358 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c static u8 brcms_basic_rate(struct brcms_c_info *wlc, u32 rspec)
rspec             360 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	if (is_mcs_rate(rspec))
rspec             361 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 		return wlc->band->basic_rate[mcs_table[rspec & RSPEC_RATE_MASK]
rspec             363 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	return wlc->band->basic_rate[rspec & RSPEC_RATE_MASK];
rspec             366 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c static u16 frametype(u32 rspec, u8 mimoframe)
rspec             368 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	if (is_mcs_rate(rspec))
rspec             370 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	return is_cck_rate(rspec) ? FT_CCK : FT_OFDM;
rspec            5721 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c brcms_c_calc_ack_time(struct brcms_c_info *wlc, u32 rspec,
rspec            5731 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	rspec = brcms_basic_rate(wlc, rspec);
rspec            5734 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	    brcms_c_calc_frame_time(wlc, rspec, preamble_type,
rspec            5740 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c brcms_c_calc_cts_time(struct brcms_c_info *wlc, u32 rspec,
rspec            5743 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	return brcms_c_calc_ack_time(wlc, rspec, preamble_type);
rspec            5747 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c brcms_c_calc_ba_time(struct brcms_c_info *wlc, u32 rspec,
rspec            5755 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	rspec = brcms_basic_rate(wlc, rspec);
rspec            5757 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	return brcms_c_calc_frame_time(wlc, rspec, preamble_type,
rspec            5842 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c static bool brcms_c_valid_rate(struct brcms_c_info *wlc, u32 rspec, int band,
rspec            5857 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	if (is_mcs_rate(rspec)) {
rspec            5858 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 		if ((rspec & RSPEC_RATE_MASK) >= MCS_TABLE_SIZE)
rspec            5861 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 		return isset(hw_rateset->mcs, (rspec & RSPEC_RATE_MASK));
rspec            5865 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 		if (hw_rateset->rates[i] == rspec2rate(rspec))
rspec            5870 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 			  "not in hw_rateset\n", wlc->pub->unit, rspec);
rspec            5882 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	u32 rspec;
rspec            5964 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	rspec = rate;
rspec            5966 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 		rspec |= RSPEC_MIMORATE;
rspec            5971 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 			rspec |= (stc << RSPEC_STC_SHIFT);
rspec            5975 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	rspec |= (stf << RSPEC_STF_SHIFT);
rspec            5978 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 		rspec |= RSPEC_OVERRIDE_MCS_ONLY;
rspec            5981 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 		rspec |= RSPEC_SHORT_GI;
rspec            5984 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	    && !brcms_c_valid_rate(wlc, rspec, cur_band->bandtype, true))
rspec            5987 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	return rspec;
rspec            6047 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c static void brcms_c_compute_mimo_plcp(u32 rspec, uint length, u8 *plcp)
rspec            6049 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	u8 mcs = (u8) (rspec & RSPEC_RATE_MASK);
rspec            6051 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	if (rspec_is40mhz(rspec) || (mcs == 32))
rspec            6054 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	plcp[3] = rspec_mimoplcp3(rspec); /* rspec already holds this byte */
rspec            6062 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c brcms_c_compute_ofdm_plcp(u32 rspec, u32 length, u8 *plcp)
rspec            6066 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	int rate = rspec2rate(rspec);
rspec            6083 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c static void brcms_c_compute_cck_plcp(struct brcms_c_info *wlc, u32 rspec,
rspec            6086 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	int rate = rspec2rate(rspec);
rspec            6092 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c brcms_c_compute_plcp(struct brcms_c_info *wlc, u32 rspec,
rspec            6095 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	if (is_mcs_rate(rspec))
rspec            6096 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 		brcms_c_compute_mimo_plcp(rspec, length, plcp);
rspec            6097 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	else if (is_ofdm_rate(rspec))
rspec            6098 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 		brcms_c_compute_ofdm_plcp(rspec, length, plcp);
rspec            6100 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 		brcms_c_compute_cck_plcp(wlc, rspec, length, plcp);
rspec            6149 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c static u16 brcms_c_phytxctl1_calc(struct brcms_c_info *wlc, u32 rspec)
rspec            6157 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 		bw = rspec_get_bw(rspec);
rspec            6166 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	if (is_mcs_rate(rspec)) {
rspec            6167 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 		uint mcs = rspec & RSPEC_RATE_MASK;
rspec            6170 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 		phyctl1 = rspec_phytxbyte2(rspec);
rspec            6173 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	} else if (is_cck_rate(rspec) && !BRCMS_ISLCNPHY(wlc->band)
rspec            6181 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 		phyctl1 = (bw | (rspec_stf(rspec) << PHY_TXC1_MODE_SHIFT));
rspec            6185 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 		phycfg = brcms_c_rate_legacy_phyctl(rspec2rate(rspec));
rspec            6194 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 		     (rspec_stf(rspec) << PHY_TXC1_MODE_SHIFT));
rspec            6219 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	u32 rspec[2] = { BRCM_RATE_1M, BRCM_RATE_1M };
rspec            6307 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 				rspec[k] =
rspec            6315 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 				rspec[k] = BRCM_RATE_1M;
rspec            6318 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 			rspec[k] = mac80211_wlc_set_nrate(wlc, wlc->band,
rspec            6340 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 		if (!rspec_active(rspec[k])) {
rspec            6341 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 			rspec[k] = BRCM_RATE_1M;
rspec            6359 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 			if (((is_mcs_rate(rspec[k]) &&
rspec            6360 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 			      is_single_stream(rspec[k] & RSPEC_RATE_MASK)) ||
rspec            6361 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 			     is_ofdm_rate(rspec[k]))
rspec            6362 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 			    && ((rspec[k] & RSPEC_OVERRIDE_MCS_ONLY)
rspec            6363 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 				|| !(rspec[k] & RSPEC_OVERRIDE))) {
rspec            6364 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 				rspec[k] &= ~(RSPEC_STF_MASK | RSPEC_STC_MASK);
rspec            6367 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 				if (is_mcs_rate(rspec[k])
rspec            6373 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 					rspec[k] |= (PHY_TXC1_MODE_STBC <<
rspec            6377 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 					rspec[k] |=
rspec            6392 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 				if (is_mcs_rate(rspec[k])) {
rspec            6394 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 					if ((rspec[k] & RSPEC_RATE_MASK)
rspec            6404 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 				} else if (is_ofdm_rate(rspec[k])) {
rspec            6416 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 				if ((rspec[k] & RSPEC_RATE_MASK) == 32)
rspec            6418 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 					rspec[k] = RSPEC_MIMORATE;
rspec            6424 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 			rspec[k] &= ~RSPEC_BW_MASK;
rspec            6425 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 			if ((k == 0) || ((k > 0) && is_mcs_rate(rspec[k])))
rspec            6426 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 				rspec[k] |= (mimo_txbw << RSPEC_BW_SHIFT);
rspec            6428 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 				rspec[k] |= (mimo_ctlchbw << RSPEC_BW_SHIFT);
rspec            6431 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 			rspec[k] &= ~RSPEC_SHORT_GI;
rspec            6438 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 			    && (!is_mcs_rate(rspec[k]))) {
rspec            6444 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 			if (is_mcs_rate(rspec[k])) {
rspec            6451 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 				if ((rspec[k] & RSPEC_SHORT_GI)
rspec            6452 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 				    && is_single_stream(rspec[k] &
rspec            6458 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 			if (!is_mcs_rate(rspec[0])
rspec            6466 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 			rspec[k] &= ~RSPEC_BW_MASK;
rspec            6467 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 			rspec[k] |= (PHY_TXC1_BW_20MHZ << RSPEC_BW_SHIFT);
rspec            6470 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 			if (BRCMS_ISNPHY(wlc->band) && is_ofdm_rate(rspec[k])) {
rspec            6471 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 				rspec[k] &= ~RSPEC_STF_MASK;
rspec            6472 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 				rspec[k] |= phyctl1_stf << RSPEC_STF_SHIFT;
rspec            6489 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	brcms_c_compute_plcp(wlc, rspec[0], phylen, plcp);
rspec            6490 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	brcms_c_compute_plcp(wlc, rspec[1], phylen, plcp_fallback);
rspec            6495 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	if (is_cck_rate(rspec[1])) {
rspec            6501 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	mainrates = is_ofdm_rate(rspec[0]) ?
rspec            6509 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 		    brcms_c_compute_frame_dur(wlc, rspec[0], preamble_type[0],
rspec            6515 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 		    (u16) brcms_c_calc_frame_time(wlc, rspec[0],
rspec            6528 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 		durid = brcms_c_compute_frame_dur(wlc, rspec[1],
rspec            6558 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 		if (rspec2rate(rspec[1]) != BRCM_RATE_1M)
rspec            6597 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 			rts_rspec[k] = brcms_c_rspec_to_rts_rspec(wlc, rspec[k],
rspec            6643 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 					       rspec[0], rts_preamble_type[0],
rspec            6648 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 					       rts_rspec[1], rspec[1],
rspec            6682 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	if ((tx_info->flags & IEEE80211_TX_CTL_AMPDU) && is_mcs_rate(rspec))
rspec            6684 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 		   brcm_c_ampdu_null_delim_cnt(wlc->ampdu, scb, rspec, phylen);
rspec            6701 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	xfts = frametype(rspec[1], wlc->mimoft);
rspec            6709 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	phyctl = frametype(rspec[0], wlc->mimoft);
rspec            6712 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 		if (rspec2rate(rspec[0]) != BRCM_RATE_1M)
rspec            6717 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	phyctl |= brcms_c_stf_d11hdrs_phyctl_txant(wlc, rspec[0]);
rspec            6724 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 		phyctl1 = brcms_c_phytxctl1_calc(wlc, rspec[0]);
rspec            6726 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 		phyctl1 = brcms_c_phytxctl1_calc(wlc, rspec[1]);
rspec            6741 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 		if (is_mcs_rate(rspec[0]) &&
rspec            6744 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 			    brcms_c_calc_lsig_len(wlc, rspec[0], phylen);
rspec            6748 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 		if (is_mcs_rate(rspec[1]) &&
rspec            6751 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 			    brcms_c_calc_lsig_len(wlc, rspec[1], phylen);
rspec            6763 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 			    brcms_c_calc_frame_time(wlc, rspec[0],
rspec            6785 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 				    brcms_c_compute_frame_dur(wlc, rspec[0],
rspec            6789 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 				    brcms_c_calc_frame_time(wlc, rspec[1],
rspec            6793 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 				    brcms_c_compute_frame_dur(wlc, rspec[1],
rspec            6814 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 					rspec[0], preamble_type[0],
rspec            6834 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 					   rspec2rate(rspec[0]));
rspec            6945 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c brcms_c_rspec_to_rts_rspec(struct brcms_c_info *wlc, u32 rspec,
rspec            6952 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 		rts_rspec = rspec;
rspec            6953 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	else if (wlc->band->gmode && wlc->protection->_g && !is_cck_rate(rspec))
rspec            6967 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 		rts_rspec = brcms_basic_rate(wlc, rspec);
rspec            6977 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 		if (rspec_is40mhz(rspec) && !is_cck_rate(rts_rspec))
rspec            7057 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	u32 rspec;
rspec            7080 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	rspec = brcms_c_compute_rspec(rxh, plcp);
rspec            7081 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	if (is_mcs_rate(rspec)) {
rspec            7082 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 		rx_status->rate_idx = rspec & RSPEC_RATE_MASK;
rspec            7084 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 		if (rspec_is40mhz(rspec))
rspec            7087 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 		switch (rspec2rate(rspec)) {
rspec            7138 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 		if (is_cck_rate(rspec)) {
rspec            7141 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 		} else if (is_ofdm_rate(rspec)) {
rspec             627 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.h u32 brcms_c_rspec_to_rts_rspec(struct brcms_c_info *wlc, u32 rspec,
rspec             346 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.c 	u32 rspec = PHY_TXC1_BW_20MHZ << RSPEC_BW_SHIFT;
rspec             355 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.c 			rspec =
rspec             360 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.c 			rspec =
rspec             365 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.c 			rspec = (plcp[0] & MIMO_PLCP_MCS_MASK) | RSPEC_MIMORATE;
rspec             368 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.c 				rspec &= ~RSPEC_BW_MASK;
rspec             369 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.c 				rspec |= (PHY_TXC1_BW_40MHZ << RSPEC_BW_SHIFT);
rspec             379 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.c 			rspec |= RSPEC_SHORT_GI;
rspec             382 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.c 		rspec = ofdm_phy2mac_rate(
rspec             385 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.c 		rspec = cck_phy2mac_rate(
rspec             388 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.c 	return rspec;
rspec             115 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.h static inline bool rspec_active(u32 rspec)
rspec             117 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.h 	return rspec & (RSPEC_RATE_MASK | RSPEC_MIMORATE);
rspec             120 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.h static inline u8 rspec_phytxbyte2(u32 rspec)
rspec             122 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.h 	return (rspec & 0xff00) >> 8;
rspec             125 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.h static inline u32 rspec_get_bw(u32 rspec)
rspec             127 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.h 	return (rspec & RSPEC_BW_MASK) >> RSPEC_BW_SHIFT;
rspec             130 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.h static inline bool rspec_issgi(u32 rspec)
rspec             132 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.h 	return (rspec & RSPEC_SHORT_GI) == RSPEC_SHORT_GI;
rspec             135 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.h static inline bool rspec_is40mhz(u32 rspec)
rspec             137 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.h 	u32 bw = rspec_get_bw(rspec);
rspec             142 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.h static inline uint rspec2rate(u32 rspec)
rspec             144 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.h 	if (rspec & RSPEC_MIMORATE)
rspec             145 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.h 		return mcs_2_rate(rspec & RSPEC_RATE_MASK, rspec_is40mhz(rspec),
rspec             146 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.h 				  rspec_issgi(rspec));
rspec             147 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.h 	return rspec & RSPEC_RATE_MASK;
rspec             150 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.h static inline u8 rspec_mimoplcp3(u32 rspec)
rspec             152 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.h 	return (rspec & 0xf00000) >> 16;
rspec             160 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.h static inline uint rspec_stc(u32 rspec)
rspec             162 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.h 	return (rspec & RSPEC_STC_MASK) >> RSPEC_STC_SHIFT;
rspec             165 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.h static inline uint rspec_stf(u32 rspec)
rspec             167 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.h 	return (rspec & RSPEC_STF_MASK) >> RSPEC_STF_SHIFT;
rspec             411 drivers/net/wireless/broadcom/brcm80211/brcmsmac/stf.c 				       u32 rspec)
rspec             415 drivers/net/wireless/broadcom/brcm80211/brcmsmac/stf.c 	if (rspec_stf(rspec) != PHY_TXC1_MODE_SISO)
rspec             423 drivers/net/wireless/broadcom/brcm80211/brcmsmac/stf.c u16 brcms_c_stf_phytxchain_sel(struct brcms_c_info *wlc, u32 rspec)
rspec             425 drivers/net/wireless/broadcom/brcm80211/brcmsmac/stf.c 	return _brcms_c_stf_phytxchain_sel(wlc, rspec);
rspec             428 drivers/net/wireless/broadcom/brcm80211/brcmsmac/stf.c u16 brcms_c_stf_d11hdrs_phyctl_txant(struct brcms_c_info *wlc, u32 rspec)
rspec             435 drivers/net/wireless/broadcom/brcm80211/brcmsmac/stf.c 		phytxant = _brcms_c_stf_phytxchain_sel(wlc, rspec);
rspec              34 drivers/net/wireless/broadcom/brcm80211/brcmsmac/stf.h u16 brcms_c_stf_phytxchain_sel(struct brcms_c_info *wlc, u32 rspec);
rspec              35 drivers/net/wireless/broadcom/brcm80211/brcmsmac/stf.h u16 brcms_c_stf_d11hdrs_phyctl_txant(struct brcms_c_info *wlc, u32 rspec);