Home
last modified time | relevance | path

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

12345

/kernel/linux/linux-5.10/drivers/clk/meson/
Dclk-mpll.c33 unsigned int n2) in rate_from_params() argument
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() 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()
86 rate = rate_from_params(parent_rate, sdm, n2); in mpll_recalc_rate()
[all …]
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()
117 meson_parm_write(clk->map, &dualdiv->n2, setting->n2 - 1); in meson_clk_dualdiv_set_rate()
Dclk-dualdiv.h15 unsigned int n2; member
23 struct parm n2; member
/kernel/linux/linux-5.10/tools/testing/selftests/wireguard/
Dnetns.sh37 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 wg set wg0 peer "$pub1" endpoint 127.0.0.1:1
[all …]
/kernel/linux/linux-5.10/security/selinux/ss/
Debitmap.c33 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 = e2->node; in ebitmap_contains()
231 while (n1 && n2 && (n1->startbit <= n2->startbit)) { in ebitmap_contains()
[all …]
/kernel/linux/linux-5.10/arch/powerpc/math-emu/
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()
/kernel/linux/linux-5.10/arch/mips/bcm63xx/
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()
/kernel/linux/linux-5.10/lib/math/
Drational.c50 unsigned long n, d, n0, d0, n1, d1, n2, d2; in rational_best_approximation() local
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/arch/s390/include/asm/
Dcmpxchg.h36 #define __cmpxchg_double(p1, p2, o1, o2, n1, n2) \ argument
41 register __typeof__(*(p2)) __new2 asm("5") = (n2); \
54 #define cmpxchg_double(p1, p2, o1, o2, n1, n2) \ argument
61 __cmpxchg_double(__p1, __p2, o1, o2, n1, n2); \
/kernel/linux/linux-5.10/net/dccp/ccids/lib/
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()
/kernel/linux/linux-5.10/fs/hfs/
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()
/kernel/linux/linux-5.10/arch/m68k/include/asm/
Duaccess.h193 #define ____constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, s1, s2, s3)\ argument
221 "20: addq.l #"#n2",%0\n" \
231 #define ___constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, s1, s2, s3)\ argument
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) \ argument
234 ___constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, \
235 __suffix##n1, __suffix##n2, __suffix##n3)
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dcmpxchg.h236 #define __cmpxchg_double(pfx, p1, p2, o1, o2, n1, n2) \ argument
240 __typeof__(*(p2)) __old2 = (o2), __new2 = (n2); \
255 #define arch_cmpxchg_double(p1, p2, o1, o2, n1, n2) \ argument
256 __cmpxchg_double(LOCK_PREFIX, p1, p2, o1, o2, n1, n2)
258 #define arch_cmpxchg_double_local(p1, p2, o1, o2, n1, n2) \ argument
259 __cmpxchg_double(, p1, p2, o1, o2, n1, n2)
/kernel/linux/linux-5.10/lib/mpi/
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()
/kernel/linux/linux-5.10/net/lapb/
Dlapb_timer.c99 if (lapb->n2count == lapb->n2) { in lapb_t1timer_expiry()
123 if (lapb->n2count == lapb->n2) { in lapb_t1timer_expiry()
140 if (lapb->n2count == lapb->n2) { in lapb_t1timer_expiry()
158 if (lapb->n2count == lapb->n2) { in lapb_t1timer_expiry()
Dlapb_iface.c128 lapb->n2 = LAPB_DEFAULT_N2; in lapb_create_cb()
206 parms->n2 = lapb->n2; in lapb_getparms()
238 if (parms->t1 < 1 || parms->t2 < 1 || parms->n2 < 1) in lapb_setparms()
255 lapb->n2 = parms->n2; in lapb_setparms()
/kernel/linux/linux-5.10/drivers/char/hw_random/
DMakefile14 obj-$(CONFIG_HW_RANDOM_N2RNG) += n2-rng.o
15 n2-rng-y := n2-drv.o n2-asm.o
/kernel/linux/linux-5.10/arch/powerpc/platforms/ps3/
Drepository.c41 static void _dump_node_name(unsigned int lpar_id, u64 n1, u64 n2, u64 n3, in _dump_node_name() argument
46 _dump_field("n2: ", n2, func, line); in _dump_node_name()
53 static void _dump_node(unsigned int lpar_id, u64 n1, u64 n2, u64 n3, u64 n4, in _dump_node() argument
58 _dump_field("n2: ", n2, func, line); in _dump_node()
109 static int read_node(unsigned int lpar_id, u64 n1, u64 n2, u64 n3, u64 n4, in read_node() argument
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()
1049 static int create_node(u64 n1, u64 n2, u64 n3, u64 n4, u64 v1, u64 v2) in create_node() argument
1053 dump_node(0, n1, n2, n3, n4, v1, v2); in create_node()
[all …]
/kernel/linux/linux-5.10/include/scsi/
Discsi_proto.h34 static inline int iscsi_sna_lt(u32 n1, u32 n2) in iscsi_sna_lt() argument
36 return (s32)(n1 - n2) < 0; in iscsi_sna_lt()
39 static inline int iscsi_sna_lte(u32 n1, u32 n2) in iscsi_sna_lte() argument
41 return (s32)(n1 - n2) <= 0; in iscsi_sna_lte()
44 static inline int iscsi_sna_gt(u32 n1, u32 n2) in iscsi_sna_gt() argument
46 return (s32)(n1 - n2) > 0; in iscsi_sna_gt()
49 static inline int iscsi_sna_gte(u32 n1, u32 n2) in iscsi_sna_gte() argument
51 return (s32)(n1 - n2) >= 0; in iscsi_sna_gte()
/kernel/linux/linux-5.10/arch/arm64/boot/dts/amlogic/
Dmeson-g12b-odroid-n2.dts10 #include "meson-g12b-odroid-n2.dtsi"
13 compatible = "hardkernel,odroid-n2", "amlogic,s922x", "amlogic,g12b";
Dmeson-g12b-odroid-n2-plus.dts11 #include "meson-g12b-odroid-n2.dtsi"
14 compatible = "hardkernel,odroid-n2-plus", "amlogic,s922x", "amlogic,g12b";
/kernel/linux/linux-5.10/drivers/clk/pxa/
Dclk-pxa25x.c229 unsigned int n2 = N2_clk_mult[(cccr >> 7) & 0x07]; in clk_pxa25x_run_get_rate() local
231 return (parent_rate / n2) * 2; in clk_pxa25x_run_get_rate()
240 unsigned int l, m, n2, t; in clk_pxa25x_cpll_get_rate() local
246 n2 = N2_clk_mult[(cccr >> 7) & 0x07]; in clk_pxa25x_cpll_get_rate()
248 return m * l * n2 * parent_rate / 2; in clk_pxa25x_cpll_get_rate()
/kernel/linux/linux-5.10/fs/ext4/
Dindirect.c1226 int n = 0, n2 = 0; in ext4_ind_remove_space() local
1237 n2 = ext4_block_to_path(inode, end, offsets2, NULL); in ext4_ind_remove_space()
1239 BUG_ON(n > n2); in ext4_ind_remove_space()
1241 if ((n == 1) && (n == n2)) { in ext4_ind_remove_space()
1246 } else if (n2 > n) { in ext4_ind_remove_space()
1294 partial2 = p2 = ext4_find_shared(inode, n2, offsets2, chain2, &nr2); in ext4_ind_remove_space()
1323 (chain2+n2-1) - partial2); in ext4_ind_remove_space()
1331 partial2 = p2 = ext4_find_shared(inode, n2, offsets2, chain2, &nr2); in ext4_ind_remove_space()
1376 int depth2 = (chain2+n2-1) - partial2; in ext4_ind_remove_space()
1409 (chain2+n2-1) - partial2); in ext4_ind_remove_space()
[all …]
/kernel/linux/linux-5.10/net/ax25/
Dax25_std_timer.c124 if (ax25->n2count == ax25->n2) { in ax25_std_t1timer_expiry()
144 if (ax25->n2count == ax25->n2) { in ax25_std_t1timer_expiry()
162 if (ax25->n2count == ax25->n2) { in ax25_std_t1timer_expiry()
/kernel/linux/linux-5.10/drivers/net/wan/
Dhdlc_x25.c203 params.n2 = state(hdlc)->settings.n2; in x25_open()
308 new_settings.n2 = 10; in x25_ioctl()
327 new_settings.n2 < 1 || in x25_ioctl()
328 new_settings.n2 > 255) in x25_ioctl()

12345