Home
last modified time | relevance | path

Searched refs:code (Results 1 – 25 of 2966) sorted by relevance

12345678910>>...119

/linux/kernel/bpf/
H A Ddisasm.c146 insn->code, insn->dst_reg, in print_bpf_end_insn()
147 BPF_SRC(insn->code) == BPF_TO_BE ? "be" : "le", in print_bpf_end_insn()
156 insn->code, insn->dst_reg, in print_bpf_bswap_insn()
162 return (BPF_OP(insn->code) == BPF_DIV || BPF_OP(insn->code) == BPF_MOD) && in is_sdiv_smod()
168 return BPF_OP(insn->code) == BPF_MOV && in is_movsx()
174 return insn->code == (BPF_ALU64 | BPF_MOV | BPF_X) && in is_addr_space_cast()
186 return insn->code == (BPF_ALU64 | BPF_MOV | BPF_X) && insn->off == BPF_ADDR_PERCPU; in is_mov_percpu_addr()
194 u8 class = BPF_CLASS(insn->code); in print_bpf_insn()
197 if (BPF_OP(insn->code) in print_bpf_insn()
[all...]
/linux/tools/testing/selftests/bpf/
H A Ddisasm.c146 insn->code, insn->dst_reg, in print_bpf_end_insn()
147 BPF_SRC(insn->code) == BPF_TO_BE ? "be" : "le",
156 insn->code, insn->dst_reg,
162 return (BPF_OP(insn->code) == BPF_DIV || BPF_OP(insn->code) == BPF_MOD) &&
168 return BPF_OP(insn->code) == BPF_MOV &&
174 return insn->code == (BPF_ALU64 | BPF_MOV | BPF_X) &&
186 return insn->code == (BPF_ALU64 | BPF_MOV | BPF_X) && insn->off == BPF_ADDR_PERCPU; in print_bpf_insn()
194 u8 class = BPF_CLASS(insn->code); in print_bpf_insn()
197 if (BPF_OP(insn->code) in print_bpf_insn()
[all...]
/linux/kernel/trace/
H A Dtrace_probe_tmpl.h7 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 in fetch_apply_bitfield()
103 process_common_fetch_insn(struct fetch_insn * code,unsigned long * val) process_common_fetch_insn() argument
126 process_fetch_insn_bottom(struct fetch_insn * code,unsigned long val,void * dest,void * base) process_fetch_insn_bottom() argument
[all...]
H A Dtrace_probe.c3 * Common code for probe-based Dynamic events.
5 * This code was copied from kernel/trace/trace_kprobe.c written by
318 static int parse_trace_event_arg(char *arg, struct fetch_insn *code, in parse_trace_event_arg() argument
327 code->op = FETCH_OP_TP_ARG; in parse_trace_event_arg()
328 code->data = field; in parse_trace_event_arg()
335 static int parse_trace_event(char *arg, struct fetch_insn *code, in parse_trace_event() argument
340 if (code->data) in parse_trace_event()
342 ret = parse_trace_event_arg(arg, code, ctx); in parse_trace_event()
472 struct fetch_insn *code = *pcode + 1; in check_prepare_btf_string_fetch()
474 if (code in check_prepare_btf_string_fetch()
464 struct fetch_insn *code = *pcode + 1; check_prepare_btf_string_fetch() local
689 struct fetch_insn *code = *pcode; parse_btf_field() local
740 struct fetch_insn *code = *pcode; parse_btf_arg() local
863 struct fetch_insn *code = *pcode; parse_btf_bitfield() local
1127 store_entry_arg_at(struct fetch_insn * code,int argnum,int offset) store_entry_arg_at() argument
1240 struct fetch_insn *code = &earg->code[i]; store_trace_entry_data() local
1268 struct fetch_insn *code = *pcode; NOKPROBE_SYMBOL() local
1282 parse_probe_var_stack(char * arg,int len,struct fetch_insn * code,struct traceprobe_parse_context * ctx) parse_probe_var_stack() argument
1319 struct fetch_insn *code = *pcode; parse_probe_var_current() local
1340 parse_probe_var_arg(char * arg,int len,struct fetch_insn * code,struct traceprobe_parse_context * ctx) parse_probe_var_arg() argument
1382 parse_probe_var_arg(char * arg,int len,struct fetch_insn * code,struct traceprobe_parse_context * ctx) parse_probe_var_arg() argument
1396 struct fetch_insn *code = *pcode; parse_probe_vars() local
1460 parse_probe_arg_register(char * arg,struct fetch_insn * code,struct traceprobe_parse_context * ctx) parse_probe_arg_register() argument
1484 struct fetch_insn *code = *pcode; parse_probe_arg_mem_symbol() local
1587 parse_probe_arg_imm(char * arg,struct fetch_insn * code,struct traceprobe_parse_context * ctx) parse_probe_arg_imm() argument
1688 struct fetch_insn *code = *pcode; parse_probe_arg_leaf() local
1725 struct fetch_insn *code; unwind_parse_states() local
1814 struct fetch_insn *code = *pcode; __parse_bitfield_probe_arg() local
1909 finalize_fetch_insn(struct fetch_insn * code,struct probe_arg * parg,char * type,int type_offset,struct traceprobe_parse_context * ctx) finalize_fetch_insn() argument
2032 struct fetch_insn *code, *tmp = NULL; traceprobe_parse_probe_arg_body() local
2211 struct fetch_insn *code = arg->code; traceprobe_free_probe_arg() local
2429 struct fetch_insn *code = arg->code; traceprobe_update_arg() local
[all...]
/linux/drivers/scsi/
H A Dscript_asm.pl179 @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/arch/s390/kernel/diag/
H A Ddiag.c29 int code; member
34 [DIAG_STAT_X008] = { .code = 0x008, .name = "Console Function" },
35 [DIAG_STAT_X00C] = { .code = 0x00c, .name = "Pseudo Timer" },
36 [DIAG_STAT_X010] = { .code = 0x010, .name = "Release Pages" },
37 [DIAG_STAT_X014] = { .code = 0x014, .name = "Spool File Services" },
38 [DIAG_STAT_X044] = { .code = 0x044, .name = "Voluntary Timeslice End" },
39 [DIAG_STAT_X064] = { .code = 0x064, .name = "NSS Manipulation" },
40 [DIAG_STAT_X08C] = { .code = 0x08c, .name = "Access 3270 Display Device Information" },
41 [DIAG_STAT_X09C] = { .code = 0x09c, .name = "Relinquish Timeslice" },
42 [DIAG_STAT_X0DC] = { .code = 0x0dc, .name = "Appldata Control" },
[all …]
/linux/drivers/media/firewire/
H A Dfiredtv-rc.c169 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/tools/include/linux/
H A Dfilter.h37 .code = BPF_ALU64 | BPF_OP(OP) | BPF_X, \
45 .code = BPF_ALU | BPF_OP(OP) | BPF_X, \
55 .code = BPF_ALU64 | BPF_OP(OP) | BPF_K, \
63 .code = BPF_ALU | BPF_OP(OP) | BPF_K, \
73 .code = BPF_ALU | BPF_END | BPF_SRC(TYPE), \
83 .code = BPF_ALU64 | BPF_MOV | BPF_X, \
91 .code = BPF_ALU | BPF_MOV | BPF_X, \
101 .code = BPF_ALU64 | BPF_MOV | BPF_K, \
109 .code = BPF_ALU | BPF_MOV | BPF_K, \
119 .code
[all...]
/linux/drivers/iio/amplifiers/
H A Dhmc425a.c55 int (*gain_dB_to_code)(int gain, int *code);
56 int (*code_to_gain_dB)(int code, int *val, int *val2);
67 static int gain_dB_to_code(struct hmc425a_state *st, int val, int val2, int *code) in gain_dB_to_code() argument
82 return st->chip_info->gain_dB_to_code(gain, code); in gain_dB_to_code()
85 static int hmc425a_gain_dB_to_code(int gain, int *code) in hmc425a_gain_dB_to_code() argument
87 *code = ~((abs(gain) / 500) & 0x3F); in hmc425a_gain_dB_to_code()
91 static int hmc540s_gain_dB_to_code(int gain, int *code) in hmc540s_gain_dB_to_code() argument
93 *code = ~((abs(gain) / 1000) & 0xF); in hmc540s_gain_dB_to_code()
97 static int adrf5740_gain_dB_to_code(int gain, int *code) in adrf5740_gain_dB_to_code() argument
102 *code = temp & BIT(3) ? temp | BIT(2) : temp; in adrf5740_gain_dB_to_code()
[all …]
/linux/drivers/media/test-drivers/vimc/
H A Dvimc-common.c24 .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 …]
H A Dvimc-debayer.c28 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
141 vimc_debayer_pix_map_by_code(u32 code) vimc_debayer_pix_map_by_code() argument
152 vimc_debayer_src_code_is_valid(u32 code) vimc_debayer_src_code_is_valid() argument
180 vimc_debayer_enum_mbus_code(struct v4l2_subdev * sd,struct v4l2_subdev_state * sd_state,struct v4l2_subdev_mbus_code_enum * code) vimc_debayer_enum_mbus_code() argument
[all...]
/linux/scripts/
H A Ddecodecode25 code=
32 code=$i
39 code="$code $xdump"
49 if [ -z "$code" ]; then
54 echo $code
55 code=`echo $code | sed -e 's/.*Code: //'`
57 width=`expr index "$code" ' '`
161 # @all_code: code i
[all...]
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dfweh.c32 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
194 enum brcmf_fweh_event_code code, in brcmf_fweh_map_event_code() argument
202 *fw_code = code; in brcmf_fweh_map_event_code()
205 if (fweh->event_map->items[i].code == code) { in brcmf_fweh_map_event_code()
214 enum brcmf_fweh_event_code *code) in brcmf_fweh_map_fwevt_code() argument
218 if (WARN_ON(!code)) in brcmf_fweh_map_fwevt_code()
[all …]
/linux/samples/bpf/
H A Dbpf_insn.h12 .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/include/uapi/linux/
H A Dbpf_common.h6 #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
H A Dfilter.h25 __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/tools/include/uapi/linux/
H A Dbpf_common.h6 #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
H A Dfilter.h25 __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/arch/sh/boards/mach-x3proto/
H A Dsetup.c133 PROPERTY_ENTRY_U32("linux,code", _code), \
/linux/Documentation/driver-api/cxl/linux/example-configurations/
H A Dmulti-interleave.rst14 This output is generated by :code:`cxl list -v` and describes the relationships
15 between objects exposed in :code:`/sys/bus/cxl/devices/`.
81 Bridge :code:`port1`. In this case, :code:`port1` has 3 available downstream
82 ports: :code:`dport0`, :code:`dport2`, and :code:`dport113`.
141 This chunk shows the endpoints attached to the host bridge :code:`port1`.
143 :code:`endpoint5` contains a single configured decoder :code:`decoder5.0`
144 which has the same interleave configuration as :code:`region0` (shown later).
146 :code:`endpoint6` contains a single configured decoder :code:`decoder5.0`
147 which has the same interleave configuration as :code:`region0` (shown later).
180 Host Bridge :code:`port1` has a single decoder (:code:`decoder1.0`), whose
[all …]
/linux/lib/zstd/common/
H A Dzstd_common.c37 unsigned ZSTD_isError(size_t code) { return ERR_isError(code); } in ZSTD_isError() argument
41 const char* ZSTD_getErrorName(size_t code) { return ERR_getErrorName(code); } in ZSTD_getErrorName() argument
45 ZSTD_ErrorCode ZSTD_getErrorCode(size_t code) { return ERR_getErrorCode(code); } in ZSTD_getErrorCode() argument
49 const char* ZSTD_getErrorString(ZSTD_ErrorCode code) { return ERR_getErrorString(code); } in ZSTD_getErrorString() argument
/linux/drivers/usb/serial/
H A Dio_ionsp.h446 #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/Documentation/translations/zh_TW/process/
H A Dcoding-style.rst56 .. code-block:: c
77 .. code-block:: c
84 .. code-block:: c
91 .. code-block:: c
133 .. code-block:: c
141 .. code-block:: c
156 .. code-block:: c
170 .. code-block:: c
178 .. code-block:: c
196 .. code-block:: c
[all …]
/linux/Documentation/scsi/
H A Darcmsr_spec.rst13 - InitThread message and return code
40 offset 0xa00 for inbound message code message_rwbuffer
42 offset 0xa00 for outbound message code message_rwbuffer
97 1 Error, error code in AdapStatus/DevStatus/SenseData
127 9. Message0 message code
133 ->offset 0xa00 :for outbound message code message_rwbuffer
152 ->offset 0xa00 :for inbound message code message_rwbuffer
167 ->offset 0xa00 for inbound message code message_rwbuffer
196 command code, data and checksum byte
214 command code
[all …]
/linux/drivers/gpu/drm/nouveau/nvkm/engine/
H A Dfalcon.c106 vfree(falcon->code.data); in nvkm_falcon_fini()
107 falcon->code.data = NULL; in nvkm_falcon_fini()
149 falcon->code.limit = (caps & 0x000001ff) << 8; in nvkm_falcon_oneinit()
154 nvkm_debug(subdev, "code limit: %d\n", falcon->code.limit); in nvkm_falcon_oneinit()
192 if (!falcon->code.data) { in nvkm_falcon_init()
198 falcon->code.data = vmemdup(fw->data, fw->size); in nvkm_falcon_init()
199 falcon->code.size = fw->size; in nvkm_falcon_init()
211 if (!falcon->code.data) { in nvkm_falcon_init()
236 falcon->code.data = vmemdup(fw->data, fw->size); in nvkm_falcon_init()
237 falcon->code.size = fw->size; in nvkm_falcon_init()
[all …]

12345678910>>...119