Home
last modified time | relevance | path

Searched refs:rate1 (Results 1 – 6 of 6) sorted by relevance

/linux/tools/testing/selftests/net/mptcp/
H A Dsimult_flows.sh211 local rate1=$1
229 tc -n $ns1 qdisc add dev ns1eth1 root netem rate ${rate1}mbit $delay1
231 tc -n $ns2 qdisc add dev ns2eth1 root netem rate ${rate1}mbit $delay1
237 local time=$((1000 * size * 8 * 10 / ((rate1 + rate2) * 1000 * 1000 * 9) ))
/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
H A Dphy_cmn.c1649 int rate_start_index = 0, rate1, rate2, k; in wlc_phy_txpower_reg_limit_calc() local
1651 for (rate1 = WL_TX_POWER_CCK_FIRST, rate2 = 0; in wlc_phy_txpower_reg_limit_calc()
1652 rate2 < WL_TX_POWER_CCK_NUM; rate1++, rate2++) in wlc_phy_txpower_reg_limit_calc()
1653 pi->txpwr_limit[rate1] = txpwr->cck[rate2]; in wlc_phy_txpower_reg_limit_calc()
1655 for (rate1 = WL_TX_POWER_OFDM_FIRST, rate2 = 0; in wlc_phy_txpower_reg_limit_calc()
1656 rate2 < WL_TX_POWER_OFDM_NUM; rate1++, rate2++) in wlc_phy_txpower_reg_limit_calc()
1657 pi->txpwr_limit[rate1] = txpwr->ofdm[rate2]; in wlc_phy_txpower_reg_limit_calc()
1700 for (rate1 = rate_start_index, rate2 = 0; in wlc_phy_txpower_reg_limit_calc()
1701 rate2 < BRCMS_NUM_RATES_OFDM; rate1++, rate2++) in wlc_phy_txpower_reg_limit_calc()
1702 pi->txpwr_limit[rate1] = in wlc_phy_txpower_reg_limit_calc()
[all …]
H A Dphy_n.c27876 u8 rate1, rate2; in wlc_phy_ofdm_to_mcs_powers_nphy() local
27879 for (rate1 = rate_mcs_start; rate1 <= rate_mcs_end - 1; rate1++) { in wlc_phy_ofdm_to_mcs_powers_nphy()
27880 power[rate1] = power[rate2]; in wlc_phy_ofdm_to_mcs_powers_nphy()
27881 rate2 += (rate1 == rate_mcs_start) ? 2 : 1; in wlc_phy_ofdm_to_mcs_powers_nphy()
27890 u8 rate1, rate2; in wlc_phy_mcs_to_ofdm_powers_nphy() local
27892 for (rate1 = rate_ofdm_start, rate2 = rate_mcs_start; in wlc_phy_mcs_to_ofdm_powers_nphy()
27893 rate1 <= rate_ofdm_end; rate1++, rate2++) { in wlc_phy_mcs_to_ofdm_powers_nphy()
27894 power[rate1] = power[rate2]; in wlc_phy_mcs_to_ofdm_powers_nphy()
27895 if (rate1 == rate_ofdm_start) in wlc_phy_mcs_to_ofdm_powers_nphy()
27896 power[++rate1] = power[rate2]; in wlc_phy_mcs_to_ofdm_powers_nphy()
[all …]
/linux/sound/soc/jz4740/
H A Djz4740-i2s.c224 unsigned long div, rate1, rate2, err1, err2; in jz4740_i2s_get_i2sdiv() local
230 rate1 = mclk / (64 * div); in jz4740_i2s_get_i2sdiv()
233 err1 = abs(rate1 - rate); in jz4740_i2s_get_i2sdiv()
/linux/drivers/net/wireless/marvell/mwifiex/
H A Djoin.c134 static int mwifiex_get_common_rates(struct mwifiex_private *priv, u8 *rate1, in mwifiex_get_common_rates() argument
138 u8 *ptr = rate1, *tmp; in mwifiex_get_common_rates()
141 tmp = kmemdup(rate1, rate1_size, GFP_KERNEL); in mwifiex_get_common_rates()
147 memset(rate1, 0, rate1_size); in mwifiex_get_common_rates()
154 *rate1++ = tmp[j]; in mwifiex_get_common_rates()
/linux/drivers/clk/
H A Dclk-stm32h7.c749 u64 rate, rate1 = 0; in pll_fd_recalc_rate() local
767 rate1 = (u64)parent_rate * (u64)val; in pll_fd_recalc_rate()
768 do_div(rate1, (m * 8191)); in pll_fd_recalc_rate()
771 return rate + rate1; in pll_fd_recalc_rate()