Home
last modified time | relevance | path

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

/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()
H A Dclk_meson.c607 unsigned long n2) in mpll_rate_from_params() argument
609 unsigned long divisor = (SDM_DEN * n2) + sdm; in mpll_rate_from_params()
611 if (n2 < N2_MIN) in mpll_rate_from_params()
642 unsigned long sdm, n2; in meson_mpll_get_rate() local
671 n2 = PARM_GET(pn2->width, pn2->shift, reg); in meson_mpll_get_rate()
673 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"}}
152 …s": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "BLOCK_EXPORT_DELETED", "data": {"id": "n2"}}
155 "arguments":{"name":"n2"}}
156 {"error": {"class": "GenericError", "desc": "Export 'n2' is not found"}}
190 "arguments":{"device":"n", "name":"n2",
194 "arguments":{"device":"n", "name":"n2",
[all …]
/openbmc/u-boot/lib/bzip2/
H A Dbzlib_huffman.c113 Int32 nNodes, nHeap, n1, n2, i, j, k; in BZ2_hbMakeCodeLengths() local
143 n2 = heap[1]; heap[1] = heap[nHeap]; nHeap--; DOWNHEAP(1); in BZ2_hbMakeCodeLengths()
145 parent[n1] = parent[n2] = nNodes; in BZ2_hbMakeCodeLengths()
146 weight[nNodes] = ADDWEIGHTS(weight[n1], weight[n2]); in BZ2_hbMakeCodeLengths()
H A Dbzlib.c998 Int32 n, n2, ret; in BZ_API() local
1024 n2 = fwrite ( (void*)(bzf->buf), sizeof(UChar), in BZ_API()
1026 if (n != n2 || ferror(bzf->handle)) in BZ_API()
1058 Int32 n, n2, ret; in BZ_API() local
1083 n2 = fwrite ( (void*)(bzf->buf), sizeof(UChar), in BZ_API()
1085 if (n != n2 || ferror(bzf->handle)) in BZ_API()
/openbmc/qemu/util/
H A Dfifo8.c118 uint32_t n1, n2 = 0; in fifo8_peekpop_buf() local
135 buf = fifo8_peekpop_bufptr(fifo, len, do_pop ? 0 : n1, &n2, do_pop); in fifo8_peekpop_buf()
137 memcpy(&dest[n1], buf, n2); in fifo8_peekpop_buf()
141 return n1 + n2; in fifo8_peekpop_buf()
H A Dqdist.c381 size_t n2 = n / 2; in qdist_pairwise_avg() local
383 return qdist_pairwise_avg(dist, index, n2, count) + in qdist_pairwise_avg()
384 qdist_pairwise_avg(dist, index + n2, n - n2, count); in qdist_pairwise_avg()
/openbmc/u-boot/drivers/cpu/
H A Dbmips_cpu.c180 unsigned int tmp, n1, n2, m1; in bcm6348_get_cpu_freq() local
184 n2 = (tmp & MIPSPLLCFG_6348_N2_MASK) >> MIPSPLLCFG_6348_N2_SHIFT; in bcm6348_get_cpu_freq()
187 return (16 * 1000000 * (n1 + 1) * (n2 + 2)) / (m1 + 1); in bcm6348_get_cpu_freq()
192 unsigned int tmp, n1, n2, m1; in bcm6358_get_cpu_freq() local
196 n2 = (tmp & DMIPSPLLCFG_6358_N2_MASK) >> DMIPSPLLCFG_6358_N2_SHIFT; in bcm6358_get_cpu_freq()
199 return (16 * 1000000 * n1 * n2) / m1; in bcm6358_get_cpu_freq()
/openbmc/qemu/tests/unit/
H A Dtest-xs-node.c131 static void compare_nodes(struct compare_walk *cw, XsNode *n1, XsNode *n2) in compare_nodes() argument
138 if (n2->children) { in compare_nodes()
139 nr_children2 = g_hash_table_size(n2->children); in compare_nodes()
142 if (n1->ref != n2->ref || in compare_nodes()
143 n1->deleted_in_tx != n2->deleted_in_tx || in compare_nodes()
144 n1->modified_in_tx != n2->modified_in_tx || in compare_nodes()
145 !compare_perms(n1->perms, n2->perms) || in compare_nodes()
146 !compare_content(n1->content, n2->content) || in compare_nodes()
154 cw->parent_2 = n2; in compare_nodes()
182 static bool compare_trees(XsNode *n1, XsNode *n2) in compare_trees() argument
[all …]
/openbmc/openbmc/poky/meta/recipes-core/glibc/glibc/
H A D0002-localedef-fix-ups-hardlink-to-make-it-compile.patch153 n1, n2, nam2.buf);
157 /* Then rename into place over the existing n2 */
158 if (rename(nam2.buf, n2)) {
161 n1, n2, n2);
177 n1, n2);
185 n1, n2,
H A D0001-localedef-Add-hardlink-resolver-from-util-linux.patch677 + const char *n1, *n2;
784 + n2 = name;
790 + size_t n2len = strlen(n2);
794 + memcpy(nam2.buf, n2, n2len);
800 + n1, n2, nam2.buf);
804 + /* Then rename into place over the existing n2 */
805 + if (rename(nam2.buf, n2)) {
807 + n1, n2, n2);
823 + n1, n2);
829 + n1, n2,
/openbmc/u-boot/arch/nios2/lib/
H A Dlibgcc.c152 UWtype d0, d1, n0, n1, n2; in __udivmoddi4() local
247 n2 = n1 >> b; in __udivmoddi4()
251 udiv_qrnnd (q1, n1, n2, n1, d0); in __udivmoddi4()
328 n2 = n1 >> b; in __udivmoddi4()
332 udiv_qrnnd (q0, n1, n2, n1, d1); in __udivmoddi4()
/openbmc/bmcweb/test/redfish-core/include/
H A Devent_log_test.cpp74 const long n2 = std::stol(entryID3.substr(entryID3.find('_') + 1)); in TEST() local
77 ASSERT_TRUE(n2 > n1); in TEST()
/openbmc/openbmc/poky/meta/conf/machine/include/arm/armv9a/
H A Dtune-neoversen2.inc7 TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'neoversen2', ' -mcpu=neoverse-n2', '', d)}"
/openbmc/qemu/include/fpu/
H A Dsoftfloat-macros.h541 uint64_t m0, m1, m2, n1, n2; in mul128To256() local
544 mul64To128(a0, b1, &n1, &n2); in mul128To256()
548 add192( 0, m1, m2, 0, n1, n2, &m0, &m1, &m2); in mul128To256()
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-pydbus/
H A D0003-Support-transformation-between-D-Bus-errors-and-exce.patch329 + n2 = "net.lew21.pydbus.tests.ErrorB"
333 + assert r.transform_message(n2, m2) == "Message2"
335 + assert r.transform_message(n2, m1) == m1
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/uw-imap/uw-imap/
H A D0001-Fix-Wincompatible-function-pointer-types.patch109 char *n2 = (*(struct direct **) d2)->d_name + sizeof (MIXNAME) - 1;
/openbmc/qemu/hw/s390x/
H A Dcss.c2469 int num, n1, n2; in set_css_devid() local
2476 num = sscanf(str, "%2x.%1x%n.%4x%n", &cssid, &ssid, &n1, &devid, &n2); in set_css_devid()
2477 if (num != 3 || (n2 - n1) != 5 || strlen(str) != n2) { in set_css_devid()
/openbmc/qemu/target/arm/tcg/
H A Dsve_helper.c369 int8_t n1 = n, n2 = n >> 8; in DO_ZPZZ() local
370 return m + n1 + n2; in DO_ZPZZ()
375 int16_t n1 = n, n2 = n >> 16; in do_sadalp_s() local
376 return m + n1 + n2; in do_sadalp_s()
381 int32_t n1 = n, n2 = n >> 32; in do_sadalp_d() local
382 return m + n1 + n2; in do_sadalp_d()
391 uint8_t n1 = n, n2 = n >> 8; in DO_ZPZZ() local
392 return m + n1 + n2; in DO_ZPZZ()
397 uint16_t n1 = n, n2 = n >> 16; in do_uadalp_s() local
398 return m + n1 + n2; in do_uadalp_s()
[all …]
/openbmc/qemu/disas/
H A Dm68k.c866 #define M(n0,n1,n2,n3,n4,n5,n6,n70,n71,n72,n73,n74) \ in m68k_valid_ea() argument
867 (n0 | n1 << 1 | n2 << 2 | n3 << 3 | n4 << 4 | n5 << 5 | n6 << 6 \ in m68k_valid_ea()
/openbmc/bmcweb/redfish-core/include/utils/extern/
H A Ddate.h1185 static const std::intmax_t n2 = R2::num / gcd_n1_n2;
1206 static const bool value = (n1 <= max / d2) && (n2 <= max / d1);
1208 mul<n2, d1, !value>::value> type;
/openbmc/openbmc/meta-raspberrypi/recipes-multimedia/rpidistro-ffmpeg/files/
H A D0001-ffmpeg-5.1.4-rpi_24.patch8538 + size_t n2 = rd->alloced_slices == 0 ? 8 : rd->alloced_slices * 2;
8540 + p2 = av_realloc_array(rd->slice_params, n2, sizeof(*p2));
8545 + s2 = av_realloc_array(rd->slices, n2, sizeof(*s2));
8550 + rd->alloced_slices = n2;
8559 + size_t n2 = rd->alloced_slices == 0 ? 128 : rd->alloced_slices * 2;
8561 + while (rd->num_offsets + n > n2)
8562 + n2 *= 2;
8563 + if ((p2 = av_realloc_array(rd->offsets, n2, sizeof(*rd->offsets))) == NULL)
8566 + rd->alloced_offsets = n2;
/openbmc/
Dopengrok1.0.log[all...]
Dopengrok2.0.log[all...]