| /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 …]
|
| /linux/net/wireless/tests/ |
| H A D | chan.c | 34 /* leave c1 empty for tests for identical */ 35 struct cfg80211_chan_def c1, c2; 95 .c1 = { 109 .c1 = { 122 .c1 = { 136 .c1 = { 150 .c1 = { 165 .c1 = { 181 .c1 = { 202 struct cfg80211_chan_def c1 in KUNIT_ARRAY_PARAM_DESC() 30 struct cfg80211_chan_def c1, c2; global() member 197 struct cfg80211_chan_def c1 = params->c1; KUNIT_ARRAY_PARAM_DESC() local [all...] |
| /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
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | tc_change_tail.c | 16 int c1, p1; in test_tc_change_tail() local 30 ret = create_pair(AF_INET, SOCK_DGRAM, &c1, &p1); in test_tc_change_tail() 36 ret = recv(c1, buf, 2, 0); in test_tc_change_tail() 37 ASSERT_EQ(ret, 2, "recv(c1)"); in test_tc_change_tail() 42 ret = recv(c1, buf, 2, 0); in test_tc_change_tail() 43 ASSERT_EQ(ret, 1, "recv(c1)"); in test_tc_change_tail() 48 ret = recv(c1, buf, 1, 0); in test_tc_change_tail() 49 ASSERT_EQ(ret, 1, "recv(c1)"); in test_tc_change_tail() 54 ret = recv(c1, buf, 1, 0); in test_tc_change_tail() 55 ASSERT_EQ(ret, 1, "recv(c1)"); in test_tc_change_tail() [all …]
|
| H A D | sockmap_basic.c | 451 int n, err, map, verdict, c1 = -1, p1 = -1; in test_sockmap_skb_verdict_shutdown() local 469 err = create_pair(AF_INET, SOCK_STREAM, &c1, &p1); in test_sockmap_skb_verdict_shutdown() 473 err = bpf_map_update_elem(map, &zero, &c1, BPF_NOEXIST); in test_sockmap_skb_verdict_shutdown() 480 ev.data.fd = c1; in test_sockmap_skb_verdict_shutdown() 485 err = epoll_ctl(epollfd, EPOLL_CTL_ADD, c1, &ev); in test_sockmap_skb_verdict_shutdown() 492 n = recv(c1, &b, 1, MSG_DONTWAIT); in test_sockmap_skb_verdict_shutdown() 495 close(c1); in test_sockmap_skb_verdict_shutdown() 504 int err, map, verdict, c0 = -1, c1 = -1, p0 = -1, p1 = -1; in do_test_sockmap_skb_verdict_fionread() local 536 err = create_socket_pairs(AF_INET, sotype, &c0, &c1, &p0, &p1); in do_test_sockmap_skb_verdict_fionread() 540 err = bpf_map_update_elem(map, &zero, &c1, BPF_NOEXIST); in do_test_sockmap_skb_verdict_fionread() [all …]
|
| H A D | sockmap_strp.c | 94 int c0 = -1, p0 = -1, c1 = -1, p1 = -1; in test_sockmap_strp_dispatch_pkt() local 107 {"rrrrr", 5, 0, &c1} in test_sockmap_strp_dispatch_pkt() 114 err = create_socket_pairs(family, sotype, &c0, &c1, &p0, &p1); in test_sockmap_strp_dispatch_pkt() 126 err = setsockopt(c1, IPPROTO_TCP, TCP_NODELAY, &zero, sizeof(zero)); in test_sockmap_strp_dispatch_pkt() 156 close(c1); in test_sockmap_strp_dispatch_pkt() 372 int c0 = -1, p0 = -1, c1 = -1, p1 = -1; in test_sockmap_strp_verdict() local 381 * When p0 receives data from c0, we forward it to c1. in test_sockmap_strp_verdict() 382 * From c1's perspective, it will consider this data in test_sockmap_strp_verdict() 385 err = create_socket_pairs(family, sotype, &c0, &c1, &p0, &p1); in test_sockmap_strp_verdict() 401 recvd = recv_timeout(c1, rcv, sizeof(rcv), MSG_DONTWAIT, in test_sockmap_strp_verdict() [all …]
|
| /linux/arch/arm/kernel/ |
| H A D | hyp-stub.S | 120 mcr p15, 4, r7, c1, c1, 0 @ HCR 121 mcr p15, 4, r7, c1, c1, 2 @ HCPTR 122 mcr p15, 4, r7, c1, c1, 3 @ HSTR 126 mcr p15, 4, r7, c1, c0, 0 @ HSCTLR 128 mrc p15, 4, r7, c1, c1, 1 @ HDCR 130 mcr p15, 4, r7, c1, c1, 1 @ HDCR 133 mrc p15, 0, r7, c1, c0, 0 @ SCTLR 137 mcr p15, 0, r7, c1, c0, 0 @ SCTLR 147 mrc p15, 0, r7, c0, c1, 1 @ ID_PFR1 151 mrc p15, 4, r7, c14, c1, 0 @ CNTHCTL [all …]
|
| /linux/tools/testing/selftests/cgroup/ |
| H A D | test_cpuset_prs.sh | 211 SETUP_A123_PARTITIONS="C1-3:P1 C2-3:P1 C3:P1" 218 " C0-1 . . C2-3 P1 C1:P1 . . 0 " 220 " C0-1:P1 . . C2-3 . C1 . . 0 " 221 " C0-1:P1 . . C2-3 . C1:P1 . . 0 " 222 " C0-1:P1 . . C2-3 . C1:P1 . P1 0 " 227 " C0-3:P1 C2-3:P1 . . C1-3 . . . 0 A1:1|A2:2-3|XA2:2-3" 249 " C1-3:P1 C3:P2 . . . T:O3=0 . . 0 A1:1-2|A2:1-2 A1:P1|A2:P-2 3|" 250 " C1-3:P1 C3:P2 . . . T:O3=0 O3=1 . 0 A1:1-2|A2:3 A1:P1|A2:P2 3" 268 " C0-3 C1-3 C2-3 . X2-3 . . . 0 A1:0-3|A2:1-3|A3:2-3|XA1:2-3" 269 …" C0-3 C1-3 C2-3 . X2-3 X2-3:P2 . . 0 A1:0-1|A2:2-3|A3:2-3 A1:P0|A2:P2 2-… [all …]
|
| /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 …]
|
| /linux/tools/testing/selftests/net/ |
| H A D | tcp_port_share.c | 139 int c1, c2, ln, pb; in TEST_F() local 151 c1 = socket(v->domain, SOCK_STREAM, 0); in TEST_F() 152 ASSERT_GE(c1, 0) TH_LOG("socket(): %m"); in TEST_F() 153 ASSERT_EQ(setsockopt(c1, SOL_IP, IP_BIND_ADDRESS_NO_PORT, &one, sizeof(one)), 0); in TEST_F() 156 ASSERT_EQ(bind(c1, &addr.sa, addr.len), 0) TH_LOG("bind(%s): %m", addr.str); in TEST_F() 159 ASSERT_EQ(connect(c1, &addr.sa, addr.len), 0) TH_LOG("connect(%s): %m", addr.str); in TEST_F() 160 ASSERT_EQ(getsockname_port(c1), SRC_PORT); in TEST_F() 190 ASSERT_EQ(close(c1), 0); in TEST_F() 201 int c1, c2, ln, pb; in TEST_F() local 213 c1 = socket(v->domain, SOCK_STREAM, 0); in TEST_F() [all …]
|
| H A D | tcp_ecmp_failover.sh | 11 # .-- veth-c1 -|- veth-s1 --. 68 $IP link set veth-c1 up 71 $IP -4 addr add 192.168.1.1/24 dev veth-c1 75 nexthop via 192.168.1.2 dev veth-c1 weight 1 \ 78 $IP -6 addr add 2001:db8:1::1/64 dev veth-c1 nodad 82 nexthop via 2001:db8:1::2 dev veth-c1 weight 1 \ 96 $NS_EXEC sysctl -qw net.ipv4.conf.veth-c1.ignore_routes_with_linkdown=1 99 $NS_EXEC sysctl -qw net.ipv6.conf.veth-c1.ignore_routes_with_linkdown=1 107 ip -n "$client" link add veth-c1 type veth peer veth-s1 netns "$server"
|
| /linux/arch/arm/mm/ |
| H A D | proc-v7.S | 35 mrc p15, 0, r0, c1, c0, 0 @ ctrl register 38 mcr p15, 0, r0, c1, c0, 0 @ disable caches 58 mrc p15, 0, r2, c1, c0, 0 @ ctrl register 61 mcr p15, 0, r2, c1, c0, 0 @ disable MMU 150 mrc p15, 0, r8, c1, c0, 0 @ Control register 151 mrc p15, 0, r9, c1, c0, 1 @ Auxiliary control register 152 mrc p15, 0, r10, c1, c0, 2 @ Co-processor access control 183 mrc p15, 0, r4, c1, c0, 1 @ Read Auxiliary control register 185 mcrne p15, 0, r9, c1, c0, 1 @ No, so write it 186 mcr p15, 0, r10, c1, c0, 2 @ Co-processor access control [all …]
|
| H A D | proc-v6.S | 43 mrc p15, 0, r0, c1, c0, 0 @ ctrl register 46 mcr p15, 0, r0, c1, c0, 0 @ disable caches 62 mrc p15, 0, r1, c1, c0, 0 @ ctrl register 64 mcr p15, 0, r1, c1, c0, 0 @ disable MMU 153 mrc p15, 0, r7, c1, c0, 1 @ auxiliary control register 154 mrc p15, 0, r8, c1, c0, 2 @ co-processor access control 155 mrc p15, 0, r9, c1, c0, 0 @ control register 177 mcr p15, 0, r7, c1, c0, 1 @ auxiliary control register 178 mcr p15, 0, r8, c1, c0, 2 @ co-processor access control 193 * on. Return in r0 the new CP15 C1 control register setting. [all …]
|
| H A D | cache-tauros2.c | 121 "mrc p15, 0, %0, c1, c0, 0\n\t" in tauros2_disable() 123 "mcr p15, 0, %0, c1, c0, 0 @Disable L2 Cache\n\t" in tauros2_disable() 131 "mrc p15, 0, %0, c1, c0, 0\n\t" in tauros2_resume() 133 "mcr p15, 0, %0, c1, c0, 0 @Enable L2 Cache\n\t" in tauros2_resume() 142 __asm__("mrc p15, 1, %0, c15, c1, 0" : "=r" (u)); in read_extra_features() 149 __asm__("mcr p15, 1, %0, c15, c1, 0" : : "r" (u)); in write_extra_features() 161 __asm__("mrc p15, 0, %0, c0, c1, 7\n" : "=r" (mmfr3)); in read_mmfr3() 170 __asm__("mrc p15, 0, %0, c1, c0, 1\n" : "=r" (actlr)); in read_actlr() 177 __asm__("mcr p15, 0, %0, c1, c0, 1\n" : : "r" (actlr)); in write_actlr()
|
| /linux/arch/arm/mach-spear/ |
| H A D | hotplug.c | 28 " mrc p15, 0, %0, c1, c0, 1\n" in cpu_enter_lowpower() 30 " mcr p15, 0, %0, c1, c0, 1\n" in cpu_enter_lowpower() 31 " mrc p15, 0, %0, c1, c0, 0\n" in cpu_enter_lowpower() 33 " mcr p15, 0, %0, c1, c0, 0\n" in cpu_enter_lowpower() 43 asm volatile("mrc p15, 0, %0, c1, c0, 0\n" in cpu_leave_lowpower() 45 " mcr p15, 0, %0, c1, c0, 0\n" in cpu_leave_lowpower() 46 " mrc p15, 0, %0, c1, c0, 1\n" in cpu_leave_lowpower() 48 " mcr p15, 0, %0, c1, c0, 1\n" in cpu_leave_lowpower()
|
| /linux/lib/crypto/s390/ |
| H A D | chacha-s390.S | 447 #define C1 %v6 macro 515 VLR C1,K2 546 VAF C1,C1,D1 552 VX B1,B1,C1 584 VAF C1,C1,D1 590 VX B1,B1,C1 603 VSLDB C1,C1,C1,8 641 VAF C1,C1,D1 647 VX B1,B1,C1 679 VAF C1,C1,D1 [all …]
|
| /linux/arch/arm/mach-versatile/ |
| H A D | hotplug.c | 30 " mrc p15, 0, %0, c1, c0, 1\n" in versatile_immitation_enter_lowpower() 32 " mcr p15, 0, %0, c1, c0, 1\n" in versatile_immitation_enter_lowpower() 33 " mrc p15, 0, %0, c1, c0, 0\n" in versatile_immitation_enter_lowpower() 35 " mcr p15, 0, %0, c1, c0, 0\n" in versatile_immitation_enter_lowpower() 46 "mrc p15, 0, %0, c1, c0, 0\n" in versatile_immitation_leave_lowpower() 48 " mcr p15, 0, %0, c1, c0, 0\n" in versatile_immitation_leave_lowpower() 49 " mrc p15, 0, %0, c1, c0, 1\n" in versatile_immitation_leave_lowpower() 51 " mcr p15, 0, %0, c1, c0, 1\n" in versatile_immitation_leave_lowpower()
|
| /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 */
|
| /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()
|
| /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 …]
|
| /linux/tools/testing/selftests/net/netfilter/ |
| H A D | br_netfilter_queue.sh | 17 setup_ns c1 c2 c3 sender 45 port_add "$c1" "c1" 1 56 ip netns exec "$sender" ping -I sender -c1 192.168.1.1 || exit 1 57 ip netns exec "$sender" ping -I sender -c1 192.168.1.2 || exit 2 58 ip netns exec "$sender" ping -I sender -c1 192.168.1.3 || exit 3
|
| /linux/tools/power/x86/turbostat/ |
| H A D | turbostat.8 | 39 <event> is a perf event for given device from /sys/bus/event_source/devices/<device>/events/<event> eg. c1-residency 40 perf/cstate_core/c1-residency would then use /sys/bus/event_source/devices/cstate_core/events/c1-residency 174 \fBC1, C2, C3...\fP The number times Linux requested the C1, C2, C3 idle state during the measurement interval. The system summary line shows the sum for all CPUs. These are C-state names as exported in /sys/devices/system/cpu/cpu*/cpuidle/state*/name. While their names are generic, their attributes are processor specific. They the system description section of output shows what MWAIT sub-states they are mapped to on each system. These counters are in the "cpuidle" group, which is disabled, by default. 176 \fBC1+, C2+, C3+...\fP The idle governor idle state misprediction statistics. Indicates the number times Linux requested the C1, C2, C3 idle state during the measurement interval, but should have requested a deeper idle state (if it exists and enabled). These statistics come from the /sys/devices/system/cpu/cpu*/cpuidle/state*/below file. These counters are in the "cpuidle" group, which is disabled, by default. 178 \fBC1-, C2-, C3-...\fP The idle governor idle state misprediction statistics. Indicates the number times Linux requested the C1, C2, C3 idle state during the measurement interval, but should have requested a shallower idle state (if it exists and enabled). These statistics come from the /sys/devices/system/cpu/cpu*/cpuidle/state*/above file. These counters are in the "cpuidle" group, which is disabled, by default. 180 \fBC1%, C2%, C3%\fP The residency percentage that Linux requested C1, C2, C3.... The system summary is the average of all CPUs in the system. Note that these are software, reflecting what was requested. The hardware counters reflect what was actually achieved. These counters are in the "pct_idle" group, which is enabled by default. 182 \fBCPU%c1, CPU%c3, CPU%c6, CPU%c7\fP show the percentage residency in hardware core idle states. These numbers are from hardware residency counters and are in the "hwidle" group, which is enabled, by default. 242 C1 C1E C3 C6 C7s C1 [all...] |
| /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()
|
| /linux/arch/arm/include/asm/ |
| H A D | cp15.h | 60 asm("mrc p15, 0, %0, c1, c0, 0 @ get CR" : "=r" (val) : : "cc"); in get_cr() 66 asm volatile("mcr p15, 0, %0, c1, c0, 0 @ set CR" in set_cr() 74 asm("mrc p15, 0, %0, c1, c0, 1 @ get AUXCR" : "=r" (val)); in get_auxcr() 80 asm volatile("mcr p15, 0, %0, c1, c0, 1 @ set AUXCR" in set_auxcr() 92 asm("mrc p15, 0, %0, c1, c0, 2 @ get copro access" in get_copro_access() 99 asm volatile("mcr p15, 0, %0, c1, c0, 2 @ set copro access" in set_copro_access()
|
| H A D | cputype.h | 31 #define CPUID_EXT_PFR0 "c1, 0" 32 #define CPUID_EXT_PFR1 "c1, 1" 33 #define CPUID_EXT_DFR0 "c1, 2" 34 #define CPUID_EXT_AFR0 "c1, 3" 35 #define CPUID_EXT_MMFR0 "c1, 4" 36 #define CPUID_EXT_MMFR1 "c1, 5" 37 #define CPUID_EXT_MMFR2 "c1, 6" 38 #define CPUID_EXT_MMFR3 "c1, 7"
|