Home
last modified time | relevance | path

Searched full:c2 (Results 1 – 25 of 584) sorted by relevance

12345678910>>...24

/openbmc/linux/drivers/net/ethernet/marvell/mvpp2/
H A Dmvpp2_cls.c487 /* The default RxQ for this port is set in the C2 lookup */ in mvpp2_cls_flow_lkp_init()
491 * the C2 lookup. in mvpp2_cls_flow_lkp_init()
495 /* CLS is always enabled, RSS is enabled/disabled in C2 lookup */ in mvpp2_cls_flow_lkp_init()
502 struct mvpp2_cls_c2_entry *c2) in mvpp2_cls_c2_write() argument
505 mvpp2_write(priv, MVPP22_CLS_C2_TCAM_IDX, c2->index); in mvpp2_cls_c2_write()
508 if (c2->valid) in mvpp2_cls_c2_write()
514 mvpp2_write(priv, MVPP22_CLS_C2_ACT, c2->act); in mvpp2_cls_c2_write()
516 mvpp2_write(priv, MVPP22_CLS_C2_ATTR0, c2->attr[0]); in mvpp2_cls_c2_write()
517 mvpp2_write(priv, MVPP22_CLS_C2_ATTR1, c2->attr[1]); in mvpp2_cls_c2_write()
518 mvpp2_write(priv, MVPP22_CLS_C2_ATTR2, c2 in mvpp2_cls_c2_write()
530 mvpp2_cls_c2_read(struct mvpp2 * priv,int index,struct mvpp2_cls_c2_entry * c2) mvpp2_cls_c2_read() argument
869 struct mvpp2_cls_c2_entry c2; mvpp2_port_c2_cls_init() local
912 struct mvpp2_cls_c2_entry c2; mvpp2_cls_init() local
992 struct mvpp2_cls_c2_entry c2; mvpp2_rss_port_c2_enable() local
1013 struct mvpp2_cls_c2_entry c2; mvpp2_rss_port_c2_disable() local
1057 struct mvpp2_cls_c2_entry c2; mvpp22_port_c2_lookup_disable() local
1087 struct mvpp2_cls_c2_entry c2; mvpp2_port_c2_tcam_rule_add() local
[all...]
/openbmc/linux/fs/hfsplus/
H A Dunicode.c35 u16 len1, len2, c1, c2; in hfsplus_strcasecmp() local
44 c1 = c2 = 0; in hfsplus_strcasecmp()
51 while (len2 && !c2) { in hfsplus_strcasecmp()
52 c2 = case_fold(be16_to_cpu(*p2)); in hfsplus_strcasecmp()
57 if (c1 != c2) in hfsplus_strcasecmp()
58 return (c1 < c2) ? -1 : 1; in hfsplus_strcasecmp()
59 if (!c1 && !c2) in hfsplus_strcasecmp()
68 u16 len1, len2, c1, c2; in hfsplus_strcmp() local
79 c2 = be16_to_cpu(*p2); in hfsplus_strcmp()
80 if (c1 != c2) in hfsplus_strcmp()
[all …]
/openbmc/linux/tools/testing/selftests/cgroup/
H A Dtest_cpuset_prs.sh215 SETUP_A123_PARTITIONS="C1-3:P1:S+ C2-3:P1:S+ C3:P1"
219 " S+ C0-1 . . C2-3 S+ C4-5 . . 0 A2:0-1"
220 " S+ C0-1 . . C2-3 P1 . . . 0 "
221 " S+ C0-1 . . C2-3 P1:S+ C0-1:P1 . . 0 "
222 " S+ C0-1 . . C2-3 P1:S+ C1:P1 . . 0 "
223 " S+ C0-1:S+ . . C2-3 . . . P1 0 "
224 " S+ C0-1:P1 . . C2-3 S+ C1 . . 0 "
225 " S+ C0-1:P1 . . C2-3 S+ C1:P1 . . 0 "
226 " S+ C0-1:P1 . . C2-3 S+ C1:P1 . P1 0 "
227 " S+ C0-1:P1 . . C2-3 C4-5 . . . 0 A1:4-5"
[all …]
/openbmc/phosphor-logging/test/openpower-pels/
H A Dsrc_callout_test.cpp169 Callout callout{CalloutPriority::high, "U99-42.5-P1-C2-E1", "1234567", in TEST()
182 EXPECT_EQ(callout.locationCode(), "U99-42.5-P1-C2-E1"); in TEST()
441 Callout c2{CalloutPriority::high, "A1", "1234567", "ABCD", in TEST() local
443 EXPECT_EQ(c1, c2); in TEST()
450 Callout c2{CalloutPriority::high, "A2", "1234567", "ABCD", in TEST() local
452 EXPECT_NE(c1, c2); in TEST()
458 Callout c2{CalloutPriority::medium, "bmc_code"}; in TEST() local
459 EXPECT_EQ(c1, c2); in TEST()
465 Callout c2{CalloutPriority::medium, "sbe_code"}; in TEST() local
466 EXPECT_NE(c1, c2); in TEST()
[all …]
H A Ddata_interface_test.cpp11 DataInterface::extractConnectorFromLocCode("Ufcs-P0-C2-T11"); in TEST()
13 EXPECT_EQ(base, "Ufcs-P0-C2"); in TEST()
19 DataInterface::extractConnectorFromLocCode("Ufcs-P0-C2"); in TEST()
21 EXPECT_EQ(base, "Ufcs-P0-C2"); in TEST()
/openbmc/linux/security/selinux/ss/
H A Dcontext.h100 const struct context *c1, const struct context *c2) in mls_context_glblub() argument
103 const struct mls_range *r1 = &c1->range, *r2 = &c2->range; in mls_context_glblub()
131 static inline int mls_context_cmp(const struct context *c1, const struct context *c2) in mls_context_cmp() argument
133 return ((c1->range.level[0].sens == c2->range.level[0].sens) && in mls_context_cmp()
134 ebitmap_cmp(&c1->range.level[0].cat, &c2->range.level[0].cat) && in mls_context_cmp()
135 (c1->range.level[1].sens == c2->range.level[1].sens) && in mls_context_cmp()
136 ebitmap_cmp(&c1->range.level[1].cat, &c2->range.level[1].cat)); in mls_context_cmp()
186 static inline int context_cmp(const struct context *c1, const struct context *c2) in context_cmp() argument
188 if (c1->len && c2->len) in context_cmp()
189 return (c1->len == c2->len && !strcmp(c1->str, c2->str)); in context_cmp()
[all …]
/openbmc/u-boot/lib/bzip2/
H A Dbzlib_blocksort.c395 UChar c1, c2; in mainGtU() local
400 c1 = block[i1]; c2 = block[i2]; in mainGtU()
401 if (c1 != c2) return (c1 > c2); in mainGtU()
404 c1 = block[i1]; c2 = block[i2]; in mainGtU()
405 if (c1 != c2) return (c1 > c2); in mainGtU()
408 c1 = block[i1]; c2 = block[i2]; in mainGtU()
409 if (c1 != c2) return (c1 > c2); in mainGtU()
412 c1 = block[i1]; c2 = block[i2]; in mainGtU()
413 if (c1 != c2) return (c1 > c2); in mainGtU()
416 c1 = block[i1]; c2 = block[i2]; in mainGtU()
[all …]
/openbmc/linux/fs/unicode/
H A Dutf8-core.c24 int c1, c2; in utf8_strncmp() local
34 c2 = utf8byte(&cur2); in utf8_strncmp()
36 if (c1 < 0 || c2 < 0) in utf8_strncmp()
38 if (c1 != c2) in utf8_strncmp()
50 int c1, c2; in utf8_strncasecmp() local
60 c2 = utf8byte(&cur2); in utf8_strncasecmp()
62 if (c1 < 0 || c2 < 0) in utf8_strncasecmp()
64 if (c1 != c2) in utf8_strncasecmp()
80 int c1, c2; in utf8_strncasecmp_folded() local
88 c2 = cf->name[i++]; in utf8_strncasecmp_folded()
[all …]
/openbmc/linux/drivers/misc/c2port/
H A DKconfig3 # C2 port devices
7 tristate "Silicon Labs C2 port support"
9 This option enables support for Silicon Labs C2 port used to
24 tristate "C2 port support for Eurotech's Duramar 2150"
27 This option enables C2 support for the Eurotech's Duramar 2150
H A Dcore.c3 * Silicon Labs C2 port core Linux support
36 * C2 registers & commands defines
39 /* C2 registers */
45 /* C2 interface commands */
52 /* C2 status return codes */
58 * C2 port low level signal managements
82 * interructions since C2 port specification says that it must be in c2port_strobe_ck()
96 * C2 port basic functions
405 /* Select DEVICEID register for C2 data register accesses */ in __c2port_show_dev_id()
442 /* Select REVID register for C2 data register accesses */ in __c2port_show_rev_id()
[all …]
/openbmc/qemu/tests/unit/
H A Dtest-coroutine.c173 Coroutine *c2 = opaque; in c1_fn() local
174 qemu_coroutine_enter(c2); in c1_fn()
180 Coroutine *c2; in test_no_dangling_access() local
183 c2 = qemu_coroutine_create(c2_fn, NULL); in test_no_dangling_access()
184 c1 = qemu_coroutine_create(c1_fn, c2); in test_no_dangling_access()
191 qemu_coroutine_enter(c2); in test_no_dangling_access()
227 Coroutine *c2 = qemu_coroutine_create(entry, opaque); in do_test_co_mutex() local
232 qemu_coroutine_enter(c2); in do_test_co_mutex()
234 /* Unlock queues c2. It is then started automatically when c1 yields or in do_test_co_mutex()
241 qemu_coroutine_enter(c2); in do_test_co_mutex()
[all …]
/openbmc/linux/drivers/media/usb/pvrusb2/
H A Dpvrusb2-std.c178 unsigned int c1,c2; in pvr2_std_id_to_str() local
189 c2 = scnprintf(bufPtr,bufSize,";"); in pvr2_std_id_to_str()
190 c1 += c2; in pvr2_std_id_to_str()
191 bufSize -= c2; in pvr2_std_id_to_str()
192 bufPtr += c2; in pvr2_std_id_to_str()
195 c2 = scnprintf(bufPtr,bufSize, in pvr2_std_id_to_str()
199 c2 = scnprintf(bufPtr,bufSize,"/"); in pvr2_std_id_to_str()
201 c1 += c2; in pvr2_std_id_to_str()
202 bufSize -= c2; in pvr2_std_id_to_str()
203 bufPtr += c2; in pvr2_std_id_to_str()
[all …]
/openbmc/qemu/tests/tcg/i386/
H A Dtest-i386-fxam.c24 #define C2 (1 << 10) macro
26 #define FLAGS (C0 | C1 | C2 | C3)
43 if ((sw & FLAGS) != C2) { in main()
48 if ((sw & FLAGS) != (C2 | C1)) { in main()
53 if ((sw & FLAGS) != (C2 | C0)) { in main()
58 if ((sw & FLAGS) != (C2 | C1 | C0)) { in main()
83 if ((sw & FLAGS) != (C3 | C2)) { in main()
88 if ((sw & FLAGS) != (C3 | C2 | C1)) { in main()
93 if ((sw & FLAGS) != (C3 | C2)) { in main()
98 if ((sw & FLAGS) != (C3 | C2 | C1)) { in main()
/openbmc/linux/fs/ntfs/
H A Dunistr.c89 u16 c1, c2; in ntfs_collate_names() local
96 c2 = le16_to_cpu(*name2++); in ntfs_collate_names()
100 if (c2 < upcase_len) in ntfs_collate_names()
101 c2 = le16_to_cpu(upcase[c2]); in ntfs_collate_names()
105 if (c1 < c2) in ntfs_collate_names()
107 if (c1 > c2) in ntfs_collate_names()
137 u16 c1, c2; in ntfs_ucsncmp() local
142 c2 = le16_to_cpu(s2[i]); in ntfs_ucsncmp()
143 if (c1 < c2) in ntfs_ucsncmp()
145 if (c1 > c2) in ntfs_ucsncmp()
[all …]
/openbmc/linux/arch/s390/crypto/
H A Dchacha-s390.S452 #define C2 %v10 macro
516 VLR C2,K2
547 VAF C2,C2,D2
553 VX B2,B2,C2
585 VAF C2,C2,D2
591 VX B2,B2,C2
604 VSLDB C2,C2,C2,8
642 VAF C2,C2,D2
648 VX B2,B2,C2
680 VAF C2,C2,D2
[all …]
/openbmc/linux/arch/arm/include/asm/hardware/
H A Dcp14.h54 #define RCP14_DBGDSCRext() MRC14(0, c0, c2, 2)
59 #define RCP14_DBGBVR2() MRC14(0, c0, c2, 4)
75 #define RCP14_DBGBCR2() MRC14(0, c0, c2, 5)
91 #define RCP14_DBGWVR2() MRC14(0, c0, c2, 6)
107 #define RCP14_DBGWCR2() MRC14(0, c0, c2, 7)
124 #define RCP14_DBGBXVR2() MRC14(0, c1, c2, 1)
139 #define RCP14_DBGOSSRR() MRC14(0, c1, c2, 4)
143 #define RCP14_DBGDSAR() MRC14(0, c2, c0, 0)
150 #define RCP14_DBGDEVID() MRC14(0, c7, c2, 7)
159 #define WCP14_DBGDSCRext(val) MCR14(val, 0, c0, c2, 2)
[all …]
/openbmc/linux/drivers/firmware/efi/libstub/
H A Dstring.c75 unsigned char c1, c2; in strcmp() local
79 c2 = *ct++; in strcmp()
80 if (c1 != c2) in strcmp()
81 return c1 < c2 ? -1 : 1; in strcmp()
97 unsigned char c1, c2; in strncmp() local
101 c2 = *ct++; in strncmp()
102 if (c1 != c2) in strncmp()
103 return c1 < c2 ? -1 : 1; in strncmp()
/openbmc/u-boot/arch/arm/lib/
H A Dcache-cp15.c142 asm volatile("mcr p15, 4, %0, c2, c0, 2" in mmu_setup()
145 asm volatile("mcrr p15, 4, %0, %1, c2" in mmu_setup()
150 asm volatile("mcr p15, 4, %0, c10, c2, 0" in mmu_setup()
154 asm volatile("mcr p15, 0, %0, c2, c0, 2" in mmu_setup()
157 asm volatile("mcrr p15, 0, %0, %1, c2" in mmu_setup()
162 asm volatile("mcr p15, 0, %0, c10, c2, 0" in mmu_setup()
168 asm volatile("mcr p15, 4, %0, c2, c0, 2" in mmu_setup()
172 asm volatile("mcr p15, 0, %0, c2, c0, 2" in mmu_setup()
184 asm volatile("mcr p15, 0, %0, c2, c0, 0" in mmu_setup()
188 asm volatile("mcr p15, 0, %0, c2, c0, 0" in mmu_setup()
/openbmc/bmcweb/static/images/
H A DDMTF_Redfish_logo_2017.svg26c2.2,0.8,4.7,0.5,6.8-0.7l0.7-0.4l3.8-2.4l9-5.6l3.7-2.3l4.1-2.6 l2.9-1.8l18.3-11.4l4.2-2.6l6.2-3.9l…
27c2.6-1.6,6.2-1.6,8.7,0l63.7,39.8l49.1-30.7c0.7-0.4,1.4-0.7,2.2-0.9 c1.3-0.3,2.7-0.4,4.1,0c0.9,0.2,…
38c2.7,0.6,4.9,1.7,6.8,3.2c2.3,1.8,4,4,5.2,6.8 c0.6,1.3,1,2.8,1.3,4.4c0.3,1.6,0.5,3.2,0.5,4.8c0,5.8-…
39 …85h-37.7c0,2.2,0.3,4.1,1,5.8c0.7,1.7,1.6,3.2,2.9,4.6c2.4,2.5,5.5,3.7,9.4,3.7c3.5,0,6.4-0.7,8.7-2.2…
40c2.7,1.6,4.7,3.9,6,6.9V429.8z M382,483.3c0-4.9-1.1-8.7-3.4-11.4c-2.3-2.7-5.5-4.1-9.5-4.1c-4,0-7.3,…
41 …<path d="M405.2,507v-37.7h-8.3v-9.5h8.3v-12.6c0-6.3,1.3-10.9,3.9-13.9c2.6-3,6.6-4.5,12.1-4.5c0.6,0…
43c2.4,0,4.3-0.5,5.7-1.6c1.4-1.1,2.1-2.6,2.1-4.6 c0-2.6-2.5-4.8-7.4-6.6l-3.8-1.5c-2.6-1.1-4.7-2.1-6.…
44 …<path d="M493.8,507v-77.2h10.2v37.7c2.1-3.2,4.6-5.5,7.5-7.1c2.9-1.5,6.5-2.3,10.7-2.3c3.5,0,6.5,0.6…
46 …<path class="st2" d="M628.1,155.7c2.7,0,4.6-0.3,5.9-0.8l-4.3-2.7c-0.5,0-1,0.1-1.5,0.1c-2.1,0-3.3-0…
49 ….5-0.7-1.8-0.7-3.9l0-2.5l0-2.8c0-2,0.2-3.2,0.7-3.7 c0.5-0.5,1.7-0.8,3.5-0.8c2.4,0,3.8,0.3,4.2,0.9c…
[all …]
/openbmc/linux/lib/
H A Dstring.c42 unsigned char c1, c2; in strncasecmp() local
49 c2 = *s2++; in strncasecmp()
50 if (!c1 || !c2) in strncasecmp()
52 if (c1 == c2) in strncasecmp()
55 c2 = tolower(c2); in strncasecmp()
56 if (c1 != c2) in strncasecmp()
59 return (int)c1 - (int)c2; in strncasecmp()
67 int c1, c2; in strcasecmp() local
71 c2 = tolower(*s2++); in strcasecmp()
72 } while (c1 == c2 && c1 != 0); in strcasecmp()
[all …]
/openbmc/u-boot/arch/arm/include/asm/arch-armv7/
H A Dgenerictimer.h35 mcr p15, 0, \reg, c14, c2, 0
38 mcr p15, 0, \reg, c14, c2, 1
40 mrc p15, 0, \reg, c14, c2, 1
44 mcr p15, 0, \reg, c14, c2, 1
/openbmc/linux/Documentation/misc-devices/
H A Dc2port.rst5 C2 port support
26 C2 Interface used for in-system programming of micro controllers.
35 The C2 Interface main references are at (https://www.silabs.com)
38 - AN127: FLASH Programming via the C2 Interface at
41 - C2 Specification at
/openbmc/linux/drivers/gpu/drm/tidss/
H A Dtidss_scale_coefs.c17 .c2 = { 28, 34, 40, 46, 52, 58, 64, 70, 0, 2, 4, 8, 12, 16, 20, 24, },
23 .c2 = { 24, 28, 32, 38, 44, 50, 56, 64, 0, 2, 4, 6, 8, 12, 16, 20, },
29 .c2 = { 16, 20, 24, 30, 36, 42, 48, 56, 0, 0, 0, 2, 4, 8, 12, 14, },
35 .c2 = { 12, 14, 16, 22, 28, 34, 40, 48, 0, 0, 0, 2, 4, 4, 4, 8, },
41 .c2 = { 0, 2, 4, 8, 12, 18, 24, 32, 0, 0, 0, -2, -4, -4, -4, -2, },
47 .c2 = { -8, -6, -4, -2, 0, 6, 12, 18, 0, -2, -4, -6, -8, -8, -8, -8, },
53 .c2 = { -12, -12, -12, -10, -8, -4, 0, 6, 0, -2, -4, -6, -8, -10, -12, -12, },
59 .c2 = { -16, -18, -20, -18, -16, -14, -12, -6, 0, -2, -4, -6, -8, -10, -12, -14, },
65 .c2 = { -20, -22, -24, -24, -24, -24, -24, -20, 0, -2, -4, -6, -8, -10, -12, -16, },
71 .c2 = { -16, -20, -24, -28, -32, -34, -36, -34, 0, 0, 0, -2, -4, -8, -12, -14, },
[all …]
/openbmc/openbmc-tools/dbus-vis/
H A Drenderer.js11 let c2 = document.getElementById('my_canvas_dbus');
14 this.canvas2 = c2;
17 this.width2 = c2.width; this.height2 = c2.height;
/openbmc/u-boot/board/amlogic/odroid-c2/
H A DMAINTAINERS1 ODROID-C2
5 F: board/amlogic/odroid-c2/
6 F: include/configs/odroid-c2.h

12345678910>>...24