Home
last modified time | relevance | path

Searched refs:rateval (Results 1 – 9 of 9) sorted by relevance

/linux-6.6.21/sound/soc/codecs/
Dssm3515.c188 int ret, rateval; in ssm3515_hw_params() local
207 rateval = 0; in ssm3515_hw_params()
210 rateval = 1; in ssm3515_hw_params()
213 rateval = 2; in ssm3515_hw_params()
216 rateval = 3; in ssm3515_hw_params()
219 rateval = 4; in ssm3515_hw_params()
222 rateval = 5; in ssm3515_hw_params()
230 FIELD_PREP(SSM3515_DAC_FS, rateval)); in ssm3515_hw_params()
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/
Dmt76x02_mac.c184 u16 rateval; in mt76x02_mac_tx_rate_val() local
218 rateval = FIELD_PREP(MT_RXWI_RATE_INDEX, rate_idx); in mt76x02_mac_tx_rate_val()
219 rateval |= FIELD_PREP(MT_RXWI_RATE_PHY, phy); in mt76x02_mac_tx_rate_val()
220 rateval |= FIELD_PREP(MT_RXWI_RATE_BW, bw); in mt76x02_mac_tx_rate_val()
222 rateval |= MT_RXWI_RATE_SGI; in mt76x02_mac_tx_rate_val()
225 return rateval; in mt76x02_mac_tx_rate_val()
232 u16 rateval; in mt76x02_mac_wcid_set_rate() local
236 rateval = mt76x02_mac_tx_rate_val(dev, rate, &nss); in mt76x02_mac_wcid_set_rate()
237 tx_info = FIELD_PREP(MT_WCID_TX_INFO_RATE, rateval) | in mt76x02_mac_wcid_set_rate()
345 u16 txwi_flags = 0, rateval; in mt76x02_mac_write_txwi() local
[all …]
/linux-6.6.21/drivers/net/wireless/mediatek/mt7601u/
Dmac.c107 u16 rateval; in mt76_mac_tx_rate_val() local
136 rateval = FIELD_PREP(MT_RXWI_RATE_MCS, rate_idx); in mt76_mac_tx_rate_val()
137 rateval |= FIELD_PREP(MT_RXWI_RATE_PHY, phy); in mt76_mac_tx_rate_val()
138 rateval |= FIELD_PREP(MT_RXWI_RATE_BW, bw); in mt76_mac_tx_rate_val()
140 rateval |= MT_RXWI_RATE_SGI; in mt76_mac_tx_rate_val()
143 return rateval; in mt76_mac_tx_rate_val()
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt7915/
Dtestmode.h64 __le16 rateval; member
Dtestmode.c521 u16 rateval; in mt7915_tm_set_tx_cont() local
613 rateval = mode << 6 | rate_idx; in mt7915_tm_set_tx_cont()
614 tx_cont->rateval = cpu_to_le16(rateval); in mt7915_tm_set_tx_cont()
Dmac.c617 u16 rateval = 0; in mt7915_mac_write_txwi_tm() local
682 rateval |= MT_TX_RATE_STBC; in mt7915_mac_write_txwi_tm()
685 rateval |= FIELD_PREP(MT_TX_RATE_IDX, rate_idx) | in mt7915_mac_write_txwi_tm()
697 FIELD_PREP(MT_TXD6_TX_RATE, rateval) | in mt7915_mac_write_txwi_tm()
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt7603/
Dmac.c694 u16 rateval; in mt7603_mac_tx_rate_val() local
721 rateval = (FIELD_PREP(MT_TX_RATE_IDX, rate_idx) | in mt7603_mac_tx_rate_val()
725 rateval |= MT_TX_RATE_STBC; in mt7603_mac_tx_rate_val()
727 return rateval; in mt7603_mac_tx_rate_val()
998 u16 rateval = mt7603_mac_tx_rate_val(dev, rate, stbc, &bw); in mt7603_mac_write_txwi() local
1004 FIELD_PREP(MT_TXD6_TX_RATE, rateval); in mt7603_mac_write_txwi()
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt7615/
Dmac.c666 u16 rateval = 0; in mt7615_mac_tx_rate_val() local
706 rateval |= MT_TX_RATE_STBC; in mt7615_mac_tx_rate_val()
709 rateval |= (FIELD_PREP(MT_TX_RATE_IDX, rate_idx) | in mt7615_mac_tx_rate_val()
713 return rateval; in mt7615_mac_tx_rate_val()
809 u16 rateval = mt7615_mac_tx_rate_val(dev, mphy, rate, stbc, in mt7615_mac_write_txwi() local
816 FIELD_PREP(MT_TXD6_TX_RATE, rateval); in mt7615_mac_write_txwi()
/linux-6.6.21/net/wireless/
Dnl80211.c11327 int rateval) in nl80211_parse_mcast_rate() argument
11341 if (sband->bitrates[i].bitrate == rateval) { in nl80211_parse_mcast_rate()