Home
last modified time | relevance | path

Searched refs:code (Results 1 – 200 of 2740) sorted by relevance

12345678910>>...14

/linux-4.1.27/arch/x86/kernel/
Djump_label.c20 char code[JUMP_LABEL_NOP_SIZE]; member
44 union jump_code_union code; in __jump_label_transform() local
54 if (unlikely(memcmp((void *)entry->code, default_nop, 5) in __jump_label_transform()
56 bug_at((void *)entry->code, __LINE__); in __jump_label_transform()
62 if (unlikely(memcmp((void *)entry->code, ideal_nop, 5) in __jump_label_transform()
64 bug_at((void *)entry->code, __LINE__); in __jump_label_transform()
67 code.jump = 0xe9; in __jump_label_transform()
68 code.offset = entry->target - in __jump_label_transform()
69 (entry->code + JUMP_LABEL_NOP_SIZE); in __jump_label_transform()
78 if (unlikely(memcmp((void *)entry->code, default_nop, 5) != 0)) in __jump_label_transform()
[all …]
/linux-4.1.27/drivers/scsi/
Dscript_asm.pl192 @code = (); # Array of 32 bit words for SIOP
222 printf STDERR "Old code : %08x\n", $code[$address];
227 $code[$address] = ($code[$address] & ~$mask) |
228 (($code[$address] & $mask) + ($value << ($offset * 8)) &
231 printf STDERR "New code : %08x\n", $code[$address] if ($debug);
290 $code[$address] |= 0x00_01_00_00;
309 $code[$address] |= 0x00_08_00_00;
319 $code[$address] |= 0x00_02_00_00;
325 $code[$address] |= $p | 0x00_02_00_00;
354 $code[$address] |= 0x00_04_00_00;
[all …]
/linux-4.1.27/arch/ia64/kernel/
Dunwind_decoder.c85 unw_decode_x1 (unsigned char *dp, unsigned char code, void *arg) in unw_decode_x1() argument
102 unw_decode_x2 (unsigned char *dp, unsigned char code, void *arg) in unw_decode_x2() argument
120 unw_decode_x3 (unsigned char *dp, unsigned char code, void *arg) in unw_decode_x3() argument
140 unw_decode_x4 (unsigned char *dp, unsigned char code, void *arg) in unw_decode_x4() argument
161 unw_decode_r1 (unsigned char *dp, unsigned char code, void *arg) in unw_decode_r1() argument
163 int body = (code & 0x20) != 0; in unw_decode_r1()
166 rlen = (code & 0x1f); in unw_decode_r1()
172 unw_decode_r2 (unsigned char *dp, unsigned char code, void *arg) in unw_decode_r2() argument
179 mask = ((code & 0x7) << 1) | ((byte1 >> 7) & 1); in unw_decode_r2()
187 unw_decode_r3 (unsigned char *dp, unsigned char code, void *arg) in unw_decode_r3() argument
[all …]
Dtraps.c100 int sig, code; in ia64_bad_break() local
115 sig = SIGILL; code = ILL_ILLOPC; in ia64_bad_break()
119 sig = SIGFPE; code = FPE_INTDIV; in ia64_bad_break()
123 sig = SIGFPE; code = FPE_INTOVF; in ia64_bad_break()
127 sig = SIGFPE; code = FPE_FLTSUB; in ia64_bad_break()
131 sig = SIGSEGV; code = SEGV_MAPERR; in ia64_bad_break()
135 sig = SIGSEGV; code = BUS_ADRALN; in ia64_bad_break()
139 sig = SIGFPE; code = __FPE_DECOVF; in ia64_bad_break()
143 sig = SIGFPE; code = __FPE_DECDIV; in ia64_bad_break()
147 sig = SIGFPE; code = __FPE_DECERR; in ia64_bad_break()
[all …]
Dvmlinux.lds.S14 code PT_LOAD;
36 code : { section
37 } :code
68 NOTES :code :note /* put .notes in text and mark in PT_NOTE */
70 } : code /* switch back to regular program... */
102 } :code :unwind
104 } : code
240 code : { section
241 } :code
Dftrace.c83 struct ftrace_call_insn *code = (void *)ftrace_call_code; in ftrace_call_replace() local
86 code->imm39_l = offset >> 24; in ftrace_call_replace()
87 code->imm39_h = offset >> 40; in ftrace_call_replace()
88 code->imm20 = offset >> 4; in ftrace_call_replace()
89 code->i = offset >> 63; in ftrace_call_replace()
/linux-4.1.27/drivers/media/platform/soc_camera/
Dsoc_mediabus.c20 .code = MEDIA_BUS_FMT_YUYV8_2X8,
30 .code = MEDIA_BUS_FMT_YVYU8_2X8,
40 .code = MEDIA_BUS_FMT_UYVY8_2X8,
50 .code = MEDIA_BUS_FMT_VYUY8_2X8,
60 .code = MEDIA_BUS_FMT_RGB555_2X8_PADHI_LE,
70 .code = MEDIA_BUS_FMT_RGB555_2X8_PADHI_BE,
80 .code = MEDIA_BUS_FMT_RGB565_2X8_LE,
90 .code = MEDIA_BUS_FMT_RGB565_2X8_BE,
100 .code = MEDIA_BUS_FMT_RGB666_1X18,
109 .code = MEDIA_BUS_FMT_RGB888_1X24,
[all …]
Domap1_camera.c143 u32 code; member
264 if (buf->code != icd->current_fmt->code || vb->field != field || in omap1_videobuf_prepare()
267 buf->code = icd->current_fmt->code; in omap1_videobuf_prepare()
983 .code = MEDIA_BUS_FMT_UYVY8_2X8,
993 .code = MEDIA_BUS_FMT_VYUY8_2X8,
1003 .code = MEDIA_BUS_FMT_YUYV8_2X8,
1013 .code = MEDIA_BUS_FMT_YVYU8_2X8,
1023 .code = MEDIA_BUS_FMT_RGB555_2X8_PADHI_BE,
1033 .code = MEDIA_BUS_FMT_RGB555_2X8_PADHI_LE,
1043 .code = MEDIA_BUS_FMT_RGB565_2X8_BE,
[all …]
Dsoc_camera_platform.c46 mf->code = p->format.code; in soc_camera_platform_fill_fmt()
65 u32 *code) in soc_camera_platform_enum_fmt() argument
72 *code = p->format.code; in soc_camera_platform_enum_fmt()
Dmx3_camera.c662 u32 code; in mx3_camera_get_formats() local
665 ret = v4l2_subdev_call(sd, video, enum_mbus_fmt, idx, &code); in mx3_camera_get_formats()
670 fmt = soc_mbus_get_fmtdesc(code); in mx3_camera_get_formats()
673 "Unsupported format code #%u: 0x%x\n", idx, code); in mx3_camera_get_formats()
682 switch (code) { in mx3_camera_get_formats()
687 xlate->code = code; in mx3_camera_get_formats()
690 mx3_camera_formats[0].name, code); in mx3_camera_get_formats()
697 xlate->code = code; in mx3_camera_get_formats()
700 mx3_camera_formats[1].name, code); in mx3_camera_get_formats()
712 xlate->code = code; in mx3_camera_get_formats()
[all …]
Datmel-isi.c108 u32 height, u32 code) in configure_geometry() argument
112 switch (code) { in configure_geometry()
507 mf.code = xlate->code; in isi_camera_set_fmt()
513 if (mf.code != xlate->code) in isi_camera_set_fmt()
516 ret = configure_geometry(isi, pix->width, pix->height, xlate->code); in isi_camera_set_fmt()
559 mf.code = xlate->code; in isi_camera_try_fmt()
651 u32 code; in isi_camera_get_formats() local
655 ret = v4l2_subdev_call(sd, video, enum_mbus_fmt, idx, &code); in isi_camera_get_formats()
660 fmt = soc_mbus_get_fmtdesc(code); in isi_camera_get_formats()
663 "Invalid format code #%u: %d\n", idx, code); in isi_camera_get_formats()
[all …]
/linux-4.1.27/drivers/media/firewire/
Dfiredtv-rc.c173 void fdtv_handle_rc(struct firedtv *fdtv, unsigned int code) in fdtv_handle_rc() argument
178 if (code >= 0x0300 && code <= 0x031f) in fdtv_handle_rc()
179 code = keycode[code - 0x0300]; in fdtv_handle_rc()
180 else if (code >= 0x0340 && code <= 0x0354) in fdtv_handle_rc()
181 code = keycode[code - 0x0320]; in fdtv_handle_rc()
182 else if (code >= 0x4501 && code <= 0x451f) in fdtv_handle_rc()
183 code = oldtable[code - 0x4501]; in fdtv_handle_rc()
184 else if (code >= 0x4540 && code <= 0x4542) in fdtv_handle_rc()
185 code = oldtable[code - 0x4521]; in fdtv_handle_rc()
188 "from remote control\n", code); in fdtv_handle_rc()
[all …]
/linux-4.1.27/scripts/
Ddecodecode22 code=
28 code=$i
34 if [ -z "$code" ]; then
39 echo $code
40 code=`echo $code | sed -e 's/.*Code: //'`
42 width=`expr index "$code" ' '`
65 marker=`expr index "$code" "\<"`
67 marker=`expr index "$code" "\("`
72 echo All code >> $T.oo
74 beforemark=`echo "$code"`
[all …]
Ddecode_stacktrace.sh50 local code=${cache[$address]}
52 local code=$(addr2line -i -e "$vmlinux" "$address")
53 cache[$address]=$code
59 if [[ $code == "??:0" ]]; then
64 code=${code//$basepath/""}
67 code=${code//$'\n'/' '}
70 symbol="$name ($code)"
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/
Dfweh.c84 enum brcmf_fweh_event_code code; member
95 enum brcmf_fweh_event_code code; member
114 static const char *brcmf_fweh_event_name(enum brcmf_fweh_event_code code) in brcmf_fweh_event_name() argument
118 if (fweh_event_names[i].code == code) in brcmf_fweh_event_name()
124 static const char *brcmf_fweh_event_name(enum brcmf_fweh_event_code code) in brcmf_fweh_event_name() argument
148 enum brcmf_fweh_event_code code, in brcmf_fweh_call_event_handler() argument
159 if (fweh->evt_handler[code]) in brcmf_fweh_call_event_handler()
160 err = fweh->evt_handler[code](ifp, emsg, data); in brcmf_fweh_call_event_handler()
162 brcmf_err("unhandled event %d ignored\n", code); in brcmf_fweh_call_event_handler()
270 brcmf_fweh_event_name(event->code), event->code, in brcmf_fweh_event_worker()
[all …]
Dfirmware.c240 const struct firmware *code; member
263 fwctx->done(fwctx->dev, fwctx->code, nvram, nvram_length); in brcmf_fw_request_nvram_done()
269 release_firmware(fwctx->code); in brcmf_fw_request_nvram_done()
289 fwctx->code = fw; in brcmf_fw_request_code_done()
313 const char *code, const char *nvram, in brcmf_fw_get_firmwares() argument
321 if (!fw_cb || !code) in brcmf_fw_get_firmwares()
337 return request_firmware_nowait(THIS_MODULE, true, code, dev, in brcmf_fw_get_firmwares()
/linux-4.1.27/include/uapi/linux/
Dbpf_common.h5 #define BPF_CLASS(code) ((code) & 0x07) argument
16 #define BPF_SIZE(code) ((code) & 0x18) argument
20 #define BPF_MODE(code) ((code) & 0xe0) argument
29 #define BPF_OP(code) ((code) & 0xf0) argument
47 #define BPF_SRC(code) ((code) & 0x08) argument
Dfilter.h24 __u16 code; /* Actual filter code */ member
36 #define BPF_RVAL(code) ((code) & 0x18) argument
40 #define BPF_MISCOP(code) ((code) & 0xf8) argument
48 #define BPF_STMT(code, k) { (unsigned short)(code), 0, 0, k } argument
51 #define BPF_JUMP(code, k, jt, jf) { (unsigned short)(code), jt, jf, k } argument
/linux-4.1.27/net/sunrpc/auth_gss/
Dgss_krb5_seqnum.c48 s32 code; in krb5_make_rc4_seq_num() local
65 code = krb5_rc4_setup_seq_key(kctx, cipher, cksum); in krb5_make_rc4_seq_num()
66 if (code) in krb5_make_rc4_seq_num()
69 code = krb5_encrypt(cipher, cksum, plain, buf, 8); in krb5_make_rc4_seq_num()
72 return code; in krb5_make_rc4_seq_num()
106 s32 code; in krb5_get_rc4_seq_num() local
114 code = krb5_rc4_setup_seq_key(kctx, cipher, cksum); in krb5_get_rc4_seq_num()
115 if (code) in krb5_get_rc4_seq_num()
118 code = krb5_decrypt(cipher, cksum, buf, plain, 8); in krb5_get_rc4_seq_num()
119 if (code) in krb5_get_rc4_seq_num()
[all …]
/linux-4.1.27/arch/sh/boards/mach-x3proto/
Dsetup.c132 .code = KEY_POWER,
137 .code = KEY_SUSPEND,
142 .code = KEY_KATAKANAHIRAGANA,
146 .code = KEY_SWITCHVIDEOMODE,
150 .code = KEY_F12,
154 .code = KEY_F11,
158 .code = KEY_F10,
162 .code = KEY_F9,
166 .code = KEY_F8,
170 .code = KEY_F7,
[all …]
/linux-4.1.27/arch/arm/mach-imx/
Dmach-pcm037_eet.c70 .code = KEY_L,
76 .code = KEY_A,
82 .code = KEY_V,
88 .code = KEY_M,
94 .code = KEY_UP,
100 .code = KEY_RIGHT,
106 .code = KEY_DOWN,
112 .code = KEY_LEFT,
118 .code = KEY_ENTER,
124 .code = KEY_O,
[all …]
/linux-4.1.27/drivers/media/platform/vsp1/
Dvsp1_lif.c66 (format->code == 0 ? VI6_LIF_CTRL_CFMT : 0) | in lif_s_stream()
78 struct v4l2_subdev_mbus_code_enum *code) in lif_enum_mbus_code() argument
86 if (code->pad == LIF_PAD_SINK) { in lif_enum_mbus_code()
87 if (code->index >= ARRAY_SIZE(codes)) in lif_enum_mbus_code()
90 code->code = codes[code->index]; in lif_enum_mbus_code()
97 if (code->index) in lif_enum_mbus_code()
101 LIF_PAD_SINK, code->which); in lif_enum_mbus_code()
102 code->code = format->code; in lif_enum_mbus_code()
118 if (fse->index || fse->code != format->code) in lif_enum_frame_size()
154 if (fmt->format.code != MEDIA_BUS_FMT_ARGB8888_1X32 && in lif_set_format()
[all …]
Dvsp1_lut.c86 struct v4l2_subdev_mbus_code_enum *code) in lut_enum_mbus_code() argument
96 if (code->pad == LUT_PAD_SINK) { in lut_enum_mbus_code()
97 if (code->index >= ARRAY_SIZE(codes)) in lut_enum_mbus_code()
100 code->code = codes[code->index]; in lut_enum_mbus_code()
105 if (code->index) in lut_enum_mbus_code()
109 LUT_PAD_SINK, code->which); in lut_enum_mbus_code()
110 code->code = format->code; in lut_enum_mbus_code()
126 if (fse->index || fse->code != format->code) in lut_enum_frame_size()
165 if (fmt->format.code != MEDIA_BUS_FMT_ARGB8888_1X32 && in lut_set_format()
166 fmt->format.code != MEDIA_BUS_FMT_AHSV8888_1X32 && in lut_set_format()
[all …]
Dvsp1_uds.c173 struct v4l2_subdev_mbus_code_enum *code) in uds_enum_mbus_code() argument
181 if (code->pad == UDS_PAD_SINK) { in uds_enum_mbus_code()
182 if (code->index >= ARRAY_SIZE(codes)) in uds_enum_mbus_code()
185 code->code = codes[code->index]; in uds_enum_mbus_code()
192 if (code->index) in uds_enum_mbus_code()
196 UDS_PAD_SINK, code->which); in uds_enum_mbus_code()
197 code->code = format->code; in uds_enum_mbus_code()
213 if (fse->index || fse->code != format->code) in uds_enum_frame_size()
253 if (fmt->code != MEDIA_BUS_FMT_ARGB8888_1X32 && in uds_try_format()
254 fmt->code != MEDIA_BUS_FMT_AYUV8_1X32) in uds_try_format()
[all …]
Dvsp1_bru.c187 struct v4l2_subdev_mbus_code_enum *code) in bru_enum_mbus_code() argument
196 if (code->pad == BRU_PAD_SINK(0)) { in bru_enum_mbus_code()
197 if (code->index >= ARRAY_SIZE(codes)) in bru_enum_mbus_code()
200 code->code = codes[code->index]; in bru_enum_mbus_code()
202 if (code->index) in bru_enum_mbus_code()
206 BRU_PAD_SINK(0), code->which); in bru_enum_mbus_code()
207 code->code = format->code; in bru_enum_mbus_code()
220 if (fse->code != MEDIA_BUS_FMT_ARGB8888_1X32 && in bru_enum_frame_size()
221 fse->code != MEDIA_BUS_FMT_AYUV8_1X32) in bru_enum_frame_size()
266 if (fmt->code != MEDIA_BUS_FMT_ARGB8888_1X32 && in bru_try_format()
[all …]
Dvsp1_rwpf.c29 struct v4l2_subdev_mbus_code_enum *code) in vsp1_rwpf_enum_mbus_code() argument
36 if (code->index >= ARRAY_SIZE(codes)) in vsp1_rwpf_enum_mbus_code()
39 code->code = codes[code->index]; in vsp1_rwpf_enum_mbus_code()
54 if (fse->index || fse->code != format->code) in vsp1_rwpf_enum_frame_size()
107 if (fmt->format.code != MEDIA_BUS_FMT_ARGB8888_1X32 && in vsp1_rwpf_set_format()
108 fmt->format.code != MEDIA_BUS_FMT_AYUV8_1X32) in vsp1_rwpf_set_format()
109 fmt->format.code = MEDIA_BUS_FMT_AYUV8_1X32; in vsp1_rwpf_set_format()
118 format->code = fmt->format.code; in vsp1_rwpf_set_format()
123 format->code = fmt->format.code; in vsp1_rwpf_set_format()
Dvsp1_sru.c142 if (input->code == MEDIA_BUS_FMT_ARGB8888_1X32) in sru_s_stream()
170 struct v4l2_subdev_mbus_code_enum *code) in sru_enum_mbus_code() argument
179 if (code->pad == SRU_PAD_SINK) { in sru_enum_mbus_code()
180 if (code->index >= ARRAY_SIZE(codes)) in sru_enum_mbus_code()
183 code->code = codes[code->index]; in sru_enum_mbus_code()
188 if (code->index) in sru_enum_mbus_code()
192 SRU_PAD_SINK, code->which); in sru_enum_mbus_code()
193 code->code = format->code; in sru_enum_mbus_code()
209 if (fse->index || fse->code != format->code) in sru_enum_frame_size()
255 if (fmt->code != MEDIA_BUS_FMT_ARGB8888_1X32 && in sru_try_format()
[all …]
Dvsp1_hsit.c59 struct v4l2_subdev_mbus_code_enum *code) in hsit_enum_mbus_code() argument
63 if (code->index > 0) in hsit_enum_mbus_code()
66 if ((code->pad == HSIT_PAD_SINK && !hsit->inverse) | in hsit_enum_mbus_code()
67 (code->pad == HSIT_PAD_SOURCE && hsit->inverse)) in hsit_enum_mbus_code()
68 code->code = MEDIA_BUS_FMT_ARGB8888_1X32; in hsit_enum_mbus_code()
70 code->code = MEDIA_BUS_FMT_AHSV8888_1X32; in hsit_enum_mbus_code()
85 if (fse->index || fse->code != format->code) in hsit_enum_frame_size()
136 format->code = hsit->inverse ? MEDIA_BUS_FMT_AHSV8888_1X32 in hsit_set_format()
151 format->code = hsit->inverse ? MEDIA_BUS_FMT_ARGB8888_1X32 in hsit_set_format()
/linux-4.1.27/samples/bpf/
Dlibbpf.h25 .code = BPF_ALU64 | BPF_OP(OP) | BPF_X, \
33 .code = BPF_ALU | BPF_OP(OP) | BPF_X, \
43 .code = BPF_ALU64 | BPF_OP(OP) | BPF_K, \
51 .code = BPF_ALU | BPF_OP(OP) | BPF_K, \
61 .code = BPF_ALU64 | BPF_MOV | BPF_X, \
71 .code = BPF_ALU64 | BPF_MOV | BPF_K, \
83 .code = BPF_LD | BPF_DW | BPF_IMM, \
89 .code = 0, /* zero is reserved opcode */ \
108 .code = BPF_LD | BPF_SIZE(SIZE) | BPF_ABS, \
118 .code = BPF_LDX | BPF_SIZE(SIZE) | BPF_MEM, \
[all …]
/linux-4.1.27/arch/arm/probes/kprobes/
Dopt-arm.c197 kprobe_opcode_t *code; in arch_prepare_optimized_kprobe() local
205 code = get_optinsn_slot(); in arch_prepare_optimized_kprobe()
206 if (!code) in arch_prepare_optimized_kprobe()
234 rel_chk = (unsigned long)((long)code - in arch_prepare_optimized_kprobe()
243 free_optinsn_slot(code, 0); in arch_prepare_optimized_kprobe()
248 memcpy(code, &optprobe_template_entry, in arch_prepare_optimized_kprobe()
260 code[TMPL_SUB_SP] = __opcode_to_mem_arm(0xe24dd000 | stack_protect); in arch_prepare_optimized_kprobe()
262 code[TMPL_ADD_SP] = __opcode_to_mem_arm(0xe28d3000 | stack_protect); in arch_prepare_optimized_kprobe()
266 code[TMPL_VAL_IDX] = val; in arch_prepare_optimized_kprobe()
270 code[TMPL_CALL_IDX] = val; in arch_prepare_optimized_kprobe()
[all …]
Dtest-core.h216 #define TEST(code) \ argument
217 TESTCASE_START(code) \
219 TEST_INSTRUCTION(code) \
222 #define TEST_UNSUPPORTED(code) \ argument
223 TESTCASE_START(code) \
225 TEST_INSTRUCTION(code) \
228 #define TEST_SUPPORTED(code) \ argument
229 TESTCASE_START(code) \
231 TEST_INSTRUCTION(code) \
325 #define TEST_BF(code) \ argument
[all …]
/linux-4.1.27/drivers/usb/serial/
Dio_ionsp.h450 #define IOSP_GET_STATUS_LEN(code) ((code) < 8 ? 2 : ((code) < 0x0A ? 3 : 4)) argument
452 #define IOSP_STATUS_IS_2BYTE(code) ((code) < 0x08) argument
453 #define IOSP_STATUS_IS_3BYTE(code) (((code) >= 0x08) && ((code) <= 0x0B)) argument
454 #define IOSP_STATUS_IS_4BYTE(code) (((code) >= 0x0C) && ((code) <= 0x0D)) argument
/linux-4.1.27/arch/arm/mach-s3c24xx/
Dmach-n30.c98 .code = KEY_POWER,
104 .code = KEY_UP,
110 .code = KEY_DOWN,
116 .code = KEY_ENTER,
122 .code = KEY_HOMEPAGE,
128 .code = KEY_CALENDAR,
134 .code = KEY_ADDRESSBOOK,
140 .code = KEY_MAIL,
162 .code = KEY_POWER,
170 .code = KEY_UP,
[all …]
Dmach-rx1950.c621 .code = KEY_POWER,
628 .code = KEY_F5,
634 .code = KEY_F1,
640 .code = KEY_F2,
646 .code = KEY_F3,
652 .code = KEY_F4,
658 .code = KEY_LEFT,
664 .code = KEY_RIGHT,
670 .code = KEY_UP,
676 .code = KEY_DOWN,
[all …]
/linux-4.1.27/sound/core/seq/oss/
Dseq_oss_event.h33 unsigned char code; member
41 unsigned char code; member
49 unsigned char code; member
57 unsigned char code; member
66 unsigned char code; member
76 unsigned char code; member
86 unsigned char code; member
104 #define ev_is_long(ev) ((ev)->s.code >= 128)
105 #define ev_length(ev) ((ev)->s.code >= 128 ? LONG_EVENT_SIZE : SHORT_EVENT_SIZE)
/linux-4.1.27/kernel/bpf/
Dverifier.c317 u8 class = BPF_CLASS(insn->code); in print_bpf_insn()
320 if (BPF_SRC(insn->code) == BPF_X) in print_bpf_insn()
322 insn->code, class == BPF_ALU ? "(u32) " : "", in print_bpf_insn()
324 bpf_alu_string[BPF_OP(insn->code) >> 4], in print_bpf_insn()
329 insn->code, class == BPF_ALU ? "(u32) " : "", in print_bpf_insn()
331 bpf_alu_string[BPF_OP(insn->code) >> 4], in print_bpf_insn()
335 if (BPF_MODE(insn->code) == BPF_MEM) in print_bpf_insn()
337 insn->code, in print_bpf_insn()
338 bpf_ldst_string[BPF_SIZE(insn->code) >> 3], in print_bpf_insn()
341 else if (BPF_MODE(insn->code) == BPF_XADD) in print_bpf_insn()
[all …]
/linux-4.1.27/include/linux/
Dfilter.h52 .code = BPF_ALU64 | BPF_OP(OP) | BPF_X, \
60 .code = BPF_ALU | BPF_OP(OP) | BPF_X, \
70 .code = BPF_ALU64 | BPF_OP(OP) | BPF_K, \
78 .code = BPF_ALU | BPF_OP(OP) | BPF_K, \
88 .code = BPF_ALU | BPF_END | BPF_SRC(TYPE), \
98 .code = BPF_ALU64 | BPF_MOV | BPF_X, \
106 .code = BPF_ALU | BPF_MOV | BPF_X, \
116 .code = BPF_ALU64 | BPF_MOV | BPF_K, \
124 .code = BPF_ALU | BPF_MOV | BPF_K, \
136 .code = BPF_LD | BPF_DW | BPF_IMM, \
[all …]
Dinput.h35 __u16 code; member
170 int (*event)(struct input_dev *dev, unsigned int type, unsigned int code, int value);
288 void (*event)(struct input_handle *handle, unsigned int type, unsigned int code, int value);
291 bool (*filter)(struct input_handle *handle, unsigned int type, unsigned int code, int value);
384 void input_event(struct input_dev *dev, unsigned int type, unsigned int code, int value);
385 void input_inject_event(struct input_handle *handle, unsigned int type, unsigned int code, int valu…
387 static inline void input_report_key(struct input_dev *dev, unsigned int code, int value) in input_report_key() argument
389 input_event(dev, EV_KEY, code, !!value); in input_report_key()
392 static inline void input_report_rel(struct input_dev *dev, unsigned int code, int value) in input_report_rel() argument
394 input_event(dev, EV_REL, code, value); in input_report_rel()
[all …]
Dicmpv6.h15 extern void icmpv6_send(struct sk_buff *skb, u8 type, u8 code, __u32 info);
17 typedef void ip6_icmp_send_t(struct sk_buff *skb, u8 type, u8 code, __u32 info);
24 u8 type, u8 code, __u32 info) in icmpv6_send() argument
31 extern int icmpv6_err_convert(u8 type, u8 code,
35 u8 code, int pos);
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/
Dfalcon.c96 falcon->code.limit = (caps & 0x000001ff) << 8; in _nvkm_falcon_init()
101 nv_debug(falcon, "code limit: %d\n", falcon->code.limit); in _nvkm_falcon_init()
119 if (!falcon->code.data) { in _nvkm_falcon_init()
125 falcon->code.data = vmemdup(fw->data, fw->size); in _nvkm_falcon_init()
126 falcon->code.size = fw->size; in _nvkm_falcon_init()
138 if (!falcon->code.data) { in _nvkm_falcon_init()
163 falcon->code.data = vmemdup(fw->data, fw->size); in _nvkm_falcon_init()
164 falcon->code.size = fw->size; in _nvkm_falcon_init()
166 if (!falcon->code.data) in _nvkm_falcon_init()
175 ret = nvkm_gpuobj_new(object->parent, NULL, falcon->code.size, in _nvkm_falcon_init()
[all …]
/linux-4.1.27/drivers/iio/amplifiers/
Dad8366.c60 unsigned code; in ad8366_read_raw() local
65 code = st->ch[chan->channel]; in ad8366_read_raw()
68 code = code * 253 + 4500; in ad8366_read_raw()
69 *val = code / 1000; in ad8366_read_raw()
70 *val2 = (code % 1000) * 1000; in ad8366_read_raw()
89 unsigned code; in ad8366_write_raw() local
96 code = (((u8)val * 1000) + ((u32)val2 / 1000)); in ad8366_write_raw()
98 if (code > 20500 || code < 4500) in ad8366_write_raw()
101 code = (code - 4500) / 253; in ad8366_write_raw()
106 st->ch[chan->channel] = code; in ad8366_write_raw()
/linux-4.1.27/Documentation/scsi/
Darcmsr_spec.txt6 ** 1. Message 0 --> InitThread message and return code
19 ** offset 0xa00 : for inbound message code message_rwbuffer
21 ** offset 0xa00 : for outbound message code message_rwbuffer
52 ** 1 : Error, error code in AdapStatus/DevStatus/SenseData
65 ** 9. Message0 message code :
68 ** ->offset 0xa00 :for outbound message code message_rwbuffer
82 ** ->offset 0xa00 :for inbound message code message_rwbuffer
94 ** ->offset 0xa00 : for inbound message code message_rwbuffer
113 ** command code, data and checksum byte
122 ** (C) 3rd byte : command code
[all …]
/linux-4.1.27/drivers/media/usb/go7007/
Dgo7007-fw.c373 static int gen_mjpeghdr_to_package(struct go7007 *go, __le16 *code, int space) in gen_mjpeghdr_to_package() argument
398 code[off + 1] = __cpu_to_le16(0x8000 | mem); in gen_mjpeghdr_to_package()
407 code[off] = __cpu_to_le16(0x4000 | chunk); in gen_mjpeghdr_to_package()
408 code[off + 31] = __cpu_to_le16(addr++); in gen_mjpeghdr_to_package()
411 code[off] = __cpu_to_le16(0x1000 | 28); in gen_mjpeghdr_to_package()
412 code[off + 31] = 0; in gen_mjpeghdr_to_package()
416 memcpy(&code[off + 2], buf + i, chunk * 2); in gen_mjpeghdr_to_package()
640 __le16 *code, int space, int *framelen) in gen_mpeg1hdr_to_package() argument
687 code[off + 1] = __cpu_to_le16(0x8000 | mem); in gen_mpeg1hdr_to_package()
696 code[off] = __cpu_to_le16(0x4000 | chunk); in gen_mpeg1hdr_to_package()
[all …]
/linux-4.1.27/arch/tile/kernel/
Dtraps.c114 int sig, code, maxcode; in special_ill() local
183 code = (get_Imm16_X0(bundle) >> 6) & 0xf; in special_ill()
184 if (code <= 0 || code > maxcode) in special_ill()
189 *codep = code | __SI_FAULT; in special_ill()
259 int signo, code; in do_trap() local
304 code = BUS_OBJERR; in do_trap()
313 if (!special_ill(instr, &signo, &code)) { in do_trap()
315 code = ILL_ILLOPC; in do_trap()
331 code = ILL_PRVREG; in do_trap()
338 code = ILL_ILLTRP; in do_trap()
[all …]
/linux-4.1.27/arch/arm/nwfpe/
Dfpa11.c99 unsigned int code; in EmulateAll() local
104 code = opcode & 0x00000f00; in EmulateAll()
105 if (code == 0x00000100 || code == 0x00000200) { in EmulateAll()
107 code = opcode & 0x0e000000; in EmulateAll()
108 if (code == 0x0e000000) { in EmulateAll()
119 } else if (code == 0x0c000000) { in EmulateAll()
/linux-4.1.27/arch/s390/include/asm/
Ddis.h38 static inline int insn_length(unsigned char code) in insn_length() argument
40 return ((((int) code + 64) >> 7) + 1) << 1; in insn_length()
44 void print_fn_code(unsigned char *code, unsigned long len);
46 struct s390_insn *find_insn(unsigned char *code);
48 static inline int is_known_insn(unsigned char *code) in is_known_insn() argument
50 return !!find_insn(code); in is_known_insn()
Dirq.h86 unsigned short code; member
91 int register_external_irq(u16 code, ext_int_handler_t handler);
92 int unregister_external_irq(u16 code, ext_int_handler_t handler);
/linux-4.1.27/drivers/staging/media/omap4iss/
Diss_resizer.c159 if ((informat->code == MEDIA_BUS_FMT_UYVY8_1X16) && in resizer_set_outaddr()
160 (outformat->code == MEDIA_BUS_FMT_YUYV8_1_5X8)) { in resizer_set_outaddr()
245 if ((informat->code == MEDIA_BUS_FMT_UYVY8_1X16) && in resizer_configure()
246 (outformat->code == MEDIA_BUS_FMT_YUYV8_1_5X8)) { in resizer_configure()
453 if (fmt->code == resizer_fmts[i]) in resizer_try_format()
459 fmt->code = MEDIA_BUS_FMT_UYVY8_1X16; in resizer_try_format()
467 pixelcode = fmt->code; in resizer_try_format()
473 (fmt->code == MEDIA_BUS_FMT_UYVY8_1X16)) in resizer_try_format()
474 fmt->code = pixelcode; in resizer_try_format()
501 struct v4l2_subdev_mbus_code_enum *code) in resizer_enum_mbus_code() argument
[all …]
Diss_ipipe.c208 if (fmt->code == ipipe_fmts[i]) in ipipe_try_format()
214 fmt->code = MEDIA_BUS_FMT_SGRBG10_1X10; in ipipe_try_format()
226 fmt->code = MEDIA_BUS_FMT_UYVY8_1X16; in ipipe_try_format()
245 struct v4l2_subdev_mbus_code_enum *code) in ipipe_enum_mbus_code() argument
247 switch (code->pad) { in ipipe_enum_mbus_code()
249 if (code->index >= ARRAY_SIZE(ipipe_fmts)) in ipipe_enum_mbus_code()
252 code->code = ipipe_fmts[code->index]; in ipipe_enum_mbus_code()
257 if (code->index != 0) in ipipe_enum_mbus_code()
260 code->code = MEDIA_BUS_FMT_UYVY8_1X16; in ipipe_enum_mbus_code()
280 format.code = fse->code; in ipipe_enum_frame_size()
[all …]
Diss_ipipeif.c142 switch (format->code) { in ipipeif_configure()
186 info = omap4iss_video_format_info(format->code); in ipipeif_configure()
396 if (fmt->code == ipipeif_fmts[i]) in ipipeif_try_format()
402 fmt->code = MEDIA_BUS_FMT_SGRBG10_1X10; in ipipeif_try_format()
450 struct v4l2_subdev_mbus_code_enum *code) in ipipeif_enum_mbus_code() argument
455 switch (code->pad) { in ipipeif_enum_mbus_code()
457 if (code->index >= ARRAY_SIZE(ipipeif_fmts)) in ipipeif_enum_mbus_code()
460 code->code = ipipeif_fmts[code->index]; in ipipeif_enum_mbus_code()
466 if (code->index != 0) in ipipeif_enum_mbus_code()
470 code->which); in ipipeif_enum_mbus_code()
[all …]
Diss_csi2.c203 switch (fmt->code) { in csi2_ctx_map_format()
228 fmt->code); in csi2_ctx_map_format()
566 if (csi2->formats[CSI2_PAD_SINK].code != in csi2_configure()
567 csi2->formats[CSI2_PAD_SOURCE].code) in csi2_configure()
854 if (fmt->code == csi2_input_fmts[i]) in csi2_try_format()
860 fmt->code = MEDIA_BUS_FMT_SGRBG10_1X10; in csi2_try_format()
870 pixelcode = fmt->code; in csi2_try_format()
878 info = omap4iss_video_format_info(fmt->code); in csi2_try_format()
880 fmt->code = pixelcode; in csi2_try_format()
898 struct v4l2_subdev_mbus_code_enum *code) in csi2_enum_mbus_code() argument
[all …]
/linux-4.1.27/arch/s390/kernel/
Dirq.c199 u16 code; member
205 static inline int ext_hash(u16 code) in ext_hash() argument
209 return (code + (code >> 9)) & (ARRAY_SIZE(ext_int_hash) - 1); in ext_hash()
212 int register_external_irq(u16 code, ext_int_handler_t handler) in register_external_irq() argument
221 p->code = code; in register_external_irq()
223 index = ext_hash(code); in register_external_irq()
232 int unregister_external_irq(u16 code, ext_int_handler_t handler) in unregister_external_irq() argument
236 int index = ext_hash(code); in unregister_external_irq()
240 if (p->code == code && p->handler == handler) { in unregister_external_irq()
258 if (ext_code.code != EXT_IRQ_CLK_COMP) in do_ext_interrupt()
[all …]
Djump_label.c36 insn->offset = (entry->target - entry->code) >> 1; in jump_label_make_branch()
42 unsigned char *ipc = (unsigned char *)entry->code; in jump_label_bug()
75 if (memcmp((void *)entry->code, &orignop, sizeof(orignop))) in __jump_label_transform()
78 if (memcmp((void *)entry->code, &old, sizeof(old))) in __jump_label_transform()
81 s390_kernel_write((void *)entry->code, &new, sizeof(new)); in __jump_label_transform()
Ddis.c1729 static unsigned int extract_operand(unsigned char *code, in extract_operand() argument
1737 cp = code + operand->shift / 8; in extract_operand()
1755 val |= (code[4] & 8) << 1; in extract_operand()
1757 val |= (code[4] & 4) << 2; in extract_operand()
1759 val |= (code[4] & 2) << 3; in extract_operand()
1761 val |= (code[4] & 1) << 4; in extract_operand()
1779 struct s390_insn *find_insn(unsigned char *code) in find_insn() argument
1781 unsigned char opfrag = code[1]; in find_insn()
1785 switch (code[0]) { in find_insn()
1827 opfrag = code[5]; in find_insn()
[all …]
/linux-4.1.27/drivers/char/
Dsnsc_event.c64 scdrv_parse_event(char *event, int *src, int *code, int *esp_code, char *desc) in scdrv_parse_event() argument
73 *code = get_unaligned_be32(event); in scdrv_parse_event()
117 scdrv_event_severity(int code) in scdrv_event_severity() argument
119 int ev_class = (code & EV_CLASS_MASK); in scdrv_event_severity()
120 int ev_severity = (code & EV_SEVERITY_MASK); in scdrv_event_severity()
188 int code, esp_code, src, class; in scdrv_dispatch_event() local
192 if (scdrv_parse_event(event, &src, &code, &esp_code, desc) < 0) { in scdrv_dispatch_event()
198 severity = scdrv_event_severity(code); in scdrv_dispatch_event()
200 class = (code & EV_CLASS_MASK); in scdrv_dispatch_event()
202 if (class == EV_CLASS_PWRD_NOTIFY || code == ENV_PWRDN_PEND) { in scdrv_dispatch_event()
[all …]
/linux-4.1.27/drivers/media/platform/xilinx/
Dxilinx-vip.c56 const struct xvip_video_format *xvip_get_format_by_code(unsigned int code) in xvip_get_format_by_code() argument
63 if (format->code == code) in xvip_get_format_by_code()
253 struct v4l2_subdev_mbus_code_enum *code) in xvip_enum_mbus_code() argument
260 if (code->which == V4L2_SUBDEV_FORMAT_ACTIVE) in xvip_enum_mbus_code()
263 if (code->index) in xvip_enum_mbus_code()
266 format = v4l2_subdev_get_try_format(subdev, cfg, code->pad); in xvip_enum_mbus_code()
268 code->code = format->code; in xvip_enum_mbus_code()
303 if (fse->index || fse->code != format->code) in xvip_enum_frame_size()
/linux-4.1.27/arch/parisc/mm/
Dfault.c51 parisc_acctyp(unsigned long code, unsigned int inst) in parisc_acctyp() argument
53 if (code == 6 || code == 16) in parisc_acctyp()
180 show_signal_msg(struct pt_regs *regs, unsigned long code, in show_signal_msg() argument
192 tsk->comm, code, address); in show_signal_msg()
201 void do_page_fault(struct pt_regs *regs, unsigned long code, in do_page_fault() argument
223 acc_type = parisc_acctyp(code, regs->iir); in do_page_fault()
300 show_signal_msg(regs, code, address, tsk, vma); in do_page_fault()
302 switch (code) { in do_page_fault()
324 si.si_code = (code == 18) ? BUS_ADRALN : BUS_ADRERR; in do_page_fault()
330 si.si_code = (code == 26) ? SEGV_ACCERR : SEGV_MAPERR; in do_page_fault()
[all …]
/linux-4.1.27/drivers/input/
Dsparse-keymap.c66 unsigned int code) in sparse_keymap_entry_from_scancode() argument
71 if (code == key->code) in sparse_keymap_entry_from_scancode()
127 ke->len = sizeof(key->code); in sparse_keymap_getkeycode()
128 memcpy(ke->scancode, &key->code, sizeof(key->code)); in sparse_keymap_getkeycode()
207 __set_bit(entry->sw.code, dev->swbit); in sparse_keymap_setup()
278 input_event(dev, EV_MSC, MSC_SCAN, ke->code); in sparse_keymap_report_entry()
292 input_report_switch(dev, ke->sw.code, value); in sparse_keymap_report_entry()
311 bool sparse_keymap_report_event(struct input_dev *dev, unsigned int code, in sparse_keymap_report_event() argument
315 sparse_keymap_entry_from_scancode(dev, code); in sparse_keymap_report_event()
325 unknown_ke.code = code; in sparse_keymap_report_event()
Dinput.c53 static inline int is_event_supported(unsigned int code, in is_event_supported() argument
56 return code <= max && test_bit(code, bm); in is_event_supported()
75 static void input_start_autorepeat(struct input_dev *dev, int code) in input_start_autorepeat() argument
80 dev->repeat_key = code; in input_start_autorepeat()
105 if (handler->filter(handle, v->type, v->code, v->value)) in input_to_handler()
121 handler->event(handle, v->type, v->code, v->value); in input_to_handler()
156 add_input_randomness(vals->type, vals->code, vals->value); in input_pass_values()
163 input_start_autorepeat(dev, v->code); in input_pass_values()
172 unsigned int type, unsigned int code, int value) in input_pass_event() argument
174 struct input_value vals[] = { { type, code, value } }; in input_pass_event()
[all …]
Dinput-compat.c30 event->code = compat_event.code; in input_event_from_user()
50 compat_event.code = event->code; in input_event_to_user()
/linux-4.1.27/arch/mn10300/kernel/
Dtraps.c126 enum exception_code code) in die_if_no_fixup() argument
134 peripheral_leds_display_exception(code); in die_if_no_fixup()
136 signo = exception_to_signal_map[code >> 3].signo; in die_if_no_fixup()
137 si_code = exception_to_signal_map[code >> 3].si_code; in die_if_no_fixup()
139 switch (code) { in die_if_no_fixup()
162 if (notify_die(DIE_BREAKPOINT, str, regs, code, 0, 0)) in die_if_no_fixup()
188 if (debugger_intercept(code, signo, si_code, regs) == 0) in die_if_no_fixup()
191 if (notify_die(DIE_GPF, str, regs, code, 0, 0)) in die_if_no_fixup()
195 die(str, regs, code); in die_if_no_fixup()
220 asmlinkage void nmi(struct pt_regs *regs, enum exception_code code) in nmi() argument
[all …]
/linux-4.1.27/arch/arm/boot/dts/
Dexynos4412-smdk4412.dts64 linux,code = <2>;
70 linux,code = <3>;
76 linux,code = <4>;
82 linux,code = <5>;
88 linux,code = <6>;
94 linux,code = <30>;
100 linux,code = <48>;
106 linux,code = <46>;
112 linux,code = <32>;
118 linux,code = <18>;
Dexynos4210-smdkv310.dts95 linux,code = <2>;
101 linux,code = <3>;
107 linux,code = <4>;
113 linux,code = <5>;
119 linux,code = <6>;
125 linux,code = <30>;
131 linux,code = <48>;
137 linux,code = <46>;
143 linux,code = <32>;
149 linux,code = <18>;
Dea3250.dts6 * The code contained herein is licensed under the GNU General Public
170 linux,code = <103>;
175 linux,code = <1>;
180 linux,code = <2>;
185 linux,code = <3>;
190 linux,code = <4>;
195 linux,code = <10>;
200 linux,code = <11>;
205 linux,code = <12>;
210 linux,code = <13>;
[all …]
Ds5pv210-smdkv210.dts77 linux,code = <KEY_1>;
83 linux,code = <KEY_2>;
89 linux,code = <KEY_3>;
95 linux,code = <KEY_4>;
102 linux,code = <KEY_5>;
108 linux,code = <KEY_A>;
113 linux,code = <KEY_B>;
119 linux,code = <KEY_C>;
125 linux,code = <KEY_D>;
131 linux,code = <KEY_E>;
Dbcm4708-buffalo-wzr-1750dhp.dts2 * Broadcom BCM470X / BCM5301X ARM platform code.
100 linux,code = <KEY_RESTART>;
106 linux,code = <KEY_WPS_BUTTON>;
113 linux,code = <KEY_SETUP>;
120 linux,code = <BTN_0>;
126 linux,code = <KEY_EJECTCD>;
Ds3c6410-mini6410.dts80 linux,code = <2>;
87 linux,code = <3>;
94 linux,code = <4>;
101 linux,code = <5>;
108 linux,code = <6>;
115 linux,code = <7>;
122 linux,code = <8>;
129 linux,code = <9>;
Dsun7i-a20-olinuxino-micro.dts6 * The code contained herein is licensed under the GNU General Public
117 linux,code = <KEY_VOLUMEUP>;
124 linux,code = <KEY_VOLUMEDOWN>;
131 linux,code = <KEY_MENU>;
138 linux,code = <KEY_SEARCH>;
145 linux,code = <KEY_HOMEPAGE>;
152 linux,code = <KEY_ESC>;
159 linux,code = <KEY_ENTER>;
Dusb_a9g20-dab-mmx.dtsi75 linux,code = <0x100>;
81 linux,code = <0x101>;
87 linux,code = <0x102>;
93 linux,code = <0x103>;
Dbcm4709-netgear-r8000.dts2 * Broadcom BCM470X / BCM5301X ARM platform code.
61 linux,code = <KEY_RFKILL>;
67 linux,code = <KEY_WPS_BUTTON>;
73 linux,code = <KEY_RESTART>;
Dbcm47081-buffalo-wzr-600dhp2.dts2 * Broadcom BCM470X / BCM5301X ARM platform code.
100 linux,code = <KEY_WPS_BUTTON>;
106 linux,code = <KEY_RESTART>;
113 linux,code = <KEY_SETUP>;
119 linux,code = <KEY_EJECTCD>;
Dbcm4708-netgear-r6300-v2.dts2 * Broadcom BCM470X / BCM5301X ARM platform code.
67 linux,code = <KEY_WPS_BUTTON>;
73 linux,code = <KEY_RFKILL>;
79 linux,code = <KEY_RESTART>;
Dbcm4708-netgear-r6250.dts2 * Broadcom BCM470X / BCM5301X arm platform code.
77 linux,code = <KEY_WPS_BUTTON>;
83 linux,code = <KEY_RFKILL>;
89 linux,code = <KEY_RESTART>;
Domap3-pandora-common.dtsi85 linux,code = <KEY_UP>;
92 linux,code = <KEY_DOWN>;
99 linux,code = <KEY_LEFT>;
106 linux,code = <KEY_RIGHT>;
113 linux,code = <KEY_PAGEUP>;
120 linux,code = <KEY_PAGEDOWN>;
127 linux,code = <KEY_HOME>;
134 linux,code = <KEY_END>;
141 linux,code = <KEY_RIGHTSHIFT>;
148 linux,code = <KEY_KPPLUS>;
[all …]
Dimx53-ard.dts5 * The code contained herein is licensed under the GNU General Public
71 linux,code = <102>; /* KEY_HOME */
78 linux,code = <158>; /* KEY_BACK */
85 linux,code = <362>; /* KEY_PROGRAM */
92 linux,code = <115>; /* KEY_VOLUMEUP */
98 linux,code = <114>; /* KEY_VOLUMEDOWN */
Domap3-ldp.dts37 linux,code = <0x0107001c>; /* KEY_ENTER */
44 linux,code = <0x0303003b>; /* KEY_F1 */
51 linux,code = <0x0403003c>; /* KEY_F2 */
58 linux,code = <0x0503003d>; /* KEY_F3 */
65 linux,code = <0x0704003e>; /* KEY_F4 */
72 linux,code = <0x04070069>; /* KEY_LEFT */
79 linux,code = <0x0507006a>; /* KEY_RIGHT */
86 linux,code = <0x06070067>; /* KEY_UP */
93 linux,code = <0x0707006c>; /* KEY_DOWN */
Dat91sam9m10g45ek.dts275 linux,code = <272>;
282 linux,code = <273>;
289 linux,code = <105>;
295 linux,code = <106>;
301 linux,code = <103>;
307 linux,code = <108>;
313 linux,code = <28>;
/linux-4.1.27/arch/x86/um/
Dsyscalls_64.c12 long arch_prctl(struct task_struct *task, int code, unsigned long __user *addr) in arch_prctl() argument
31 switch (code) { in arch_prctl()
51 ret = os_arch_prctl(pid, code, ptr); in arch_prctl()
55 switch (code) { in arch_prctl()
74 long sys_arch_prctl(int code, unsigned long addr) in sys_arch_prctl() argument
76 return arch_prctl(current, code, (unsigned long __user *) addr); in sys_arch_prctl()
/linux-4.1.27/tools/usb/usbip/src/
Dusbip_network.c144 int usbip_net_send_op_common(int sockfd, uint32_t code, uint32_t status) in usbip_net_send_op_common() argument
152 op_common.code = code; in usbip_net_send_op_common()
166 int usbip_net_recv_op_common(int sockfd, uint16_t *code) in usbip_net_recv_op_common() argument
187 switch (*code) { in usbip_net_recv_op_common()
191 if (op_common.code != *code) { in usbip_net_recv_op_common()
192 dbg("unexpected pdu %#0x for %#0x", op_common.code, in usbip_net_recv_op_common()
193 *code); in usbip_net_recv_op_common()
203 *code = op_common.code; in usbip_net_recv_op_common()
/linux-4.1.27/include/trace/events/
Dsignal.h16 __entry->code = SI_USER; \
19 __entry->code = SI_KERNEL; \
22 __entry->code = info->si_code; \
60 __field( int, code )
77 __entry->sig, __entry->errno, __entry->code,
105 __field( int, code )
118 __entry->sig, __entry->errno, __entry->code,
/linux-4.1.27/include/linux/input/
Dsparse-keymap.h37 u32 code; member
41 u8 code; member
48 unsigned int code);
50 unsigned int code);
59 bool sparse_keymap_report_event(struct input_dev *dev, unsigned int code,
Dmt.h57 unsigned code, int value) in input_mt_set_value() argument
59 slot->abs[code - ABS_MT_FIRST] = value; in input_mt_set_value()
63 unsigned code) in input_mt_get_value() argument
65 return slot->abs[code - ABS_MT_FIRST]; in input_mt_get_value()
/linux-4.1.27/drivers/s390/cio/
Dchsc.c105 ssd_area->request.code = 0x0004; in chsc_get_ssd_info()
116 ret = chsc_error_from_response(ssd_area->response.code); in chsc_get_ssd_info()
120 ssd_area->response.code); in chsc_get_ssd_info()
160 ssqd->request.code = 0x0024; in chsc_ssqd()
168 return chsc_error_from_response(ssqd->response.code); in chsc_ssqd()
186 scssc->request.code = 0x0021; in chsc_sadc()
204 return chsc_error_from_response(scssc->response.code); in chsc_sadc()
549 sei->request.code = 0x000e; in chsc_process_event_information()
556 if (sei->response.code != 0x0001) { in chsc_process_event_information()
558 sei->response.code, sei->ntsm); in chsc_process_event_information()
[all …]
Dchsc_sch.c442 if (chsc_area->header.code & 0x4000) { in chsc_ioctl_start_sync()
494 scpcd_area->request.code = 0x0028; in chsc_ioctl_info_channel_path()
506 if (scpcd_area->response.code != 0x0001) { in chsc_ioctl_info_channel_path()
509 scpcd_area->response.code); in chsc_ioctl_info_channel_path()
556 scucd_area->request.code = 0x0028; in chsc_ioctl_info_cu()
568 if (scucd_area->response.code != 0x0001) { in chsc_ioctl_info_cu()
571 scucd_area->response.code); in chsc_ioctl_info_cu()
619 sscud_area->request.code = 0x0006; in chsc_ioctl_info_sch_cu()
632 if (sscud_area->response.code != 0x0001) { in chsc_ioctl_info_sch_cu()
635 sscud_area->response.code); in chsc_ioctl_info_sch_cu()
[all …]
/linux-4.1.27/drivers/hid/
Dhid-input.c85 return (usage->type == EV_KEY && usage->code == keycode); in match_keycode()
153 usage->code : KEY_RESERVED; in hidinput_getkeycode()
174 usage->code : KEY_RESERVED; in hidinput_setkeycode()
175 usage->code = ke->keycode; in hidinput_setkeycode()
178 set_bit(usage->code, dev->keybit); in hidinput_setkeycode()
180 usage->code, usage->hid); in hidinput_setkeycode()
211 __s32 hidinput_calc_abs_res(const struct hid_field *field, __u16 code) in hidinput_calc_abs_res() argument
228 switch (code) { in hidinput_calc_abs_res()
493 int max = 0, code; in hidinput_configure_usage() local
536 code = ((usage->hid - 1) & HID_USAGE); in hidinput_configure_usage()
[all …]
Dhid-apple.c186 if (usage->code == KEY_FN) { in hidinput_apple_event()
188 input_event(input, usage->type, usage->code, value); in hidinput_apple_event()
203 trans = apple_find_translation (table, usage->code); in hidinput_apple_event()
206 if (test_bit(usage->code, asc->pressed_fn)) in hidinput_apple_event()
216 set_bit(usage->code, asc->pressed_fn); in hidinput_apple_event()
218 clear_bit(usage->code, asc->pressed_fn); in hidinput_apple_event()
228 (test_bit(usage->code, asc->pressed_numlock) || in hidinput_apple_event()
231 usage->code); in hidinput_apple_event()
235 set_bit(usage->code, in hidinput_apple_event()
238 clear_bit(usage->code, in hidinput_apple_event()
[all …]
/linux-4.1.27/arch/sparc/mm/
Dfault_32.c106 show_signal_msg(struct pt_regs *regs, int sig, int code, in show_signal_msg() argument
119 (void *)regs->u_regs[UREG_FP], code); in show_signal_msg()
126 static void __do_fault_siginfo(int code, int sig, struct pt_regs *regs, in __do_fault_siginfo() argument
132 info.si_code = code; in __do_fault_siginfo()
159 static noinline void do_fault_siginfo(int code, int sig, struct pt_regs *regs, in do_fault_siginfo() argument
164 __do_fault_siginfo(code, sig, regs, addr); in do_fault_siginfo()
176 int fault, code; in do_sparc_fault() local
191 code = SEGV_MAPERR; in do_sparc_fault()
224 code = SEGV_ACCERR; in do_sparc_fault()
295 do_fault_siginfo(code, SIGSEGV, regs, text_fault); in do_sparc_fault()
[all …]
/linux-4.1.27/drivers/input/keyboard/
Dmaple_keyb.c99 int code, keycode; in dc_scan_kbd() local
103 code = i + 224; in dc_scan_kbd()
104 keycode = kbd->keycode[code]; in dc_scan_kbd()
105 input_event(dev, EV_MSC, MSC_SCAN, code); in dc_scan_kbd()
111 code = kbd->old[i]; in dc_scan_kbd()
112 if (code > 3 && ptr == NULL) { in dc_scan_kbd()
113 keycode = kbd->keycode[code]; in dc_scan_kbd()
115 input_event(dev, EV_MSC, MSC_SCAN, code); in dc_scan_kbd()
120 code); in dc_scan_kbd()
123 code = kbd->new[i]; in dc_scan_kbd()
[all …]
Dpxa27x_keypad.c158 unsigned short code; in pxa27x_keypad_direct_key_parse_dt() local
203 code = be16_to_cpup(prop + i); in pxa27x_keypad_direct_key_parse_dt()
204 keypad->keycodes[MAX_MATRIX_KEY_NUM + i] = code; in pxa27x_keypad_direct_key_parse_dt()
205 __set_bit(code, input_dev->keybit); in pxa27x_keypad_direct_key_parse_dt()
216 unsigned int code, proplen; in pxa27x_keypad_rotary_parse_dt() local
224 relkey_ret = of_property_read_u32(np, relkeyname, &code); in pxa27x_keypad_rotary_parse_dt()
230 relcode = code & 0xffff; in pxa27x_keypad_rotary_parse_dt()
231 pdata->rotary0_rel_code = (code & 0xffff); in pxa27x_keypad_rotary_parse_dt()
234 relcode = code >> 16; in pxa27x_keypad_rotary_parse_dt()
248 code = be32_to_cpup(prop); in pxa27x_keypad_rotary_parse_dt()
[all …]
Datkbd.c315 static bool atkbd_need_xlate(unsigned long xl_bit, unsigned char code) in atkbd_need_xlate() argument
319 if (code == ATKBD_RET_EMUL0 || code == ATKBD_RET_EMUL1) in atkbd_need_xlate()
323 if (code == xl_table[i]) in atkbd_need_xlate()
334 static void atkbd_calculate_xl_bit(struct atkbd *atkbd, unsigned char code) in atkbd_calculate_xl_bit() argument
339 if (!((code ^ xl_table[i]) & 0x7f)) { in atkbd_calculate_xl_bit()
340 if (code & 0x80) in atkbd_calculate_xl_bit()
353 static unsigned int atkbd_compat_scancode(struct atkbd *atkbd, unsigned int code) in atkbd_compat_scancode() argument
357 code |= 0x100; in atkbd_compat_scancode()
359 code = (code & 0x7f) | ((code & 0x80) << 1); in atkbd_compat_scancode()
361 code |= 0x80; in atkbd_compat_scancode()
[all …]
/linux-4.1.27/net/netfilter/
Dnft_reject.c84 int nft_reject_icmp_code(u8 code) in nft_reject_icmp_code() argument
86 BUG_ON(code > NFT_REJECT_ICMPX_MAX); in nft_reject_icmp_code()
88 return icmp_code_v4[code]; in nft_reject_icmp_code()
101 int nft_reject_icmpv6_code(u8 code) in nft_reject_icmpv6_code() argument
103 BUG_ON(code > NFT_REJECT_ICMPX_MAX); in nft_reject_icmpv6_code()
105 return icmp_code_v6[code]; in nft_reject_icmpv6_code()
Dnf_tables_core.c75 regs->verdict.code = NFT_BREAK; in nft_cmp_fast_eval()
136 regs.verdict.code = NFT_CONTINUE; in nft_do_chain()
152 if (regs.verdict.code != NFT_CONTINUE) in nft_do_chain()
156 switch (regs.verdict.code) { in nft_do_chain()
158 regs.verdict.code = NFT_CONTINUE; in nft_do_chain()
167 switch (regs.verdict.code & NF_VERDICT_MASK) { in nft_do_chain()
172 return regs.verdict.code; in nft_do_chain()
175 switch (regs.verdict.code) { in nft_do_chain()
/linux-4.1.27/Documentation/development-process/
D1.Intro17 encounter there. There are a great many reasons why kernel code should be
59 The Linux kernel, at over 8 million lines of code and well over 1000
92 thousands of lines of code are being changed every day. So it is not
127 learning how to work with the kernel community and get their code into the
130 contributing code can look like an avoidable expense; it seems easier to
131 just keep the code separate and support users directly. The truth of the
132 matter is that keeping code separate ("out of tree") is a false economy.
134 As a way of illustrating the costs of out-of-tree code, here are a few
148 improvements to be made at any time and results in higher-quality code.
149 But one result of that policy is that any out-of-tree code requires
[all …]
D4.Coding5 code. It is the code which will be examined by other developers and merged
6 (or not) into the mainline tree. So it is the quality of this code which
22 a substantial amount of code in the kernel which does not meet the coding
23 style guidelines. The presence of that code leads to two independent
28 code to the kernel is very difficult if that code is not coded according to
29 the standard; many developers will request that the code be reformatted
30 before they will even review it. A code base as large as the kernel
31 requires some uniformity of code to make it possible for developers to
33 strangely-formatted code.
37 win before the code can be merged. Putting code into the kernel means
[all …]
D6.Followthrough13 code. You, as the author of that code, will be expected to work with the
14 kernel community to ensure that your code is up to the kernel's quality
22 developers as they review the code. Working with reviewers can be, for
30 like to maintain a kernel with this code in it five or ten years later?
36 people remember who wrote kernel code, but there is little lasting fame
40 impulse to respond in kind. Code review is about the code, not about
41 the people, and code reviewers are not attacking you personally.
43 - Similarly, code reviewers are not trying to promote their employers'
59 reviewers. If you believe that the reviewer has misunderstood your code,
70 in a code change should result in an additional code comment instead; that
[all …]
/linux-4.1.27/drivers/media/i2c/soc_camera/
Dimx074.c74 u32 code; member
94 static const struct imx074_datafmt *imx074_find_datafmt(u32 code) in imx074_find_datafmt() argument
99 if (imx074_colour_fmts[i].code == code) in imx074_find_datafmt()
159 const struct imx074_datafmt *fmt = imx074_find_datafmt(mf->code); in imx074_try_fmt()
161 dev_dbg(sd->v4l2_dev->dev, "%s(%u)\n", __func__, mf->code); in imx074_try_fmt()
164 mf->code = imx074_colour_fmts[0].code; in imx074_try_fmt()
181 dev_dbg(sd->v4l2_dev->dev, "%s(%u)\n", __func__, mf->code); in imx074_s_fmt()
184 if (!imx074_find_datafmt(mf->code)) in imx074_s_fmt()
189 priv->fmt = imx074_find_datafmt(mf->code); in imx074_s_fmt()
202 mf->code = fmt->code; in imx074_g_fmt()
[all …]
Dmt9m111.c185 u32 code; member
221 u32 code) in mt9m111_find_datafmt() argument
225 if (mt9m111_colour_fmts[i].code == code) in mt9m111_find_datafmt()
334 int width, int height, u32 code) in mt9m111_setup_geometry() argument
348 if (code != MEDIA_BUS_FMT_SBGGR10_2X8_PADHI_LE) { in mt9m111_setup_geometry()
359 __func__, code, rect->width, rect->height, rect->left, rect->top, in mt9m111_setup_geometry()
396 if (mt9m111->fmt->code == MEDIA_BUS_FMT_SBGGR8_1X8 || in mt9m111_s_crop()
397 mt9m111->fmt->code == MEDIA_BUS_FMT_SBGGR10_2X8_PADHI_LE) { in mt9m111_s_crop()
414 ret = mt9m111_setup_geometry(mt9m111, &rect, width, height, mt9m111->fmt->code); in mt9m111_s_crop()
457 mf->code = mt9m111->fmt->code; in mt9m111_g_fmt()
[all …]
Dov5642.c605 u32 code; member
631 *ov5642_find_datafmt(u32 code) in ov5642_find_datafmt() argument
636 if (ov5642_colour_fmts[i].code == code) in ov5642_find_datafmt()
794 const struct ov5642_datafmt *fmt = ov5642_find_datafmt(mf->code); in ov5642_try_fmt()
800 mf->code = ov5642_colour_fmts[0].code; in ov5642_try_fmt()
816 if (!ov5642_find_datafmt(mf->code)) in ov5642_s_fmt()
820 priv->fmt = ov5642_find_datafmt(mf->code); in ov5642_s_fmt()
833 mf->code = fmt->code; in ov5642_g_fmt()
843 u32 *code) in ov5642_enum_fmt() argument
848 *code = ov5642_colour_fmts[index].code; in ov5642_enum_fmt()
Dov772x.c379 u32 code; member
411 .code = MEDIA_BUS_FMT_YUYV8_2X8,
419 .code = MEDIA_BUS_FMT_YVYU8_2X8,
427 .code = MEDIA_BUS_FMT_UYVY8_2X8,
435 .code = MEDIA_BUS_FMT_RGB555_2X8_PADHI_LE,
443 .code = MEDIA_BUS_FMT_RGB555_2X8_PADHI_BE,
451 .code = MEDIA_BUS_FMT_RGB565_2X8_LE,
459 .code = MEDIA_BUS_FMT_RGB565_2X8_BE,
471 .code = MEDIA_BUS_FMT_SBGGR10_1X10,
569 priv->cfmt->code, priv->win->name); in ov772x_s_stream()
[all …]
Dov9640.c354 static void ov9640_alter_regs(u32 code, in ov9640_alter_regs() argument
357 switch (code) { in ov9640_alter_regs()
379 u32 code, struct ov9640_reg_alt *alts) in ov9640_write_regs() argument
422 if (code == MEDIA_BUS_FMT_UYVY8_2X8) { in ov9640_write_regs()
490 u32 code = mf->code; in ov9640_s_fmt() local
494 ov9640_alter_regs(mf->code, &alts); in ov9640_s_fmt()
502 switch (code) { in ov9640_s_fmt()
508 code = MEDIA_BUS_FMT_UYVY8_2X8; in ov9640_s_fmt()
513 ret = ov9640_write_regs(client, mf->width, code, &alts); in ov9640_s_fmt()
515 mf->code = code; in ov9640_s_fmt()
[all …]
Dmt9m001.c56 u32 code; member
62 u32 code, const struct mt9m001_datafmt *fmt, in mt9m001_find_datafmt() argument
67 if (fmt[i].code == code) in mt9m001_find_datafmt()
261 mf->code = mt9m001->fmt->code; in mt9m001_g_fmt()
288 mt9m001->fmt = mt9m001_find_datafmt(mf->code, in mt9m001_s_fmt()
311 fmt = mt9m001_find_datafmt(mf->code, mt9m001->fmts, in mt9m001_try_fmt()
315 mf->code = fmt->code; in mt9m001_try_fmt()
566 u32 *code) in mt9m001_enum_fmt() argument
574 *code = mt9m001->fmts[index].code; in mt9m001_enum_fmt()
600 unsigned int bps = soc_mbus_get_fmtdesc(mt9m001->fmt->code)->bits_per_sample; in mt9m001_s_mbus_config()
Dmt9t112.c80 u32 code; member
106 .code = MEDIA_BUS_FMT_UYVY8_2X8,
111 .code = MEDIA_BUS_FMT_VYUY8_2X8,
116 .code = MEDIA_BUS_FMT_YUYV8_2X8,
121 .code = MEDIA_BUS_FMT_YVYU8_2X8,
126 .code = MEDIA_BUS_FMT_RGB555_2X8_PADHI_LE,
131 .code = MEDIA_BUS_FMT_RGB565_2X8_LE,
831 dev_dbg(&client->dev, "format : %d\n", priv->format->code); in mt9t112_s_stream()
843 u32 code) in mt9t112_set_params() argument
851 if (mt9t112_cfmts[i].code == code) in mt9t112_set_params()
[all …]
Drj54n1cb0c.c114 u32 code; member
120 u32 code, const struct rj54n1_datafmt *fmt, in rj54n1_find_datafmt() argument
125 if (fmt[i].code == code) in rj54n1_find_datafmt()
489 u32 *code) in rj54n1_enum_fmt() argument
494 *code = rj54n1_colour_fmts[index].code; in rj54n1_enum_fmt()
606 mf->code = rj54n1->fmt->code; in rj54n1_g_fmt()
968 int align = mf->code == MEDIA_BUS_FMT_SBGGR10_1X10 || in rj54n1_try_fmt()
969 mf->code == MEDIA_BUS_FMT_SBGGR10_2X8_PADHI_BE || in rj54n1_try_fmt()
970 mf->code == MEDIA_BUS_FMT_SBGGR10_2X8_PADLO_BE || in rj54n1_try_fmt()
971 mf->code == MEDIA_BUS_FMT_SBGGR10_2X8_PADHI_LE || in rj54n1_try_fmt()
[all …]
Dmt9v022.c88 u32 code; member
94 u32 code, const struct mt9v022_datafmt *fmt, in mt9v022_find_datafmt() argument
99 if (fmt[i].code == code) in mt9v022_find_datafmt()
386 mf->code = mt9v022->fmt->code; in mt9v022_g_fmt()
412 switch (mf->code) { in mt9v022_s_fmt()
432 mt9v022->fmt = mt9v022_find_datafmt(mf->code, in mt9v022_s_fmt()
446 int align = mf->code == MEDIA_BUS_FMT_SBGGR8_1X8 || in mt9v022_try_fmt()
447 mf->code == MEDIA_BUS_FMT_SBGGR10_1X10; in mt9v022_try_fmt()
454 fmt = mt9v022_find_datafmt(mf->code, mt9v022->fmts, in mt9v022_try_fmt()
458 mf->code = fmt->code; in mt9v022_try_fmt()
[all …]
/linux-4.1.27/arch/alpha/kernel/
Dcore_lca.c131 unsigned long flags, code, stat0; in conf_read() local
147 code = ((stat0 >> LCA_IOC_STAT0_CODE_SHIFT) in conf_read()
149 if (code != 1) { in conf_read()
169 unsigned long flags, code, stat0; in conf_write() local
184 code = ((stat0 >> LCA_IOC_STAT0_CODE_SHIFT) in conf_write()
186 if (code != 1) { in conf_write()
373 unsigned code = (stat0 & IOC_CODE) >> IOC_CODE_SHIFT; in ioc_error() local
378 code > 3 ? "PCI" : "CPU", pci_cmd[cmd], stat1, err_name[code]); in ioc_error()
380 if (code == 5 || code == 6) { in ioc_error()
400 vector, get_irq_regs()->pc, (unsigned int) el.c->code); in lca_machine_check()
[all …]
Dsys_mikasa.c175 unsigned int code; in mikasa_apecs_machine_check() local
187 code = mchk_header->code; in mikasa_apecs_machine_check()
190 && (code == MCHK_NO_DEVSEL in mikasa_apecs_machine_check()
191 || code == MCHK_NO_TABT))); in mikasa_apecs_machine_check()
Dsys_noritake.c264 unsigned int code; in noritake_apecs_machine_check() local
276 code = mchk_header->code; in noritake_apecs_machine_check()
279 && (code == MCHK_NO_DEVSEL in noritake_apecs_machine_check()
280 || code == MCHK_NO_TABT))); in noritake_apecs_machine_check()
/linux-4.1.27/include/acpi/
Dacexcep.h64 #define EXCEP_ENV(code) ((acpi_status) (code | AE_CODE_ENVIRONMENTAL)) argument
65 #define EXCEP_PGM(code) ((acpi_status) (code | AE_CODE_PROGRAMMER)) argument
66 #define EXCEP_TBL(code) ((acpi_status) (code | AE_CODE_ACPI_TABLES)) argument
67 #define EXCEP_AML(code) ((acpi_status) (code | AE_CODE_AML)) argument
68 #define EXCEP_CTL(code) ((acpi_status) (code | AE_CODE_CONTROL)) argument
/linux-4.1.27/Documentation/virtual/kvm/
Ds390-diag.txt28 the function code, and bits 0-47 are ignored.
35 DIAGNOSE function code 'X'500' - KVM virtio functions
38 If the function code specifies 0x500, various virtio-related functions
41 General register 1 contains the virtio subfunction code. Supported
46 the function's return code, which is either a return code or a subcode
76 DIAGNOSE function code 'X'501 - KVM breakpoint
79 If the function code specifies 0x501, breakpoint functions may be performed.
80 This function code is handled by userspace.
82 This diagnose function code has no subfunctions and uses no parameters.
Dreview-checklist.txt23 8. Changes should be vendor neutral when possible. Changes to common code
24 are better than duplicating changes to vendor code.
26 9. Similarly, prefer changes to arch independent code than to arch dependent
27 code.
/linux-4.1.27/Documentation/arm/
Dkernel_mode_neon.txt7 code
8 * Isolate your NEON code in a separate compilation unit, and compile it with
11 NEON code
12 * Don't sleep in your NEON code, and be aware that it will be executed with
19 code that runs in kernel mode. However, for performance reasons, the NEON/VFP
22 required. Furthermore, special care is required for code that may sleep [i.e.,
55 * NEON/VFP code is not allowed in interrupt context;
56 * NEON/VFP code is not allowed to sleep;
57 * NEON/VFP code is executed with preemption disabled.
60 kernel_neon_end() and kernel_neon_begin() in places in your code where none of
[all …]
Dmem_alignment2 kernel code lately. Therefore the alignment fixup is now unconditionally
16 trap to SIGBUS any code performing unaligned access (good for debugging bad
17 code), or even fixup the access by software like for kernel code. The later
19 floating point emulation that works about the same way). Fix your code
35 fault code.
55 operation for user space code.
Dkernel_user_helpers.txt4 These are segment of kernel provided user code reachable from user space
8 code to be executed directly in user mode for best efficiency but which is
10 In fact this code might even differ from one CPU to another depending on
12 words, the kernel reserves the right to change this code as needed without
18 constants that allows for efficient branching to those code segments. And
19 since those code segments only use a few cycles before returning to user
20 code, the overhead of a VDSO indirect far call would add a measurable
24 inline (either in the code emitted directly by the compiler, or part of
30 of not using these kernel helpers if your compiled code is not going to
133 r0 = success code (zero or non-zero)
[all …]
/linux-4.1.27/arch/s390/kvm/
Dtrace.h175 TP_PROTO(VCPU_PROTO_COMMON, __u16 code),
176 TP_ARGS(VCPU_ARGS_COMMON, code),
180 __field(__u16, code)
185 __entry->code = code;
189 __entry->code)
266 TP_PROTO(VCPU_PROTO_COMMON, __u16 code),
267 TP_ARGS(VCPU_ARGS_COMMON, code),
271 __field(__u16, code)
276 __entry->code = code;
279 VCPU_TP_PRINTK("handle diagnose call %04x (%s)", __entry->code,
[all …]
/linux-4.1.27/drivers/media/i2c/
Ds5k6a3.c83 .code = MEDIA_BUS_FMT_SGRBG10_1X10,
95 if (mf->code == s5k6a3_formats[i].code) in find_sensor_format()
103 struct v4l2_subdev_mbus_code_enum *code) in s5k6a3_enum_mbus_code() argument
105 if (code->index >= ARRAY_SIZE(s5k6a3_formats)) in s5k6a3_enum_mbus_code()
108 code->code = s5k6a3_formats[code->index].code; in s5k6a3_enum_mbus_code()
117 mf->code = fmt->code; in s5k6a3_try_format()
331 sensor->format.code = s5k6a3_formats[0].code; in s5k6a3_probe()
Dnoon010pc30.c115 u32 code; member
178 .code = MEDIA_BUS_FMT_YUYV8_2X8,
182 .code = MEDIA_BUS_FMT_YVYU8_2X8,
186 .code = MEDIA_BUS_FMT_VYUY8_2X8,
190 .code = MEDIA_BUS_FMT_UYVY8_2X8,
194 .code = MEDIA_BUS_FMT_RGB565_2X8_BE,
496 struct v4l2_subdev_mbus_code_enum *code) in noon010_enum_mbus_code() argument
498 if (code->index >= ARRAY_SIZE(noon010_formats)) in noon010_enum_mbus_code()
501 code->code = noon010_formats[code->index].code; in noon010_enum_mbus_code()
524 mf->code = info->curr_fmt->code; in noon010_get_fmt()
[all …]
Dov2659.c211 u32 code; member
818 .code = MEDIA_BUS_FMT_YUYV8_2X8,
821 .code = MEDIA_BUS_FMT_UYVY8_2X8,
824 .code = MEDIA_BUS_FMT_RGB565_2X8_BE,
827 .code = MEDIA_BUS_FMT_SBGGR8_1X8,
972 format->code = ov2659_formats[0].code; in ov2659_get_default_format()
1003 struct v4l2_subdev_mbus_code_enum *code) in ov2659_enum_mbus_code() argument
1009 if (code->index >= ARRAY_SIZE(ov2659_formats)) in ov2659_enum_mbus_code()
1012 code->code = ov2659_formats[code->index].code; in ov2659_enum_mbus_code()
1030 if (fse->code == ov2659_formats[i].code) in ov2659_enum_frame_sizes()
[all …]
Dsr030pc30.c168 u32 code; member
204 .code = MEDIA_BUS_FMT_YUYV8_2X8,
208 .code = MEDIA_BUS_FMT_YVYU8_2X8,
212 .code = MEDIA_BUS_FMT_VYUY8_2X8,
216 .code = MEDIA_BUS_FMT_UYVY8_2X8,
220 .code = MEDIA_BUS_FMT_RGB565_2X8_BE,
475 u32 *code) in sr030pc30_enum_fmt() argument
477 if (!code || index >= ARRAY_SIZE(sr030pc30_formats)) in sr030pc30_enum_fmt()
480 *code = sr030pc30_formats[index].code; in sr030pc30_enum_fmt()
501 mf->code = info->curr_fmt->code; in sr030pc30_g_fmt()
[all …]
/linux-4.1.27/drivers/isdn/sc/
Dmessage.c71 rspmsg->code, in receivemessage()
87 unsigned int code, in sendmessage() argument
121 sndmsg.code = code; in sendmessage()
162 sndmsg.code, in sendmessage()
172 unsigned char code, in send_and_receive() argument
188 retval = sendmessage(card, procid, type, class, code, link, in send_and_receive()
210 (sc_adapter[card]->async_msg.code == code) && in send_and_receive()
/linux-4.1.27/arch/mn10300/unit-asb2364/
Dleds.c72 void peripheral_leds_display_exception(enum exception_code code) in peripheral_leds_display_exception() argument
76 leds = asb2364_led_hex_tbl[(code/0x100) % 0x10]; in peripheral_leds_display_exception()
78 leds |= asb2364_led_hex_tbl[(code/0x10) % 0x10]; in peripheral_leds_display_exception()
80 leds |= asb2364_led_hex_tbl[code % 0x10]; in peripheral_leds_display_exception()
96 void peripheral_leds_display_exception(enum exception_code code) { } in peripheral_leds_display_exception() argument
/linux-4.1.27/lib/zlib_deflate/
Ddeftree.c231 int code; /* code value */ in tr_static_init() local
240 for (code = 0; code < LENGTH_CODES-1; code++) { in tr_static_init()
241 base_length[code] = length; in tr_static_init()
242 for (n = 0; n < (1<<extra_lbits[code]); n++) { in tr_static_init()
243 length_code[length++] = (uch)code; in tr_static_init()
251 length_code[length-1] = (uch)code; in tr_static_init()
255 for (code = 0 ; code < 16; code++) { in tr_static_init()
256 base_dist[code] = dist; in tr_static_init()
257 for (n = 0; n < (1<<extra_dbits[code]); n++) { in tr_static_init()
258 dist_code[dist++] = (uch)code; in tr_static_init()
[all …]
/linux-4.1.27/arch/arm/mm/
Dfault.c161 unsigned int fsr, unsigned int sig, int code, in __do_user_fault() argument
181 si.si_code = code; in __do_user_fault()
262 int fault, sig, code; in do_page_fault() local
377 code = BUS_ADRERR; in do_page_fault()
384 code = fault == VM_FAULT_BADACCESS ? in do_page_fault()
388 __do_user_fault(tsk, addr, fsr, sig, code, regs); in do_page_fault()
517 int code; member
530 int sig, int code, const char *name) in hook_fault_code() argument
537 fsr_info[nr].code = code; in hook_fault_code()
559 info.si_code = inf->code; in do_DataAbort()
[all …]
/linux-4.1.27/arch/arm/crypto/
Dbsaes-armv7.pl77 $code.=<<___;
100 $code.=<<___;
130 $code.=<<___
150 $code.=<<___;
174 $code.=<<___;
188 $code.=<<___;
203 $code.=<<___;
224 $code.=<<___;
229 $code.=<<___;
235 $code.=<<___;
[all …]
Dsha256-armv4.pl67 $code.=<<___ if ($i<16);
95 $code.=<<___;
135 $code.=<<___;
157 $code=<<___;
236 $code.=".Lrounds_16_xx:\n";
238 $code.=<<___;
296 $code .= "\t$opcode\t".join(',',@_,$arg)."\n";
453 $code.=<<___;
512 $code.=<<___;
536 $code.=<<___;
[all …]
/linux-4.1.27/arch/arm/mach-s3c64xx/
Dmach-smartq7.c65 .code = KEY_POWER,
73 .code = KEY_FN,
81 .code = KEY_KPMINUS,
89 .code = KEY_KPPLUS,
97 .code = KEY_ENTER,
105 .code = KEY_ESC,
Dmach-smartq5.c65 .code = KEY_POWER,
73 .code = KEY_KPMINUS,
81 .code = KEY_KPPLUS,
89 .code = KEY_ENTER,
/linux-4.1.27/Documentation/devicetree/bindings/input/
Dsun4i-lradc-keys.txt14 - linux,code: Keycode to emit.
30 linux,code = <KEY_VOLUMEUP>;
37 linux,code = <KEY_VOLUMEDOWN>;
44 linux,code = <KEY_MENU>;
51 linux,code = <KEY_ENTER>;
58 linux,code = <KEY_HOMEPAGE>;
/linux-4.1.27/drivers/staging/media/davinci_vpfe/
Ddm365_ipipeif.c110 (informat->code == MEDIA_BUS_FMT_Y8_1X8 || in ipipeif_get_cfg_src1()
111 informat->code == MEDIA_BUS_FMT_UV8_1X8)) in ipipeif_get_cfg_src1()
124 switch (informat->code) { in ipipeif_get_data_shift()
146 if (informat->code == MEDIA_BUS_FMT_UYVY8_2X8) in ipipeif_get_source()
224 pack_mode = ipipeif_get_pack_mode(informat->code); in ipipeif_hw_setup()
269 isif_port_if = informat->code; in ipipeif_hw_setup()
280 if (outformat->code == MEDIA_BUS_FMT_SGRBG10_DPCM8_1X8) { in ipipeif_hw_setup()
553 struct v4l2_subdev_mbus_code_enum *code) in ipipeif_enum_mbus_code() argument
555 switch (code->pad) { in ipipeif_enum_mbus_code()
557 if (code->index >= ARRAY_SIZE(ipipeif_input_fmts)) in ipipeif_enum_mbus_code()
[all …]
Ddm365_resizer.c88 if (format->code != MEDIA_BUS_FMT_UYVY8_2X8 && in resizer_validate_output_image_format()
89 format->code != MEDIA_BUS_FMT_Y8_1X8 && in resizer_validate_output_image_format()
90 format->code != MEDIA_BUS_FMT_UV8_1X8 && in resizer_validate_output_image_format()
91 format->code != MEDIA_BUS_FMT_YDYUYDYV8_1X16 && in resizer_validate_output_image_format()
92 format->code != MEDIA_BUS_FMT_SGRBG12_1X12) { in resizer_validate_output_image_format()
93 dev_err(dev, "Invalid Mbus format, %d\n", format->code); in resizer_validate_output_image_format()
100 resizer_calculate_line_length(format->code, format->width, in resizer_validate_output_image_format()
284 if (outformat->code == MEDIA_BUS_FMT_YDYUYDYV8_1X16) { in resizer_calculate_sdram_offsets()
325 if (outformat->code == MEDIA_BUS_FMT_YDYUYDYV8_1X16) in resizer_configure_output_win()
329 resizer_calculate_line_length(outformat->code, in resizer_configure_output_win()
[all …]
/linux-4.1.27/drivers/media/platform/omap3isp/
Dispccdc.c269 if ((format->code != MEDIA_BUS_FMT_SGRBG10_1X10) && in __ccdc_lsc_enable()
270 (format->code != MEDIA_BUS_FMT_SRGGB10_1X10) && in __ccdc_lsc_enable()
271 (format->code != MEDIA_BUS_FMT_SBGGR10_1X10) && in __ccdc_lsc_enable()
272 (format->code != MEDIA_BUS_FMT_SGBRG10_1X10)) in __ccdc_lsc_enable()
618 info = omap3isp_video_format_info(ccdc->formats[CCDC_PAD_SINK].code); in ccdc_configure_alaw()
818 if (!format->code) { in ccdc_config_vp()
837 info = omap3isp_video_format_info(ccdc->formats[CCDC_PAD_SINK].code); in ccdc_config_vp()
974 if (format->code == MEDIA_BUS_FMT_YUYV8_2X8 || in ccdc_config_sync_if()
975 format->code == MEDIA_BUS_FMT_UYVY8_2X8) { in ccdc_config_sync_if()
1023 if (format->code == MEDIA_BUS_FMT_UYVY8_2X8) in ccdc_config_sync_if()
[all …]
Dispcsi2.c173 switch (fmt->code) { in csi2_ctx_map_format()
191 fmt->code); in csi2_ctx_map_format()
594 if (csi2->formats[CSI2_PAD_SINK].code != in csi2_configure()
595 csi2->formats[CSI2_PAD_SOURCE].code) in csi2_configure()
861 if (fmt->code == csi2_input_fmts[i]) in csi2_try_format()
867 fmt->code = MEDIA_BUS_FMT_SGRBG10_1X10; in csi2_try_format()
877 pixelcode = fmt->code; in csi2_try_format()
885 info = omap3isp_video_format_info(fmt->code); in csi2_try_format()
887 fmt->code = pixelcode; in csi2_try_format()
905 struct v4l2_subdev_mbus_code_enum *code) in csi2_enum_mbus_code() argument
[all …]
Dispccp2.c375 ccp2->if_cfg.format = format->code; in ccp2_if_configure()
435 u32 sink_pixcode = ccp2->formats[CCP2_PAD_SINK].code; in ccp2_mem_configure()
436 u32 source_pixcode = ccp2->formats[CCP2_PAD_SOURCE].code; in ccp2_mem_configure()
646 if (fmt->code != MEDIA_BUS_FMT_SGRBG10_DPCM8_1X8) in ccp2_try_format()
647 fmt->code = MEDIA_BUS_FMT_SGRBG10_1X10; in ccp2_try_format()
674 fmt->code = MEDIA_BUS_FMT_SGRBG10_1X10; in ccp2_try_format()
691 struct v4l2_subdev_mbus_code_enum *code) in ccp2_enum_mbus_code() argument
696 if (code->pad == CCP2_PAD_SINK) { in ccp2_enum_mbus_code()
697 if (code->index >= ARRAY_SIZE(ccp2_fmts)) in ccp2_enum_mbus_code()
700 code->code = ccp2_fmts[code->index]; in ccp2_enum_mbus_code()
[all …]
Dispresizer.c977 resizer_set_ycpos(res, informat->code); in resizer_configure()
1387 if (fmt->code != MEDIA_BUS_FMT_YUYV8_1X16 && in resizer_try_format()
1388 fmt->code != MEDIA_BUS_FMT_UYVY8_1X16) in resizer_try_format()
1389 fmt->code = MEDIA_BUS_FMT_YUYV8_1X16; in resizer_try_format()
1399 fmt->code = format->code; in resizer_try_format()
1419 struct v4l2_subdev_mbus_code_enum *code) in resizer_enum_mbus_code() argument
1424 if (code->pad == RESZ_PAD_SINK) { in resizer_enum_mbus_code()
1425 if (code->index >= ARRAY_SIZE(resizer_formats)) in resizer_enum_mbus_code()
1428 code->code = resizer_formats[code->index]; in resizer_enum_mbus_code()
1430 if (code->index != 0) in resizer_enum_mbus_code()
[all …]
/linux-4.1.27/arch/parisc/kernel/
Dtraps.c337 static void default_trap(int code, struct pt_regs *regs) in default_trap() argument
339 printk(KERN_ERR "Trap %d on CPU %d\n", code, smp_processor_id()); in default_trap()
343 void (*cpu_lpmc) (int code, struct pt_regs *regs) __read_mostly = default_trap;
426 void parisc_terminate(char *msg, struct pt_regs *regs, int code, unsigned long offset) in parisc_terminate() argument
444 switch(code){ in parisc_terminate()
465 msg, code, regs, offset); in parisc_terminate()
487 void notrace handle_interruption(int code, struct pt_regs *regs) in handle_interruption() argument
493 if (code == 1) in handle_interruption()
529 printk(KERN_CRIT "Interruption # %d\n", code); in handle_interruption()
532 switch(code) { in handle_interruption()
[all …]
/linux-4.1.27/arch/m32r/kernel/
Dptrace.c429 unsigned long next_insn, unsigned long *code) in register_debug_trap() argument
443 *code = (next_insn & 0xffff0000) | 0x10f1; in register_debug_trap()
447 *code = 0x10f17000; in register_debug_trap()
450 *code = (next_insn & 0xffff) | 0x10f10000; in register_debug_trap()
459 unsigned long *code) in unregister_debug_trap() argument
477 *code = p->insn[i]; in unregister_debug_trap()
537 unsigned long next_insn, code; in embed_debug_trap() local
546 if (register_debug_trap(child, next_pc, next_insn, &code)) { in embed_debug_trap()
549 if (access_process_vm(child, addr, &code, sizeof(code), 1) in embed_debug_trap()
550 != sizeof(code)) { in embed_debug_trap()
[all …]
/linux-4.1.27/arch/x86/kernel/cpu/
Dperf_event.h59 u64 code; member
240 .code = (c), \
328 #define INTEL_ALL_EVENT_CONSTRAINT(code, n) \ argument
329 EVENT_CONSTRAINT(code, n, X86_ALL_EVENT_FLAGS)
332 #define INTEL_FLAGS_EVENT_CONSTRAINT_DATALA_ST(code, n) \ argument
333 __EVENT_CONSTRAINT(code, n, \
338 #define INTEL_FLAGS_EVENT_CONSTRAINT_DATALA_LD(code, n) \ argument
339 __EVENT_CONSTRAINT(code, n, \
343 #define INTEL_FLAGS_EVENT_CONSTRAINT_DATALA_XLD(code, n) \ argument
344 __EVENT_CONSTRAINT(code, n, \
[all …]
/linux-4.1.27/scripts/coccinelle/misc/
Difcol.cocci1 /// Find confusingly indented code in or after an if. An if branch should
2 /// be indented. The code following an if should not be indented.
3 /// Sometimes, code after an if that is indented is actually intended to be
7 /// calculation does not distinguish between spaces and tabs, so code that
47 msg = "code aligned with following code on line %s" % (p2[0].line)
/linux-4.1.27/arch/arm/mach-omap2/
Dboard-ldp.c91 .code = KEY_ENTER,
98 .code = KEY_F1,
105 .code = KEY_F2,
112 .code = KEY_F3,
119 .code = KEY_F4,
126 .code = KEY_LEFT,
133 .code = KEY_RIGHT,
140 .code = KEY_UP,
147 .code = KEY_DOWN,
/linux-4.1.27/lib/zlib_inflate/
Dinflate.h97 code const *lencode; /* starting table for length/literal codes */
98 code const *distcode; /* starting table for distance codes */
106 code *next; /* next available space in codes[] */
109 code codes[ENOUGH]; /* space for code tables */
/linux-4.1.27/arch/unicore32/mm/
Dfault.c120 unsigned int fsr, unsigned int sig, int code, in __do_user_fault() argument
130 si.si_code = code; in __do_user_fault()
211 int fault, sig, code; in do_pf() local
308 code = BUS_ADRERR; in do_pf()
315 code = fault == VM_FAULT_BADACCESS ? SEGV_ACCERR : SEGV_MAPERR; in do_pf()
318 __do_user_fault(tsk, addr, fsr, sig, code, regs); in do_pf()
407 int code; member
449 int sig, int code, const char *name) in hook_fault_code() argument
456 fsr_info[nr].code = code; in hook_fault_code()
477 info.si_code = inf->code; in do_DataAbort()
[all …]
/linux-4.1.27/Documentation/xtensa/
Dmmu.txt3 The code in the initialize_mmu macro sets up MMUv3 memory mapping
5 CONFIG_INITIALIZE_XTENSA_MMU_INSIDE_VMLINUX symbol this code is
10 0x00000000..0x07FFFFFF (system RAM; this code is actually linked
16 The code has the following assumptions:
17 This code fragment is run only on an MMU v3.
29 pc = physical range that contains this code;
32 that corresponds to next instruction to execute in this code.
33 After step 4, we jump to intended (linked) address of this code.
/linux-4.1.27/arch/arm64/include/asm/
Dassembler.h135 #define CPU_BE(code...) code argument
137 #define CPU_BE(code...)
144 #define CPU_LE(code...) argument
146 #define CPU_LE(code...) code
/linux-4.1.27/drivers/staging/sm750fb/
DTODO4 - refine the code and remove unused code
6 are supposed to be sample code which is given here if someone wants to
9 - modify the code for drm framework
/linux-4.1.27/drivers/media/i2c/s5c73m3/
Ds5c73m3-core.c123 u32 code) in s5c73m3_fill_mbus_fmt() argument
127 mf->code = code; in s5c73m3_fill_mbus_fmt()
832 u32 code; in s5c73m3_oif_try_format() local
837 code = S5C73M3_ISP_FMT; in s5c73m3_oif_try_format()
841 code = S5C73M3_JPEG_FMT; in s5c73m3_oif_try_format()
845 if (fmt->format.code == S5C73M3_JPEG_FMT) in s5c73m3_oif_try_format()
846 code = S5C73M3_JPEG_FMT; in s5c73m3_oif_try_format()
848 code = S5C73M3_ISP_FMT; in s5c73m3_oif_try_format()
860 s5c73m3_fill_mbus_fmt(&fmt->format, *fs, code); in s5c73m3_oif_try_format()
868 u32 code; in s5c73m3_try_format() local
[all …]
/linux-4.1.27/fs/reiserfs/
DREADME6 Source code files that contain the phrase "licensing governed by
11 other licenses. If you add your code to governed files, and don't
13 code so the poor blight and his customers can keep things straight.
15 Reiser, and by adding your code to it, widely distributing it to
19 to license code labeled as owned by you on your behalf other than
25 right to decline to allow him to license your code contribution other
59 utilities cannot be compiled without accessing the balancing code
60 which is in the kernel code, and relocating the utilities may require
61 you to specify where that code can be found.
81 To understand the code, after reading the website, start reading the
[all …]
/linux-4.1.27/drivers/net/fddi/skfp/
Dsrf.c44 static struct s_srf_evc *smt_get_evc(struct s_smc *smc, int code, int index);
49 u_char code ; member
89 evc->evc_code = init->code ; in smt_init_evc()
161 static struct s_srf_evc *smt_get_evc(struct s_smc *smc, int code, int index) in smt_get_evc() argument
167 if (evc->evc_code == code && evc->evc_index == index) in smt_get_evc()
187 void smt_srf_event(struct s_smc *smc, int code, int index, int cond) in smt_srf_event() argument
196 if (code == SMT_COND_MAC_DUP_ADDR && cond) { in smt_srf_event()
200 if (code) { in smt_srf_event()
201 DB_SMT("SRF: %s index %d\n",srf_names[code],index) ; in smt_srf_event()
203 if (!(evc = smt_get_evc(smc,code,index))) { in smt_srf_event()
[all …]
/linux-4.1.27/arch/arm64/mm/
Dfault.c113 unsigned int esr, unsigned int sig, int code, in __do_user_fault() argument
131 si.si_code = code; in __do_user_fault()
199 int fault, sig, code; in do_page_fault() local
319 code = BUS_ADRERR; in do_page_fault()
326 code = fault == VM_FAULT_BADACCESS ? in do_page_fault()
330 __do_user_fault(tsk, addr, esr, sig, code, regs); in do_page_fault()
377 int code; member
469 info.si_code = inf->code; in do_mem_abort()
503 int sig, int code, const char *name) in hook_debug_fault_code() argument
509 debug_fault_info[nr].code = code; in hook_debug_fault_code()
[all …]
/linux-4.1.27/tools/perf/util/
Drun-command.c161 int status, code; in wait_or_whine() local
178 code = WEXITSTATUS(status); in wait_or_whine()
179 switch (code) { in wait_or_whine()
185 return -code; in wait_or_whine()
197 int code = start_command(cmd); in run_command() local
198 if (code) in run_command()
199 return code; in run_command()
/linux-4.1.27/arch/avr32/kernel/
Dtraps.c76 void _exception(long signr, struct pt_regs *regs, int code, in _exception() argument
95 info.si_code = code; in _exception()
191 long code; in do_illegal_opcode() local
234 code = ILL_PRVOPC; in do_illegal_opcode()
237 code = ILL_COPROC; in do_illegal_opcode()
240 code = ILL_ILLOPC; in do_illegal_opcode()
244 _exception(SIGILL, regs, code, regs->pc); in do_illegal_opcode()
Dptrace.c240 int code; in do_debug() local
244 code = TRAP_BRKPT; in do_debug()
284 code = TRAP_TRACE; in do_debug()
342 code = TRAP_TRACE; in do_debug()
350 code, regs->pc, regs->sr); in do_debug()
353 _exception(SIGTRAP, regs, code, instruction_pointer(regs)); in do_debug()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/gr/
Dgf117.c105 .code.data = gf117_grhub_code,
106 .code.size = sizeof(gf117_grhub_code),
115 .code.data = gf117_grgpc_code,
116 .code.size = sizeof(gf117_grgpc_code),
Dgk208.c159 .code.data = gk208_grhub_code,
160 .code.size = sizeof(gk208_grhub_code),
169 .code.data = gk208_grgpc_code,
170 .code.size = sizeof(gk208_grgpc_code),
Dgk110.c180 .code.data = gk110_grhub_code,
181 .code.size = sizeof(gk110_grhub_code),
190 .code.data = gk110_grgpc_code,
191 .code.size = sizeof(gk110_grgpc_code),
/linux-4.1.27/net/sched/
DKconfig22 This code is considered to be experimental.
61 To compile this code as a module, choose M here: the
75 To compile this code as a module, choose M here: the
84 To compile this code as a module, choose M here: the
98 To compile this code as a module, choose M here: the
107 To compile this code as a module, choose M here: the
116 To compile this code as a module, choose M here: the
127 To compile this code as a module, choose M here: the
138 To compile this code as a module, choose M here: the
149 To compile this code as a module, choose M here: the
[all …]
/linux-4.1.27/sound/pci/echoaudio/
Dechoaudio_dsp.c185 u8 *code; in load_asic_generic() local
193 code = (u8 *)fw->data; in load_asic_generic()
205 if (write_dsp(chip, code[i]) < 0) in load_asic_generic()
231 u16 *code; in install_resident_loader() local
268 code = (u16 *)fw->data; in install_resident_loader()
273 index = code[0]; in install_resident_loader()
279 words = code[index++]; in install_resident_loader()
282 address = ((u32)code[index] << 16) + code[index + 1]; in install_resident_loader()
301 data = ((u32)code[index] << 16) + code[index + 1]; in install_resident_loader()
335 static int load_dsp(struct echoaudio *chip, u16 *code) in load_dsp() argument
[all …]
/linux-4.1.27/drivers/mtd/nand/
Dnand_ecc.c159 unsigned char *code) in __nand_calculate_ecc() argument
356 code[0] = in __nand_calculate_ecc()
365 code[1] = in __nand_calculate_ecc()
375 code[1] = in __nand_calculate_ecc()
384 code[0] = in __nand_calculate_ecc()
395 code[2] = in __nand_calculate_ecc()
404 code[2] = in __nand_calculate_ecc()
424 unsigned char *code) in nand_calculate_ecc() argument
427 ((struct nand_chip *)mtd->priv)->ecc.size, code); in nand_calculate_ecc()
/linux-4.1.27/drivers/target/tcm_fc/
Dtfc_cmd.c305 u32 status, enum fcp_resp_rsp_codes code) in ft_send_resp_status() argument
316 ntoh24(fh->fh_s_id), ntohs(fh->fh_ox_id), status, code); in ft_send_resp_status()
330 info->rsp_code = code; in ft_send_resp_status()
347 enum fcp_resp_rsp_codes code) in ft_send_resp_code() argument
350 cmd->req_frame, SAM_STAT_GOOD, code); in ft_send_resp_code()
359 enum fcp_resp_rsp_codes code) in ft_send_resp_code_and_free() argument
361 ft_send_resp_code(cmd, code); in ft_send_resp_code_and_free()
417 enum fcp_resp_rsp_codes code; in ft_queue_tm_resp() local
423 code = FCP_TMF_CMPL; in ft_queue_tm_resp()
426 code = FCP_TMF_INVALID_LUN; in ft_queue_tm_resp()
[all …]
/linux-4.1.27/Documentation/mtd/
Dnand_ecc.txt5 I felt there was room for optimisation. I bashed the code for a few hours
6 performing tricks like table lookup removing superfluous code etc.
22 This is done by means of a Hamming code. I'll try to explain it in
153 Therefore without implementing this it was clear that the code above was
189 void ecc1(const unsigned char *buf, unsigned char *code)
217 code[0] =
226 code[1] =
235 code[2] =
242 code[0] = ~code[0];
243 code[1] = ~code[1];
[all …]
/linux-4.1.27/drivers/parisc/
Dpower.c61 #define DIAG_CODE(code) (0x14000000 + ((code)<<5)) argument
63 #define MFCPU_X(rDiagReg, t_ch, t_th, code) \ argument
64 (DIAG_CODE(code) + ((rDiagReg)<<21) + ((t_ch)<<16) + ((t_th)<<0) )
168 static void powerfail_interrupt(int code, void *x)
/linux-4.1.27/drivers/staging/nvec/
Dnvec_kbd.c60 int code, state; in nvec_keys_notifier() local
73 code = msg[1] & 0x7f; in nvec_keys_notifier()
76 if (code_tabs[_size][code] == KEY_CAPSLOCK && state) in nvec_keys_notifier()
79 input_report_key(keys_dev.input, code_tabs[_size][code], in nvec_keys_notifier()
90 unsigned int code, int value) in nvec_kbd_event() argument
101 if (code != LED_CAPSL) in nvec_kbd_event()
/linux-4.1.27/drivers/scsi/csiostor/
Dcsio_hw_chip.h50 #define CHELSIO_CHIP_VERSION(code) (((code) >> 12) & 0xf) argument
51 #define CHELSIO_CHIP_RELEASE(code) ((code) & 0xf) argument
/linux-4.1.27/arch/x86/net/
Dbpf_jit_comp.c275 switch (insn->code) { in do_jit()
287 switch (BPF_OP(insn->code)) { in do_jit()
294 if (BPF_CLASS(insn->code) == BPF_ALU64) in do_jit()
316 if (BPF_CLASS(insn->code) == BPF_ALU64) in do_jit()
333 if (BPF_CLASS(insn->code) == BPF_ALU64) in do_jit()
338 switch (BPF_OP(insn->code)) { in do_jit()
374 if (insn[1].code != 0 || insn[1].src_reg != 0 || in do_jit()
402 if (BPF_SRC(insn->code) == BPF_X) in do_jit()
417 if (BPF_SRC(insn->code) == BPF_X) { in do_jit()
437 if (BPF_CLASS(insn->code) == BPF_ALU64) in do_jit()
[all …]
/linux-4.1.27/drivers/media/i2c/m5mols/
Dm5mols_core.c60 .code = MEDIA_BUS_FMT_VYUY8_2X8,
67 .code = MEDIA_BUS_FMT_JPEG_1X8,
477 static enum m5mols_restype __find_restype(u32 code) in __find_restype() argument
482 if (code == m5mols_default_ffmt[type].code) in __find_restype()
505 enum m5mols_restype stype = __find_restype(mf->code); in __find_resolution()
583 format->code = m5mols_default_ffmt[type].code; in m5mols_set_fmt()
611 fd->entry[0].pixelcode = info->ffmt[M5MOLS_RESTYPE_CAPTURE].code; in m5mols_get_frame_desc()
644 struct v4l2_subdev_mbus_code_enum *code) in m5mols_enum_mbus_code() argument
646 if (!code || code->index >= SIZE_DEFAULT_FFMT) in m5mols_enum_mbus_code()
649 code->code = m5mols_default_ffmt[code->index].code; in m5mols_enum_mbus_code()
[all …]
/linux-4.1.27/Documentation/devicetree/bindings/arm/tegra/
Dnvidia,tegra20-emc.txt9 - nvidia,use-ram-code : If present, the sub-nodes will be addressed
12 irrespective of ram-code configuration.
26 Embedded Memory Controller ram-code table
28 If the emc node has the nvidia,use-ram-code property present, then the
30 apply for which ram-code settings.
32 If the emc node lacks the nvidia,use-ram-code property, this level is omitted
38 - nvidia,ram-code : the binary representation of the ram-code board strappings
60 on a 2-pin "ram code" bootstrap setting on the board. The values of
/linux-4.1.27/arch/arm/include/asm/
Dunwind.h56 #define UNWIND(code...) code argument
58 #define UNWIND(code...) argument
Dassembler.h61 #define ARM_BE8(code...) code argument
63 #define ARM_BE8(code...) argument
70 #define PLD(code...) code argument
72 #define PLD(code...) argument
85 #define CALGN(code...) code argument
87 #define CALGN(code...) argument
/linux-4.1.27/drivers/video/fbdev/
Darkfb.c322 typedef void (*dac_read_regs_t)(void *data, u8 *code, int count);
323 typedef void (*dac_write_regs_t)(void *data, u8 *code, int count);
336 u8 code[2] = {reg, 0}; in dac_read_reg() local
337 info->dac_read_regs(info->data, code, 1); in dac_read_reg()
338 return code[1]; in dac_read_reg()
341 static inline void dac_read_regs(struct dac_info *info, u8 *code, int count) in dac_read_regs() argument
343 info->dac_read_regs(info->data, code, count); in dac_read_regs()
348 u8 code[2] = {reg, val}; in dac_write_reg() local
349 info->dac_write_regs(info->data, code, 1); in dac_write_reg()
352 static inline void dac_write_regs(struct dac_info *info, u8 *code, int count) in dac_write_regs() argument
[all …]
/linux-4.1.27/arch/mn10300/unit-asb2305/
Dleds.c68 void peripheral_leds_display_exception(enum exception_code code) in peripheral_leds_display_exception() argument
72 leds = asb2305_led_hex_tbl[(code/0x100) % 0x10]; in peripheral_leds_display_exception()
74 leds |= asb2305_led_hex_tbl[(code/0x10) % 0x10]; in peripheral_leds_display_exception()
76 leds |= asb2305_led_hex_tbl[code % 0x10]; in peripheral_leds_display_exception()
/linux-4.1.27/arch/arm/lib/
Dio-readsw-armv4.S85 #define _BE_ONLY_(code...) code argument
86 #define _LE_ONLY_(code...) argument
90 #define _BE_ONLY_(code...) argument
91 #define _LE_ONLY_(code...) code argument
/linux-4.1.27/drivers/media/platform/exynos4-is/
Dmipi-csis.c241 u32 code; member
248 .code = MEDIA_BUS_FMT_VYUY8_2X8,
252 .code = MEDIA_BUS_FMT_JPEG_1X8,
256 .code = MEDIA_BUS_FMT_S5C_UYVY_JPEG_1X8,
260 .code = MEDIA_BUS_FMT_SGRBG8_1X8,
264 .code = MEDIA_BUS_FMT_SGRBG10_1X10,
268 .code = MEDIA_BUS_FMT_SGRBG12_1X12,
288 if (mf->code == s5pcsis_formats[i].code) in find_csis_format()
338 mf->code, mf->width, mf->height); in __s5pcsis_set_format()
544 struct v4l2_subdev_mbus_code_enum *code) in s5pcsis_enum_mbus_code() argument
[all …]
Dfimc-isp.c116 struct v4l2_subdev_mbus_code_enum *code) in fimc_is_subdev_enum_mbus_code() argument
120 fmt = fimc_isp_find_format(NULL, NULL, code->index); in fimc_is_subdev_enum_mbus_code()
123 code->code = fmt->mbus_code; in fimc_is_subdev_enum_mbus_code()
152 mf->code = MEDIA_BUS_FMT_YUV10_1X30; in fimc_isp_subdev_get_fmt()
159 fmt->pad, mf->code, mf->width, mf->height); in fimc_isp_subdev_get_fmt()
178 mf->code = MEDIA_BUS_FMT_SGRBG10_1X10; in __isp_subdev_try_format()
191 mf->code = MEDIA_BUS_FMT_YUV10_1X30; in __isp_subdev_try_format()
194 mf->code = format->code; in __isp_subdev_try_format()
209 __func__, fmt->pad, mf->code, mf->width, mf->height); in fimc_isp_subdev_set_fmt()
375 fmt.code = fimc_isp_formats[0].mbus_code; in fimc_isp_subdev_open()
[all …]
/linux-4.1.27/drivers/pcmcia/
Dpxa2xx_base.c90 u_int code = pcmcia_cycle_ns * mem_clk_10khz; in pxa2xx_mcxx_hold() local
91 return (code / 300000) + ((code % 300000) ? 1 : 0) - 1; in pxa2xx_mcxx_hold()
97 u_int code = pcmcia_cycle_ns * mem_clk_10khz; in pxa2xx_mcxx_asst() local
98 return (code / 300000) + ((code % 300000) ? 1 : 0) + 1; in pxa2xx_mcxx_asst()
104 u_int code = pcmcia_cycle_ns * mem_clk_10khz; in pxa2xx_mcxx_setup() local
105 return (code / 100000) + ((code % 100000) ? 1 : 0) - 1; in pxa2xx_mcxx_setup()
Dpcmcia_cis.c39 cisdata_t code, void *parse) in pccard_read_tuple() argument
50 tuple.DesiredTuple = code; in pccard_read_tuple()
86 cisdata_t code, cisparse_t *parse, void *priv_data, in pccard_loop_tuple() argument
104 tuple.DesiredTuple = code; in pccard_loop_tuple()
322 int pcmcia_loop_tuple(struct pcmcia_device *p_dev, cisdata_t code, in pcmcia_loop_tuple() argument
333 return pccard_loop_tuple(p_dev->socket, p_dev->func, code, NULL, in pcmcia_loop_tuple()
377 size_t pcmcia_get_tuple(struct pcmcia_device *p_dev, cisdata_t code, in pcmcia_get_tuple() argument
386 pcmcia_loop_tuple(p_dev, code, pcmcia_do_get_tuple, &get); in pcmcia_get_tuple()
/linux-4.1.27/drivers/thermal/
Drockchip_thermal.c127 unsigned long code; member
183 return v2_code_table[mid].code; in rk_tsadcv2_temp_to_code()
194 static long rk_tsadcv2_code_to_temp(u32 code) in rk_tsadcv2_code_to_temp() argument
203 if (code > TSADCV2_DATA_MASK) in rk_tsadcv2_code_to_temp()
207 if (code >= v2_code_table[mid].code && in rk_tsadcv2_code_to_temp()
208 code < v2_code_table[mid - 1].code) in rk_tsadcv2_code_to_temp()
210 else if (code < v2_code_table[mid].code) in rk_tsadcv2_code_to_temp()
224 num *= v2_code_table[mid - 1].code - code; in rk_tsadcv2_code_to_temp()
225 denom = v2_code_table[mid - 1].code - v2_code_table[mid].code; in rk_tsadcv2_code_to_temp()
/linux-4.1.27/tools/perf/Documentation/
Dperf-annotate.txt6 perf-annotate - Read perf.data (created by perf record) and display annotated code
16 code. If the object file has debug symbols then the source code will be
17 displayed alongside assembly code.
81 Interleave source code with assembly code. Enabled by default,
/linux-4.1.27/Documentation/x86/
Dexception-tables.txt35 contains a reason code for the exception.
54 to executable code. This code is hidden inside the user access macros.
57 the code generated by the preprocessor and the compiler. I selected
60 The original code in sysrq.c line 587:
126 see what code gcc generates:
183 file. But first we want to find out what happened to our code in the
230 told the assembler to move the following code to the specified
241 the original assembly code: > 1: movb (%ebx),%dl
244 The local label 3 (backwards again) is the address of the code to handle
246 the original assembly code: > 3: movl $-14,%eax
[all …]
/linux-4.1.27/arch/m68k/ifpsp060/
DREADME33 fpsp.s Full FP Kernel Module - source code
37 pfpsp.s Partial FP Kernel Module - source code
40 fplsp.s FP Library Module - source code
44 isp.s Integer Unimplemented Kernel Module - source code
48 ilsp.s Integer Unimplemented Library Module - source code
59 ftest.s above test; source code
63 itest.s above test; source code
Disp.doc53 The hex image was created by assembling the source code and
66 The source code isp.s has also been included but only for
82 | | - code section
118 The third section is the code section. After entering through an "Entry-point",
119 the entry code jumps to the appropriate emulation code within the code section.
182 If the emulation code provided by the 060ISP is sufficient for the
183 host system (see isp.s source code), then these "Call-out"s should be
193 supply new emulation code. This new emulation code should reside within
195 code has completed, then it should re-enter the 060ISP package through the
200 source code in isp.s.
/linux-4.1.27/Documentation/crypto/
Ddescore-readme.txt38 To more rapidly understand the code in this package, inspect desSmallFips.i
46 performance comparison to other available des code which i could
49 this code (byte-order independent):
61 used as drop-in replacements with mit's code or any of the mit-
94 (code from eay@psych.psy.uq.oz.au via comp.sources.misc)
99 performance. his code takes 26 sparc instructions to compute one
102 to use only 128k. his tables and code are machine independent.
103 (code from glad@daimi.aau.dk via alt.sources or comp.sources.misc)
109 he seems to have included a lot of special case code
112 (code obtained from chalmers.se:pub/des)
[all …]
/linux-4.1.27/Documentation/timers/
Dhrtimers.txt12 conclusion that the timer wheel code is fundamentally not suitable for
20 mess. The timers.c code is very "tightly coded" around jiffies and
25 code is very good and tight code, there's zero problems with it in its
34 degrading other portions of the timers.c code in an unacceptable way.
43 - the timer wheel code is most optimal for use cases which can be
88 - simplification of existing, timing related kernel code
96 a separate list is used to give the expiry code fast access to the
109 time-changing code had to fix them up one by one, and all of them had to
112 scaling code from the posix-timer implementation - the clock can simply
117 existing timer wheel code, as it is mature and well suited. Sharing code
[all …]
/linux-4.1.27/include/media/
Dsoc_mediabus.h94 u32 code; member
99 u32 code,
103 u32 code);
/linux-4.1.27/arch/arm/kernel/
Dsigreturn_codes.S39 #define ARM_OK(code...) code argument
41 #define ARM_OK(code...) argument
/linux-4.1.27/Documentation/thermal/
Dexynos_thermal16 The chip only exposes the measured 8-bit temperature code value
18 Temperature can be taken from the temperature code.
19 There are three equations converting from temperature to temperature code.
31 Tc: Temperature code, T: Temperature,
33 Temperature code measured at 25 degree Celsius which is unchanged
35 Temperature code measured at 85 degree Celsius which is unchanged
/linux-4.1.27/drivers/staging/i2o/
DREADME13 Core code, SCSI and Block OSMs
28 LAN OSM code
31 Core code extensions
34 LAN OSM code
37 Core code extensions
94 o Test Fibre Channel code
/linux-4.1.27/Documentation/
Dirqflags-tracing.txt12 code. Otherwise only CONFIG_PROVE_MUTEX_LOCKING and
18 category, because lots of lowlevel assembly code deal with irq-flags
23 code-organizational changes first:
30 - in lowlevel entry code add (build-conditional) calls to the
36 complaint, try to figure out the assembly code we did not cover yet,
48 changes break other code by modifying conditions or registers that
Dstatic-keys.txt9 performance-sensitive fast-path kernel code, via a GCC feature and a code
17 do unlikely code
19 do likely code
27 The static_key_false() branch will be generated into the code with as little
28 impact to the likely code path as possible.
43 kernel code paths should be able to make use of the static keys facility.
62 Thus, by default the 'printk' will not be emitted. And the code generated will
64 straight-line code path. When the branch is 'flipped', we will patch the
92 The key is then used in code as:
95 do unlikely code
[all …]
/linux-4.1.27/drivers/net/wan/
Dhdlc_ppp.c59 u8 code; member
207 static void ppp_tx_cp(struct net_device *dev, u16 pid, u8 code, in ppp_tx_cp() argument
220 if (pid == PID_LCP && (code == LCP_ECHO_REQ || code == LCP_ECHO_REPLY)) in ppp_tx_cp()
232 cp->code = code; in ppp_tx_cp()
242 BUG_ON(code >= CP_CODES); in ppp_tx_cp()
250 proto_name(pid), code_names[code], id, debug_buffer); in ppp_tx_cp()
304 static void ppp_cp_event(struct net_device *dev, u16 pid, u16 event, u8 code, in ppp_cp_event() argument
338 ppp_tx_cp(dev, pid, code, id, len, data); in ppp_cp_event()
474 if (cp->code < CP_CODES) in ppp_rx()
475 sprintf(debug_buffer, "[%s id 0x%X]", code_names[cp->code], in ppp_rx()
[all …]
/linux-4.1.27/drivers/clk/
Dclk-mb86s7x.c107 int code, ret; in crg_rate_control() local
116 code = CMD_PERI_CLOCK_RATE_SET_REQ; in crg_rate_control()
121 code = CMD_PERI_CLOCK_RATE_GET_REQ; in crg_rate_control()
127 ret = mb86s7x_send_packet(code, &cmd, sizeof(cmd)); in crg_rate_control()
267 int code, ret; in mhu_cluster_rate() local
276 code = CMD_CPU_CLOCK_RATE_GET_REQ; in mhu_cluster_rate()
278 code = CMD_CPU_CLOCK_RATE_SET_REQ; in mhu_cluster_rate()
284 ret = mb86s7x_send_packet(code, &cmd, sizeof(cmd)); in mhu_cluster_rate()
/linux-4.1.27/Documentation/parisc/
Ddebugging7 A lot of the assembly code currently runs in real mode, which means
16 When real-mode code tries to access non-existent memory, you'll get
21 code tried to access.
25 get translated to a physical address before real-mode code tried to
31 Certain, very critical code has to clear the Q bit in the PSW. What
Dregisters58 N (Nullify next instruction) used by C code
60 B (Taken Branch) used by C code
61 C (code address translation) 1, 0 while executing real-mode code
62 V (divide step correction) used by C code
64 C/B (carry/borrow bits) used by C code
68 Q (collect interruption state) 1 (0 in code directly preceding an rfi)
70 D (Data address translation) 1, 0 while executing real-mode code
77 Shadow Registers used by interruption handler code
/linux-4.1.27/Documentation/hwmon/
Dpmbus-core34 split into core, generic, and device specific code. The core code (in
35 pmbus_core.c) provides generic functionality. The generic code (in pmbus.c)
36 provides support for generic PMBus devices. Device specific code is responsible
39 to PCI code, where generic code is augmented as needed with quirks for all kinds
45 For generic PMBus devices, code in pmbus.c attempts to auto-detect all supported
64 The API between core and device specific PMBus code is defined in
84 to be implemented in device specific code.
96 Virtual commands have to be handled in device specific driver code. Chip driver
97 code returns non-negative values if a virtual command is supported, or a
98 negative error code if not. The chip driver may return -ENODATA or any other
[all …]
/linux-4.1.27/net/core/
Dfilter.c394 switch (fp->code) { in bpf_convert_filter()
427 if (BPF_CLASS(fp->code) == BPF_LD && in bpf_convert_filter()
428 BPF_MODE(fp->code) == BPF_ABS && in bpf_convert_filter()
432 *insn = BPF_RAW_INSN(fp->code, BPF_REG_A, BPF_REG_X, 0, fp->k); in bpf_convert_filter()
452 insn->code = fp->code; in bpf_convert_filter()
464 if (BPF_SRC(fp->code) == BPF_K && (int) fp->k < 0) { in bpf_convert_filter()
478 bpf_src = BPF_SRC(fp->code); in bpf_convert_filter()
483 insn->code = BPF_JMP | BPF_OP(fp->code) | bpf_src; in bpf_convert_filter()
490 if (fp->jt == 0 && BPF_OP(fp->code) == BPF_JEQ) { in bpf_convert_filter()
491 insn->code = BPF_JMP | BPF_JNE | bpf_src; in bpf_convert_filter()
[all …]
/linux-4.1.27/drivers/platform/x86/
Dasus-wmi.c1248 static int asus_wmi_backlight_notify(struct asus_wmi *asus, int code) in asus_wmi_backlight_notify() argument
1254 if (code >= NOTIFY_BRNUP_MIN && code <= NOTIFY_BRNUP_MAX) in asus_wmi_backlight_notify()
1255 new = code - NOTIFY_BRNUP_MIN + 1; in asus_wmi_backlight_notify()
1256 else if (code >= NOTIFY_BRNDOWN_MIN && code <= NOTIFY_BRNDOWN_MAX) in asus_wmi_backlight_notify()
1257 new = code - NOTIFY_BRNDOWN_MIN; in asus_wmi_backlight_notify()
1316 static int is_display_toggle(int code) in is_display_toggle() argument
1319 if ((code >= 0x61 && code <= 0x67) || in is_display_toggle()
1320 (code >= 0x8c && code <= 0x93) || in is_display_toggle()
1321 (code >= 0xa0 && code <= 0xa7) || in is_display_toggle()
1322 (code >= 0xd0 && code <= 0xd5)) in is_display_toggle()
[all …]
/linux-4.1.27/arch/m68k/ifpsp060/src/
DREADME-SRC1 This is the original source code from Motorola for the 68060 processor
2 support code, providing emulation for rarely used m68k instructions
5 The code provided here will not assemble out of the box using the GNU
/linux-4.1.27/arch/avr32/mm/
Dfault.c65 int code; in do_page_fault() local
78 code = SEGV_MAPERR; in do_page_fault()
109 code = SEGV_ACCERR; in do_page_fault()
187 _exception(SIGSEGV, regs, code, address); in do_page_fault()
245 code = BUS_ADRERR; in do_page_fault()
/linux-4.1.27/net/ipv6/
Dxfrm6_protocol.c84 u8 type, u8 code, int offset, __be32 info) in xfrm6_esp_err() argument
89 if (!handler->err_handler(skb, opt, type, code, offset, info)) in xfrm6_esp_err()
111 u8 type, u8 code, int offset, __be32 info) in xfrm6_ah_err() argument
116 if (!handler->err_handler(skb, opt, type, code, offset, info)) in xfrm6_ah_err()
138 u8 type, u8 code, int offset, __be32 info) in xfrm6_ipcomp_err() argument
143 if (!handler->err_handler(skb, opt, type, code, offset, info)) in xfrm6_ipcomp_err()
/linux-4.1.27/Documentation/block/
Dbiovecs.txt11 More specifically, old code that needed to partially complete a bio would
24 normal code doesn't have to deal with bi_bvec_done.
26 * Driver code should no longer refer to biovecs directly; we now have
32 instead of an integer (that corresponded to bi_idx); for a lot of code the
41 a pointer to a biovec, not a bio; this is used by the bio integrity code.
52 wouldn't necessarily be the same size, the old code was tricky convoluted -
56 The new code is much more straightforward - have a look. This sort of
59 simplifies a lot of code.
61 * Before, any code that might need to use the biovec after the bio had been
82 occasionally in stacking block drivers and various code (e.g. md and
[all …]
/linux-4.1.27/drivers/tty/
Dsysrq.c655 unsigned int code, int value) in sysrq_detect_reset_sequence() argument
657 if (!test_bit(code, state->reset_keybit)) { in sysrq_detect_reset_sequence()
748 unsigned int code, int value) in sysrq_handle_keypress() argument
753 switch (code) { in sysrq_handle_keypress()
759 if (sysrq->active && code == sysrq->alt_use) in sysrq_handle_keypress()
765 sysrq->alt = code; in sysrq_handle_keypress()
797 __handle_sysrq(sysrq_xlate[code], true); in sysrq_handle_keypress()
818 set_bit(code, sysrq->key_down); in sysrq_handle_keypress()
820 clear_bit(code, sysrq->key_down); in sysrq_handle_keypress()
826 sysrq_detect_reset_sequence(sysrq, code, value); in sysrq_handle_keypress()
[all …]
/linux-4.1.27/arch/sh/math-emu/
Dmath.c424 id_fnmx(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, u16 code) in id_fnmx() argument
426 int n = (code >> 8) & 0xf, m = (code >> 4) & 0xf, x = code & 0xf; in id_fnmx()
431 id_sys(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, u16 code) in id_sys() argument
433 int n = ((code >> 8) & 0xf); in id_sys()
434 unsigned long *reg = (code & 0x0010) ? &FPUL : &FPSCR; in id_sys()
436 switch (code & 0xf0ff) { in id_sys()
462 static int fpu_emulate(u16 code, struct sh_fpu_soft_struct *fregs, struct pt_regs *regs) in fpu_emulate() argument
464 if ((code & 0xf000) == 0xf000) in fpu_emulate()
465 return id_fnmx(fregs, regs, code); in fpu_emulate()
467 return id_sys(fregs, regs, code); in fpu_emulate()
/linux-4.1.27/drivers/media/pci/bt8xx/
Dbttv-input.c163 static u32 bttv_rc5_decode(unsigned int code) in bttv_rc5_decode() argument
165 unsigned int org_code = code; in bttv_rc5_decode()
171 pair = code & 0x3; in bttv_rc5_decode()
172 code >>= 2; in bttv_rc5_decode()
223 dprintk("short code: %x\n", ir->code); in bttv_rc5_timer_end()
227 ir->code = (ir->code << ir->shift_by) | 1; in bttv_rc5_timer_end()
228 rc5 = bttv_rc5_decode(ir->code); in bttv_rc5_timer_end()
286 ir->code |= 1 << ir->last_bit; in bttv_rc5_irq()
291 ir->code = 0; in bttv_rc5_irq()

12345678910>>...14