Home
last modified time | relevance | path

Searched refs:pfx (Results 1 – 25 of 70) sorted by relevance

123

/linux-6.1.9/drivers/firmware/efi/
Dcper-arm.c89 static void cper_print_arm_err_info(const char *pfx, u32 type, in cper_print_arm_err_info() argument
112 printk("%stransaction type: %s\n", pfx, in cper_print_arm_err_info()
123 printk("%soperation type: %s\n", pfx, in cper_print_arm_err_info()
129 printk("%soperation type: %s\n", pfx, in cper_print_arm_err_info()
135 printk("%soperation type: %s\n", pfx, in cper_print_arm_err_info()
147 printk("%scache level: %d\n", pfx, level); in cper_print_arm_err_info()
150 printk("%sTLB level: %d\n", pfx, level); in cper_print_arm_err_info()
154 pfx, level); in cper_print_arm_err_info()
163 printk("%sprocessor context corrupted\n", pfx); in cper_print_arm_err_info()
165 printk("%sprocessor context not corrupted\n", pfx); in cper_print_arm_err_info()
[all …]
Dcper.c82 void cper_print_bits(const char *pfx, unsigned int bits, in cper_print_bits() argument
100 len = snprintf(buf, sizeof(buf), "%s%s", pfx, str); in cper_print_bits()
143 static void cper_print_proc_generic(const char *pfx, in cper_print_proc_generic() argument
147 printk("%s""processor_type: %d, %s\n", pfx, proc->proc_type, in cper_print_proc_generic()
151 printk("%s""processor_isa: %d, %s\n", pfx, proc->proc_isa, in cper_print_proc_generic()
155 printk("%s""error_type: 0x%02x\n", pfx, proc->proc_error_type); in cper_print_proc_generic()
156 cper_print_bits(pfx, proc->proc_error_type, in cper_print_proc_generic()
161 printk("%s""operation: %d, %s\n", pfx, proc->operation, in cper_print_proc_generic()
165 printk("%s""flags: 0x%02x\n", pfx, proc->flags); in cper_print_proc_generic()
166 cper_print_bits(pfx, proc->flags, proc_flag_strs, in cper_print_proc_generic()
[all …]
Dcper-x86.c153 static inline void print_bool(char *str, const char *pfx, u64 check, u64 bit) in print_bool() argument
155 printk("%s%s: %s\n", pfx, str, (check & bit) ? "true" : "false"); in print_bool()
158 static void print_err_info_ms(const char *pfx, u16 validation_bits, u64 check) in print_err_info_ms() argument
163 printk("%sError Type: %u, %s\n", pfx, err_type, in print_err_info_ms()
169 print_bool("Processor Context Corrupt", pfx, check, CHECK_MS_PCC); in print_err_info_ms()
172 print_bool("Uncorrected", pfx, check, CHECK_MS_UNCORRECTED); in print_err_info_ms()
175 print_bool("Precise IP", pfx, check, CHECK_MS_PRECISE_IP); in print_err_info_ms()
178 print_bool("Restartable IP", pfx, check, CHECK_MS_RESTARTABLE_IP); in print_err_info_ms()
181 print_bool("Overflow", pfx, check, CHECK_MS_OVERFLOW); in print_err_info_ms()
184 static void print_err_info(const char *pfx, u8 err_type, u64 check) in print_err_info() argument
[all …]
/linux-6.1.9/arch/mips/include/asm/
Datomic.h26 #define ATOMIC_OPS(pfx, type) \ argument
27 static __always_inline type arch_##pfx##_read(const pfx##_t *v) \
32 static __always_inline void arch_##pfx##_set(pfx##_t *v, type i) \
38 arch_##pfx##_cmpxchg(pfx##_t *v, type o, type n) \
43 static __always_inline type arch_##pfx##_xchg(pfx##_t *v, type n) \
55 #define ATOMIC_OP(pfx, op, type, c_op, asm_op, ll, sc) \ argument
56 static __inline__ void arch_##pfx##_##op(type i, pfx##_t * v) \
73 "1: " #ll " %0, %1 # " #pfx "_" #op " \n" \
82 #define ATOMIC_OP_RETURN(pfx, op, type, c_op, asm_op, ll, sc) \ argument
84 arch_##pfx##_##op##_return_relaxed(type i, pfx##_t * v) \
[all …]
Dr4kcache.h197 #define __BUILD_BLAST_CACHE(pfx, desc, indexop, hitop, lsize, extra) \ argument
198 static inline void extra##blast_##pfx##cache##lsize(void) \
213 static inline void extra##blast_##pfx##cache##lsize##_page(unsigned long page) \
224 static inline void extra##blast_##pfx##cache##lsize##_page_indexed(unsigned long page) \
261 #define __BUILD_BLAST_USER_CACHE(pfx, desc, indexop, hitop, lsize) \ argument
262 static inline void blast_##pfx##cache##lsize##_user_page(unsigned long page) \
284 #define __BUILD_BLAST_CACHE_RANGE(pfx, desc, hitop, prot, extra) \ argument
285 static inline void prot##extra##blast_##pfx##cache##_range(unsigned long start, \
313 #define __BUILD_BLAST_CACHE_NODE(pfx, desc, indexop, hitop, lsize) \ argument
314 static inline void blast_##pfx##cache##lsize##_node(long node) \
Dio.h219 #define __BUILD_MEMORY_SINGLE(pfx, bwlq, type, barrier, relax, irq) \ argument
221 static inline void pfx##write##bwlq(type val, \
234 __val = pfx##ioswab##bwlq(__mem, val); \
261 static inline type pfx##read##bwlq(const volatile void __iomem *mem) \
297 return pfx##ioswab##bwlq(__mem, __val); \
300 #define __BUILD_IOPORT_SINGLE(pfx, bwlq, type, barrier, relax, p) \ argument
302 static inline void pfx##out##bwlq##p(type val, unsigned long port) \
314 __val = pfx##ioswab##bwlq(__addr, val); \
322 static inline type pfx##in##bwlq##p(unsigned long port) \
339 return pfx##ioswab##bwlq(__addr, __val); \
/linux-6.1.9/scripts/atomic/
Dgen-atomic-fallback.sh13 local pfx="$1"; shift
20 local atomicname="arch_${atomic}_${pfx}${name}${sfx}${order}"
39 local pfx="$1"; shift
44 local tmpl="$(find_fallback_template "${pfx}" "${name}" "${sfx}" "${order}")"
45 gen_template_fallback "${tmpl}" "${meta}" "${pfx}" "${name}" "${sfx}" "${order}" "$@"
62 local pfx="$1"; shift
68 local basename="arch_${atomic}_${pfx}${name}${sfx}"
77 local pfx="$1"; shift
82 local basename="arch_${atomic}_${pfx}${name}${sfx}"
84 local template="$(find_fallback_template "${pfx}" "${name}" "${sfx}" "${order}")"
[all …]
Datomic-tbl.sh42 local pfx="$1"; shift
55 for base in "${pfx}${name}${sfx}${order}" "${name}"; do
149 local pfx="$1"; shift
153 gen_proto_order_variant "${meta}" "${pfx}" "${name}" "${sfx}" "" "$@"
156 gen_proto_order_variant "${meta}" "${pfx}" "${name}" "${sfx}" "_acquire" "$@"
159 gen_proto_order_variant "${meta}" "${pfx}" "${name}" "${sfx}" "_release" "$@"
162 gen_proto_order_variant "${meta}" "${pfx}" "${name}" "${sfx}" "_relaxed" "$@"
171 local pfx=""
174 meta_in "${meta}" "fF" && pfx="fetch_"
177 gen_proto_order_variants "${meta}" "${pfx}" "${name}" "${sfx}" "$@"
/linux-6.1.9/drivers/pinctrl/renesas/
Dpfc-r8a73a4.c13 #define CPU_ALL_PORT(fn, pfx, sfx) \ argument
15 PORT_10(0, fn, pfx, sfx), \
16 PORT_10(10, fn, pfx##1, sfx), \
17 PORT_10(20, fn, pfx##2, sfx), \
18 PORT_1(30, fn, pfx##30, sfx), \
20 PORT_1(32, fn, pfx##32, sfx), PORT_1(33, fn, pfx##33, sfx), \
21 PORT_1(34, fn, pfx##34, sfx), PORT_1(35, fn, pfx##35, sfx), \
22 PORT_1(36, fn, pfx##36, sfx), PORT_1(37, fn, pfx##37, sfx), \
23 PORT_1(38, fn, pfx##38, sfx), PORT_1(39, fn, pfx##39, sfx), \
24 PORT_1(40, fn, pfx##40, sfx), \
[all …]
Dsh_pfc.h653 #define PORT_1(pn, fn, pfx, sfx) fn(pn, pfx, sfx) argument
655 #define PORT_10(pn, fn, pfx, sfx) \ argument
656 PORT_1(pn, fn, pfx##0, sfx), PORT_1(pn+1, fn, pfx##1, sfx), \
657 PORT_1(pn+2, fn, pfx##2, sfx), PORT_1(pn+3, fn, pfx##3, sfx), \
658 PORT_1(pn+4, fn, pfx##4, sfx), PORT_1(pn+5, fn, pfx##5, sfx), \
659 PORT_1(pn+6, fn, pfx##6, sfx), PORT_1(pn+7, fn, pfx##7, sfx), \
660 PORT_1(pn+8, fn, pfx##8, sfx), PORT_1(pn+9, fn, pfx##9, sfx)
662 #define PORT_90(pn, fn, pfx, sfx) \ argument
663 PORT_10(pn+10, fn, pfx##1, sfx), PORT_10(pn+20, fn, pfx##2, sfx), \
664 PORT_10(pn+30, fn, pfx##3, sfx), PORT_10(pn+40, fn, pfx##4, sfx), \
[all …]
Dpfc-emev2.c11 #define CPU_ALL_PORT(fn, pfx, sfx) \ argument
12 PORT_10(0, fn, pfx, sfx), PORT_90(0, fn, pfx, sfx), \
13 PORT_10(100, fn, pfx##10, sfx), PORT_10(110, fn, pfx##11, sfx), \
14 PORT_10(120, fn, pfx##12, sfx), PORT_10(130, fn, pfx##13, sfx), \
15 PORT_10(140, fn, pfx##14, sfx), PORT_1(150, fn, pfx##150, sfx), \
16 PORT_1(151, fn, pfx##151, sfx), PORT_1(152, fn, pfx##152, sfx), \
17 PORT_1(153, fn, pfx##153, sfx), PORT_1(154, fn, pfx##154, sfx), \
18 PORT_1(155, fn, pfx##155, sfx), PORT_1(156, fn, pfx##156, sfx), \
19 PORT_1(157, fn, pfx##157, sfx), PORT_1(158, fn, pfx##158, sfx)
244 #define __PIN_CFG(pn, pfx, sfx) SH_PFC_PIN_CFG(pfx, 0) argument
[all …]
Dpfc-sh73a0.c18 #define CPU_ALL_PORT(fn, pfx, sfx) \ argument
19 PORT_10(0, fn, pfx, sfx), PORT_90(0, fn, pfx, sfx), \
20 PORT_10(100, fn, pfx##10, sfx), \
21 PORT_1(110, fn, pfx##110, sfx), PORT_1(111, fn, pfx##111, sfx), \
22 PORT_1(112, fn, pfx##112, sfx), PORT_1(113, fn, pfx##113, sfx), \
23 PORT_1(114, fn, pfx##114, sfx), PORT_1(115, fn, pfx##115, sfx), \
24 PORT_1(116, fn, pfx##116, sfx), PORT_1(117, fn, pfx##117, sfx), \
25 PORT_1(118, fn, pfx##118, sfx), \
26 PORT_1(128, fn, pfx##128, sfx), PORT_1(129, fn, pfx##129, sfx), \
27 PORT_10(130, fn, pfx##13, sfx), PORT_10(140, fn, pfx##14, sfx), \
[all …]
/linux-6.1.9/net/ipv6/
Drpl.c15 const void *post, unsigned char pfx) in ipv6_rpl_addr_decompress() argument
17 memcpy(dst, daddr, pfx); in ipv6_rpl_addr_decompress()
18 memcpy(&dst->s6_addr[pfx], post, IPV6_PFXTAIL_LEN(pfx)); in ipv6_rpl_addr_decompress()
22 unsigned char pfx) in ipv6_rpl_addr_compress() argument
24 memcpy(dst, &addr->s6_addr[pfx], IPV6_PFXTAIL_LEN(pfx)); in ipv6_rpl_addr_compress()
/linux-6.1.9/net/6lowpan/
Ddebugfs.c105 be16_to_cpu(ctx->pfx.s6_addr16[0]), in lowpan_ctx_pfx_show()
106 be16_to_cpu(ctx->pfx.s6_addr16[1]), in lowpan_ctx_pfx_show()
107 be16_to_cpu(ctx->pfx.s6_addr16[2]), in lowpan_ctx_pfx_show()
108 be16_to_cpu(ctx->pfx.s6_addr16[3]), in lowpan_ctx_pfx_show()
109 be16_to_cpu(ctx->pfx.s6_addr16[4]), in lowpan_ctx_pfx_show()
110 be16_to_cpu(ctx->pfx.s6_addr16[5]), in lowpan_ctx_pfx_show()
111 be16_to_cpu(ctx->pfx.s6_addr16[6]), in lowpan_ctx_pfx_show()
112 be16_to_cpu(ctx->pfx.s6_addr16[7])); in lowpan_ctx_pfx_show()
151 ctx->pfx.s6_addr16[i] = cpu_to_be16(addr[i] & 0xffff); in lowpan_ctx_pfx_write()
207 &t->table[i].pfx, t->table[i].plen, in lowpan_context_show()
/linux-6.1.9/include/linux/
Dbtree-type.h2 #define __BTREE_TP(pfx, type, sfx) pfx ## type ## sfx argument
3 #define _BTREE_TP(pfx, type, sfx) __BTREE_TP(pfx, type, sfx) argument
4 #define BTREE_TP(pfx) _BTREE_TP(pfx, BTREE_TYPE_SUFFIX,) argument
/linux-6.1.9/tools/testing/selftests/drivers/net/netdevsim/
Dudp_tunnel_nic.sh161 err_cnt "ethtool table $1 on port $port: $pfx - $msg"
171 err_cnt "table $1 on port $port: $pfx - $msg"
204 err_cnt "ethtool static entry: $pfx - $msg"
260 pfx="basic"
337 pfx="module tests"
378 local pfx=$1
401 local pfx=$1
477 pfx="sync all"
534 pfx="destroy full"
562 pfx="IPv4 only"
[all …]
/linux-6.1.9/drivers/acpi/
Dacpi_extlog.c94 static void __print_extlog_rcd(const char *pfx, in __print_extlog_rcd() argument
101 if (!pfx) { in __print_extlog_rcd()
103 pfx = KERN_INFO; in __print_extlog_rcd()
105 pfx = KERN_ERR; in __print_extlog_rcd()
108 snprintf(pfx_seq, sizeof(pfx_seq), "%s{%u}", pfx, curr_seqno); in __print_extlog_rcd()
113 static int print_extlog_rcd(const char *pfx, in print_extlog_rcd() argument
127 __print_extlog_rcd(pfx, estatus, cpu); in print_extlog_rcd()
/linux-6.1.9/tools/bpf/bpftool/
Dmain.c174 bool is_prefix(const char *pfx, const char *str) in is_prefix() argument
176 if (!pfx) in is_prefix()
178 if (strlen(str) < strlen(pfx)) in is_prefix()
181 return !memcmp(str, pfx, strlen(pfx)); in is_prefix()
219 const char *pfx = ""; in fprint_hex() local
228 pfx = sep; in fprint_hex()
230 fprintf(f, "%s%02hhx", i ? pfx : "", data[i]); in fprint_hex()
/linux-6.1.9/net/ipv6/netfilter/
Dip6t_NPT.c18 struct in6_addr pfx; in ip6t_npt_checkentry() local
25 ipv6_addr_prefix(&pfx, &npt->src_pfx.in6, npt->src_pfx_len); in ip6t_npt_checkentry()
26 if (!ipv6_addr_equal(&pfx, &npt->src_pfx.in6)) in ip6t_npt_checkentry()
28 ipv6_addr_prefix(&pfx, &npt->dst_pfx.in6, npt->dst_pfx_len); in ip6t_npt_checkentry()
29 if (!ipv6_addr_equal(&pfx, &npt->dst_pfx.in6)) in ip6t_npt_checkentry()
/linux-6.1.9/net/dsa/
Dmaster.c151 uint8_t pfx[4]; in dsa_master_get_strings() local
154 snprintf(pfx, sizeof(pfx), "p%.2d", port); in dsa_master_get_strings()
156 pfx[sizeof(pfx) - 1] = '_'; in dsa_master_get_strings()
183 memmove(ndata + (i * len + sizeof(pfx)), in dsa_master_get_strings()
184 ndata + i * len, len - sizeof(pfx)); in dsa_master_get_strings()
185 memcpy(ndata + i * len, pfx, sizeof(pfx)); in dsa_master_get_strings()
/linux-6.1.9/scripts/atomic/fallbacks/
Drelease3 arch_${atomic}_${pfx}${name}${sfx}_release(${params})
6 ${retstmt}arch_${atomic}_${pfx}${name}${sfx}_relaxed(${args});
Ddec3 arch_${atomic}_${pfx}dec${sfx}${order}(${atomic}_t *v)
5 ${retstmt}arch_${atomic}_${pfx}sub${sfx}${order}(1, v);
Dinc3 arch_${atomic}_${pfx}inc${sfx}${order}(${atomic}_t *v)
5 ${retstmt}arch_${atomic}_${pfx}add${sfx}${order}(1, v);
Dacquire3 arch_${atomic}_${pfx}${name}${sfx}_acquire(${params})
5 ${ret} ret = arch_${atomic}_${pfx}${name}${sfx}_relaxed(${args});
Dandnot3 arch_${atomic}_${pfx}andnot${sfx}${order}(${int} i, ${atomic}_t *v)
5 ${retstmt}arch_${atomic}_${pfx}and${sfx}${order}(~i, v);

123