Home
last modified time | relevance | path

Searched full:beta (Results 1 – 25 of 77) sorted by relevance

1234

/linux/tools/testing/selftests/net/
H A Dlwt_dst_cache_ref_loop.sh85 setup_ns alpha beta gamma &>/dev/null
88 peer name veth-betaL netns $beta &>/dev/null
90 ip link add name veth-betaR netns $beta type veth \
94 ip -netns $beta link set veth-betaL name veth0 &>/dev/null
95 ip -netns $beta link set veth-betaR name veth1 &>/dev/null
104 ip -netns $beta addr add 2001:db8:1::1/64 dev veth0 &>/dev/null
105 ip -netns $beta addr add 2001:db8:2::1/64 dev veth1 &>/dev/null
106 ip -netns $beta link set veth0 up &>/dev/null
107 ip -netns $beta link set veth1 up &>/dev/null
108 ip -netns $beta link set lo up &>/dev/null
[all …]
/linux/net/ipv4/
H A Dtcp_htcp.c28 u8 beta; /* Fixed point arith, << 7 */ member
155 ca->beta = BETA_MIN; in htcp_beta_update()
162 ca->beta = (minRTT << 7) / maxRTT; in htcp_beta_update()
163 if (ca->beta < BETA_MIN) in htcp_beta_update()
164 ca->beta = BETA_MIN; in htcp_beta_update()
165 else if (ca->beta > BETA_MAX) in htcp_beta_update()
166 ca->beta = BETA_MAX; in htcp_beta_update()
168 ca->beta = BETA_MIN; in htcp_beta_update()
194 ca->alpha = 2 * factor * ((1 << 7) - ca->beta); in htcp_alpha_update()
200 * After we have the rtt data to calculate beta, we'd still prefer to wait one
[all …]
H A Dtcp_illinois.c51 u32 beta; /* Muliplicative decrease */ member
74 ca->beta = BETA_BASE; in tcp_illinois_init()
185 * Beta used for multiplicative decrease.
188 * If delay is small (10% of max) then beta = 1/8
189 * If delay is up to 80% of max then beta = 1/2
192 static u32 beta(u32 da, u32 dm) in beta() function
221 /* Update alpha and beta values once per RTT */
229 ca->beta = BETA_BASE; in update_params()
235 ca->beta = beta(da, dm); in update_params()
250 ca->beta = BETA_BASE; in tcp_illinois_state()
[all …]
H A Dtcp_bic.c21 #define BICTCP_BETA_SCALE 1024 /* Scale factor beta calculation
22 * max_cwnd = snd_cwnd * beta
32 static int beta = 819; /* = 819/1024 (BICTCP_BETA_SCALE) */ variable
42 module_param(beta, int, 0644);
43 MODULE_PARM_DESC(beta, "beta for multiplicative increase");
170 ca->last_max_cwnd = (tcp_snd_cwnd(tp) * (BICTCP_BETA_SCALE + beta)) in bictcp_recalc_ssthresh()
178 return max((tcp_snd_cwnd(tp) * beta) / BICTCP_BETA_SCALE, 2U); in bictcp_recalc_ssthresh()
H A Dtcp_vegas.c45 static int beta = 4; variable
50 module_param(beta, int, 0644);
51 MODULE_PARM_DESC(beta, "upper bound of packets in network");
254 if (diff > beta) { in tcp_vegas_cong_avoid()
H A Dtcp_veno.c24 static const int beta = 3 << V_PARAM_SHIFT; variable
163 if (veno->diff < beta) { in tcp_veno_cong_avoid()
200 if (veno->diff < beta) in tcp_veno_ssthresh()
/linux/net/sched/
H A Dsch_pie.c182 WRITE_ONCE(q->params.beta, nla_get_u32(tb[TCA_PIE_BETA])); in pie_change()
311 u64 alpha, beta; in pie_calculate_probability() local
334 /* In the algorithm, alpha and beta are between 0 and 2 with typical in pie_calculate_probability()
336 * passed from user space to represent this. Also, alpha and beta have in pie_calculate_probability()
338 * probability. alpha/beta are updated locally below by scaling down in pie_calculate_probability()
342 beta = ((u64)params->beta * (MAX_PROB / PSCHED_TICKS_PER_SEC)) >> 4; in pie_calculate_probability()
344 /* We scale alpha and beta differently depending on how heavy the in pie_calculate_probability()
349 beta >>= 1; in pie_calculate_probability()
355 beta >>= 2; in pie_calculate_probability()
360 /* alpha and beta should be between 0 and 32, in multiples of 1/16 */ in pie_calculate_probability()
[all …]
H A Dsch_dualpi2.c47 /* alpha/beta values exchanged over netlink are in units of 256ns */
50 /* Scaled values of alpha/beta must fit in 32b to avoid overflow in later
53 * (~4MHz) as those are given in 1/256th. This enable to tune alpha/beta to
58 /* Internal alpha/beta are in units of 64ns.
59 * This enables to use all alpha/beta values in the allowed range without loss
651 /* Alpha and beta take at most 32b, i.e, the delay difference would in calculate_probability()
813 u32 beta = nla_get_u32(tb[TCA_DUALPI2_BETA]); in dualpi2_change() local
815 WRITE_ONCE(q->pi2_beta, dualpi2_scale_alpha_beta(beta)); in dualpi2_change()
887 /* Default alpha/beta values give a 10dB stability margin with max_rtt=100ms. */
/linux/Documentation/devicetree/bindings/hwmon/
H A Dti,tmp401.yaml46 ti,beta-compensation:
48 value to select beta correction range.
73 ti,beta-compensation: false
102 ti,beta-compensation = <0x7>;
H A Dmax6697.txt26 - beta-compensation-enable
27 Only valid for MAX6693 and MX6694. Set to enable beta compensation on
29 Beta compensation will be disabled if not specified.
/linux/kernel/bpf/
H A Dtnum.c76 u64 dv, alpha, beta, chi, mu; in tnum_sub() local
80 beta = dv - b.mask; in tnum_sub()
81 chi = alpha ^ beta; in tnum_sub()
93 u64 alpha, beta, v; in tnum_and() local
96 beta = b.value | b.mask; in tnum_and()
98 return TNUM(v, alpha & beta & ~v); in tnum_and()
/linux/Documentation/devicetree/bindings/input/
H A Dazoteq,iqs7222.yaml81 azoteq,lta-beta-lp:
89 azoteq,lta-beta-np:
97 azoteq,counts-beta-lp:
105 azoteq,counts-beta-np:
113 azoteq,lta-fast-beta-lp:
121 azoteq,lta-fast-beta-np:
686 azoteq,bottom-beta:
695 azoteq,static-beta:
699 azoteq,bottom-beta regardless of the speed of movement.
939 azoteq,lta-beta-lp = <7>;
[all …]
/linux/include/net/
H A Dpie.h23 * @beta: parameter to control drop probability
33 u32 beta; member
95 params->beta = 20; in pie_params_init()
H A Dred.h101 * decrease max_p : max_p *= beta;
106 * beta : 0.9
459 p->max_P = (p->max_P/10)*9; /* maxp = maxp * Beta */ in red_adaptative_algo()
/linux/arch/arm/boot/dts/rockchip/
H A Drk3288-firefly-beta.dts10 model = "Firefly-RK3288 Beta";
11 compatible = "firefly,firefly-rk3288-beta", "rockchip,rk3288";
/linux/tools/testing/selftests/bpf/progs/
H A Dbpf_cubic.c34 #define BICTCP_BETA_SCALE 1024 /* Scale factor beta calculation
35 * max_cwnd = snd_cwnd * beta
50 static const int beta = 717; /* = 717/1024 (BICTCP_BETA_SCALE) */ variable
61 static const __u32 beta_scale = 8*(BICTCP_BETA_SCALE+beta) / 3
62 / (BICTCP_BETA_SCALE - beta);
415 ca->last_max_cwnd = (tp->snd_cwnd * (BICTCP_BETA_SCALE + beta)) in BPF_PROG()
420 return max((tp->snd_cwnd * beta) / BICTCP_BETA_SCALE, 2U); in BPF_PROG()
/linux/Documentation/hwmon/
H A Dmax31730.rst26 diode, while beta compensation corrects for temperature-measurement
27 errors due to low-beta sensing transistors.
H A Dw83781d.rst141 beta value in the sensor files. '1' is the PII/Celeron diode, '2' is the
188 This support will be BETA until a datasheet is released.
246 > reprogramming the R-T table if the Beta of the thermistor is not
248 > What formulas do I use to program a new R-T table for a given Beta?
252 confidential. If you have another Beta value of thermistor, we can help
460 old ASUS, it isn't marketed as Qfan. Maybe some beta pre-attempt at Qfan
/linux/drivers/net/wireless/ath/ath9k/
H A Dar9003_paprd.c432 int Q_scale_B, Q_beta, Q_alpha, alpha, beta, order_1, order_2; in create_pa_curve() local
637 beta = (beta_raw << 10) / scale_B; in create_pa_curve()
647 y5 = ((beta * tmp) >> 6) >> order1_5x; in create_pa_curve()
690 beta = (beta_raw << 10) / scale_B; in create_pa_curve()
706 if (beta > 0) in create_pa_curve()
707 y5 = (((beta * tmp - 64) >> 6) - in create_pa_curve()
710 y5 = ((((beta * tmp - 64) >> 6) + in create_pa_curve()
719 if (beta > 0) in create_pa_curve()
/linux/drivers/input/misc/
H A Diqs7222.c1103 .name = "azoteq,lta-beta-lp",
1108 .label = "low-power mode long-term average beta",
1111 .name = "azoteq,lta-beta-np",
1116 .label = "normal-power mode long-term average beta",
1119 .name = "azoteq,counts-beta-lp",
1124 .label = "low-power mode counts beta",
1127 .name = "azoteq,counts-beta-np",
1132 .label = "normal-power mode counts beta",
1135 .name = "azoteq,lta-fast-beta-lp",
1140 .label = "low-power mode long-term average fast beta",
[all …]
/linux/tools/bootconfig/samples/
H A Dgood-single.bconf4 key3 = "alpha", "beta"
/linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/
H A Dctxgf117.c249 const u32 beta = grctx->attrib_nr; in gf117_grctx_generate_attrib() local
256 gf100_grctx_patch_wr32(chan, 0x405830, (beta << 16) | alpha); in gf117_grctx_generate_attrib()
262 const u32 b = beta * gr->ppc_tpc_nr[gpc][ppc]; in gf117_grctx_generate_attrib()
/linux/drivers/media/dvb-frontends/
H A Dstb0899_algo.c501 /* BETA values rated @ 99MHz */ in stb0899_dvbs_algo()
518 STB0899_SETFIELD_VAL(BETA, bclc, 0x1c); in stb0899_dvbs_algo()
524 STB0899_SETFIELD_VAL(BETA, bclc, 0x22); in stb0899_dvbs_algo()
530 STB0899_SETFIELD_VAL(BETA, bclc, 0x27); in stb0899_dvbs_algo()
536 STB0899_SETFIELD_VAL(BETA, bclc, 0x29); in stb0899_dvbs_algo()
674 STB0899_SETFIELD_VAL(BETA, reg, betaTab[0][clnI]); in stb0899_dvbs_algo()
679 STB0899_SETFIELD_VAL(BETA, reg, betaTab[1][clnI]); in stb0899_dvbs_algo()
684 STB0899_SETFIELD_VAL(BETA, reg, betaTab[2][clnI]); in stb0899_dvbs_algo()
689 STB0899_SETFIELD_VAL(BETA, reg, betaTab[3][clnI]); in stb0899_dvbs_algo()
699 STB0899_SETFIELD_VAL(BETA, reg, betaTab[4][clnI]); in stb0899_dvbs_algo()
/linux/arch/riscv/boot/dts/starfive/
H A Djh7100-beaglev-starlight.dts11 model = "BeagleV Starlight Beta";
/linux/tools/testing/selftests/tc-testing/tc-tests/qdiscs/
H A Ddualpi2.json59 …ualpi2 1: root refcnt [0-9]+ limit 10000p.* target 20ms tupdate 20ms alpha 0.042969 beta 1.496094",
80 …ualpi2 1: root refcnt [0-9]+ limit 10000p.* target 50ms tupdate 50ms alpha 0.050781 beta 0.996094",

1234