Home
last modified time | relevance | path

Searched refs:n1 (Results 1 – 25 of 106) sorted by relevance

12345

/kernel/linux/linux-5.10/arch/alpha/math-emu/
Dqrnnd.S43 #define n1 $17 macro
53 addq n1,n1,n1
54 bis n1,tmp,n1
56 cmpule d,n1,qb
57 subq n1,d,tmp
58 cmovne qb,tmp,n1
61 addq n1,n1,n1
62 bis n1,tmp,n1
64 cmpule d,n1,qb
65 subq n1,d,tmp
[all …]
/kernel/linux/linux-5.10/arch/powerpc/math-emu/
Dudivmodti4.c11 _FP_W_TYPE n1, _FP_W_TYPE n0, in _fp_udivmodti4() argument
20 if (d0 > n1) in _fp_udivmodti4()
24 udiv_qrnnd (q0, n0, n1, n0, d0); in _fp_udivmodti4()
36 udiv_qrnnd (q1, n1, 0, n1, d0); in _fp_udivmodti4()
37 udiv_qrnnd (q0, n0, n1, n0, d0); in _fp_udivmodti4()
47 if (d0 > n1) in _fp_udivmodti4()
59 n1 = (n1 << bm) | (n0 >> (_FP_W_TYPE_SIZE - bm)); in _fp_udivmodti4()
63 udiv_qrnnd (q0, n0, n1, n0, d0); in _fp_udivmodti4()
86 n1 -= d0; in _fp_udivmodti4()
98 n2 = n1 >> b; in _fp_udivmodti4()
[all …]
/kernel/linux/linux-5.10/lib/mpi/
Dmpih-div.c33 mpi_limb_t n1, n0, r; in mpihelp_mod_1() local
70 n1 = dividend_ptr[dividend_size - 1]; in mpihelp_mod_1()
71 r = n1 >> (BITS_PER_MPI_LIMB - normalization_steps); in mpihelp_mod_1()
82 ((n1 << normalization_steps) in mpihelp_mod_1()
85 n1 = n0; in mpihelp_mod_1()
88 n1 << normalization_steps, in mpihelp_mod_1()
129 n1 = dividend_ptr[dividend_size - 1]; in mpihelp_mod_1()
130 r = n1 >> (BITS_PER_MPI_LIMB - normalization_steps); in mpihelp_mod_1()
141 ((n1 << normalization_steps) in mpihelp_mod_1()
144 n1 = n0; in mpihelp_mod_1()
[all …]
Dlonglong.h144 #define udiv_qrnnd(q, r, n1, n0, d) \ argument
148 : "1" ((USItype)(n1)), \
162 #define udiv_qrnnd(q, r, n1, n0, d) \ argument
164 (q) = __udiv_qrnnd(&__r, (n1), (n0), (d)); \
339 #define udiv_qrnnd(q, r, n1, n0, d) \
341 (q) = __udiv_qrnnd(&__r, (n1), (n0), (d)); \
379 #define sdiv_qrnnd(q, r, n1, n0, d) \ argument
384 __xx.__i.__h = n1; __xx.__i.__l = n0; \
421 #define udiv_qrnnd(q, r, n1, n0, d) \ argument
426 "1" ((USItype)(n1)), \
[all …]
/kernel/liteos_a/testsuites/kernel/sample/kernel_base/core/task/full/
DIt_los_task_142.c51 UINT32 n1 = 0; in ItHwi() local
55 __asm__ __volatile__("vmrs %0, fpscr\n" : "=r"(n1)::); // n1 is fpscr in ItHwi()
56 g_fpsrc03 = n1; in ItHwi()
57 dprintf("after change fpscr = %x\n", n1); in ItHwi()
80 UINT32 n1 = 0; in Testcase() local
84 __asm__ __volatile__("vmrs %0, fpscr\n" : "=r"(n1)::); // n1 is fpscr in Testcase()
85 g_fpsrc01 = n1; in Testcase()
86 dprintf("before schual fpscr = %x\n", n1); in Testcase()
92 __asm__ __volatile__("vmrs %0, fpscr\n" : "=r"(n1)::); in Testcase()
93 g_fpsrc02 = n1; in Testcase()
[all …]
DIt_los_task_141.c51 UINT32 n1 = 0; in FloatTestInTask() local
59 __asm__ __volatile__("vmrs %0, fpscr\n" : "=r"(n1)::); // n1 is fpscr in FloatTestInTask()
60 g_fpsrc01 = n1; in FloatTestInTask()
61 dprintf("before schual fpscr = %x\n", n1); in FloatTestInTask()
63 __asm__ __volatile__("vmrs %0, fpscr\n" : "=r"(n1)::); // need equals to before delay 's fpscr in FloatTestInTask()
65 g_fpsrc02 = n1; in FloatTestInTask()
66 dprintf("after resume fpscr = %x\n", n1); in FloatTestInTask()
103 UINT32 n1 = 0; in Testcase() local
108 __asm__ __volatile__("vmrs %0, fpscr\n" : "=r"(n1)::); // fpscr need not equals to up value in Testcase()
109 g_fpsrc03 = n1; in Testcase()
[all …]
/kernel/linux/linux-5.10/lib/math/
Drational.c50 unsigned long n, d, n0, d0, n1, d1, n2, d2; in rational_best_approximation() local
54 n1 = d0 = 1; in rational_best_approximation()
73 n2 = n0 + a * n1; in rational_best_approximation()
86 if (n1) in rational_best_approximation()
87 t = min(t, (max_numerator - n0) / n1); in rational_best_approximation()
94 n1 = n0 + t * n1; in rational_best_approximation()
99 n0 = n1; in rational_best_approximation()
100 n1 = n2; in rational_best_approximation()
104 *best_numerator = n1; in rational_best_approximation()
/kernel/linux/linux-5.10/drivers/clk/
Dclk-si570.c71 unsigned int n1; member
95 unsigned int *n1, unsigned int *hs_div) in si570_get_divs() argument
107 *n1 = ((reg[0] & N1_6_2_MASK) << 2) + ((reg[1] & N1_1_0_MASK) >> 6) + 1; in si570_get_divs()
109 if (*n1 > 1) in si570_get_divs()
110 *n1 &= ~1; in si570_get_divs()
135 err = si570_get_divs(data, &data->rfreq, &data->n1, &data->hs_div); in si570_get_defaults()
143 fdco = fout * data->n1 * data->hs_div; in si570_get_defaults()
163 reg[0] = ((data->n1 - 1) << 6) | in si570_update_rfreq()
190 unsigned int n1, hs_div; in si570_calc_divs() local
197 n1 = div_u64(div_u64(FDCO_MIN, hs_div), frequency); in si570_calc_divs()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/wireguard/
Dnetns.sh36 n1() { pretty 1 "$*"; maybe_exec ip netns exec $netns1 "$@"; } function
98 n1 wg set wg0 \
119 n1 ping -c 10 -f -W 1 192.168.241.2
123 n1 ping6 -c 10 -f -W 1 fd00::2
128 n1 iperf3 -Z -t 3 -c 192.168.241.2
131 n1 iperf3 -s -1 -B fd00::1 &
136 n1 iperf3 -s -1 -B 192.168.241.1 &
143 n1 iperf3 -Z -t 3 -b 0 -u -c fd00::2
153 n1 iperf3 -Z -t 3 -p $(( 5200 + i )) -c 192.168.241.2 &
163 n1 wg set wg0 peer "$pub2" endpoint 127.0.0.1:2
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/lib/
Delf.c138 for (unsigned int n1 = 0; n1 < hdr.e_phnum; n1++) { in kvm_vm_elf_load() local
140 offset = hdr.e_phoff + (n1 * hdr.e_phentsize); in kvm_vm_elf_load()
146 n1, filename, (intmax_t) offset_rv, errno); in kvm_vm_elf_load()
160 n1, (uint64_t) phdr.p_memsz); in kvm_vm_elf_load()
174 n1, seg_vstart, vaddr); in kvm_vm_elf_load()
190 n1, errno, (intmax_t) offset_rv, in kvm_vm_elf_load()
Dsparsebit.c383 unsigned int n1 = (prev->idx + MASK_BITS + prev->num_after - 1) in node_add() local
386 assert(n1 < MASK_BITS); in node_add()
387 assert(!(nodep->mask & (1 << n1))); in node_add()
388 nodep->mask |= (1 << n1); in node_add()
904 int n1 = __builtin_ctz(nodep->mask & -leading); in node_first_set() local
906 return nodep->idx + n1; in node_first_set()
912 int n1 = __builtin_ctz(~nodep->mask & -leading); in node_first_clear() local
914 return nodep->idx + n1; in node_first_clear()
1375 unsigned int n1; in sparsebit_set_num() local
1430 for (n1 = 0; n1 < MASK_BITS; n1++) { in sparsebit_set_num()
[all …]
/kernel/linux/linux-5.10/security/selinux/ss/
Debitmap.c33 struct ebitmap_node *n1, *n2; in ebitmap_cmp() local
38 n1 = e1->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()
43 n1 = n1->next; in ebitmap_cmp()
47 if (n1 || n2) in ebitmap_cmp()
222 struct ebitmap_node *n1, *n2; in ebitmap_contains() local
228 n1 = e1->node; in ebitmap_contains()
231 while (n1 && n2 && (n1->startbit <= n2->startbit)) { in ebitmap_contains()
[all …]
/kernel/linux/linux-5.10/drivers/clk/meson/
Dclk-dualdiv.c41 return DIV_ROUND_CLOSEST(parent_rate, p->n1); in __dualdiv_param_to_rate()
44 p->n1 * p->m1 + p->n2 * p->m2); in __dualdiv_param_to_rate()
55 setting.n1 = meson_parm_read(clk->map, &dualdiv->n1) + 1; in meson_clk_dualdiv_recalc_rate()
74 for (i = 0; table[i].n1; i++) { in __dualdiv_get_setting()
115 meson_parm_write(clk->map, &dualdiv->n1, setting->n1 - 1); in meson_clk_dualdiv_set_rate()
/kernel/linux/linux-5.10/arch/mips/bcm63xx/
Dcpu.c164 unsigned int tmp, n1, n2, m1; in detect_cpu_clock() local
168 n1 = (tmp & MIPSPLLCTL_N1_MASK) >> MIPSPLLCTL_N1_SHIFT; in detect_cpu_clock()
171 n1 += 1; 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
183 n1 = (tmp & DMIPSPLLCFG_N1_MASK) >> DMIPSPLLCFG_N1_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/
Dcmpxchg.h36 #define __cmpxchg_double(p1, p2, o1, o2, n1, n2) \ argument
40 register __typeof__(*(p1)) __new1 asm("4") = (n1); \
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/arch/mips/ralink/
Drt305x.c222 u32 n1; in prom_soc_init() local
226 n1 = __raw_readl(sysc + SYSC_REG_CHIP_NAME1); in prom_soc_init()
228 if (n0 == RT3052_CHIP_NAME0 && n1 == RT3052_CHIP_NAME1) { in prom_soc_init()
241 } else if (n0 == RT3350_CHIP_NAME0 && n1 == RT3350_CHIP_NAME1) { in prom_soc_init()
245 } else if (n0 == RT3352_CHIP_NAME0 && n1 == RT3352_CHIP_NAME1) { in prom_soc_init()
249 } else if (n0 == RT5350_CHIP_NAME0 && n1 == RT5350_CHIP_NAME1) { in prom_soc_init()
254 panic("rt305x: unknown SoC, n0:%08x n1:%08x", n0, n1); in prom_soc_init()
Drt288x.c85 u32 n1; in prom_soc_init() local
89 n1 = __raw_readl(sysc + SYSC_REG_CHIP_NAME1); in prom_soc_init()
92 if (n0 == RT2880_CHIP_NAME0 && n1 == RT2880_CHIP_NAME1) { in prom_soc_init()
96 panic("rt288x: unknown SoC, n0:%08x n1:%08x", n0, n1); in prom_soc_init()
Drt3883.c121 u32 n1; in prom_soc_init() local
125 n1 = __raw_readl(sysc + RT3883_SYSC_REG_CHIPID4_7); in prom_soc_init()
128 if (n0 == RT3883_CHIP_NAME0 && n1 == RT3883_CHIP_NAME1) { in prom_soc_init()
132 panic("rt3883: unknown SoC, n0:%08x n1:%08x", n0, n1); in prom_soc_init()
Dmt7621.c154 u32 n1; in prom_soc_init() local
180 n1 = __raw_readl(sysc + SYSC_REG_CHIP_NAME1); in prom_soc_init()
182 if (n0 == MT7621_CHIP_NAME0 && n1 == MT7621_CHIP_NAME1) { in prom_soc_init()
186 panic("mt7621: unknown SoC, n0:%08x n1:%08x\n", n0, n1); in prom_soc_init()
/kernel/linux/linux-5.10/drivers/media/pci/cobalt/
Dcobalt-cpld.c124 unsigned mult, hsdiv, n1; member
236 u8 n1, hsdiv; in cobalt_cpld_set_freq() local
259 n1 = multipliers[i_best].n1 - 1; in cobalt_cpld_set_freq()
267 regs[0] = (hsdiv << 5) | (n1 >> 2); in cobalt_cpld_set_freq()
268 regs[1] = ((n1 & 0x3) << 6) | (rfreq >> 32); in cobalt_cpld_set_freq()
/kernel/linux/linux-5.10/scripts/coccinelle/iterators/
Dfor_each_child.cocci25 expression list [n1] es;
55 expression list [r.n1] es;
84 expression list [r.n1] es;
117 expression list [r.n1] es;
150 expression list[r.n1] es;
173 expression list[r.n1] es;
188 expression list[r.n1] es;
219 expression list[r.n1] es;
243 expression list[r.n1] es;
277 expression list[r.n1] es;
/kernel/linux/linux-5.10/fs/hfs/
Dstring.c98 const unsigned char *n1, *n2; in hfs_compare_dentry() local
107 n1 = str; 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
219 "10: addq.l #"#n1",%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
239 __typeof__(*(p1)) __old1 = (o1), __new1 = (n1); \
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/drivers/mfd/
Dpcf50633-core.c85 int n, n1, idx = 0; in show_dump_regs() local
97 for (n1 = 0; n1 < sizeof(dump); n1++) in show_dump_regs()
100 dump[n1] = 0x00; in show_dump_regs()
102 dump[n1] = pcf50633_reg_read(pcf, n + n1); in show_dump_regs()

12345