/linux-6.12.1/kernel/trace/ |
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 …]
|
D | trace_probe.c | 290 static int parse_trace_event_arg(char *arg, struct fetch_insn *code, in parse_trace_event_arg() argument 299 code->op = FETCH_OP_TP_ARG; in parse_trace_event_arg() 300 code->data = field; in parse_trace_event_arg() 366 struct fetch_insn *code = *pcode + 1; in check_prepare_btf_string_fetch() local 368 if (code->op == FETCH_OP_END) { in check_prepare_btf_string_fetch() 373 code->op = FETCH_OP_UDEREF; in check_prepare_btf_string_fetch() 375 code->op = FETCH_OP_DEREF; in check_prepare_btf_string_fetch() 376 code->offset = 0; in check_prepare_btf_string_fetch() 377 *pcode = code; in check_prepare_btf_string_fetch() 526 struct fetch_insn *code = *pcode; in parse_btf_field() local [all …]
|
/linux-6.12.1/tools/testing/selftests/bpf/ |
D | disasm.c | 143 insn->code, insn->dst_reg, in print_bpf_end_insn() 144 BPF_SRC(insn->code) == BPF_TO_BE ? "be" : "le", in print_bpf_end_insn() 153 insn->code, insn->dst_reg, in print_bpf_bswap_insn() 159 return (BPF_OP(insn->code) == BPF_DIV || BPF_OP(insn->code) == BPF_MOD) && in is_sdiv_smod() 165 return BPF_OP(insn->code) == BPF_MOV && in is_movsx() 171 return insn->code == (BPF_ALU64 | BPF_MOV | BPF_X) && in is_addr_space_cast() 183 return insn->code == (BPF_ALU64 | BPF_MOV | BPF_X) && insn->off == BPF_ADDR_PERCPU; in is_mov_percpu_addr() 191 u8 class = BPF_CLASS(insn->code); in print_bpf_insn() 194 if (BPF_OP(insn->code) == BPF_END) { in print_bpf_insn() 199 } else if (BPF_OP(insn->code) == BPF_NEG) { in print_bpf_insn() [all …]
|
/linux-6.12.1/kernel/bpf/ |
D | disasm.c | 143 insn->code, insn->dst_reg, in print_bpf_end_insn() 144 BPF_SRC(insn->code) == BPF_TO_BE ? "be" : "le", in print_bpf_end_insn() 153 insn->code, insn->dst_reg, in print_bpf_bswap_insn() 159 return (BPF_OP(insn->code) == BPF_DIV || BPF_OP(insn->code) == BPF_MOD) && in is_sdiv_smod() 165 return BPF_OP(insn->code) == BPF_MOV && in is_movsx() 171 return insn->code == (BPF_ALU64 | BPF_MOV | BPF_X) && in is_addr_space_cast() 183 return insn->code == (BPF_ALU64 | BPF_MOV | BPF_X) && insn->off == BPF_ADDR_PERCPU; in is_mov_percpu_addr() 191 u8 class = BPF_CLASS(insn->code); in print_bpf_insn() 194 if (BPF_OP(insn->code) == BPF_END) { in print_bpf_insn() 199 } else if (BPF_OP(insn->code) == BPF_NEG) { in print_bpf_insn() [all …]
|
/linux-6.12.1/drivers/scsi/ |
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 …]
|
/linux-6.12.1/drivers/media/firewire/ |
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 …]
|
/linux-6.12.1/arch/s390/kernel/ |
D | diag.c | 28 int code; member 33 [DIAG_STAT_X008] = { .code = 0x008, .name = "Console Function" }, 34 [DIAG_STAT_X00C] = { .code = 0x00c, .name = "Pseudo Timer" }, 35 [DIAG_STAT_X010] = { .code = 0x010, .name = "Release Pages" }, 36 [DIAG_STAT_X014] = { .code = 0x014, .name = "Spool File Services" }, 37 [DIAG_STAT_X044] = { .code = 0x044, .name = "Voluntary Timeslice End" }, 38 [DIAG_STAT_X064] = { .code = 0x064, .name = "NSS Manipulation" }, 39 [DIAG_STAT_X08C] = { .code = 0x08c, .name = "Access 3270 Display Device Information" }, 40 [DIAG_STAT_X09C] = { .code = 0x09c, .name = "Relinquish Timeslice" }, 41 [DIAG_STAT_X0DC] = { .code = 0x0dc, .name = "Appldata Control" }, [all …]
|
/linux-6.12.1/drivers/iio/amplifiers/ |
D | hmc425a.c | 56 int (*gain_dB_to_code)(int gain, int *code); 57 int (*code_to_gain_dB)(int code, int *val, int *val2); 68 static int gain_dB_to_code(struct hmc425a_state *st, int val, int val2, int *code) in gain_dB_to_code() argument 83 return st->chip_info->gain_dB_to_code(gain, code); in gain_dB_to_code() 86 static int hmc425a_gain_dB_to_code(int gain, int *code) in hmc425a_gain_dB_to_code() argument 88 *code = ~((abs(gain) / 500) & 0x3F); in hmc425a_gain_dB_to_code() 92 static int hmc540s_gain_dB_to_code(int gain, int *code) in hmc540s_gain_dB_to_code() argument 94 *code = ~((abs(gain) / 1000) & 0xF); in hmc540s_gain_dB_to_code() 98 static int adrf5740_gain_dB_to_code(int gain, int *code) in adrf5740_gain_dB_to_code() argument 103 *code = temp & BIT(3) ? temp | BIT(2) : temp; in adrf5740_gain_dB_to_code() [all …]
|
/linux-6.12.1/tools/include/linux/ |
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_X, \ [all …]
|
/linux-6.12.1/drivers/media/test-drivers/vimc/ |
D | vimc-common.c | 24 .code = { 33 .code = { 48 .code = { MEDIA_BUS_FMT_ARGB8888_1X32 }, 56 .code = { MEDIA_BUS_FMT_SBGGR8_1X8 }, 62 .code = { MEDIA_BUS_FMT_SGBRG8_1X8 }, 68 .code = { MEDIA_BUS_FMT_SGRBG8_1X8 }, 74 .code = { MEDIA_BUS_FMT_SRGGB8_1X8 }, 80 .code = { MEDIA_BUS_FMT_SBGGR10_1X10 }, 86 .code = { MEDIA_BUS_FMT_SGBRG10_1X10 }, 92 .code = { MEDIA_BUS_FMT_SGRBG10_1X10 }, [all …]
|
D | vimc-debayer.c | 28 u32 code; member 60 .code = MEDIA_BUS_FMT_SRGGB8_1X8, 80 .code = MEDIA_BUS_FMT_SBGGR8_1X8, 85 .code = MEDIA_BUS_FMT_SGBRG8_1X8, 90 .code = MEDIA_BUS_FMT_SGRBG8_1X8, 95 .code = MEDIA_BUS_FMT_SRGGB8_1X8, 100 .code = MEDIA_BUS_FMT_SBGGR10_1X10, 105 .code = MEDIA_BUS_FMT_SGBRG10_1X10, 110 .code = MEDIA_BUS_FMT_SGRBG10_1X10, 115 .code = MEDIA_BUS_FMT_SRGGB10_1X10, [all …]
|
/linux-6.12.1/scripts/ |
D | decodecode | 26 code= 33 code=$i 40 code="$code $xdump" 50 if [ -z "$code" ]; then 55 echo $code 56 code=`echo $code | sed -e 's/.*Code: //'` 58 width=`expr index "$code" ' '` 210 marker=`expr index "$code" "\<"` 212 marker=`expr index "$code" "\("` 221 echo All code >> $T.oo [all …]
|
/linux-6.12.1/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | fweh.c | 32 u32 code; member 44 enum brcmf_fweh_event_code code; member 63 const char *brcmf_fweh_event_name(enum brcmf_fweh_event_code code) in brcmf_fweh_event_name() argument 67 if (fweh_event_names[i].code == code) in brcmf_fweh_event_name() 73 const char *brcmf_fweh_event_name(enum brcmf_fweh_event_code code) in brcmf_fweh_event_name() argument 188 enum brcmf_fweh_event_code code, in brcmf_fweh_map_event_code() argument 196 *fw_code = code; in brcmf_fweh_map_event_code() 199 if (fweh->event_map->items[i].code == code) { in brcmf_fweh_map_event_code() 208 enum brcmf_fweh_event_code *code) in brcmf_fweh_map_fwevt_code() argument 212 if (WARN_ON(!code)) in brcmf_fweh_map_fwevt_code() [all …]
|
/linux-6.12.1/drivers/media/platform/qcom/camss/ |
D | camss-format.c | 23 u8 camss_format_get_bpp(const struct camss_format_info *formats, unsigned int nformats, u32 code) in camss_format_get_bpp() argument 28 if (code == formats[i].code) in camss_format_get_bpp() 45 u32 camss_format_find_code(u32 *code, unsigned int n_code, unsigned int index, u32 req_code) in camss_format_find_code() argument 54 if (req_code == code[i]) in camss_format_find_code() 58 return code[i]; in camss_format_find_code() 62 return code[0]; in camss_format_find_code() 74 int camss_format_find_format(u32 code, u32 pixelformat, const struct camss_format_info *formats, in camss_format_find_format() argument 80 if (formats[i].code == code && in camss_format_find_format() 86 if (formats[i].code == code) in camss_format_find_format()
|
/linux-6.12.1/include/linux/ |
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 …]
|
/linux-6.12.1/samples/bpf/ |
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 …]
|
/linux-6.12.1/tools/include/uapi/linux/ |
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
|
D | filter.h | 25 __u16 code; /* Actual filter code */ member 37 #define BPF_RVAL(code) ((code) & 0x18) argument 41 #define BPF_MISCOP(code) ((code) & 0xf8) argument 49 #define BPF_STMT(code, k) { (unsigned short)(code), 0, 0, k } argument 52 #define BPF_JUMP(code, k, jt, jf) { (unsigned short)(code), jt, jf, k } argument
|
/linux-6.12.1/include/uapi/linux/ |
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
|
D | filter.h | 25 __u16 code; /* Actual filter code */ member 37 #define BPF_RVAL(code) ((code) & 0x18) argument 41 #define BPF_MISCOP(code) ((code) & 0xf8) argument 49 #define BPF_STMT(code, k) { (unsigned short)(code), 0, 0, k } argument 52 #define BPF_JUMP(code, k, jt, jf) { (unsigned short)(code), jt, jf, k } argument
|
/linux-6.12.1/arch/sh/boards/mach-x3proto/ |
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 …]
|
/linux-6.12.1/arch/arm/probes/kprobes/ |
D | opt-arm.c | 184 kprobe_opcode_t *code; in NOKPROBE_SYMBOL() local 192 code = get_optinsn_slot(); in NOKPROBE_SYMBOL() 193 if (!code) in NOKPROBE_SYMBOL() 221 rel_chk = (unsigned long)((long)code - in NOKPROBE_SYMBOL() 230 free_optinsn_slot(code, 0); in NOKPROBE_SYMBOL() 235 memcpy(code, (unsigned long *)optprobe_template_entry, in NOKPROBE_SYMBOL() 247 code[TMPL_SUB_SP] = __opcode_to_mem_arm(0xe24dd000 | stack_protect); in NOKPROBE_SYMBOL() 249 code[TMPL_ADD_SP] = __opcode_to_mem_arm(0xe28d3000 | stack_protect); in NOKPROBE_SYMBOL() 253 code[TMPL_VAL_IDX] = val; in NOKPROBE_SYMBOL() 257 code[TMPL_CALL_IDX] = val; in NOKPROBE_SYMBOL() [all …]
|
/linux-6.12.1/drivers/media/platform/nxp/ |
D | imx8mq-mipi-csi2.c | 136 u32 code; member 143 .code = MEDIA_BUS_FMT_SBGGR8_1X8, 146 .code = MEDIA_BUS_FMT_SGBRG8_1X8, 149 .code = MEDIA_BUS_FMT_SGRBG8_1X8, 152 .code = MEDIA_BUS_FMT_SRGGB8_1X8, 155 .code = MEDIA_BUS_FMT_Y8_1X8, 158 .code = MEDIA_BUS_FMT_SBGGR10_1X10, 161 .code = MEDIA_BUS_FMT_SGBRG10_1X10, 164 .code = MEDIA_BUS_FMT_SGRBG10_1X10, 167 .code = MEDIA_BUS_FMT_SRGGB10_1X10, [all …]
|
/linux-6.12.1/drivers/usb/serial/ |
D | io_ionsp.h | 446 #define IOSP_GET_STATUS_LEN(code) ((code) < 8 ? 2 : ((code) < 0x0A ? 3 : 4)) argument 448 #define IOSP_STATUS_IS_2BYTE(code) ((code) < 0x08) argument 449 #define IOSP_STATUS_IS_3BYTE(code) (((code) >= 0x08) && ((code) <= 0x0B)) argument 450 #define IOSP_STATUS_IS_4BYTE(code) (((code) >= 0x0C) && ((code) <= 0x0D)) argument
|
/linux-6.12.1/arch/x86/kernel/ |
D | jump_label.c | 31 const void *code; member 38 const void *expect, *code, *nop; in __jump_label_patch() local 48 code = text_gen_insn(JMP8_INSN_OPCODE, addr, dest); in __jump_label_patch() 53 code = text_gen_insn(JMP32_INSN_OPCODE, addr, dest); in __jump_label_patch() 63 expect = code; in __jump_label_patch() 77 code = nop; in __jump_label_patch() 79 return (struct jump_label_patch){.code = code, .size = size}; in __jump_label_patch() 101 text_poke_early((void *)jump_entry_code(entry), jlp.code, jlp.size); in __jump_label_transform() 105 text_poke_bp((void *)jump_entry_code(entry), jlp.code, jlp.size, NULL); in __jump_label_transform() 138 text_poke_queue((void *)jump_entry_code(entry), jlp.code, jlp.size, NULL); in arch_jump_label_transform_queue()
|