/linux/net/wireless/tests/ |
H A D | chan.c | 30 struct cfg80211_chan_def c1, c2; member 31 /* we test both ways around, so c2 should always be the compat one */ 36 .c2 = { 45 .c2 = { 54 .c2 = { 63 .c2 = { 72 .c2 = { 81 .c2 = { 95 .c2 = { 109 .c2 = { [all …]
|
/linux/drivers/net/ethernet/marvell/mvpp2/ |
H A D | mvpp2_cls.c | 487 /* 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->attr[2]); in mvpp2_cls_c2_write() [all …]
|
H A D | mvpp2_debugfs.c | 45 /* Entries for Classifier C2 engine debug info */ 208 struct mvpp2_cls_c2_entry c2; in mvpp2_dbgfs_flow_c2_rxq_show() local 211 mvpp2_cls_c2_read(entry->priv, entry->id, &c2); in mvpp2_dbgfs_flow_c2_rxq_show() 213 qh = (c2.attr[0] >> MVPP22_CLS_C2_ATTR0_QHIGH_OFFS) & in mvpp2_dbgfs_flow_c2_rxq_show() 216 ql = (c2.attr[0] >> MVPP22_CLS_C2_ATTR0_QLOW_OFFS) & in mvpp2_dbgfs_flow_c2_rxq_show() 229 struct mvpp2_cls_c2_entry c2; in mvpp2_dbgfs_flow_c2_enable_show() local 232 mvpp2_cls_c2_read(entry->priv, entry->id, &c2); in mvpp2_dbgfs_flow_c2_enable_show() 234 enabled = !!(c2.attr[2] & MVPP22_CLS_C2_ATTR2_RSS_EN); in mvpp2_dbgfs_flow_c2_enable_show() 646 c2_dir = debugfs_create_dir("c2", cls_dir); in mvpp2_dbgfs_cls_init()
|
/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() 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 …]
|
/linux/tools/testing/selftests/cgroup/ |
H A D | test_cpuset_prs.sh | 212 SETUP_A123_PARTITIONS="C1-3:P1:S+ C2-3:P1:S+ C3:P1" 216 " C0-1 . . C2-3 S+ C4-5 . . 0 A2:0-1" 217 " C0-1 . . C2-3 P1 . . . 0 " 218 " C0-1 . . C2-3 P1:S+ C0-1:P1 . . 0 " 219 " C0-1 . . C2-3 P1:S+ C1:P1 . . 0 " 220 " C0-1:S+ . . C2-3 . . . P1 0 " 221 " C0-1:P1 . . C2-3 S+ C1 . . 0 " 222 " C0-1:P1 . . C2-3 S+ C1:P1 . . 0 " 223 " C0-1:P1 . . C2-3 S+ C1:P1 . P1 0 " 224 " C0-1:P1 . . C2-3 C4-5 . . . 0 A1:4-5" [all …]
|
/linux/arch/arm/include/asm/hardware/ |
H A D | cp14.h | 54 #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 …]
|
/linux/drivers/misc/c2port/ |
H A D | Kconfig | 3 # 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
|
/linux/drivers/firmware/efi/libstub/ |
H A D | string.c | 75 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 D | string.c | 43 unsigned char c1, c2; in strncasecmp() local 50 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() 60 return (int)c1 - (int)c2; in strncasecmp() 68 int c1, c2; in strcasecmp() local 72 c2 = tolower(*s2++); in strcasecmp() 73 } while (c1 == c2 && c1 != 0); in strcasecmp() [all …]
|
/linux/drivers/gpu/drm/tidss/ |
H A D | tidss_scale_coefs.c | 17 .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 …]
|
/linux/drivers/iio/light/ |
H A D | veml6075.c | 150 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() 251 int ret, c1, c2, uva, uvb, uvi_micro; in veml6075_read_uvi() local 259 ret = veml6075_read_comp(data, &c1, &c2); in veml6075_read_uvi() 271 uvi_micro = veml6075_get_uvi_micro(data, veml6075_uva_comp(uva, c1, c2), in veml6075_read_uvi() 272 veml6075_uvb_comp(uvb, c1, c2)); in veml6075_read_uvi()
|
/linux/arch/arm/include/asm/ |
H A D | uaccess-asm.h | 76 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)
|
H A D | cputype.h | 39 #define CPUID_EXT_ISAR0 "c2, 0" 40 #define CPUID_EXT_ISAR1 "c2, 1" 41 #define CPUID_EXT_ISAR2 "c2, 2" 42 #define CPUID_EXT_ISAR3 "c2, 3" 43 #define CPUID_EXT_ISAR4 "c2, 4" 44 #define CPUID_EXT_ISAR5 "c2, 5" 45 #define CPUID_EXT_ISAR6 "c2, 7"
|
/linux/Documentation/misc-devices/ |
H A D | c2port.rst | 5 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
|
/linux/arch/powerpc/kernel/vdso/ |
H A D | vgetrandom-chacha.S | 52 .macro quarterround4 a1 b1 c1 d1 a2 b2 c2 d2 a3 b3 c3 d3 a4 b4 c4 d4 66 add \c2, \c2, \d2 70 xor \b2, \b2, \c2 90 add \c2, \c2, \d2 94 xor \b2, \b2, \c2 103 #define QUARTERROUND4(a1,b1,c1,d1,a2,b2,c2,d2,a3,b3,c3,d3,a4,b4,c4,d4) \ argument 105 state##a2 state##b2 state##c2 state##d2 \
|
/linux/arch/arm/mm/ |
H A D | proc-v7.S | 144 mrrc p15, 1, r5, r7, c2 @ TTB 1 146 mrc p15, 0, r7, c2, c0, 1 @ TTB 1 148 mrc p15, 0, r11, c2, c0, 2 @ TTB control register 169 mcrr p15, 0, r1, ip, c2 @ TTB 0 170 mcrr p15, 1, r5, r7, c2 @ TTB 1 174 mcr p15, 0, r1, c2, c0, 0 @ TTB 0 175 mcr p15, 0, r7, c2, c0, 1 @ TTB 1 177 mcr p15, 0, r11, c2, c0, 2 @ TTB control register 180 mcr p15, 0, r4, c10, c2, 0 @ write PRRR 181 mcr p15, 0, r5, c10, c2, 1 @ write NMRR [all …]
|
H A D | pv-fixup-asm.S | 63 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 D | proc-v6.S | 111 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/scripts/kconfig/tests/err_recursive_dep/ |
H A D | Kconfig | 19 depends on C2 21 config C2 config 22 bool "C2"
|
/linux/drivers/char/ |
H A D | nwflash.c | 63 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/Documentation/ABI/testing/ |
H A D | sysfs-c2port | 7 the C2 port interface. 14 C2 port into the system. Each directory will contain files to 15 manage and control its C2 port. 22 to the C2 port from the system. No commands can be sent
|
/linux/net/wireless/ |
H A D | chan.c | 509 const struct cfg80211_chan_def *c2, in check_chandef_primary_compat() argument 516 cfg80211_chandef_primary(c2, primary_chan_width, &punct_c2)) in check_chandef_primary_compat() 524 return c2; in check_chandef_primary_compat() 532 const struct cfg80211_chan_def *c2) in _cfg80211_chandef_compatible() argument 537 if (cfg80211_chandef_identical(c1, c2)) in _cfg80211_chandef_compatible() 538 return c2; in _cfg80211_chandef_compatible() 541 if (c1->chan != c2->chan) in _cfg80211_chandef_compatible() 548 if (c1->width == c2->width) in _cfg80211_chandef_compatible() 563 if (NARROW_OR_S1G(c1->width) || NARROW_OR_S1G(c2->width)) in _cfg80211_chandef_compatible() 568 * we either return NULL or c2 and don't have to check both in _cfg80211_chandef_compatible() [all …]
|
/linux/arch/mips/include/asm/sibyte/ |
H A D | board.h | 25 #define setleds(t0, t1, c0, c1, c2, c3) \ 31 li t1, c2; \ 36 #define setleds(t0, t1, c0, c1, c2, c3)
|
/linux/include/linux/ |
H A D | c2port.h | 3 * Silicon Labs C2 port Linux support 14 * C2 port basic structs 39 /* Enable or disable the access to C2 port */
|
/linux/tools/testing/selftests/net/netfilter/ |
H A D | nft_audit.sh | 93 do_test "nft add chain $table c2; add chain $table c3" \ 106 for chain in c2 c3; do 141 do_test 'nft add counter t2 c1; add counter t2 c2' \ 170 do_test 'nft reset rules t1 c2' \ 241 do_test 'nft flush chain t1 c2' \ 249 do_test 'nft delete chain t2 c2' \
|