Searched refs:final_rate (Results 1 – 4 of 4) sorted by relevance
/drivers/clk/bcm/ |
D | clk-raspberrypi.c | 149 u64 div, final_rate; in raspberrypi_pll_determine_rate() local 153 final_rate = clamp(req->rate, rpi->min_rate, rpi->max_rate); in raspberrypi_pll_determine_rate() 155 div = (u64)final_rate << A2W_PLL_FRAC_BITS; in raspberrypi_pll_determine_rate() 161 final_rate = ((u64)req->best_parent_rate * in raspberrypi_pll_determine_rate() 164 req->rate = final_rate >> A2W_PLL_FRAC_BITS; in raspberrypi_pll_determine_rate()
|
/drivers/net/wireless/mediatek/mt76/mt7615/ |
D | mac.c | 846 u32 final_rate, final_rate_flags, final_nss, txs; in mt7615_fill_txs() local 859 final_rate = FIELD_GET(MT_TXS0_TX_RATE, txs); in mt7615_fill_txs() 932 switch (FIELD_GET(MT_TX_RATE_MODE, final_rate)) { in mt7615_fill_txs() 941 final_rate &= MT_TX_RATE_IDX; in mt7615_fill_txs() 942 final_rate = mt76_get_rate(&dev->mt76, sband, final_rate, in mt7615_fill_txs() 949 final_rate &= MT_TX_RATE_IDX; in mt7615_fill_txs() 950 if (final_rate > 31) in mt7615_fill_txs() 954 final_nss = FIELD_GET(MT_TX_RATE_NSS, final_rate); in mt7615_fill_txs() 956 if ((final_rate & MT_TX_RATE_STBC) && final_nss) in mt7615_fill_txs() 960 final_rate = (final_rate & MT_TX_RATE_IDX) | (final_nss << 4); in mt7615_fill_txs() [all …]
|
/drivers/net/wireless/mediatek/mt76/mt7603/ |
D | mac.c | 954 u32 final_rate; in mt7603_fill_txs() local 976 final_rate = FIELD_GET(MT_TXS0_TX_RATE, txs); in mt7603_fill_txs() 1050 switch (FIELD_GET(MT_TX_RATE_MODE, final_rate)) { in mt7603_fill_txs() 1059 final_rate &= GENMASK(5, 0); in mt7603_fill_txs() 1060 final_rate = mt76_get_rate(&dev->mt76, sband, final_rate, in mt7603_fill_txs() 1067 final_rate &= GENMASK(5, 0); in mt7603_fill_txs() 1068 if (final_rate > 15) in mt7603_fill_txs() 1075 info->status.rates[i].idx = final_rate; in mt7603_fill_txs()
|
/drivers/net/wireless/zydas/zd1211rw/ |
D | zd_mac.c | 506 u8 final_rate; in zd_mac_tx_failed() local 534 final_rate = zd_rates[final_idx].hw_value; in zd_mac_tx_failed() 536 if (final_rate != tx_status->rate) { in zd_mac_tx_failed()
|