Home
last modified time | relevance | path

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

12345678

/openbmc/linux/arch/alpha/lib/
H A Dudiv-qrnnd.S54 addq n1,n1,n1
55 bis n1,tmp,n1
62 addq n1,n1,n1
70 addq n1,n1,n1
78 addq n1,n1,n1
97 srl n1,1,n1
104 addq n1,n1,n1
112 addq n1,n1,n1
120 addq n1,n1,n1
128 addq n1,n1,n1
[all …]
/openbmc/linux/arch/powerpc/math-emu/
H A Dudivmodti4.c20 if (d0 > n1) in _fp_udivmodti4()
36 udiv_qrnnd (q1, n1, 0, n1, d0); in _fp_udivmodti4()
59 n1 = (n1 << bm) | (n0 >> (_FP_W_TYPE_SIZE - bm)); in _fp_udivmodti4()
99 n1 = (n1 << bm) | (n0 >> b); in _fp_udivmodti4()
102 udiv_qrnnd (q1, n1, n2, n1, d0); in _fp_udivmodti4()
127 r1 = n1; in _fp_udivmodti4()
147 sub_ddmmss (n1, n0, n1, n0, d1, d0); in _fp_udivmodti4()
168 n1 = (n1 << bm) | (n0 >> b); in _fp_udivmodti4()
171 udiv_qrnnd (q0, n1, n2, n1, d1); in _fp_udivmodti4()
174 if (m1 > n1 || (m1 == n1 && m0 > n0)) in _fp_udivmodti4()
[all …]
/openbmc/linux/lib/crypto/mpi/
H A Dmpih-div.c85 n1 = n0; in mpihelp_mod_1()
144 n1 = n0; in mpihelp_mod_1()
214 n1 -= d; in mpihelp_divrem()
220 udiv_qrnnd(qp[i], n1, n1, np[i], d); in mpihelp_divrem()
224 udiv_qrnnd(qp[i], n1, n1, 0, d); in mpihelp_divrem()
242 if (n1 >= d1 && (n1 > d1 || n0 >= d0)) { in mpihelp_divrem()
243 sub_ddmmss(n1, n0, n1, n0, d1, d0); in mpihelp_divrem()
278 if (n1 > r || (n1 == r && n0 > n2)) { in mpihelp_divrem()
281 sub_ddmmss(n1, n0, n1, n0, 0, d0); in mpihelp_divrem()
288 sub_ddmmss(n1, n0, r, n2, n1, n0); in mpihelp_divrem()
[all …]
H A 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
426 "1" ((USItype)(n1)), \
546 "1" ((USItype)(n1)), \
554 "1" ((USItype)(n1)), \
988 : "r" ((USItype)(n1)), \
1049 : "r" ((USItype)(n1)), \
1135 "1" ((USItype)(n1)), \
1314 __r1 = (n1) % __d1; \
[all …]
/openbmc/qemu/tests/tcg/cris/bare/
H A Dcheck_scc.s2 # output: 1\n0\n1\n0\n1\n0\n1\n0\n0\n1\n1\n0\n1\n0\n1\n0\n1\n0\n0\n1\n0\n1\n1\n0\n1\n0\n0\n1\n1\n0\
H A Dcheck_lsr.s2n1\n1\n1ffff\n5a67f\n1\n0\n0\n3699fc67\nffffffff\n1\n1\n1ffff\n5a67f\nda670000\nda670000\nda670000…
/openbmc/linux/lib/math/
H A Drational.c51 unsigned long n, d, n0, d0, n1, d1, n2, d2; in rational_best_approximation() local
55 n1 = d0 = 1; in rational_best_approximation()
74 n2 = n0 + a * n1; in rational_best_approximation()
87 if (n1) in rational_best_approximation()
88 t = min(t, (max_numerator - n0) / n1); in rational_best_approximation()
95 n1 = n0 + t * n1; in rational_best_approximation()
100 n0 = n1; in rational_best_approximation()
101 n1 = n2; in rational_best_approximation()
105 *best_numerator = n1; in rational_best_approximation()
/openbmc/linux/tools/testing/selftests/wireguard/
H A Dnetns.sh100 n1 wg set wg0 \
125 n1 ping6 -c 10 -f -W 1 fd00::2
133 n1 iperf3 -s -1 -B fd00::1 &
213 n1 wg set wg0 listen-port 9999
215 n1 ping6 -W 1 -c 1 fd00::2
219 n1 wg set wg0 listen-port 9998
221 n1 ping -W 1 -c 1 192.168.241.2
247 n1 ping -W 1 -c 1 192.168.241.2
250 n1 ping -W 1 -c 1 192.168.241.2
340 n1 ping -W 1 -c 1 192.168.241.2
[all …]
/openbmc/u-boot/arch/nios2/lib/
H A Dlibgcc.c159 n1 = nn.s.high; in __udivmoddi4()
180 udiv_qrnnd (q1, n1, 0, n1, d0); in __udivmoddi4()
210 n1 = (n1 << bm) | (n0 >> (W_TYPE_SIZE - bm)); in __udivmoddi4()
237 n1 -= d0; in __udivmoddi4()
248 n1 = (n1 << bm) | (n0 >> b); in __udivmoddi4()
251 udiv_qrnnd (q1, n1, n2, n1, d0); in __udivmoddi4()
305 sub_ddmmss (n1, n0, n1, n0, d1, d0); in __udivmoddi4()
329 n1 = (n1 << bm) | (n0 >> b); in __udivmoddi4()
332 udiv_qrnnd (q0, n1, n2, n1, d1); in __udivmoddi4()
335 if (m1 > n1 || (m1 == n1 && m0 > n0)) in __udivmoddi4()
[all …]
/openbmc/linux/drivers/clk/
H A Dclk-si570.c71 unsigned int n1; member
109 if (*n1 > 1) in si570_get_divs()
110 *n1 &= ~1; in si570_get_divs()
194 unsigned int n1, hs_div; in si570_calc_divs() local
202 if (!n1 || (n1 & 1)) in si570_calc_divs()
203 n1++; in si570_calc_divs()
204 while (n1 <= 128) { in si570_calc_divs()
209 *out_n1 = n1; in si570_calc_divs()
214 n1 += (n1 == 1 ? 1 : 2); in si570_calc_divs()
229 unsigned int n1, hs_div; in si570_recalc_rate() local
[all …]
/openbmc/linux/tools/testing/selftests/mm/
H A Dmigration.c28 int n1; in FIXTURE() local
38 self->n1 = -1; in FIXTURE_SETUP()
43 if (self->n1 == -1) { in FIXTURE_SETUP()
44 self->n1 = n; in FIXTURE_SETUP()
63 int migrate(uint64_t *ptr, int n1, int n2) in migrate() argument
90 n2 = n1; in migrate()
91 n1 = tmp; 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/kvm/lib/
H A Delf.c137 for (unsigned int n1 = 0; n1 < hdr.e_phnum; n1++) { in kvm_vm_elf_load() local
139 offset = hdr.e_phoff + (n1 * hdr.e_phentsize); in kvm_vm_elf_load()
145 n1, filename, (intmax_t) offset_rv, errno); in kvm_vm_elf_load()
159 n1, (uint64_t) phdr.p_memsz); in kvm_vm_elf_load()
172 n1, seg_vstart, vaddr); in kvm_vm_elf_load()
188 n1, errno, (intmax_t) offset_rv, in kvm_vm_elf_load()
H A Dsparsebit.c386 assert(n1 < MASK_BITS); in node_add()
905 return nodep->idx + n1; in node_first_set()
1374 unsigned int n1; in sparsebit_set_num() local
1429 for (n1 = 0; n1 < MASK_BITS; n1++) { in sparsebit_set_num()
1456 unsigned int n1; in sparsebit_clear_num() local
1492 for (n1 = 0; n1 < MASK_BITS; n1++) { in sparsebit_clear_num()
1601 unsigned int n1; in sparsebit_dump() local
1605 for (n1 = 0; n1 < MASK_BITS; n1++) { in sparsebit_dump()
1609 for (; n1 < MASK_BITS; n1++) { in sparsebit_dump()
1689 unsigned int n1; in sparsebit_validate_internal() local
[all …]
/openbmc/linux/tools/testing/selftests/bpf/benchs/
H A Drun_common.sh62 summary=$(echo $2 | tail -n1)
69 summary=$(echo $2 | tail -n1)
76 summary=$(echo $2 | tail -n1)
83 summary=$(echo $2 | tail -n1)
90 summary=$(echo $2 | tail -n1)
/openbmc/linux/security/selinux/ss/
H A Debitmap.c33 const struct ebitmap_node *n1, *n2; in ebitmap_cmp() local
38 n1 = e1->node; in ebitmap_cmp()
40 while (n1 && n2 && in ebitmap_cmp()
43 n1 = n1->next; in ebitmap_cmp()
47 if (n1 || n2) in ebitmap_cmp()
223 const struct ebitmap_node *n1, *n2; in ebitmap_contains() local
229 n1 = e1->node; in ebitmap_contains()
232 while (n1 && n2 && (n1->startbit <= n2->startbit)) { in ebitmap_contains()
233 if (n1->startbit < n2->startbit) { in ebitmap_contains()
234 n1 = n1->next; in ebitmap_contains()
[all …]
/openbmc/linux/drivers/clk/meson/
H A 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()
120 meson_parm_write(clk->map, &dualdiv->n1, setting->n1 - 1); in meson_clk_dualdiv_set_rate()
/openbmc/linux/arch/mips/bcm63xx/
H A 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()
/openbmc/qemu/util/
H A Dfifo8.c108 uint32_t n1, n2 = 0; in fifo8_pop_buf() local
116 buf = fifo8_pop_bufptr(fifo, len, &n1); in fifo8_pop_buf()
118 memcpy(dest, buf, n1); in fifo8_pop_buf()
122 len -= n1; in fifo8_pop_buf()
127 memcpy(&dest[n1], buf, n2); in fifo8_pop_buf()
131 return n1 + n2; in fifo8_pop_buf()
/openbmc/qemu/target/xtensa/
H A Dwin_helper.c43 uint32_t n1 = env->config->nareg - phys; in copy_window_from_phys() local
45 n1 * sizeof(uint32_t)); in copy_window_from_phys()
46 memcpy(env->regs + window + n1, env->phys_regs, in copy_window_from_phys()
47 (n - n1) * sizeof(uint32_t)); in copy_window_from_phys()
59 uint32_t n1 = env->config->nareg - phys; in copy_phys_from_window() local
61 n1 * sizeof(uint32_t)); in copy_phys_from_window()
62 memcpy(env->phys_regs, env->regs + window + n1, in copy_phys_from_window()
63 (n - n1) * sizeof(uint32_t)); in copy_phys_from_window()
/openbmc/phosphor-pid-control/experiments/
H A Ddrive.cpp90 int64_t n1 = static_cast<int64_t>(r1.value); in driveGoal() local
94 series.push_back(std::make_tuple(t1, n0, n1)); in driveGoal()
97 int64_t avgn = (n0 + n1) / 2; in driveGoal()
156 int64_t n1 = static_cast<int64_t>(r1.value); in driveTime() local
159 series.push_back(std::make_tuple(t1, n0, n1)); in driveTime()
254 int64_t n1 = std::get<2>(t); in driveMain() local
259 std::cout << duration << "us, " << n0 << ", " << n1 << "\n"; in driveMain()
/openbmc/linux/drivers/media/pci/cobalt/
H A Dcobalt-cpld.c124 unsigned mult, hsdiv, n1; member
236 u8 n1, hsdiv; in cobalt_cpld_set_freq() local
258 n1 = multipliers[i_best].n1 - 1; in cobalt_cpld_set_freq()
264 regs[0] = (hsdiv << 5) | (n1 >> 2); in cobalt_cpld_set_freq()
265 regs[1] = ((n1 & 0x3) << 6) | (rfreq >> 32); in cobalt_cpld_set_freq()
/openbmc/linux/drivers/mfd/
H A Dpcf50633-core.c85 int n, n1, idx = 0; in dump_regs_show() local
97 for (n1 = 0; n1 < sizeof(dump); n1++) in dump_regs_show()
100 dump[n1] = 0x00; in dump_regs_show()
102 dump[n1] = pcf50633_reg_read(pcf, n + n1); in dump_regs_show()
/openbmc/linux/fs/hfs/
H A 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()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-security/keyutils/files/
H A D0002-tests-Use-head-n1-for-busybox-compatibility.patch4 Subject: [PATCH 2/2] tests: Use `head -n1` for busybox compatibility
23 + seskeyring="`tail -2 $OUTPUTFILE | head -n1`"
32 +seskeyring="`tail -2 $OUTPUTFILE | head -n1`"
45 +keyring1="`grep -n keyring $OUTPUTFILE | cut -d: -f1 | head -n1`"
58 + my_logline="`tail -2 $watch_log | head -n1`"
/openbmc/openbmc/poky/scripts/contrib/bb-perf/
H A Dbb-matrix-plot.sh91 MIN=$(tail -n +2 "$DATFILE" | cut -d ' ' -f 1 | sed 's/^0*//' | sort -n | uniq | head -n1)
92 MAX=$(tail -n +2 "$DATFILE" | cut -d ' ' -f 1 | sed 's/^0*//' | sort -n | uniq | tail -n1)
94 MIN=$(tail -n +2 "$DATFILE" | cut -d ' ' -f 2 | sed 's/^0*//' | sort -n | uniq | head -n1)
95 MAX=$(tail -n +2 "$DATFILE" | cut -d ' ' -f 2 | sed 's/^0*//' | sort -n | uniq | tail -n1)

12345678