Home
last modified time | relevance | path

Searched refs:n2 (Results 1 – 25 of 159) sorted by relevance

1234567

/openbmc/linux/drivers/clk/meson/
H A Dclk-mpll.c33 unsigned int n2) in rate_from_params() argument
37 if (n2 < N2_MIN) in rate_from_params()
46 unsigned int *n2, in params_from_rate() argument
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()
94 unsigned int sdm, n2; in mpll_determine_rate() local
114 unsigned int sdm, n2; in mpll_set_rate() local
[all …]
H A Dclk-dualdiv.c44 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()
H A Dclk-dualdiv.h15 unsigned int n2; member
23 struct parm n2; member
/openbmc/linux/tools/testing/selftests/mm/
H A Dmigration.c29 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);
170 ASSERT_EQ(migrate(ptr, self->n1, self->n2), 0);
[all …]
/openbmc/linux/tools/testing/selftests/wireguard/
H A Dnetns.sh106 n2 wg set wg0 \
124 n2 ping6 -c 10 -f -W 1 fd00::1
135 n2 iperf3 -Z -t 3 -c fd00::1
143 n2 iperf3 -s -1 -B fd00::2 &
234 n2 wg set wg0 listen-port 9997
341 n2 ping -W 1 -c 1 192.168.241.1
345 n2 ping -W 1 -c 1 192.168.241.1
397 n2 iptables -t nat -F
462 n2 ping -W 1 -c 1 192.168.241.1
465 n2 ping -W 1 -c 1 192.168.241.1
[all …]
/openbmc/linux/security/selinux/ss/
H A Debitmap.c33 const struct ebitmap_node *n1, *n2; in ebitmap_cmp() local
39 n2 = e2->node; in ebitmap_cmp()
40 while (n1 && n2 && in ebitmap_cmp()
44 n2 = n2->next; in ebitmap_cmp()
47 if (n1 || n2) in ebitmap_cmp()
230 n2 = e2->node; in ebitmap_contains()
232 while (n1 && n2 && (n1->startbit <= n2->startbit)) { in ebitmap_contains()
241 __fls(n2->maps[i]); in ebitmap_contains()
247 if ((n1->maps[i] & n2->maps[i]) != n2->maps[i]) in ebitmap_contains()
253 n2 = n2->next; in ebitmap_contains()
[all …]
/openbmc/linux/arch/powerpc/math-emu/
H A Dudivmodti4.c91 _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()
/openbmc/linux/lib/math/
H A Drational.c51 unsigned long n, d, n0, d0, n1, d1, n2, d2; in rational_best_approximation() local
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()
/openbmc/linux/arch/mips/bcm63xx/
H A Dcpu.c164 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()
/openbmc/qemu/tests/tcg/cris/bare/
H A Dcheck_boundc.s2 # output: 2\n2\nffff\nffffffff\n5432f789\n2\nffff\n2\nffff\nffff\nf789\n2\n2\nff\nff\nff\n89\n0\nff…
H A Dcheck_boundr.s2 # output: 2\n2\nffff\nffffffff\n5432f789\n2\n2\nffff\nffff\nffff\nf789\n2\n2\nff\nff\n89\nfeda4953\…
H A Dcheck_andc.s2 # output: 2\n2\nffff\nffffffff\n50124400\nffff0002\n2\nfffff\nfedaff0f\n78134400\nffffff02\n2\nf02\…
H A Dcheck_cmpxc.s2 # output: 2\n2\n2\n2\nffff\nffff\nffff\nffff\nffffffff\nffffffff\nffffffff\n78134452\n78134452\n781…
H A Dcheck_cmpc.s2 # output: ffffffff\n2\nffff\nffffffff\n78134452\nffffffff\n2\nffff\nfedaffff\n78134452\nffffffff\n2
/openbmc/linux/net/dccp/ccids/lib/
H A Dpacket_history.c163 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()
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()
/openbmc/linux/fs/hfs/
H A Dstring.c98 const unsigned char *n1, *n2; in hfs_compare_dentry() local
108 n2 = name->name; in hfs_compare_dentry()
110 if (caseorder[*n1++] != caseorder[*n2++]) in hfs_compare_dentry()
/openbmc/linux/net/lapb/
H A Dlapb_timer.c113 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()
/openbmc/linux/lib/crypto/mpi/
H A Dmpih-div.c233 mpi_limb_t n1, n0, n2; in mpihelp_divrem() local
276 n2 = np[0]; in mpihelp_divrem()
278 if (n1 > r || (n1 == r && n0 > n2)) { in mpihelp_divrem()
288 sub_ddmmss(n1, n0, r, n2, n1, n0); in mpihelp_divrem()
316 mpi_limb_t n1, n2; in mpihelp_divrem() local
321 n2 = np[dsize]; in mpihelp_divrem()
323 n2 = np[dsize - 1]; in mpihelp_divrem()
355 if (n2 != cy_limb) { in mpihelp_divrem()
/openbmc/u-boot/drivers/clk/
H A Dclk_meson_axg.c119 unsigned long n2) in mpll_rate_from_params() argument
121 unsigned long divisor = (SDM_DEN * n2) + sdm; in mpll_rate_from_params()
123 if (n2 < N2_MIN) in mpll_rate_from_params()
154 unsigned long sdm, n2; in meson_mpll_get_rate() local
183 n2 = PARM_GET(pn2->width, pn2->shift, reg); in meson_mpll_get_rate()
185 return mpll_rate_from_params(parent_rate, sdm, n2); in meson_mpll_get_rate()
/openbmc/qemu/tests/qemu-iotests/
H A D223.out68 "arguments":{"device":"n", "name":"n2",
72 "arguments":{"device":"n", "name":"n2",
76 "arguments":{"device":"n", "name":"n2", "writable":true,
94 export: 'n2'
151 "arguments":{"name":"n2"}}
155 "arguments":{"name":"n2"}}
190 "arguments":{"device":"n", "name":"n2",
194 "arguments":{"device":"n", "name":"n2",
216 export: 'n2'
273 "arguments":{"name":"n2"}}
[all …]
/openbmc/linux/drivers/char/hw_random/
H A DMakefile14 obj-$(CONFIG_HW_RANDOM_N2RNG) += n2-rng.o
15 n2-rng-y := n2-drv.o n2-asm.o
/openbmc/linux/arch/m68k/include/asm/
H A Duaccess.h190 #define ____constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, s1, s2, s3)\ argument
218 "20: addq.l #"#n2",%0\n" \
228 #define ___constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, s1, s2, s3)\ argument
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) \ argument
231 ___constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, \
232 __suffix##n1, __suffix##n2, __suffix##n3)
/openbmc/linux/tools/testing/selftests/net/forwarding/
H A Dbridge_mdb_max.sh420 local n2=$(bridge_${context}_ngroups_get "$locus")
422 ((n2 == n0))
871 local n2=$(bridge_${context}_ngroups_get "$locus")
872 ((n2 == n))
951 local n2=$(bridge_port_vlan_ngroups_get "$locus2")
954 if ((n1 > n2)); then
956 n1=$n2
957 n2=$tmp
968 n2=$(bridge_port_vlan_ngroups_get "$locus2")
976 bridge_port_vlan_maxgroups_set "$locus1" $((n2-1))
[all …]
/openbmc/linux/arch/arm64/boot/dts/amlogic/
H A Dmeson-g12b-odroid-n2.dts10 #include "meson-g12b-odroid-n2.dtsi"
13 compatible = "hardkernel,odroid-n2", "amlogic,s922x", "amlogic,g12b";
/openbmc/linux/arch/powerpc/platforms/ps3/
H A Drepository.c46 _dump_field("n2: ", n2, func, line); in _dump_node_name()
58 _dump_field("n2: ", n2, func, line); in _dump_node()
122 result = lv1_read_repository_node(lpar_id, n1, n2, n3, n4, &v1, in read_node()
128 dump_node_name(lpar_id, n1, n2, n3, n4); in read_node()
132 dump_node(lpar_id, n1, n2, n3, n4, v1, v2); in read_node()
1053 dump_node(0, n1, n2, n3, n4, v1, v2); in create_node()
1066 static int delete_node(u64 n1, u64 n2, u64 n3, u64 n4) in delete_node() argument
1070 dump_node(0, n1, n2, n3, n4, 0, 0); in delete_node()
1072 result = lv1_delete_repository_node(n1, n2, n3, n4); in delete_node()
1087 result = create_node(n1, n2, n3, n4, v1, v2); in write_node()
[all …]

1234567