/openbmc/linux/drivers/gpu/drm/tidss/ |
H A D | tidss_scale_coefs.c | 18 .c1 = { 132, 138, 144, 150, 156, 162, 168, 174, 76, 84, 92, 98, 104, 110, 116, 124, }, 24 .c1 = { 132, 138, 144, 152, 160, 166, 172, 178, 72, 80, 88, 94, 100, 108, 116, 124, }, 30 .c1 = { 132, 140, 148, 156, 164, 172, 180, 186, 64, 72, 80, 88, 96, 104, 112, 122, }, 36 .c1 = { 128, 140, 152, 160, 168, 176, 184, 192, 56, 64, 72, 82, 92, 100, 108, 118, }, 42 .c1 = { 124, 138, 152, 164, 176, 186, 196, 206, 40, 48, 56, 68, 80, 90, 100, 112, }, 48 .c1 = { 120, 134, 148, 164, 180, 194, 208, 220, 24, 32, 40, 52, 64, 78, 92, 106, }, 54 .c1 = { 112, 130, 148, 164, 180, 196, 212, 228, 12, 22, 32, 44, 56, 70, 84, 98, }, 60 .c1 = { 104, 124, 144, 164, 184, 202, 220, 238, 0, 10, 20, 30, 40, 56, 72, 88, }, 66 .c1 = { 92, 114, 136, 158, 180, 204, 228, 250, -16, -8, 0, 12, 24, 38, 52, 72, }, 72 .c1 = { 72, 96, 120, 148, 176, 204, 232, 260, -32, -26, -20, -10, 0, 16, 32, 52, }, [all …]
|
/openbmc/linux/fs/ntfs/ |
H A D | unistr.c | 89 u16 c1, c2; in ntfs_collate_names() local 95 c1 = le16_to_cpu(*name1++); in ntfs_collate_names() 98 if (c1 < upcase_len) in ntfs_collate_names() 99 c1 = le16_to_cpu(upcase[c1]); in ntfs_collate_names() 103 if (c1 < 64 && legal_ansi_char_array[c1] & 8) in ntfs_collate_names() 105 if (c1 < c2) in ntfs_collate_names() 107 if (c1 > c2) in ntfs_collate_names() 115 c1 = le16_to_cpu(*name1); in ntfs_collate_names() 116 if (c1 < 64 && legal_ansi_char_array[c1] & 8) in ntfs_collate_names() 137 u16 c1, c2; in ntfs_ucsncmp() local [all …]
|
/openbmc/linux/arch/arm/include/asm/hardware/ |
H A D | cp14.h | 46 #define RCP14_DBGDSCRint() MRC14(0, c0, c1, 0) 58 #define RCP14_DBGBVR1() MRC14(0, c0, c1, 4) 74 #define RCP14_DBGBCR1() MRC14(0, c0, c1, 5) 90 #define RCP14_DBGWVR1() MRC14(0, c0, c1, 6) 106 #define RCP14_DBGWCR1() MRC14(0, c0, c1, 7) 121 #define RCP14_DBGDRAR() MRC14(0, c1, c0, 0) 122 #define RCP14_DBGBXVR0() MRC14(0, c1, c0, 1) 123 #define RCP14_DBGBXVR1() MRC14(0, c1, c1, 1) 124 #define RCP14_DBGBXVR2() MRC14(0, c1, c2, 1) 125 #define RCP14_DBGBXVR3() MRC14(0, c1, c3, 1) [all …]
|
/openbmc/linux/fs/hfsplus/ |
H A D | unicode.c | 35 u16 len1, len2, c1, c2; in hfsplus_strcasecmp() local 44 c1 = c2 = 0; in hfsplus_strcasecmp() 46 while (len1 && !c1) { in hfsplus_strcasecmp() 47 c1 = case_fold(be16_to_cpu(*p1)); 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 78 c1 = be16_to_cpu(*p1); in hfsplus_strcmp() 80 if (c1 != c2) in hfsplus_strcmp() [all …]
|
/openbmc/u-boot/lib/bzip2/ |
H A D | bzlib_blocksort.c | 395 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/phosphor-logging/test/openpower-pels/ |
H A D | src_callout_test.cpp | 439 Callout c1{CalloutPriority::high, "A1", "1234567", "ABCD", in TEST() local 443 EXPECT_EQ(c1, c2); in TEST() 448 Callout c1{CalloutPriority::high, "A1", "1234567", "ABCD", in TEST() local 452 EXPECT_NE(c1, c2); in TEST() 457 Callout c1{CalloutPriority::medium, "bmc_code"}; in TEST() local 459 EXPECT_EQ(c1, c2); in TEST() 464 Callout c1{CalloutPriority::medium, "bmc_code"}; in TEST() local 466 EXPECT_NE(c1, c2); in TEST() 471 Callout c1{CalloutPriority::high, "service_docs", "", false}; in TEST() local 473 EXPECT_EQ(c1, c2); in TEST() [all …]
|
/openbmc/linux/drivers/char/ |
H A D | nwflash.c | 63 volatile unsigned int c1, c2; in get_flash_id() local 72 c1 = *(volatile unsigned char *) FLASH_BASE; in get_flash_id() 78 if (c1 == 0xB0) in get_flash_id() 83 c2 += (c1 << 8); in get_flash_id() 294 volatile unsigned int c1; in erase_block() local 307 c1 = *(volatile unsigned char *) (FLASH_BASE + 0x8000); in erase_block() 323 c1 = *pWritePtr; in erase_block() 345 c1 = 0; in erase_block() 346 while (!(c1 & 0x80) && time_before(jiffies, timeout)) { in erase_block() 351 c1 = *(volatile unsigned char *) (pWritePtr); in erase_block() [all …]
|
/openbmc/linux/fs/unicode/ |
H A D | utf8-core.c | 24 int c1, c2; in utf8_strncmp() local 33 c1 = utf8byte(&cur1); in utf8_strncmp() 36 if (c1 < 0 || c2 < 0) in utf8_strncmp() 38 if (c1 != c2) in utf8_strncmp() 40 } while (c1); in utf8_strncmp() 50 int c1, c2; in utf8_strncasecmp() local 59 c1 = utf8byte(&cur1); in utf8_strncasecmp() 62 if (c1 < 0 || c2 < 0) in utf8_strncasecmp() 64 if (c1 != c2) in utf8_strncasecmp() 66 } while (c1); in utf8_strncasecmp() [all …]
|
/openbmc/linux/drivers/firmware/efi/libstub/ |
H A D | string.c | 75 unsigned char c1, c2; in strcmp() local 78 c1 = *cs++; in strcmp() 80 if (c1 != c2) in strcmp() 81 return c1 < c2 ? -1 : 1; in strcmp() 82 if (!c1) in strcmp() 97 unsigned char c1, c2; in strncmp() local 100 c1 = *cs++; in strncmp() 102 if (c1 != c2) in strncmp() 103 return c1 < c2 ? -1 : 1; in strncmp() 104 if (!c1) in strncmp()
|
/openbmc/linux/security/selinux/ss/ |
H A D | context.h | 100 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/linux/scripts/coccinelle/misc/ |
H A D | orplus.cocci | 18 constant c,c1; 24 c1 + c - 1 26 c1@i1 +@p c@i 30 constant r.c, r.c1; 44 e | c1@i 46 e & c1@i 48 e |= c1@i 50 e &= c1@i 55 constant c1,c2; 58 * c1 +@p c2
|
/openbmc/linux/lib/ |
H A D | string.c | 42 unsigned char c1, c2; in strncasecmp() local 48 c1 = *s1++; in strncasecmp() 50 if (!c1 || !c2) in strncasecmp() 52 if (c1 == c2) in strncasecmp() 54 c1 = tolower(c1); in strncasecmp() 56 if (c1 != c2) in strncasecmp() 59 return (int)c1 - (int)c2; in strncasecmp() 67 int c1, c2; in strcasecmp() local 70 c1 = tolower(*s1++); in strcasecmp() 72 } while (c1 == c2 && c1 != 0); in strcasecmp() [all …]
|
/openbmc/linux/arch/arm/common/ |
H A D | secure_cntvoff.S | 21 mrc p15, 0, r1, c1, c1, 0 /* Get Secure Config */ 23 mcr p15, 0, r0, c1, c1, 0 /* Set Non Secure bit */ 28 mcr p15, 0, r1, c1, c1, 0 /* Set Secure bit */
|
/openbmc/u-boot/arch/arm/cpu/armv7/ |
H A D | nonsec_virt.S | 32 mrc p15, 0, \tmp, c0, c1, 1 @ read ID_PFR1 61 mrc p15, 0, r5, c1, c0, 1 63 mcr p15, 0, r5, c1, c0, 1 68 mrc p15, 0, r5, c1, c0, 1 70 mcr p15, 0, r5, c1, c0, 1 74 mrc p15, 0, r5, c1, c1, 0 @ read SCR 87 mcr p15, 0, r5, c1, c1, 0 @ write SCR (with NS bit set) 93 mrc p15, 0, r4, c0, c1, 1 @ read ID_PFR1 180 mrc p15, 0, r0, c1, c1, 2 184 mcr p15, 0, r0, c1, c1, 2 @ NSACR = all copros to non-sec [all …]
|
/openbmc/qemu/tests/unit/ |
H A D | test-coroutine.c | 179 Coroutine *c1; in test_no_dangling_access() local 184 c1 = qemu_coroutine_create(c1_fn, c2); in test_no_dangling_access() 186 qemu_coroutine_enter(c1); in test_no_dangling_access() 189 tmp = *c1; in test_no_dangling_access() 190 memset(c1, 0xff, sizeof(Coroutine)); in test_no_dangling_access() 194 *c1 = tmp; in test_no_dangling_access() 226 Coroutine *c1 = qemu_coroutine_create(entry, opaque); in do_test_co_mutex() local 230 qemu_coroutine_enter(c1); in do_test_co_mutex() 237 qemu_coroutine_enter(c1); in do_test_co_mutex() 308 Coroutine *c1, *c2; in test_co_rwlock_upgrade() local [all …]
|
/openbmc/qemu/tests/tcg/multiarch/ |
H A D | catch-syscalls.c | 19 char c0 = 'A', c1; in main() local 33 if (read(fd[0], &c1, sizeof(c1)) != sizeof(c1)) { in main() 38 if (c0 == c1) { in main()
|
/openbmc/linux/tools/power/cpupower/utils/helpers/ |
H A D | bitmask.c | 203 const char *c1, *c2; /* next tokens after '-' or ',' */ in bitmask_parselist() local 212 c1 = nexttoken(p, '-'); in bitmask_parselist() 214 if (c1 != NULL && (c2 == NULL || c1 < c2)) { in bitmask_parselist() 215 sret = sscanf(c1, "%u%c", &b, &nextc); in bitmask_parselist() 218 c1 = nexttoken(c1, ':'); in bitmask_parselist() 219 if (c1 != NULL && (c2 == NULL || c1 < c2)) { in bitmask_parselist() 220 sret = sscanf(c1, "%u%c", &s, &nextc); in bitmask_parselist()
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | sockmap_basic.c | 362 int n, err, map, verdict, s, c1, p1; in test_sockmap_skb_verdict_shutdown() local 382 err = create_pair(s, AF_INET, SOCK_STREAM, &c1, &p1); in test_sockmap_skb_verdict_shutdown() 386 err = bpf_map_update_elem(map, &zero, &c1, BPF_NOEXIST); in test_sockmap_skb_verdict_shutdown() 393 ev.data.fd = c1; in test_sockmap_skb_verdict_shutdown() 398 err = epoll_ctl(epollfd, EPOLL_CTL_ADD, c1, &ev); in test_sockmap_skb_verdict_shutdown() 405 n = recv(c1, &b, 1, SOCK_NONBLOCK); in test_sockmap_skb_verdict_shutdown() 408 close(c1); in test_sockmap_skb_verdict_shutdown() 417 int err, map, verdict, s, c0, c1, p0, p1; in test_sockmap_skb_verdict_fionread() local 447 err = create_socket_pairs(s, AF_INET, SOCK_STREAM, &c0, &c1, &p0, &p1); in test_sockmap_skb_verdict_fionread() 451 err = bpf_map_update_elem(map, &zero, &c1, BPF_NOEXIST); in test_sockmap_skb_verdict_fionread() [all …]
|
/openbmc/linux/drivers/leds/ |
H A D | leds-tca6507.c | 209 int c1, c2; in choose_times() local 217 for (c1 = 1; c1 < TIMECODES; c1++) { in choose_times() 218 int t = time_codes[c1]; in choose_times() 223 for (c2 = 0; c2 <= c1; c2++) { in choose_times() 235 *c1p = c1; in choose_times() 315 int c1, c2; in set_times() local 318 result = choose_times(tca->bank[bank].ontime, &c1, &c2); in set_times() 323 c1, time_codes[c1], in set_times() 326 set_code(tca, TCA6507_FULL_ON, bank, c1); in set_times() 329 result = choose_times(tca->bank[bank].offtime, &c1, &c2); in set_times() [all …]
|
/openbmc/linux/arch/arm/mm/ |
H A D | proc-v6.S | 41 mrc p15, 0, r0, c1, c0, 0 @ ctrl register 44 mcr p15, 0, r0, c1, c0, 0 @ disable caches 59 mrc p15, 0, r1, c1, c0, 0 @ ctrl register 61 mcr p15, 0, r1, c1, c0, 0 @ disable MMU 146 mrc p15, 0, r7, c1, c0, 1 @ auxiliary control register 147 mrc p15, 0, r8, c1, c0, 2 @ co-processor access control 148 mrc p15, 0, r9, c1, c0, 0 @ control register 170 mcr p15, 0, r7, c1, c0, 1 @ auxiliary control register 171 mcr p15, 0, r8, c1, c0, 2 @ co-processor access control 199 ALT_SMP(mrc p15, 0, r0, c1, c0, 1) @ Enable SMP/nAMP mode [all …]
|
H A D | proc-v7.S | 34 mrc p15, 0, r0, c1, c0, 0 @ ctrl register 37 mcr p15, 0, r0, c1, c0, 0 @ disable caches 57 mrc p15, 0, r2, c1, c0, 0 @ ctrl register 60 mcr p15, 0, r2, c1, c0, 0 @ disable MMU 148 mrc p15, 0, r8, c1, c0, 0 @ Control register 149 mrc p15, 0, r9, c1, c0, 1 @ Auxiliary control register 150 mrc p15, 0, r10, c1, c0, 2 @ Co-processor access control 181 mrc p15, 0, r4, c1, c0, 1 @ Read Auxiliary control register 183 mcrne p15, 0, r9, c1, c0, 1 @ No, so write it 184 mcr p15, 0, r10, c1, c0, 2 @ Co-processor access control [all …]
|
/openbmc/linux/tools/testing/selftests/proc/ |
H A D | proc-uptime-001.c | 30 uint64_t start, u0, u1, c0, c1; in main() local 42 c1 = clock_boottime(); in main() 48 assert(c1 >= c0); in main() 54 c0 = c1; in main()
|
/openbmc/linux/arch/s390/boot/ |
H A D | string.c | 11 unsigned char c1, c2; in strncmp() local 14 c1 = *cs++; in strncmp() 16 if (c1 != c2) in strncmp() 17 return c1 < c2 ? -1 : 1; in strncmp() 18 if (!c1) in strncmp()
|
/openbmc/linux/drivers/acpi/acpica/ |
H A D | utnonansi.c | 92 int c1; in acpi_ut_stricmp() local 96 c1 = tolower((int)*string1); in acpi_ut_stricmp() 102 while ((c1 == c2) && (c1)); in acpi_ut_stricmp() 104 return (c1 - c2); in acpi_ut_stricmp()
|
/openbmc/linux/arch/arm/mach-omap2/ |
H A D | sleep44xx.S | 88 mrc p15, 0, r0, c1, c0, 0 90 mcr p15, 0, r0, c1, c0, 0 126 mrc p15, 0, r0, c1, c1, 2 @ Read NSACR data 128 mrcne p15, 0, r0, c1, c0, 1 130 mcrne p15, 0, r0, c1, c0, 1 189 mrc p15, 0, r0, c1, c0, 0 192 mcreq p15, 0, r0, c1, c0, 0 201 mrc p15, 0, r0, c1, c0, 1 204 mcreq p15, 0, r0, c1, c0, 1 270 mrc p15, 0, r0, c1, c0, 1 [all …]
|