/kernel/linux/linux-5.10/drivers/clk/meson/ |
H A D | clk-mpll.c | 33 unsigned int n2) in rate_from_params() 35 unsigned long divisor = (SDM_DEN * n2) + sdm; in rate_from_params() 37 if (n2 < N2_MIN) in rate_from_params() 46 unsigned int *n2, in params_from_rate() 65 *n2 = N2_MIN; in params_from_rate() 68 *n2 = N2_MAX; in params_from_rate() 71 *n2 = div; in params_from_rate() 80 unsigned int sdm, n2; in mpll_recalc_rate() local 84 n2 = meson_parm_read(clk->map, &mpll->n2); in mpll_recalc_rate() 31 rate_from_params(unsigned long parent_rate, unsigned int sdm, unsigned int n2) rate_from_params() argument 43 params_from_rate(unsigned long requested_rate, unsigned long parent_rate, unsigned int *sdm, unsigned int *n2, u8 flags) params_from_rate() argument 96 unsigned int sdm, n2; mpll_round_rate() local 108 unsigned int sdm, n2; mpll_set_rate() local [all...] |
H A D | clk-dualdiv.c | 44 p->n1 * p->m1 + p->n2 * p->m2); in __dualdiv_param_to_rate() 57 setting.n2 = meson_parm_read(clk->map, &dualdiv->n2) + 1; in meson_clk_dualdiv_recalc_rate() 117 meson_parm_write(clk->map, &dualdiv->n2, setting->n2 - 1); in meson_clk_dualdiv_set_rate()
|
/kernel/linux/linux-6.6/drivers/clk/meson/ |
H A D | clk-mpll.c | 33 unsigned int n2) in rate_from_params() 35 unsigned long divisor = (SDM_DEN * n2) + sdm; in rate_from_params() 37 if (n2 < N2_MIN) in rate_from_params() 46 unsigned int *n2, in params_from_rate() 65 *n2 = N2_MIN; in params_from_rate() 68 *n2 = N2_MAX; in params_from_rate() 71 *n2 = div; in params_from_rate() 80 unsigned int sdm, n2; in mpll_recalc_rate() local 84 n2 = meson_parm_read(clk->map, &mpll->n2); in mpll_recalc_rate() 31 rate_from_params(unsigned long parent_rate, unsigned int sdm, unsigned int n2) rate_from_params() argument 43 params_from_rate(unsigned long requested_rate, unsigned long parent_rate, unsigned int *sdm, unsigned int *n2, u8 flags) params_from_rate() argument 94 unsigned int sdm, n2; mpll_determine_rate() local 114 unsigned int sdm, n2; mpll_set_rate() local [all...] |
H A D | clk-dualdiv.c | 44 p->n1 * p->m1 + p->n2 * p->m2); in __dualdiv_param_to_rate() 57 setting.n2 = meson_parm_read(clk->map, &dualdiv->n2) + 1; in meson_clk_dualdiv_recalc_rate() 122 meson_parm_write(clk->map, &dualdiv->n2, setting->n2 - 1); in meson_clk_dualdiv_set_rate()
|
/kernel/linux/linux-5.10/tools/testing/selftests/wireguard/ |
H A D | netns.sh | 37 n2() { pretty 2 "$*"; maybe_exec ip netns exec $netns2 "$@"; } function 104 n2 wg set wg0 \ 118 n2 ping -c 10 -f -W 1 192.168.241.1 122 n2 ping6 -c 10 -f -W 1 fd00::1 126 n2 iperf3 -s -1 -B 192.168.241.2 & 133 n2 iperf3 -Z -t 3 -c fd00::1 138 n2 iperf3 -Z -t 3 -b 0 -u -c 192.168.241.1 141 n2 iperf3 -s -1 -B fd00::2 & 149 n2 iperf3 -p $(( 5200 + i )) -s -1 -B 192.168.241.2 & 164 n2 w [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/wireguard/ |
H A D | netns.sh | 39 n2() { pretty 2 "$*"; maybe_exec ip netns exec $netns2 "$@"; } function 106 n2 wg set wg0 \ 120 n2 ping -c 10 -f -W 1 192.168.241.1 124 n2 ping6 -c 10 -f -W 1 fd00::1 128 n2 iperf3 -s -1 -B 192.168.241.2 & 135 n2 iperf3 -Z -t 3 -c fd00::1 140 n2 iperf3 -Z -t 3 -b 0 -u -c 192.168.241.1 143 n2 iperf3 -s -1 -B fd00::2 & 150 n2 iperf3 -p $(( 5200 + i )) -s -1 -B 192.168.241.2 & 164 n2 w [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/mm/ |
H A D | migration.c | 29 int n2; in FIXTURE() local 39 self->n2 = -1; in FIXTURE_SETUP() 46 self->n2 = n; in FIXTURE_SETUP() 63 int migrate(uint64_t *ptr, int n1, int n2) in migrate() argument 79 ret = move_pages(0, 1, (void **) &ptr, &n2, &status, in migrate() 89 tmp = n2; in migrate() 90 n2 = n1; in migrate() 123 if (self->nthreads < 2 || self->n1 < 0 || self->n2 < 0) 135 ASSERT_EQ(migrate(ptr, self->n1, self->n2), 0); 149 if (self->nthreads < 2 || self->n1 < 0 || self->n2 < [all...] |
/kernel/linux/linux-5.10/security/selinux/ss/ |
H A D | ebitmap.c | 33 struct ebitmap_node *n1, *n2; in ebitmap_cmp() local 39 n2 = e2->node; in ebitmap_cmp() 40 while (n1 && n2 && in ebitmap_cmp() 41 (n1->startbit == n2->startbit) && in ebitmap_cmp() 42 !memcmp(n1->maps, n2->maps, EBITMAP_SIZE / 8)) { in ebitmap_cmp() 44 n2 = n2->next; in ebitmap_cmp() 47 if (n1 || n2) in ebitmap_cmp() 222 struct ebitmap_node *n1, *n2; in ebitmap_contains() local 229 n2 in ebitmap_contains() [all...] |
/kernel/linux/linux-6.6/security/selinux/ss/ |
H A D | ebitmap.c | 33 const struct ebitmap_node *n1, *n2; in ebitmap_cmp() local 39 n2 = e2->node; in ebitmap_cmp() 40 while (n1 && n2 && in ebitmap_cmp() 41 (n1->startbit == n2->startbit) && in ebitmap_cmp() 42 !memcmp(n1->maps, n2->maps, EBITMAP_SIZE / 8)) { in ebitmap_cmp() 44 n2 = n2->next; in ebitmap_cmp() 47 if (n1 || n2) in ebitmap_cmp() 223 const struct ebitmap_node *n1, *n2; in ebitmap_contains() local 230 n2 in ebitmap_contains() [all...] |
/kernel/linux/linux-5.10/arch/powerpc/math-emu/ |
H A D | udivmodti4.c | 91 _FP_W_TYPE n2; in _fp_udivmodti4() 98 n2 = n1 >> b; in _fp_udivmodti4() 102 udiv_qrnnd (q1, n1, n2, n1, d0); in _fp_udivmodti4() 159 _FP_W_TYPE m1, m0, n2; in _fp_udivmodti4() local 167 n2 = n1 >> b; in _fp_udivmodti4() 171 udiv_qrnnd (q0, n1, n2, n1, d1); in _fp_udivmodti4()
|
/kernel/linux/linux-6.6/arch/powerpc/math-emu/ |
H A D | udivmodti4.c | 91 _FP_W_TYPE n2; in _fp_udivmodti4() 98 n2 = n1 >> b; in _fp_udivmodti4() 102 udiv_qrnnd (q1, n1, n2, n1, d0); in _fp_udivmodti4() 159 _FP_W_TYPE m1, m0, n2; in _fp_udivmodti4() local 167 n2 = n1 >> b; in _fp_udivmodti4() 171 udiv_qrnnd (q0, n1, n2, n1, d1); in _fp_udivmodti4()
|
/kernel/linux/linux-5.10/lib/math/ |
H A D | rational.c | 44 * n2/d2, n1/d1, and n0/d0 are our successively more accurate in rational_best_approximation() 50 unsigned long n, d, n0, d0, n1, d1, n2, d2; in rational_best_approximation() local 70 * convergent), n2/d2, using the term just found and in rational_best_approximation() 73 n2 = n0 + a * n1; in rational_best_approximation() 81 if ((n2 > max_numerator) || (d2 > max_denominator)) { in rational_best_approximation() 100 n1 = n2; in rational_best_approximation()
|
/kernel/linux/linux-5.10/net/dccp/ccids/lib/ |
H A D | packet_history.c | 163 static void __one_after_loss(struct tfrc_rx_hist *h, struct sk_buff *skb, u32 n2) in __one_after_loss() argument 171 tfrc_rx_hist_entry_from_skb(tfrc_rx_hist_entry(h, 2), skb, n2); in __one_after_loss() 177 if (dccp_loss_free(s0, s2, n2)) { in __one_after_loss() 186 tfrc_rx_hist_entry_from_skb(tfrc_rx_hist_loss_prev(h), skb, n2); in __one_after_loss() local 194 tfrc_rx_hist_entry_from_skb(tfrc_rx_hist_entry(h, 1), skb, n2); in __one_after_loss() 232 u64 n2 = tfrc_rx_hist_entry(h, 2)->tfrchrx_ndp; in __two_after_loss() local 234 if (dccp_loss_free(s1, s2, n2)) { in __two_after_loss() 274 u64 n2 = tfrc_rx_hist_entry(h, 2)->tfrchrx_ndp, in __three_after_loss() local 277 if (dccp_loss_free(s1, s2, n2)) { in __three_after_loss()
|
/kernel/linux/linux-6.6/net/dccp/ccids/lib/ |
H A D | packet_history.c | 163 static void __one_after_loss(struct tfrc_rx_hist *h, struct sk_buff *skb, u32 n2) in __one_after_loss() argument 171 tfrc_rx_hist_entry_from_skb(tfrc_rx_hist_entry(h, 2), skb, n2); in __one_after_loss() 177 if (dccp_loss_free(s0, s2, n2)) { in __one_after_loss() 186 tfrc_rx_hist_entry_from_skb(tfrc_rx_hist_loss_prev(h), skb, n2); in __one_after_loss() local 194 tfrc_rx_hist_entry_from_skb(tfrc_rx_hist_entry(h, 1), skb, n2); in __one_after_loss() 232 u64 n2 = tfrc_rx_hist_entry(h, 2)->tfrchrx_ndp; in __two_after_loss() local 234 if (dccp_loss_free(s1, s2, n2)) { in __two_after_loss() 274 u64 n2 = tfrc_rx_hist_entry(h, 2)->tfrchrx_ndp, in __three_after_loss() local 277 if (dccp_loss_free(s1, s2, n2)) { in __three_after_loss()
|
/kernel/linux/linux-5.10/arch/mips/bcm63xx/ |
H A D | cpu.c | 164 unsigned int tmp, n1, n2, m1; in detect_cpu_clock() local 169 n2 = (tmp & MIPSPLLCTL_N2_MASK) >> MIPSPLLCTL_N2_SHIFT; in detect_cpu_clock() 172 n2 += 2; in detect_cpu_clock() 174 return (16 * 1000000 * n1 * n2) / m1; in detect_cpu_clock() 179 unsigned int tmp, n1, n2, m1; in detect_cpu_clock() local 184 n2 = (tmp & DMIPSPLLCFG_N2_MASK) >> DMIPSPLLCFG_N2_SHIFT; in detect_cpu_clock() 186 return (16 * 1000000 * n1 * n2) / m1; in detect_cpu_clock()
|
/kernel/linux/linux-6.6/arch/mips/bcm63xx/ |
H A D | cpu.c | 164 unsigned int tmp, n1, n2, m1; in detect_cpu_clock() local 169 n2 = (tmp & MIPSPLLCTL_N2_MASK) >> MIPSPLLCTL_N2_SHIFT; in detect_cpu_clock() 172 n2 += 2; in detect_cpu_clock() 174 return (16 * 1000000 * n1 * n2) / m1; in detect_cpu_clock() 179 unsigned int tmp, n1, n2, m1; in detect_cpu_clock() local 184 n2 = (tmp & DMIPSPLLCFG_N2_MASK) >> DMIPSPLLCFG_N2_SHIFT; in detect_cpu_clock() 186 return (16 * 1000000 * n1 * n2) / m1; in detect_cpu_clock()
|
/kernel/linux/linux-5.10/arch/s390/include/asm/ |
H A D | cmpxchg.h | 36 #define __cmpxchg_double(p1, p2, o1, o2, n1, n2) \ 41 register __typeof__(*(p2)) __new2 asm("5") = (n2); \ 54 #define cmpxchg_double(p1, p2, o1, o2, n1, n2) \ 61 __cmpxchg_double(__p1, __p2, o1, o2, n1, n2); \
|
/kernel/linux/linux-6.6/lib/math/ |
H A D | rational.c | 45 * n2/d2, n1/d1, and n0/d0 are our successively more accurate in rational_best_approximation() 51 unsigned long n, d, n0, d0, n1, d1, n2, d2; in rational_best_approximation() local 71 * convergent), n2/d2, using the term just found and in rational_best_approximation() 74 n2 = n0 + a * n1; in rational_best_approximation() 82 if ((n2 > max_numerator) || (d2 > max_denominator)) { in rational_best_approximation() 101 n1 = n2; in rational_best_approximation()
|
/kernel/linux/linux-6.6/net/lapb/ |
H A D | lapb_timer.c | 113 lapb->n2count != lapb->n2) { in lapb_t1timer_expiry() 126 if (lapb->n2count == lapb->n2) { in lapb_t1timer_expiry() 151 if (lapb->n2count == lapb->n2) { in lapb_t1timer_expiry() 169 if (lapb->n2count == lapb->n2) { in lapb_t1timer_expiry() 188 if (lapb->n2count == lapb->n2) { in lapb_t1timer_expiry()
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
H A D | cmpxchg.h | 236 #define __cmpxchg_double(pfx, p1, p2, o1, o2, n1, n2) \ 240 __typeof__(*(p2)) __old2 = (o2), __new2 = (n2); \ 255 #define arch_cmpxchg_double(p1, p2, o1, o2, n1, n2) \ 256 __cmpxchg_double(LOCK_PREFIX, p1, p2, o1, o2, n1, n2) 258 #define arch_cmpxchg_double_local(p1, p2, o1, o2, n1, n2) \ 259 __cmpxchg_double(, p1, p2, o1, o2, n1, n2)
|
/kernel/linux/linux-5.10/drivers/char/hw_random/ |
H A D | Makefile | 14 obj-$(CONFIG_HW_RANDOM_N2RNG) += n2-rng.o 15 n2-rng-y := n2-drv.o n2-asm.o
|
/kernel/linux/linux-6.6/drivers/char/hw_random/ |
H A D | Makefile | 14 obj-$(CONFIG_HW_RANDOM_N2RNG) += n2-rng.o 15 n2-rng-y := n2-drv.o n2-asm.o
|
/kernel/linux/linux-5.10/arch/m68k/include/asm/ |
H A D | uaccess.h | 193 #define ____constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, s1, s2, s3)\ 221 "20: addq.l #"#n2",%0\n" \ 231 #define ___constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, s1, s2, s3)\ 232 ____constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, s1, s2, s3) 233 #define __constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3) \ 234 ___constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, \ 235 __suffix##n1, __suffix##n2, __suffix##n3)
|
/kernel/linux/linux-6.6/arch/m68k/include/asm/ |
H A D | uaccess.h | 190 #define ____constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, s1, s2, s3)\ 218 "20: addq.l #"#n2",%0\n" \ 228 #define ___constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, s1, s2, s3)\ 229 ____constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, s1, s2, s3) 230 #define __constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3) \ 231 ___constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, \ 232 __suffix##n1, __suffix##n2, __suffix##n3)
|
/kernel/linux/linux-6.6/tools/testing/selftests/net/forwarding/ |
H A D | bridge_mdb_max.sh | 420 local n2=$(bridge_${context}_ngroups_get "$locus") 422 ((n2 == n0)) 423 check_err $? "Number of groups was $n0, now is $n2, but should be back to $n0" 871 local n2=$(bridge_${context}_ngroups_get "$locus") 872 ((n2 == n)) 873 check_err $? "Number of groups was $n, but after a failed attempt to add MDB entries it changed to $n2" 951 local n2=$(bridge_port_vlan_ngroups_get "$locus2") 954 if ((n1 > n2)); then 956 n1=$n2 957 n2 [all...] |