Searched refs:rateval (Results 1 – 9 of 9) sorted by relevance
/linux/sound/soc/codecs/ |
H A D | ssm3515.c | 188 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/drivers/net/wireless/mediatek/mt76/ |
H A D | mt76x02_mac.c | 184 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/drivers/net/wireless/mediatek/mt7601u/ |
H A D | mac.c | 107 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/drivers/net/wireless/mediatek/mt76/mt7915/ |
H A D | testmode.h | 64 __le16 rateval; member
|
H A D | testmode.c | 523 u16 rateval; in mt7915_tm_set_tx_cont() local 615 rateval = mode << 6 | rate_idx; in mt7915_tm_set_tx_cont() 616 tx_cont->rateval = cpu_to_le16(rateval); in mt7915_tm_set_tx_cont()
|
H A D | mac.c | 624 u16 rateval = 0; in mt7915_mac_write_txwi_tm() local 689 rateval |= MT_TX_RATE_STBC; in mt7915_mac_write_txwi_tm() 692 rateval |= FIELD_PREP(MT_TX_RATE_IDX, rate_idx) | in mt7915_mac_write_txwi_tm() 704 FIELD_PREP(MT_TXD6_TX_RATE, rateval) | in mt7915_mac_write_txwi_tm()
|
/linux/drivers/net/wireless/mediatek/mt76/mt7603/ |
H A D | mac.c | 694 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/drivers/net/wireless/mediatek/mt76/mt7615/ |
H A D | mac.c | 666 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/net/wireless/ |
H A D | nl80211.c | 11530 int rateval) in nl80211_parse_mcast_rate() argument 11544 if (sband->bitrates[i].bitrate == rateval) { in nl80211_parse_mcast_rate()
|