| /OK3568_Linux_fs/buildroot/dl/sox/git/test/ |
| H A D | ltest.pl | 35 my ($rate0,$rate1)=(8000,22050); # sample rates 71 print("# Testing $sox -c1 -r$rate0 i*.$t -r$rate1 u*.$t $effect\n"); 81 my $nyq = ($rate0<=$rate1)? 1.0:($rate1/$rate0); 93 qx{$sox -c1 -r$rate0 i$s.$t -r$rate1 u$s.$t $effect 2>/dev/null}; 95 qx{$sox -c1 -r$rate1 u$s.$t -r$rate0 o$s.$t $effect 2>/dev/null}; 98 @mod = grep {/v2max/} qx{$model -f$s -e$env $rate0:$rate1 u$s.$t 2>&1};
|
| H A D | model.c | 217 int rate0, rate1; in main() local 268 rate0 = rate1 = strtol(p0,&p,10); in main() 275 rate1 = strtol(p0,&p,10); in main() 281 if (rate0<=0 || rate1<=0) { in main() 288 Factor = (double)rate1 / (double)rate0; in main()
|
| H A D | README | 53 I hope. just change the ($rate0,$rate1)=(8000,22050) line near the top. 81 step 2: let N = 16000*(rate1/rate0) be the number of samples at output rate
|
| /OK3568_Linux_fs/kernel/drivers/clk/rockchip/ |
| H A D | clk-rv1106.c | 994 unsigned int rate0, rate1, delta, length_ori, length, step, val, i = 0; in _cru_pvtpll_calibrate() local 1009 rate1 = readl_relaxed(rv1106_cru_base + count_offset); in _cru_pvtpll_calibrate() 1010 if ((rate1 < target_rate) || (rate1 >= rate0)) in _cru_pvtpll_calibrate() 1012 if (abs(rate1 - target_rate) < (target_rate >> 5)) in _cru_pvtpll_calibrate() 1015 step = rate0 - rate1; in _cru_pvtpll_calibrate() 1016 delta = rate1 - target_rate; in _cru_pvtpll_calibrate() 1041 unsigned int rate0, rate1, delta, length_ori, length, step, val, i = 0; in _grf_pvtpll_calibrate() local 1058 regmap_read(cru_ctx->grf, count_offset, &rate1); in _grf_pvtpll_calibrate() 1059 if ((rate1 < target_rate) || (rate1 >= rate0)) in _grf_pvtpll_calibrate() 1061 if (abs(rate1 - target_rate) < (target_rate >> 5)) in _grf_pvtpll_calibrate() [all …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/net/mptcp/ |
| H A D | simult_flows.sh | 216 local rate1=$1 234 tc -n $ns1 qdisc add dev ns1eth1 root netem rate ${rate1}mbit $delay1 236 tc -n $ns2 qdisc add dev ns2eth1 root netem rate ${rate1}mbit $delay1 240 local time=$((size * 8 * 1000 / (( $rate1 + $rate2) * 1024 *1024) ))
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/ |
| H A D | phy_cmn.c | 1649 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 D | phy_n.c | 27880 u8 rate1, rate2; in wlc_phy_ofdm_to_mcs_powers_nphy() local 27883 for (rate1 = rate_mcs_start; rate1 <= rate_mcs_end - 1; rate1++) { in wlc_phy_ofdm_to_mcs_powers_nphy() 27884 power[rate1] = power[rate2]; in wlc_phy_ofdm_to_mcs_powers_nphy() 27885 rate2 += (rate1 == rate_mcs_start) ? 2 : 1; in wlc_phy_ofdm_to_mcs_powers_nphy() 27894 u8 rate1, rate2; in wlc_phy_mcs_to_ofdm_powers_nphy() local 27896 for (rate1 = rate_ofdm_start, rate2 = rate_mcs_start; in wlc_phy_mcs_to_ofdm_powers_nphy() 27897 rate1 <= rate_ofdm_end; rate1++, rate2++) { in wlc_phy_mcs_to_ofdm_powers_nphy() 27898 power[rate1] = power[rate2]; in wlc_phy_mcs_to_ofdm_powers_nphy() 27899 if (rate1 == rate_ofdm_start) in wlc_phy_mcs_to_ofdm_powers_nphy() 27900 power[++rate1] = power[rate2]; in wlc_phy_mcs_to_ofdm_powers_nphy() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/marvell/mwifiex/ |
| H A D | join.c | 146 static int mwifiex_get_common_rates(struct mwifiex_private *priv, u8 *rate1, in mwifiex_get_common_rates() argument 150 u8 *ptr = rate1, *tmp; in mwifiex_get_common_rates() 153 tmp = kmemdup(rate1, rate1_size, GFP_KERNEL); in mwifiex_get_common_rates() 159 memset(rate1, 0, rate1_size); in mwifiex_get_common_rates() 166 *rate1++ = tmp[j]; in mwifiex_get_common_rates()
|
| /OK3568_Linux_fs/kernel/drivers/clk/ |
| H A D | clk-stm32h7.c | 750 u64 rate, rate1 = 0; in pll_fd_recalc_rate() local 768 rate1 = (u64)parent_rate * (u64)val; in pll_fd_recalc_rate() 769 do_div(rate1, (m * 8191)); in pll_fd_recalc_rate() 772 return rate + rate1; in pll_fd_recalc_rate()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/mvl88w8977/mlan/ |
| H A D | mlan_join.c | 260 IN t_u8 *rate1, in wlan_get_common_rates() argument 265 t_u8 *ptr = rate1; in wlan_get_common_rates() 279 memcpy(pmpriv->adapter, tmp, rate1, rate1_size); in wlan_get_common_rates() 280 memset(pmpriv->adapter, rate1, 0, rate1_size); in wlan_get_common_rates() 287 *rate1++ = tmp[j]; in wlan_get_common_rates() 295 HEXDUMP("Common Rates", ptr, rate1 - ptr); in wlan_get_common_rates()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/nxp/mlan/ |
| H A D | mlan_join.c | 272 static mlan_status wlan_get_common_rates(mlan_private *pmpriv, t_u8 *rate1, in wlan_get_common_rates() argument 278 t_u8 *ptr = rate1; in wlan_get_common_rates() 292 memcpy_ext(pmpriv->adapter, tmp, rate1, rate1_size, rate1_size); in wlan_get_common_rates() 293 memset(pmpriv->adapter, rate1, 0, rate1_size); in wlan_get_common_rates() 300 *rate1++ = tmp[j]; in wlan_get_common_rates() 308 HEXDUMP("Common Rates", ptr, rate1 - ptr); in wlan_get_common_rates()
|
| /OK3568_Linux_fs/kernel/drivers/soc/rockchip/ |
| H A D | rockchip_opp_select.c | 720 unsigned int rate0, rate1, delta; in rockchip_pvtpll_get_rate() local 728 regmap_read(info->grf, info->pvtpll_avg_offset, &rate1); in rockchip_pvtpll_get_rate() 729 delta = abs(rate1 - rate0); in rockchip_pvtpll_get_rate() 730 rate0 = rate1; in rockchip_pvtpll_get_rate()
|