| /OK3568_Linux_fs/u-boot/lib/ |
| H A D | charset.c | 56 uint32_t code = *src++; in utf16_to_utf8() local 59 if (code >= 0xDC00 && code <= 0xDFFF) { in utf16_to_utf8() 61 code = ((code_high - 0xD800) << 10) + (code - 0xDC00) + 0x10000; in utf16_to_utf8() 63 *dest++ = (code >> 18) | 0xF0; in utf16_to_utf8() 64 *dest++ = ((code >> 12) & 0x3F) | 0x80; in utf16_to_utf8() 65 *dest++ = ((code >> 6) & 0x3F) | 0x80; in utf16_to_utf8() 66 *dest++ = (code & 0x3F) | 0x80; in utf16_to_utf8() 76 if (code <= 0x007F) { in utf16_to_utf8() 77 *dest++ = code; in utf16_to_utf8() 78 } else if (code <= 0x07FF) { in utf16_to_utf8() [all …]
|
| H A D | slre.c | 125 op = r->code[pc]; in slre_dump() 131 (void) fprintf(fp, "%d ", r->code[pc + 1]); in slre_dump() 136 pc + r->code[pc + 1] - i); in slre_dump() 141 r->code[pc + 1], r->code[pc + 2]); in slre_dump() 146 for (j = 0; j < r->code[pc + 2]; j++) { in slre_dump() 147 ch = r->data[r->code[pc + 1] + j]; in slre_dump() 173 r->code[pc] = (unsigned char) (r->code_size - offset); in set_jump_offset() 177 emit(struct slre *r, int code) in emit() argument 179 if (r->code_size >= (int) (sizeof(r->code) / sizeof(r->code[0]))) in emit() 182 r->code[r->code_size++] = (unsigned char) code; in emit() [all …]
|
| /OK3568_Linux_fs/kernel/kernel/trace/ |
| H A D | trace_probe_tmpl.h | 7 fetch_store_raw(unsigned long val, struct fetch_insn *code, void *buf) in fetch_store_raw() argument 9 switch (code->size) { in fetch_store_raw() 29 fetch_apply_bitfield(struct fetch_insn *code, void *buf) in fetch_apply_bitfield() argument 31 switch (code->basesize) { in fetch_apply_bitfield() 33 *(u8 *)buf <<= code->lshift; in fetch_apply_bitfield() 34 *(u8 *)buf >>= code->rshift; in fetch_apply_bitfield() 37 *(u16 *)buf <<= code->lshift; in fetch_apply_bitfield() 38 *(u16 *)buf >>= code->rshift; in fetch_apply_bitfield() 41 *(u32 *)buf <<= code->lshift; in fetch_apply_bitfield() 42 *(u32 *)buf >>= code->rshift; in fetch_apply_bitfield() [all …]
|
| H A D | trace_probe.c | 273 struct fetch_insn *code, unsigned int flags, int offs) in parse_probe_vars() argument 281 code->op = FETCH_OP_RETVAL; in parse_probe_vars() 288 code->op = FETCH_OP_STACKP; in parse_probe_vars() 298 code->op = FETCH_OP_STACK; in parse_probe_vars() 299 code->param = (unsigned int)param; in parse_probe_vars() 304 code->op = FETCH_OP_COMM; in parse_probe_vars() 316 code->op = FETCH_OP_ARG; in parse_probe_vars() 317 code->param = (unsigned int)param - 1; in parse_probe_vars() 358 struct fetch_insn *code = *pcode; in parse_probe_arg() local 367 ret = parse_probe_vars(arg + 1, type, code, flags, offs); in parse_probe_arg() [all …]
|
| /OK3568_Linux_fs/kernel/kernel/bpf/ |
| H A D | disasm.c | 112 insn->code, insn->dst_reg, in print_bpf_end_insn() 113 BPF_SRC(insn->code) == BPF_TO_BE ? "be" : "le", in print_bpf_end_insn() 122 u8 class = BPF_CLASS(insn->code); in print_bpf_insn() 125 if (BPF_OP(insn->code) == BPF_END) { in print_bpf_insn() 127 verbose(cbs->private_data, "BUG_alu64_%02x\n", insn->code); in print_bpf_insn() 130 } else if (BPF_OP(insn->code) == BPF_NEG) { in print_bpf_insn() 132 insn->code, class == BPF_ALU ? 'w' : 'r', in print_bpf_insn() 135 } else if (BPF_SRC(insn->code) == BPF_X) { in print_bpf_insn() 137 insn->code, class == BPF_ALU ? 'w' : 'r', in print_bpf_insn() 139 bpf_alu_string[BPF_OP(insn->code) >> 4], in print_bpf_insn() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/debug/backend/ |
| H A D | mali_kbase_debug_ktrace_jm.h | 44 enum kbase_ktrace_code code, 50 #define KBASE_KTRACE_RBUF_ADD_JM(kbdev, code, kctx, katom, gpu_addr, flags, \ argument 52 kbasep_ktrace_add_jm(kbdev, KBASE_KTRACE_CODE(code), kctx, katom, \ 57 #define KBASE_KTRACE_RBUF_ADD_JM(kbdev, code, kctx, katom, gpu_addr, flags, \ argument 61 CSTD_NOP(code);\ 80 #define KBASE_KTRACE_FTRACE_ADD_JM_SLOT(kbdev, code, kctx, katom, gpu_addr, \ argument 82 trace_mali_##code(kctx, jobslot, 0) 84 #define KBASE_KTRACE_FTRACE_ADD_JM_SLOT_INFO(kbdev, code, kctx, katom, \ argument 86 trace_mali_##code(kctx, jobslot, info_val) 88 #define KBASE_KTRACE_FTRACE_ADD_JM_REFCOUNT(kbdev, code, kctx, katom, \ argument [all …]
|
| H A D | mali_kbase_debug_ktrace_csf.h | 42 enum kbase_ktrace_code code, struct kbase_queue_group *group, 62 enum kbase_ktrace_code code, 66 #define KBASE_KTRACE_RBUF_ADD_CSF(kbdev, code, group, queue, flags, info_val) \ argument 67 kbasep_ktrace_add_csf(kbdev, KBASE_KTRACE_CODE(code), group, queue, \ 70 #define KBASE_KTRACE_RBUF_ADD_CSF_KCPU(kbdev, code, queue, info_val1, \ argument 71 info_val2) kbasep_ktrace_add_csf_kcpu(kbdev, KBASE_KTRACE_CODE(code), \ 76 #define KBASE_KTRACE_RBUF_ADD_CSF(kbdev, code, group, queue, flags, info_val) \ argument 79 CSTD_NOP(code);\ 87 #define KBASE_KTRACE_RBUF_ADD_CSF_KCPU(kbdev, code, queue, info_val1, info_val2) \ argument 90 CSTD_NOP(code);\ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/scsi/ |
| H A D | script_asm.pl | 179 @code = (); # Array of 32 bit words for SIOP 209 printf STDERR "Old code : %08x\n", $code[$address]; 214 $code[$address] = ($code[$address] & ~$mask) | 215 (($code[$address] & $mask) + ($value << ($offset * 8)) & 218 printf STDERR "New code : %08x\n", $code[$address] if ($debug); 277 $code[$address] |= 0x00_01_00_00; 296 $code[$address] |= 0x00_08_00_00; 306 $code[$address] |= 0x00_02_00_00; 312 $code[$address] |= $p | 0x00_02_00_00; 341 $code[$address] |= 0x00_04_00_00; [all …]
|
| /OK3568_Linux_fs/kernel/arch/ia64/kernel/ |
| H A D | unwind_decoder.c | 86 unw_decode_x1 (unsigned char *dp, unsigned char code, void *arg) in unw_decode_x1() argument 103 unw_decode_x2 (unsigned char *dp, unsigned char code, void *arg) in unw_decode_x2() argument 121 unw_decode_x3 (unsigned char *dp, unsigned char code, void *arg) in unw_decode_x3() argument 141 unw_decode_x4 (unsigned char *dp, unsigned char code, void *arg) in unw_decode_x4() argument 162 unw_decode_r1 (unsigned char *dp, unsigned char code, void *arg) in unw_decode_r1() argument 164 int body = (code & 0x20) != 0; in unw_decode_r1() 167 rlen = (code & 0x1f); in unw_decode_r1() 173 unw_decode_r2 (unsigned char *dp, unsigned char code, void *arg) in unw_decode_r2() argument 180 mask = ((code & 0x7) << 1) | ((byte1 >> 7) & 1); in unw_decode_r2() 188 unw_decode_r3 (unsigned char *dp, unsigned char code, void *arg) in unw_decode_r3() argument [all …]
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/apt/apt/ |
| H A D | triehash | 177 my $code; 387 open($code, '>', $code_name) or die "Cannot open $code_name: $!" ; 389 $code = *STDOUT; 392 $header = $code; 515 …print { $code } ("static enum ${enum_name} ${function_name}${local_length}(const char *string)\n"); 516 print { $code } ("{\n"); 517 $self->print_table($trie->filter_depth($local_length)->rebuild_tree(), $code, 1); 518 … printf { $code } (" return %s$unknown_label;\n", ($enum_class ? "${enum_name}::" : '')); 519 print { $code } ("}\n"); 539 print { $code } ("#include \"$header_name\"\n") if ($header_name ne $code_name); [all …]
|
| /OK3568_Linux_fs/kernel/arch/s390/kernel/ |
| H A D | diag.c | 25 int code; member 30 [DIAG_STAT_X008] = { .code = 0x008, .name = "Console Function" }, 31 [DIAG_STAT_X00C] = { .code = 0x00c, .name = "Pseudo Timer" }, 32 [DIAG_STAT_X010] = { .code = 0x010, .name = "Release Pages" }, 33 [DIAG_STAT_X014] = { .code = 0x014, .name = "Spool File Services" }, 34 [DIAG_STAT_X044] = { .code = 0x044, .name = "Voluntary Timeslice End" }, 35 [DIAG_STAT_X064] = { .code = 0x064, .name = "NSS Manipulation" }, 36 [DIAG_STAT_X09C] = { .code = 0x09c, .name = "Relinquish Timeslice" }, 37 [DIAG_STAT_X0DC] = { .code = 0x0dc, .name = "Appldata Control" }, 38 [DIAG_STAT_X204] = { .code = 0x204, .name = "Logical-CPU Utilization" }, [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/firewire/ |
| H A D | firedtv-rc.c | 169 void fdtv_handle_rc(struct firedtv *fdtv, unsigned int code) in fdtv_handle_rc() argument 174 if (code >= 0x0300 && code <= 0x031f) in fdtv_handle_rc() 175 code = keycode[code - 0x0300]; in fdtv_handle_rc() 176 else if (code >= 0x0340 && code <= 0x0354) in fdtv_handle_rc() 177 code = keycode[code - 0x0320]; in fdtv_handle_rc() 178 else if (code >= 0x4501 && code <= 0x451f) in fdtv_handle_rc() 179 code = oldtable[code - 0x4501]; in fdtv_handle_rc() 180 else if (code >= 0x4540 && code <= 0x4542) in fdtv_handle_rc() 181 code = oldtable[code - 0x4521]; in fdtv_handle_rc() 185 code); in fdtv_handle_rc() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/test-drivers/vimc/ |
| H A D | vimc-common.c | 22 .code = { 31 .code = { 46 .code = { MEDIA_BUS_FMT_ARGB8888_1X32 }, 54 .code = { MEDIA_BUS_FMT_SBGGR8_1X8 }, 60 .code = { MEDIA_BUS_FMT_SGBRG8_1X8 }, 66 .code = { MEDIA_BUS_FMT_SGRBG8_1X8 }, 72 .code = { MEDIA_BUS_FMT_SRGGB8_1X8 }, 78 .code = { MEDIA_BUS_FMT_SBGGR10_1X10 }, 84 .code = { MEDIA_BUS_FMT_SGBRG10_1X10 }, 90 .code = { MEDIA_BUS_FMT_SGRBG10_1X10 }, [all …]
|
| H A D | vimc-debayer.c | 25 u32 code; member 49 .code = MEDIA_BUS_FMT_SRGGB8_1X8, 69 .code = MEDIA_BUS_FMT_SBGGR8_1X8, 74 .code = MEDIA_BUS_FMT_SGBRG8_1X8, 79 .code = MEDIA_BUS_FMT_SGRBG8_1X8, 84 .code = MEDIA_BUS_FMT_SRGGB8_1X8, 89 .code = MEDIA_BUS_FMT_SBGGR10_1X10, 94 .code = MEDIA_BUS_FMT_SGBRG10_1X10, 99 .code = MEDIA_BUS_FMT_SGRBG10_1X10, 104 .code = MEDIA_BUS_FMT_SRGGB10_1X10, [all …]
|
| /OK3568_Linux_fs/kernel/tools/include/linux/ |
| H A D | filter.h | 36 .code = BPF_ALU64 | BPF_OP(OP) | BPF_X, \ 44 .code = BPF_ALU | BPF_OP(OP) | BPF_X, \ 54 .code = BPF_ALU64 | BPF_OP(OP) | BPF_K, \ 62 .code = BPF_ALU | BPF_OP(OP) | BPF_K, \ 72 .code = BPF_ALU | BPF_END | BPF_SRC(TYPE), \ 82 .code = BPF_ALU64 | BPF_MOV | BPF_X, \ 90 .code = BPF_ALU | BPF_MOV | BPF_X, \ 100 .code = BPF_ALU64 | BPF_MOV | BPF_K, \ 108 .code = BPF_ALU | BPF_MOV | BPF_K, \ 118 .code = BPF_ALU64 | BPF_MOV | BPF_SRC(TYPE), \ [all …]
|
| /OK3568_Linux_fs/kernel/scripts/ |
| H A D | decodecode | 24 code= 31 code=$i 38 code="$code $xdump" 48 if [ -z "$code" ]; then 53 echo $code 54 code=`echo $code | sed -e 's/.*Code: //'` 56 width=`expr index "$code" ' '` 105 marker=`expr index "$code" "\<"` 107 marker=`expr index "$code" "\("` 115 echo All code >> $T.oo [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| H A D | fweh.c | 31 enum brcmf_fweh_event_code code; member 43 enum brcmf_fweh_event_code code; member 62 const char *brcmf_fweh_event_name(enum brcmf_fweh_event_code code) in brcmf_fweh_event_name() argument 66 if (fweh_event_names[i].code == code) in brcmf_fweh_event_name() 72 const char *brcmf_fweh_event_name(enum brcmf_fweh_event_code code) in brcmf_fweh_event_name() argument 97 enum brcmf_fweh_event_code code, in brcmf_fweh_call_event_handler() argument 108 if (fweh->evt_handler[code]) in brcmf_fweh_call_event_handler() 109 err = fweh->evt_handler[code](ifp, emsg, data); in brcmf_fweh_call_event_handler() 111 bphy_err(drvr, "unhandled event %d ignored\n", code); in brcmf_fweh_call_event_handler() 228 brcmf_fweh_event_name(event->code), event->code, in brcmf_fweh_event_worker() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/midgard/ |
| H A D | mali_kbase.h | 382 #define KBASE_TRACE_ADD_SLOT(kbdev, code, ctx, katom, gpu_addr, jobslot) \ argument 383 kbasep_trace_add(kbdev, KBASE_TRACE_CODE(code), ctx, katom, gpu_addr, \ 394 #define KBASE_TRACE_ADD_SLOT_INFO(kbdev, code, ctx, katom, gpu_addr, jobslot, info_val) \ argument 395 kbasep_trace_add(kbdev, KBASE_TRACE_CODE(code), ctx, katom, gpu_addr, \ 406 #define KBASE_TRACE_ADD_REFCOUNT(kbdev, code, ctx, katom, gpu_addr, refcount) \ argument 407 kbasep_trace_add(kbdev, KBASE_TRACE_CODE(code), ctx, katom, gpu_addr, \ 417 #define KBASE_TRACE_ADD_REFCOUNT_INFO(kbdev, code, ctx, katom, gpu_addr, refcount, info_val) \ argument 418 kbasep_trace_add(kbdev, KBASE_TRACE_CODE(code), ctx, katom, gpu_addr, \ 429 #define KBASE_TRACE_ADD(kbdev, code, ctx, katom, gpu_addr, info_val) \ argument 430 kbasep_trace_add(kbdev, KBASE_TRACE_CODE(code), ctx, katom, gpu_addr, \ [all …]
|
| /OK3568_Linux_fs/kernel/samples/bpf/ |
| H A D | bpf_insn.h | 12 .code = BPF_ALU64 | BPF_OP(OP) | BPF_X, \ 20 .code = BPF_ALU | BPF_OP(OP) | BPF_X, \ 30 .code = BPF_ALU64 | BPF_OP(OP) | BPF_K, \ 38 .code = BPF_ALU | BPF_OP(OP) | BPF_K, \ 48 .code = BPF_ALU64 | BPF_MOV | BPF_X, \ 56 .code = BPF_ALU | BPF_MOV | BPF_X, \ 66 .code = BPF_ALU64 | BPF_MOV | BPF_K, \ 74 .code = BPF_ALU | BPF_MOV | BPF_K, \ 86 .code = BPF_LD | BPF_DW | BPF_IMM, \ 92 .code = 0, /* zero is reserved opcode */ \ [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/net/fsl-mc/dpio/ |
| H A D | qbman_portal.h | 128 static inline uint32_t qb_attr_code_decode(const struct qb_attr_code *code, in qb_attr_code_decode() argument 131 return d32_uint32_t(code->lsoffset, code->width, cacheline[code->word]); in qb_attr_code_decode() 136 static inline void qb_attr_code_encode(const struct qb_attr_code *code, in qb_attr_code_encode() argument 139 cacheline[code->word] = in qb_attr_code_encode() 140 r32_uint32_t(code->lsoffset, code->width, cacheline[code->word]) in qb_attr_code_encode() 141 | e32_uint32_t(code->lsoffset, code->width, val); in qb_attr_code_encode() 144 static inline void qb_attr_code_encode_64(const struct qb_attr_code *code, in qb_attr_code_encode_64() argument 147 cacheline[code->word / 2] = val; in qb_attr_code_encode_64()
|
| /OK3568_Linux_fs/kernel/Documentation/translations/zh_CN/process/ |
| H A D | coding-style.rst | 50 .. code-block:: c 71 .. code-block:: c 105 .. code-block:: c 113 .. code-block:: c 128 .. code-block:: c 142 .. code-block:: c 150 .. code-block:: c 168 .. code-block:: c 175 .. code-block:: c 184 .. code-block:: c [all …]
|
| /OK3568_Linux_fs/buildroot/package/mp4v2/ |
| H A D | 0003-Static-cast-to-unsigned-int-for-cases.patch | 24 if( codes.find( code ) == codes.end() ) 27 - switch( code ) { 28 + switch( static_cast<unsigned int>( code ) ) { 36 @@ -376,7 +376,7 @@ ArtUtility::utility_option( int code, bool& handled ) 40 - switch( code ) { 41 + switch( static_cast<unsigned int> ( code ) ) { 49 @@ -632,7 +632,7 @@ ChapterUtility::utility_option( int code, bool& handled ) 53 - switch( code ) { 54 + switch( static_cast<unsigned int> ( code ) ) { 62 @@ -189,7 +189,7 @@ FileUtility::utility_option( int code, bool& handled ) [all …]
|
| /OK3568_Linux_fs/kernel/arch/sh/boards/mach-x3proto/ |
| H A D | setup.c | 129 .code = KEY_POWER, 134 .code = KEY_SUSPEND, 139 .code = KEY_KATAKANAHIRAGANA, 143 .code = KEY_SWITCHVIDEOMODE, 147 .code = KEY_F12, 151 .code = KEY_F11, 155 .code = KEY_F10, 159 .code = KEY_F9, 163 .code = KEY_F8, 167 .code = KEY_F7, [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | icmpv6.h | 18 typedef void ip6_icmp_send_t(struct sk_buff *skb, u8 type, u8 code, __u32 info, 21 void icmp6_send(struct sk_buff *skb, u8 type, u8 code, __u32 info, 25 static inline void __icmpv6_send(struct sk_buff *skb, u8 type, u8 code, __u32 info, in __icmpv6_send() argument 28 icmp6_send(skb, type, code, info, NULL, parm); in __icmpv6_send() 41 extern void __icmpv6_send(struct sk_buff *skb, u8 type, u8 code, __u32 info, 47 static inline void icmpv6_send(struct sk_buff *skb, u8 type, u8 code, __u32 info) in icmpv6_send() argument 49 __icmpv6_send(skb, type, code, info, IP6CB(skb)); in icmpv6_send() 56 void icmpv6_ndo_send(struct sk_buff *skb_in, u8 type, u8 code, __u32 info); 58 static inline void icmpv6_ndo_send(struct sk_buff *skb_in, u8 type, u8 code, __u32 info) in icmpv6_ndo_send() argument 61 __icmpv6_send(skb_in, type, code, info, &parm); in icmpv6_ndo_send() [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/ |
| H A D | bpf_common.h | 6 #define BPF_CLASS(code) ((code) & 0x07) argument 17 #define BPF_SIZE(code) ((code) & 0x18) argument 22 #define BPF_MODE(code) ((code) & 0xe0) argument 31 #define BPF_OP(code) ((code) & 0xf0) argument 49 #define BPF_SRC(code) ((code) & 0x08) argument
|