Home
last modified time | relevance | path

Searched refs:c2 (Results 1 – 25 of 198) sorted by relevance

12345678

/linux/net/wireless/tests/
H A Dchan.c36 .c2 = {
45 .c2 = {
54 .c2 = {
63 .c2 = {
72 .c2 = {
81 .c2 = {
95 .c2 = {
109 .c2 = {
122 .c2 = {
136 .c2 = {
[all …]
/linux/fs/hfsplus/
H A Dunicode.c44 c1 = c2 = 0; in hfsplus_strcasecmp()
57 if (c1 != c2) in hfsplus_strcasecmp()
59 if (!c1 && !c2) in hfsplus_strcasecmp()
80 if (c1 != c2) in hfsplus_strcmp()
392 u16 c2; in hfsplus_hash_dentry() local
414 c2 = case_fold(c2); in hfsplus_hash_dentry()
419 c2 = c; in hfsplus_hash_dentry()
421 c2 = case_fold(c2); in hfsplus_hash_dentry()
444 u16 c1, c2; in hfsplus_compare_dentry() local
482 c2 = c; in hfsplus_compare_dentry()
[all …]
/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, },
71 .c2 = { -16, -20, -24, -28, -32, -34, -36, -34, 0, 0, 0, -2, -4, -8, -12, -14, },
77 .c2 = { -12, -18, -24, -28, -32, -38, -44, -46, 0, 2, 4, 2, 0, -2, -4, -8, },
[all …]
/linux/drivers/net/ethernet/marvell/mvpp2/
H A Dmvpp2_cls.c508 if (c2->valid) in mvpp2_cls_c2_write()
535 c2->index = index; in mvpp2_cls_c2_read()
872 memset(&c2, 0, sizeof(c2)); in mvpp2_port_c2_cls_init()
902 c2.valid = true; in mvpp2_port_c2_cls_init()
937 memset(&c2, 0, sizeof(c2)); in mvpp2_cls_init()
938 c2.valid = false; in mvpp2_cls_init()
940 c2.index = index; in mvpp2_cls_init()
1094 memset(&c2, 0, sizeof(c2)); in mvpp2_port_c2_tcam_rule_add()
1099 c2.index = index; in mvpp2_port_c2_tcam_rule_add()
1103 rule->c2_index = c2.index; in mvpp2_port_c2_tcam_rule_add()
[all …]
/linux/security/selinux/ss/
H A Dcontext.h104 const struct context *c2) in mls_context_glblub() argument
107 const struct mls_range *r1 = &c1->range, *r2 = &c2->range; in mls_context_glblub()
136 const struct context *c2) in mls_context_cmp() argument
138 return ((c1->range.level[0].sens == c2->range.level[0].sens) && in mls_context_cmp()
140 (c1->range.level[1].sens == c2->range.level[1].sens) && in mls_context_cmp()
192 const struct context *c2) in context_cmp() argument
194 if (c1->len && c2->len) in context_cmp()
195 return (c1->len == c2->len && !strcmp(c1->str, c2->str)); in context_cmp()
196 if (c1->len || c2->len) in context_cmp()
198 return ((c1->user == c2->user) && (c1->role == c2->role) && in context_cmp()
[all …]
/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()
/linux/lib/
H A Dstring.c50 c2 = *s2++; in strncasecmp()
51 if (!c1 || !c2) in strncasecmp()
53 if (c1 == c2) in strncasecmp()
56 c2 = tolower(c2); in strncasecmp()
57 if (c1 != c2) in strncasecmp()
68 int c1, c2; in strcasecmp() local
74 return c1 - c2; in strcasecmp()
266 c2 = *ct++; in strcmp()
267 if (c1 != c2) in strcmp()
290 c2 = *ct++; in strncmp()
[all …]
/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 …]
/linux/drivers/media/usb/pvrusb2/
H A Dpvrusb2-std.c178 unsigned int c1,c2; in pvr2_std_id_to_str() local
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()
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()
204 c2 = scnprintf(bufPtr,bufSize, in pvr2_std_id_to_str()
206 c1 += c2; in pvr2_std_id_to_str()
207 bufSize -= c2; in pvr2_std_id_to_str()
[all …]
/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)
291 #define RCP14_ETMACVR2() MRC14(1, c0, c2, 1)
[all …]
/linux/drivers/char/
H A Dnwflash.c63 volatile unsigned int c1, c2; in get_flash_id() local
69 c2 = inb(0x80); in get_flash_id()
73 c2 = inb(0x80); in get_flash_id()
79 c2 = *(volatile unsigned char *) (FLASH_BASE + 2); in get_flash_id()
81 c2 = *(volatile unsigned char *) (FLASH_BASE + 1); in get_flash_id()
83 c2 += (c1 << 8); in get_flash_id()
90 if (c2 == KFLASH_ID4) in get_flash_id()
93 return c2; in get_flash_id()
400 volatile unsigned int c2; in write_block() local
425 if (__get_user(c2, buf + offset)) in write_block()
[all …]
/linux/drivers/leds/
H A Dleds-tca6507.c206 int c1, c2; in choose_times() local
220 for (c2 = 0; c2 <= c1; c2++) { in choose_times()
221 int tt = t + time_codes[c2]; in choose_times()
233 *c2p = c2; in choose_times()
312 int c1, c2; in set_times() local
321 c2, time_codes[c2], tca->bank[bank].ontime); in set_times()
322 set_code(tca, TCA6507_FADE_ON, bank, c2); in set_times()
330 c2, time_codes[c2], tca->bank[bank].offtime); in set_times()
331 set_code(tca, TCA6507_FADE_OFF, bank, c2); in set_times()
381 int c1, c2; in led_prepare() local
[all …]
/linux/drivers/iio/light/
H A Dveml6075.c150 static int veml6075_read_comp(struct veml6075_data *data, int *c1, int *c2) in veml6075_read_comp() argument
158 return regmap_read(data->regmap, VEML6075_CMD_COMP2, c2); in veml6075_read_comp()
164 int c1, c2, ret; in veml6075_read_uv_direct() local
172 ret = veml6075_read_comp(data, &c1, &c2); in veml6075_read_uv_direct()
182 *val = veml6075_uva_comp(*val, c1, c2); in veml6075_read_uv_direct()
189 *val = veml6075_uvb_comp(*val, c1, c2); in veml6075_read_uv_direct()
247 int ret, c1, c2, uva, uvb, uvi_micro; in veml6075_read_uvi() local
255 ret = veml6075_read_comp(data, &c1, &c2); in veml6075_read_uvi()
267 uvi_micro = veml6075_get_uvi_micro(data, veml6075_uva_comp(uva, c1, c2), in veml6075_read_uvi()
268 veml6075_uvb_comp(uvb, c1, c2)); in veml6075_read_uvi()
/linux/arch/arm/include/asm/
H A Duaccess-asm.h76 mrc p15, 0, \tmp, c2, c0, 2 @ read TTBCR
79 mcr p15, 0, \tmp, c2, c0, 2 @ write TTBCR
90 mrc p15, 0, \tmp, c2, c0, 2 @ read TTBCR
93 mcr p15, 0, \tmp, c2, c0, 2 @ write TTBCR
134 PAN( mrc p15, 0, \tmp0, c2, c0, 2)
155 PAN( mcr p15, 0, \tmp0, c2, c0, 2)
/linux/drivers/acpi/acpica/
H A Dutnonansi.c93 int c2; in acpi_ut_stricmp() local
97 c2 = tolower((int)*string2); in acpi_ut_stricmp()
102 while ((c1 == c2) && (c1)); in acpi_ut_stricmp()
104 return (c1 - c2); in acpi_ut_stricmp()
/linux/arch/s390/boot/
H A Dstring.c11 unsigned char c1, c2; in strncmp() local
15 c2 = *ct++; in strncmp()
16 if (c1 != c2) in strncmp()
17 return c1 < c2 ? -1 : 1; in strncmp()
/linux/drivers/md/dm-vdo/
H A Dmurmurhash3.c42 const u64 c2 = 0x4cf5ad432745937fLLU; in murmurhash3_128() local
58 k1 *= c2; in murmurhash3_128()
65 k2 *= c2; in murmurhash3_128()
104 k2 *= c2; in murmurhash3_128()
135 k1 *= c2; in murmurhash3_128()
/linux/drivers/clk/davinci/
H A Dpsc.h36 #define LPSC_CLKDEV2(n, c1, d1, c2, d2) \ argument
39 LPSC_CLKDEV((c2), (d2)), \
43 #define LPSC_CLKDEV3(n, c1, d1, c2, d2, c3, d3) \ argument
46 LPSC_CLKDEV((c2), (d2)), \
/linux/arch/mips/include/asm/sibyte/
H A Dboard.h25 #define setleds(t0, t1, c0, c1, c2, c3) \ argument
31 li t1, c2; \
36 #define setleds(t0, t1, c0, c1, c2, c3) argument
/linux/tools/power/cpupower/utils/helpers/
H A Dbitmask.c203 const char *c1, *c2; /* next tokens after '-' or ',' */ in bitmask_parselist() local
213 c2 = nexttoken(p, ','); in bitmask_parselist()
214 if (c1 != NULL && (c2 == NULL || c1 < c2)) { in bitmask_parselist()
219 if (c1 != NULL && (c2 == NULL || c1 < c2)) { in bitmask_parselist()
/linux/lib/crypto/mpi/
H A Dmpicoder.c120 int i, j, c, c1, c2; in mpi_fromstr() local
165 c2 = *str++; in mpi_fromstr()
166 if (!c2) { in mpi_fromstr()
181 if (c2 >= '0' && c2 <= '9') in mpi_fromstr()
182 c |= c2 - '0'; in mpi_fromstr()
183 else if (c2 >= 'a' && c2 <= 'f') in mpi_fromstr()
184 c |= c2 - 'a' + 10; in mpi_fromstr()
185 else if (c2 >= 'A' && c2 <= 'F') in mpi_fromstr()
186 c |= c2 - 'A' + 10; in mpi_fromstr()
/linux/arch/arm/mm/
H A Dpv-fixup-asm.S63 mrrc p15, 0, r4, r5, c2 @ read TTBR0
66 mcrr p15, 0, r4, r5, c2 @ write back TTBR0
67 mrrc p15, 1, r4, r5, c2 @ read TTBR1
70 mcrr p15, 1, r4, r5, c2 @ write back TTBR1
H A Dproc-v6.S111 mcr p15, 0, r0, c2, c0, 0 @ set TTB 0
151 mrc p15, 0, r6, c2, c0, 1 @ Translation table base 1
173 mcr p15, 0, r1, c2, c0, 0 @ Translation table base 0
174 mcr p15, 0, r6, c2, c0, 1 @ Translation table base 1
175 mcr p15, 0, ip, c2, c0, 2 @ TTB control register
219 mcr p15, 0, r0, c2, c0, 2 @ TTB control register
224 mcr p15, 0, r8, c2, c0, 1 @ load TTB1
/linux/net/wireless/
H A Dchan.c431 const struct cfg80211_chan_def *c2, in check_chandef_primary_compat() argument
446 return c2; in check_chandef_primary_compat()
454 const struct cfg80211_chan_def *c2) in _cfg80211_chandef_compatible() argument
459 if (cfg80211_chandef_identical(c1, c2)) in _cfg80211_chandef_compatible()
460 return c2; in _cfg80211_chandef_compatible()
463 if (c1->chan != c2->chan) in _cfg80211_chandef_compatible()
470 if (c1->width == c2->width) in _cfg80211_chandef_compatible()
493 if (c1->width > c2->width) in _cfg80211_chandef_compatible()
494 swap(c1, c2); in _cfg80211_chandef_compatible()
502 return c2; in _cfg80211_chandef_compatible()
[all …]
/linux/drivers/cxl/core/
H A Dcdat.c519 struct access_coordinate *c2) in __cxl_coordinates_combine() argument
521 if (c1->write_bandwidth && c2->write_bandwidth) in __cxl_coordinates_combine()
523 c2->write_bandwidth); in __cxl_coordinates_combine()
524 out->write_latency = c1->write_latency + c2->write_latency; in __cxl_coordinates_combine()
526 if (c1->read_bandwidth && c2->read_bandwidth) in __cxl_coordinates_combine()
528 c2->read_bandwidth); in __cxl_coordinates_combine()
529 out->read_latency = c1->read_latency + c2->read_latency; in __cxl_coordinates_combine()
541 struct access_coordinate *c2) in cxl_coordinates_combine() argument
544 __cxl_coordinates_combine(&out[i], &c1[i], &c2[i]); in cxl_coordinates_combine()

12345678