Searched refs:code (Results 1 - 200 of 10808) sorted by relevance

1234567891011>>

/linux-4.4.14/arch/cris/boot/dts/include/dt-bindings/input/
H A Dinput.h4 * Most input bindings include key code, matrix key code format.
5 * In most cases, key code and matrix key code format uses
14 #define MATRIX_KEY(row, col, code) \
15 ((((row) & 0xFF) << 24) | (((col) & 0xFF) << 16) | ((code) & 0xFFFF))
/linux-4.4.14/include/dt-bindings/input/
H A Dinput.h4 * Most input bindings include key code, matrix key code format.
5 * In most cases, key code and matrix key code format uses
14 #define MATRIX_KEY(row, col, code) \
15 ((((row) & 0xFF) << 24) | (((col) & 0xFF) << 16) | ((code) & 0xFFFF))
/linux-4.4.14/arch/metag/boot/dts/include/dt-bindings/input/
H A Dinput.h4 * Most input bindings include key code, matrix key code format.
5 * In most cases, key code and matrix key code format uses
14 #define MATRIX_KEY(row, col, code) \
15 ((((row) & 0xFF) << 24) | (((col) & 0xFF) << 16) | ((code) & 0xFFFF))
/linux-4.4.14/arch/mips/boot/dts/include/dt-bindings/input/
H A Dinput.h4 * Most input bindings include key code, matrix key code format.
5 * In most cases, key code and matrix key code format uses
14 #define MATRIX_KEY(row, col, code) \
15 ((((row) & 0xFF) << 24) | (((col) & 0xFF) << 16) | ((code) & 0xFFFF))
/linux-4.4.14/arch/powerpc/boot/dts/include/dt-bindings/input/
H A Dinput.h4 * Most input bindings include key code, matrix key code format.
5 * In most cases, key code and matrix key code format uses
14 #define MATRIX_KEY(row, col, code) \
15 ((((row) & 0xFF) << 24) | (((col) & 0xFF) << 16) | ((code) & 0xFFFF))
/linux-4.4.14/arch/arm64/boot/dts/include/dt-bindings/input/
H A Dinput.h4 * Most input bindings include key code, matrix key code format.
5 * In most cases, key code and matrix key code format uses
14 #define MATRIX_KEY(row, col, code) \
15 ((((row) & 0xFF) << 24) | (((col) & 0xFF) << 16) | ((code) & 0xFFFF))
/linux-4.4.14/arch/arm/boot/dts/include/dt-bindings/input/
H A Dinput.h4 * Most input bindings include key code, matrix key code format.
5 * In most cases, key code and matrix key code format uses
14 #define MATRIX_KEY(row, col, code) \
15 ((((row) & 0xFF) << 24) | (((col) & 0xFF) << 16) | ((code) & 0xFFFF))
/linux-4.4.14/scripts/
H A 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"`
81 # and fix code at-and-after marker
82 code=`echo "$code" | cut -c$((${marker} + 1))-`
86 code=`echo $code | sed -e 's/ [<(]/ /;s/[>)] / /;s/ /,0x/g; s/[>)]$//'`
88 echo $code >> $T.s
H A Ddecode_stacktrace.sh53 local code=${cache[$address]}
55 local code=$(addr2line -i -e "$vmlinux" "$address")
56 cache[$address]=$code
59 # addr2line doesn't return a proper error code if it fails, so
62 if [[ $code == "??:0" ]]; then
67 code=${code//$basepath/""}
70 code=${code//$'\n'/' '}
73 symbol="$name ($code)"
122 # Is it a code line?
/linux-4.4.14/arch/x86/entry/vsyscall/
H A DMakefile2 # Makefile for the x86 low level vsyscall code
/linux-4.4.14/arch/mn10300/proc-mn103e010/
H A DMakefile2 # Makefile for the MN103E010 processor chip specific code
/linux-4.4.14/include/uapi/linux/
H A Dbpf_common.h5 #define BPF_CLASS(code) ((code) & 0x07)
16 #define BPF_SIZE(code) ((code) & 0x18)
20 #define BPF_MODE(code) ((code) & 0xe0)
29 #define BPF_OP(code) ((code) & 0xf0)
47 #define BPF_SRC(code) ((code) & 0x08)
H A Dfilter.h13 * Current version of the filter code architecture.
20 * the BPF code definitions which need to match so you can share filters
24 __u16 code; /* Actual filter code */ member in struct:sock_filter
36 #define BPF_RVAL(code) ((code) & 0x18)
40 #define BPF_MISCOP(code) ((code) & 0xf8)
48 #define BPF_STMT(code, k) { (unsigned short)(code), 0, 0, k }
51 #define BPF_JUMP(code, k, jt, jf) { (unsigned short)(code), jt, jf, k }
H A Dnetfilter_arp.h5 * (C)2002 Rusty Russell IBM -- This code is GPL.
H A Dv4l2-subdev.h45 * @format: media bus format (format code and frame size)
71 * @code: format code (MEDIA_BUS_FMT_ definitions)
77 __u32 code; member in struct:v4l2_subdev_mbus_code_enum
86 * @code: format code (MEDIA_BUS_FMT_ definitions)
92 __u32 code; member in struct:v4l2_subdev_frame_size_enum
116 * @code: format code (MEDIA_BUS_FMT_ definitions)
125 __u32 code; member in struct:v4l2_subdev_frame_interval_enum
H A Dcycx_cfm.h27 #define CFM_IMAGE_SIZE 0x20000 /* max size of CYCX code image file */
30 #define CFM_LOAD_BUFSZ 0x400 /* buffer size for reset code (buffer_load) */
57 * @codeoffs - code load offset
58 * @codesize - code size
84 * @image - code image (variable size)
/linux-4.4.14/drivers/media/firewire/
H A Dfiredtv-rc.c25 /* code from device: 0x4501...0x451f */
59 /* code from device: 0x4540...0x4542 */
69 /* code from device: 0x0300...0x031f */
104 /* code from device: 0x0340...0x0354 */
173 void fdtv_handle_rc(struct firedtv *fdtv, unsigned int code) fdtv_handle_rc() argument
178 if (code >= 0x0300 && code <= 0x031f) fdtv_handle_rc()
179 code = keycode[code - 0x0300]; fdtv_handle_rc()
180 else if (code >= 0x0340 && code <= 0x0354) fdtv_handle_rc()
181 code = keycode[code - 0x0320]; fdtv_handle_rc()
182 else if (code >= 0x4501 && code <= 0x451f) fdtv_handle_rc()
183 code = oldtable[code - 0x4501]; fdtv_handle_rc()
184 else if (code >= 0x4540 && code <= 0x4542) fdtv_handle_rc()
185 code = oldtable[code - 0x4521]; fdtv_handle_rc()
187 printk(KERN_DEBUG "firedtv: invalid key code 0x%04x " fdtv_handle_rc()
188 "from remote control\n", code); fdtv_handle_rc()
192 input_report_key(idev, code, 1); fdtv_handle_rc()
194 input_report_key(idev, code, 0); fdtv_handle_rc()
/linux-4.4.14/arch/x86/kernel/
H A Djump_label.c20 char code[JUMP_LABEL_NOP_SIZE]; member in union:jump_code_union
44 union jump_code_union code; __jump_label_transform() local
54 if (unlikely(memcmp((void *)entry->code, default_nop, 5) __jump_label_transform()
56 bug_at((void *)entry->code, __LINE__); __jump_label_transform()
62 if (unlikely(memcmp((void *)entry->code, ideal_nop, 5) __jump_label_transform()
64 bug_at((void *)entry->code, __LINE__); __jump_label_transform()
67 code.jump = 0xe9; __jump_label_transform()
68 code.offset = entry->target - __jump_label_transform()
69 (entry->code + JUMP_LABEL_NOP_SIZE); __jump_label_transform()
78 if (unlikely(memcmp((void *)entry->code, default_nop, 5) != 0)) __jump_label_transform()
79 bug_at((void *)entry->code, __LINE__); __jump_label_transform()
81 code.jump = 0xe9; __jump_label_transform()
82 code.offset = entry->target - __jump_label_transform()
83 (entry->code + JUMP_LABEL_NOP_SIZE); __jump_label_transform()
84 if (unlikely(memcmp((void *)entry->code, &code, 5) != 0)) __jump_label_transform()
85 bug_at((void *)entry->code, __LINE__); __jump_label_transform()
87 memcpy(&code, ideal_nops[NOP_ATOMIC5], JUMP_LABEL_NOP_SIZE); __jump_label_transform()
99 (*poker)((void *)entry->code, &code, JUMP_LABEL_NOP_SIZE); __jump_label_transform()
101 text_poke_bp((void *)entry->code, &code, JUMP_LABEL_NOP_SIZE, __jump_label_transform()
102 (void *)entry->code + JUMP_LABEL_NOP_SIZE); __jump_label_transform()
H A Di386_ksyms_32.c15 * the export, but dont use it from C code, it is used
16 * by assembly code and is not using C calling convention!
/linux-4.4.14/arch/x86/um/os-Linux/
H A Dprctl.c9 int os_arch_prctl(int pid, int code, unsigned long *addr) os_arch_prctl() argument
11 return ptrace(PTRACE_ARCH_PRCTL, pid, (unsigned long) addr, code); os_arch_prctl()
/linux-4.4.14/lib/zlib_deflate/
H A DMakefile5 # This is the compression code, see zlib_inflate for the
6 # decompression code.
H A Ddeftree.c13 * Each code tree is stored in a compressed form which is itself
14 * a Huffman encoding of the lengths of all the code strings (in
15 * ascending order by source values). The actual code strings are
53 /* end of block literal code */
64 static const int extra_lbits[LENGTH_CODES] /* extra bits for each length code */
67 static const int extra_dbits[D_CODES] /* extra bits for each distance code */
70 static const int extra_blbits[BL_CODES]/* extra bits for each bit length code */
107 /* length code for each normalized match length (0 == MIN_MATCH) */
110 /* First normalized length for each code (0 = MIN_MATCH) */
113 /* First normalized distance for each code (0 = distance of 1) */
117 const int *extra_bits; /* extra bits for each code or NULL */
157 /* Send a code of the given tree. c and tree must not have side effects */
167 /* Mapping from a distance to a distance code. dist is the distance - 1 and
231 int code; /* code value */ tr_static_init() local
238 /* Initialize the mapping length (0..255) -> length code (0..28) */ tr_static_init()
240 for (code = 0; code < LENGTH_CODES-1; code++) { tr_static_init()
241 base_length[code] = length; tr_static_init()
242 for (n = 0; n < (1<<extra_lbits[code]); n++) { tr_static_init()
243 length_code[length++] = (uch)code; tr_static_init()
248 * in two different ways: code 284 + 5 bits or code 285, so we tr_static_init()
251 length_code[length-1] = (uch)code; tr_static_init()
253 /* Initialize the mapping dist (0..32K) -> dist code (0..29) */ tr_static_init()
255 for (code = 0 ; code < 16; code++) { tr_static_init()
256 base_dist[code] = dist; tr_static_init()
257 for (n = 0; n < (1<<extra_dbits[code]); n++) { tr_static_init()
258 dist_code[dist++] = (uch)code; tr_static_init()
263 for ( ; code < D_CODES; code++) { tr_static_init()
264 base_dist[code] = dist << 7; tr_static_init()
265 for (n = 0; n < (1<<(extra_dbits[code]-7)); n++) { tr_static_init()
266 dist_code[256 + dist++] = (uch)code; tr_static_init()
279 * tree construction to get a canonical Huffman tree (longest code tr_static_init()
477 Trace((stderr,"code %d bits %d->%d\n", m, tree[m].Len, bits)); gen_bitlen()
492 * OUT assertion: the field code is set for all tree elements of non
493 * zero code length.
497 int max_code, /* largest code with non zero frequency */ gen_codes()
501 ush next_code[MAX_BITS+1]; /* next code value for each bit length */ gen_codes()
502 ush code = 0; /* running code value */ gen_codes() local
504 int n; /* code index */ gen_codes()
506 /* The distribution counts are first used to generate the code values gen_codes()
510 next_code[bits] = code = (code + bl_count[bits-1]) << 1; gen_codes()
512 /* Check that the bit counts in bl_count are consistent. The last code gen_codes()
515 Assert (code + bl_count[MAX_BITS]-1 == (1<<MAX_BITS)-1, gen_codes()
531 * Construct one Huffman tree and assigns the code bit strings and lengths.
534 * OUT assertions: the fields len and code are set to the optimal bit length
535 * and corresponding code. The length opt_len is updated; static_len is
547 int max_code = -1; /* largest code with non zero frequency */ build_tree()
565 /* The pkzip format requires that at least one distance code exists, build_tree()
567 * possible code. So to avoid special checks later on we force at least build_tree()
629 int max_code /* and its largest code of non zero frequency */ scan_tree()
634 int curlen; /* length of current code */ scan_tree()
635 int nextlen = tree[0].Len; /* length of next code */ scan_tree()
636 int count = 0; /* repeat count of the current code */ scan_tree()
675 int max_code /* and its largest code of non zero frequency */ send_tree()
680 int curlen; /* length of current code */ send_tree()
681 int nextlen = tree[0].Len; /* length of next code */ send_tree()
682 int count = 0; /* repeat count of the current code */ send_tree()
722 * bl_order of the last bit length code to send.
728 int max_blindex; /* index of last bit length code of non zero freq */ build_bl_tree()
777 Tracev((stderr, "\nbl code %2d ", bl_order[rank])); send_all_trees()
806 /* Send just the `stored block' type code without any length bytes or data.
821 * The current inflate code requires 9 bits of lookahead. If the
822 * last two codes for the previous block (real code plus EOB) were coded
824 * the last real code. In this case we send two empty static blocks instead
826 * To simplify the code, we assume the worst case of last real code encoded
838 * (10 - bi_valid) bits. The lookahead for the last real code (before zlib_tr_align()
864 int max_blindex = 0; /* index of last bit length code of non zero freq */
885 * in bl_order of the last bit length code to send.
1027 unsigned code; /* the code to send */ compress_block() local
1038 code = length_code[lc]; compress_block()
1039 send_code(s, code+LITERALS+1, ltree); /* send the length code */ compress_block()
1040 extra = extra_lbits[code]; compress_block()
1042 lc -= base_length[code]; compress_block()
1046 code = d_code(dist); compress_block()
1047 Assert (code < D_CODES, "bad d_code"); compress_block()
1049 send_code(s, code, dtree); /* send the distance code */ compress_block()
1050 extra = extra_dbits[code]; compress_block()
1052 dist -= base_dist[code]; compress_block()
/linux-4.4.14/arch/parisc/include/asm/
H A Dtraps.h9 int code, unsigned long offset) __noreturn __cold;
12 void do_page_fault(struct pt_regs *regs, unsigned long code,
H A Dmodule.h7 * This file contains the parisc architecture specific module code.
/linux-4.4.14/arch/ia64/include/asm/
H A Dclocksource.h7 void *fsys_mmio; /* used by fsyscall asm code */
/linux-4.4.14/arch/arm/plat-pxa/
H A DMakefile2 # Makefile for code common across different PXA processor families
/linux-4.4.14/drivers/media/platform/soc_camera/
H A 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,
118 .code = MEDIA_BUS_FMT_RGB888_2X12_BE,
127 .code = MEDIA_BUS_FMT_RGB888_2X12_LE,
136 .code = MEDIA_BUS_FMT_SBGGR8_1X8,
146 .code = MEDIA_BUS_FMT_SBGGR10_1X10,
156 .code = MEDIA_BUS_FMT_Y8_1X8,
166 .code = MEDIA_BUS_FMT_Y10_1X10,
176 .code = MEDIA_BUS_FMT_SBGGR10_2X8_PADHI_LE,
186 .code = MEDIA_BUS_FMT_SBGGR10_2X8_PADLO_LE,
196 .code = MEDIA_BUS_FMT_SBGGR10_2X8_PADHI_BE,
206 .code = MEDIA_BUS_FMT_SBGGR10_2X8_PADLO_BE,
216 .code = MEDIA_BUS_FMT_JPEG_1X8,
226 .code = MEDIA_BUS_FMT_RGB444_2X8_PADHI_BE,
236 .code = MEDIA_BUS_FMT_YUYV8_1_5X8,
246 .code = MEDIA_BUS_FMT_YVYU8_1_5X8,
256 .code = MEDIA_BUS_FMT_UYVY8_1X16,
266 .code = MEDIA_BUS_FMT_VYUY8_1X16,
276 .code = MEDIA_BUS_FMT_YUYV8_1X16,
286 .code = MEDIA_BUS_FMT_YVYU8_1X16,
296 .code = MEDIA_BUS_FMT_SGRBG8_1X8,
306 .code = MEDIA_BUS_FMT_SGRBG10_DPCM8_1X8,
316 .code = MEDIA_BUS_FMT_SGBRG10_1X10,
326 .code = MEDIA_BUS_FMT_SGRBG10_1X10,
336 .code = MEDIA_BUS_FMT_SRGGB10_1X10,
346 .code = MEDIA_BUS_FMT_SBGGR12_1X12,
356 .code = MEDIA_BUS_FMT_SGBRG12_1X12,
366 .code = MEDIA_BUS_FMT_SGRBG12_1X12,
376 .code = MEDIA_BUS_FMT_SRGGB12_1X12,
461 u32 code, soc_mbus_find_fmtdesc()
468 if (lookup[i].code == code) soc_mbus_find_fmtdesc()
476 u32 code) soc_mbus_get_fmtdesc()
478 return soc_mbus_find_fmtdesc(code, mbus_fmt, ARRAY_SIZE(mbus_fmt)); soc_mbus_get_fmtdesc()
460 soc_mbus_find_fmtdesc( u32 code, const struct soc_mbus_lookup *lookup, int n) soc_mbus_find_fmtdesc() argument
475 soc_mbus_get_fmtdesc( u32 code) soc_mbus_get_fmtdesc() argument
H A Dsoc_camera_platform.c48 mf->code = p->format.code; soc_camera_platform_fill_fmt()
68 struct v4l2_subdev_mbus_code_enum *code) soc_camera_platform_enum_mbus_code()
72 if (code->pad || code->index) soc_camera_platform_enum_mbus_code()
75 code->code = p->format.code; soc_camera_platform_enum_mbus_code()
66 soc_camera_platform_enum_mbus_code(struct v4l2_subdev *sd, struct v4l2_subdev_pad_config *cfg, struct v4l2_subdev_mbus_code_enum *code) soc_camera_platform_enum_mbus_code() argument
/linux-4.4.14/arch/ia64/kernel/
H A Dunwind_decoder.c29 * UNW_DEC_BAD_CODE(code)
85 unw_decode_x1 (unsigned char *dp, unsigned char code, void *arg) unw_decode_x1() argument
102 unw_decode_x2 (unsigned char *dp, unsigned char code, void *arg) unw_decode_x2() argument
120 unw_decode_x3 (unsigned char *dp, unsigned char code, void *arg) unw_decode_x3() argument
140 unw_decode_x4 (unsigned char *dp, unsigned char code, void *arg) unw_decode_x4() argument
161 unw_decode_r1 (unsigned char *dp, unsigned char code, void *arg) unw_decode_r1() argument
163 int body = (code & 0x20) != 0; unw_decode_r1()
166 rlen = (code & 0x1f); unw_decode_r1()
172 unw_decode_r2 (unsigned char *dp, unsigned char code, void *arg) unw_decode_r2() argument
179 mask = ((code & 0x7) << 1) | ((byte1 >> 7) & 1); unw_decode_r2()
187 unw_decode_r3 (unsigned char *dp, unsigned char code, void *arg) unw_decode_r3() argument
192 UNW_DEC_PROLOGUE(R3, ((code & 0x3) == 1), rlen, arg); unw_decode_r3()
197 unw_decode_p1 (unsigned char *dp, unsigned char code, void *arg) unw_decode_p1() argument
199 unsigned char brmask = (code & 0x1f); unw_decode_p1()
206 unw_decode_p2_p5 (unsigned char *dp, unsigned char code, void *arg) unw_decode_p2_p5() argument
208 if ((code & 0x10) == 0) unw_decode_p2_p5()
212 UNW_DEC_BR_GR(P2, ((code & 0xf) << 1) | ((byte1 >> 7) & 1), unw_decode_p2_p5()
215 else if ((code & 0x08) == 0) unw_decode_p2_p5()
219 r = ((code & 0x7) << 1) | ((byte1 >> 7) & 1); unw_decode_p2_p5()
238 else if ((code & 0x7) == 0) unw_decode_p2_p5()
240 else if ((code & 0x7) == 1) unw_decode_p2_p5()
250 UNW_DEC_BAD_CODE(code); unw_decode_p2_p5()
255 unw_decode_p6 (unsigned char *dp, unsigned char code, void *arg) unw_decode_p6() argument
257 int gregs = (code & 0x10) != 0; unw_decode_p6()
258 unsigned char mask = (code & 0x0f); unw_decode_p6()
268 unw_decode_p7_p10 (unsigned char *dp, unsigned char code, void *arg) unw_decode_p7_p10() argument
273 if ((code & 0x10) == 0) unw_decode_p7_p10()
275 r = (code & 0xf); unw_decode_p7_p10()
304 switch (code & 0xf) unw_decode_p7_p10()
347 return unw_decode_x1 (dp, code, arg); unw_decode_p7_p10()
350 return unw_decode_x2 (dp, code, arg); unw_decode_p7_p10()
353 return unw_decode_x3 (dp, code, arg); unw_decode_p7_p10()
356 return unw_decode_x4 (dp, code, arg); unw_decode_p7_p10()
359 UNW_DEC_BAD_CODE(code); unw_decode_p7_p10()
367 unw_decode_b1 (unsigned char *dp, unsigned char code, void *arg) unw_decode_b1() argument
369 unw_word label = (code & 0x1f); unw_decode_b1()
371 if ((code & 0x20) != 0) unw_decode_b1()
379 unw_decode_b2 (unsigned char *dp, unsigned char code, void *arg) unw_decode_b2() argument
384 UNW_DEC_EPILOGUE(B2, t, (code & 0x1f), arg); unw_decode_b2()
389 unw_decode_b3_x4 (unsigned char *dp, unsigned char code, void *arg) unw_decode_b3_x4() argument
393 if ((code & 0x10) == 0) unw_decode_b3_x4()
399 else if ((code & 0x07) == 0) unw_decode_b3_x4()
402 if ((code & 0x08) != 0) unw_decode_b3_x4()
408 switch (code & 0x7) unw_decode_b3_x4()
410 case 1: return unw_decode_x1 (dp, code, arg); unw_decode_b3_x4()
411 case 2: return unw_decode_x2 (dp, code, arg); unw_decode_b3_x4()
412 case 3: return unw_decode_x3 (dp, code, arg); unw_decode_b3_x4()
413 case 4: return unw_decode_x4 (dp, code, arg); unw_decode_b3_x4()
414 default: UNW_DEC_BAD_CODE(code); break; unw_decode_b3_x4()
453 unsigned char code; unw_decode() local
455 code = *dp++; unw_decode()
456 decoder = unw_decode_table[inside_body][code >> 5]; unw_decode()
457 dp = (*decoder) (dp, code, arg); unw_decode()
H A Dvmlinux.lds.S14 code PT_LOAD;
36 code : {
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
113 * Initialization code and data:
219 code : {
220 } :code
/linux-4.4.14/arch/sh/include/mach-kfr2r09/mach/
H A Dromimage.h3 /* kfr2r09 board specific boot code:
5 * the assembly code is the first code to be executed in the romImage
/linux-4.4.14/drivers/gpu/drm/vc4/
H A DMakefile5 # core driver code
/linux-4.4.14/drivers/crypto/caam/
H A Derror.h2 * CAAM Error Reporting code header
/linux-4.4.14/arch/x86/entry/
H A DMakefile2 # Makefile for the x86 low level entry code
/linux-4.4.14/arch/x86/include/asm/
H A Dsigcontext.h4 /* This is a legacy header - all kernel code includes <uapi/asm/sigcontext.h> directly. */
H A Dsuspend_64.h3 * Based on code
14 * RAM code and by the low level hibernation code.
H A Dproto.h22 long do_arch_prctl(struct task_struct *task, int code, unsigned long addr);
/linux-4.4.14/arch/mn10300/oprofile/
H A DMakefile2 # Makefile for the MN10300-specific profiling code
/linux-4.4.14/arch/arm/mach-shmobile/include/mach/
H A Dirqs.h4 /* Stuck here until drivers/pinctl/sh-pfc gets rid of legacy code */
/linux-4.4.14/tools/build/feature/
H A Dtest-libdw-dwarf-unwind.c8 * Passing '1' as arguments value. This code is never executed, main()
/linux-4.4.14/tools/testing/selftests/powerpc/stringloops/
H A DMakefile1 # The loops are all 64-bit code
/linux-4.4.14/arch/s390/kernel/
H A Ddiag.c22 int code; member in struct:diag_desc
27 [DIAG_STAT_X008] = { .code = 0x008, .name = "Console Function" },
28 [DIAG_STAT_X00C] = { .code = 0x00c, .name = "Pseudo Timer" },
29 [DIAG_STAT_X010] = { .code = 0x010, .name = "Release Pages" },
30 [DIAG_STAT_X014] = { .code = 0x014, .name = "Spool File Services" },
31 [DIAG_STAT_X044] = { .code = 0x044, .name = "Voluntary Timeslice End" },
32 [DIAG_STAT_X064] = { .code = 0x064, .name = "NSS Manipulation" },
33 [DIAG_STAT_X09C] = { .code = 0x09c, .name = "Relinquish Timeslice" },
34 [DIAG_STAT_X0DC] = { .code = 0x0dc, .name = "Appldata Control" },
35 [DIAG_STAT_X204] = { .code = 0x204, .name = "Logical-CPU Utilization" },
36 [DIAG_STAT_X210] = { .code = 0x210, .name = "Device Information" },
37 [DIAG_STAT_X224] = { .code = 0x224, .name = "EBCDIC-Name Table" },
38 [DIAG_STAT_X250] = { .code = 0x250, .name = "Block I/O" },
39 [DIAG_STAT_X258] = { .code = 0x258, .name = "Page-Reference Services" },
40 [DIAG_STAT_X288] = { .code = 0x288, .name = "Time Bomb" },
41 [DIAG_STAT_X2C4] = { .code = 0x2c4, .name = "FTP Services" },
42 [DIAG_STAT_X2FC] = { .code = 0x2fc, .name = "Guest Performance Data" },
43 [DIAG_STAT_X304] = { .code = 0x304, .name = "Partition-Resource Service" },
44 [DIAG_STAT_X308] = { .code = 0x308, .name = "List-Directed IPL" },
45 [DIAG_STAT_X500] = { .code = 0x500, .name = "Virtio Service" },
66 seq_printf(m, "diag %03x:", diag_map[n-1].code); for_each_online_cpu()
124 trace_s390_diagnose(diag_map[nr].code); diag_stat_inc()
131 trace_s390_diagnose_norecursion(diag_map[nr].code); diag_stat_inc_norecursion()
H A Djump_label.c36 insn->offset = (entry->target - entry->code) >> 1; jump_label_make_branch()
42 unsigned char *ipc = (unsigned char *)entry->code; jump_label_bug()
46 pr_emerg("Jump label code mismatch at %pS [%p]\n", ipc, ipc); jump_label_bug()
72 if (memcmp((void *)entry->code, &orignop, sizeof(orignop))) __jump_label_transform()
75 if (memcmp((void *)entry->code, &old, sizeof(old))) __jump_label_transform()
78 s390_kernel_write((void *)entry->code, &new, sizeof(new)); __jump_label_transform()
H A DMakefile6 # Don't trace early setup code and tracing code
12 # Passing null pointers is ok for smp code, since we access the lowcore here.
18 # since this might generate broken code when accessing register 15 and
H A Dirq.c198 u16 code; member in struct:ext_int_info
204 static inline int ext_hash(u16 code) ext_hash() argument
208 return (code + (code >> 9)) & (ARRAY_SIZE(ext_int_hash) - 1); ext_hash()
211 int register_external_irq(u16 code, ext_int_handler_t handler) register_external_irq() argument
220 p->code = code; register_external_irq()
222 index = ext_hash(code); register_external_irq()
231 int unregister_external_irq(u16 code, ext_int_handler_t handler) unregister_external_irq() argument
235 int index = ext_hash(code); unregister_external_irq()
239 if (p->code == code && p->handler == handler) { unregister_external_irq()
257 if (ext_code.code != EXT_IRQ_CLK_COMP) do_ext_interrupt()
260 index = ext_hash(ext_code.code); do_ext_interrupt()
263 if (unlikely(p->code != ext_code.code)) do_ext_interrupt()
/linux-4.4.14/tools/include/linux/
H A Dfilter.h35 .code = BPF_ALU64 | BPF_OP(OP) | BPF_X, \
43 .code = BPF_ALU | BPF_OP(OP) | BPF_X, \
53 .code = BPF_ALU64 | BPF_OP(OP) | BPF_K, \
61 .code = BPF_ALU | BPF_OP(OP) | BPF_K, \
71 .code = BPF_ALU | BPF_END | BPF_SRC(TYPE), \
81 .code = BPF_ALU64 | BPF_MOV | BPF_X, \
89 .code = BPF_ALU | BPF_MOV | BPF_X, \
99 .code = BPF_ALU64 | BPF_MOV | BPF_K, \
107 .code = BPF_ALU | BPF_MOV | BPF_K, \
117 .code = BPF_ALU64 | BPF_MOV | BPF_SRC(TYPE), \
125 .code = BPF_ALU | BPF_MOV | BPF_SRC(TYPE), \
135 .code = BPF_LD | BPF_SIZE(SIZE) | BPF_ABS, \
145 .code = BPF_LD | BPF_SIZE(SIZE) | BPF_IND, \
155 .code = BPF_LDX | BPF_SIZE(SIZE) | BPF_MEM, \
165 .code = BPF_STX | BPF_SIZE(SIZE) | BPF_MEM, \
175 .code = BPF_ST | BPF_SIZE(SIZE) | BPF_MEM, \
185 .code = BPF_JMP | BPF_OP(OP) | BPF_X, \
195 .code = BPF_JMP | BPF_OP(OP) | BPF_K, \
205 .code = BPF_JMP | BPF_CALL, \
211 /* Raw code statement block */
215 .code = CODE, \
225 .code = BPF_JMP | BPF_EXIT, \
/linux-4.4.14/sound/pci/asihpi/
H A Dhpidspcd.h21 Functions for reading DSP code to load into DSP
59 /** Expected number of words in the whole dsp code,INCL header */
64 /** internal state of DSP code reader */
71 \return 0 for success, or error code if requested code is not available
76 /** Pointer to DSP code control structure */
78 /** Pointer to dword to receive OS specific error code */
81 /** Close the DSP code file */
84 /** Rewind to the beginning of the DSP code file (for verify) */
87 /** Read one word from the dsp code file
88 \return 0 for success, or error code if eof, or block length exceeded
91 /**< DSP code descriptor */
95 /** Get a block of dsp code into an internal buffer, and provide a pointer to
96 that buffer. (If dsp code is already an array in memory, it is referenced,
103 /* Pointer to store (Pointer to code buffer) */
/linux-4.4.14/lib/zlib_inflate/
H A Dinffixed.h10 static const code lenfix[512] = {
87 static const code distfix[32] = {
H A Dinflate.h32 LENLENS, /* i: waiting for code length code lengths */
33 CODELENS, /* i: waiting for length/lit and distance code lengths */
34 LEN, /* i: waiting for length/lit code */
36 DIST, /* i: waiting for distance code */
94 /* for table and code decoding */
96 /* fixed and dynamic code tables */
97 code const *lencode; /* starting table for length/literal codes */
98 code const *distcode; /* starting table for distance codes */
102 unsigned ncode; /* number of code length code lengths */
103 unsigned nlen; /* number of length code lengths */
104 unsigned ndist; /* number of distance code lengths */
105 unsigned have; /* number of code lengths in lens[] */
106 code *next; /* next available space in codes[] */
107 unsigned short lens[320]; /* temporary storage for code lengths */
108 unsigned short work[288]; /* work area for code table building */
109 code codes[ENOUGH]; /* space for code tables */
H A Dinftrees.h15 information needed to do the operation requested by the code that
17 table that indexes more bits of the code. op indicates whether
19 distance, an end-of-block, or an invalid code. For a table
22 is the number of extra bits to get after the code. bits is
23 the number of bits in this code or part of the code to drop off
29 unsigned char bits; /* bits in this part of the code */
30 unsigned short val; /* offset in table or code value */
31 } code; typedef in typeref:struct:__anon14880
38 01000000 - invalid code
42 exhaustive search was 1444 code structures (852 for length/literals
49 /* Type of code to build for inftable() */
57 unsigned codes, code **table,
H A Dinftrees.c12 Build a set of tables to decode the provided canonical Huffman code.
13 The code lengths are lens[0..codes-1]. The result starts at *table,
15 lens shorts, which is used as a work area. type is the type of code
17 -1 is an invalid code, and +1 means that ENOUGH isn't enough. table
21 longest code or if it is less than the shortest code.
24 code **table, unsigned *bits, unsigned short *work) zlib_inflate_table()
26 unsigned len; /* a code's length in bits */ zlib_inflate_table()
27 unsigned sym; /* index of code symbols */ zlib_inflate_table()
28 unsigned min, max; /* minimum and maximum code lengths */ zlib_inflate_table()
31 unsigned drop; /* code bits to drop for sub-table */ zlib_inflate_table()
33 unsigned used; /* code entries in table used */ zlib_inflate_table()
34 unsigned huff; /* Huffman code */ zlib_inflate_table()
35 unsigned incr; /* for incrementing code, index */ zlib_inflate_table()
39 code this; /* table entry for duplication */ zlib_inflate_table()
40 code *next; /* next available space in table */ zlib_inflate_table()
62 Process a set of code lengths to create a canonical Huffman code. The zlib_inflate_table()
63 code lengths are lens[0..codes-1]. Each length corresponds to the zlib_inflate_table()
64 symbols 0..codes-1. The Huffman code is generated by first sorting the zlib_inflate_table()
66 for codes with equal lengths. Then the code starts with all zero bits zlib_inflate_table()
67 for the first code of the shortest length, and the codes are integer zlib_inflate_table()
76 1..MAXBITS is interpreted as that code length. zero means that that zlib_inflate_table()
77 symbol does not occur in this code. zlib_inflate_table()
98 /* bound code lengths, force root to be within code lengths */ zlib_inflate_table()
103 if (max == 0) { /* no symbols to code at all */ zlib_inflate_table()
104 this.op = (unsigned char)64; /* invalid code marker */ zlib_inflate_table()
137 filled is at next and has curr index bits. The code being used is huff zlib_inflate_table()
138 with length len. That code is converted to an index by dropping drop zlib_inflate_table()
150 code lengths to determine what size sub-table is needed. The length zlib_inflate_table()
157 the worst case distance code, MAXD. This should never happen, but the zlib_inflate_table()
164 in the rest of the decoding tables with invalid code markers. zlib_inflate_table()
167 /* set up for code type */ zlib_inflate_table()
187 huff = 0; /* starting code */ zlib_inflate_table()
188 sym = 0; /* starting code symbol */ zlib_inflate_table()
189 len = min; /* starting code length */ zlib_inflate_table()
192 drop = 0; /* current bits to drop from code for index */ zlib_inflate_table()
227 /* backwards increment the len-bit code huff */ zlib_inflate_table()
284 this.op = (unsigned char)64; /* invalid code marker */ zlib_inflate_table()
296 /* put invalid code marker in table */ zlib_inflate_table()
299 /* backwards increment the len-bit code huff */ zlib_inflate_table()
/linux-4.4.14/include/net/netfilter/
H A Dnft_reject.h17 int nft_reject_icmp_code(u8 code);
18 int nft_reject_icmpv6_code(u8 code);
/linux-4.4.14/arch/arm/include/asm/
H A Dexception.h5 * level exception entry code and not any intervening C code.
H A Dneon.h19 * using NEON code /and/ calling the kernel_neon_begin() function from the same
22 * only supported way of using NEON code in the kernel is by isolating it in a
31 BUILD_BUG_ON_MSG(1, "kernel_neon_begin() called from NEON code")
H A Dide.h8 * This file contains the ARM architecture specific IDE code.
H A Dunwind.h25 /* Unwind reason code according the the ARM EABI documents */
56 #define UNWIND(code...) code
58 #define UNWIND(code...)
/linux-4.4.14/arch/arm/mach-imx/
H A 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,
130 .code = BTN_FORWARD,
136 .code = BTN_BACK,
142 .code = BTN_MIDDLE,
148 .code = BTN_EXTRA,
/linux-4.4.14/drivers/gpu/drm/i915/
H A DMakefile7 # core driver code
20 # GEM code
53 # modesetting core code
71 # modesetting output/encoder code
93 # virtual gpu code
/linux-4.4.14/arch/x86/purgatory/
H A Dsetup-x86_64.S2 * purgatory: setup code
7 * This code has been taken from kexec-tools.
9 * This source code is licensed under the GNU General Public License,
33 /* Call the C code */
47 /* 0x10 4GB flat code segment */
H A Dstack.S6 * This source code is licensed under the GNU General Public License,
/linux-4.4.14/include/linux/
H A 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) icmpv6_send()
31 extern int icmpv6_err_convert(u8 type, u8 code,
35 u8 code, int pos);
23 icmpv6_send(struct sk_buff *skb, u8 type, u8 code, __u32 info) icmpv6_send() argument
H A Dthinkpad_acpi.h4 /* These two functions return 0 if success, or negative error code
H A Dtca6416_keypad.h20 int code; /* input event code (KEY_*, SW_*) */ member in struct:tca6416_button
H A Dfilter.h54 .code = BPF_ALU64 | BPF_OP(OP) | BPF_X, \
62 .code = BPF_ALU | BPF_OP(OP) | BPF_X, \
72 .code = BPF_ALU64 | BPF_OP(OP) | BPF_K, \
80 .code = BPF_ALU | BPF_OP(OP) | BPF_K, \
90 .code = BPF_ALU | BPF_END | BPF_SRC(TYPE), \
100 .code = BPF_ALU64 | BPF_MOV | BPF_X, \
108 .code = BPF_ALU | BPF_MOV | BPF_X, \
118 .code = BPF_ALU64 | BPF_MOV | BPF_K, \
126 .code = BPF_ALU | BPF_MOV | BPF_K, \
138 .code = BPF_LD | BPF_DW | BPF_IMM, \
144 .code = 0, /* zero is reserved opcode */ \
158 .code = BPF_ALU64 | BPF_MOV | BPF_SRC(TYPE), \
166 .code = BPF_ALU | BPF_MOV | BPF_SRC(TYPE), \
176 .code = BPF_LD | BPF_SIZE(SIZE) | BPF_ABS, \
186 .code = BPF_LD | BPF_SIZE(SIZE) | BPF_IND, \
196 .code = BPF_LDX | BPF_SIZE(SIZE) | BPF_MEM, \
206 .code = BPF_STX | BPF_SIZE(SIZE) | BPF_MEM, \
216 .code = BPF_STX | BPF_SIZE(SIZE) | BPF_XADD, \
226 .code = BPF_ST | BPF_SIZE(SIZE) | BPF_MEM, \
236 .code = BPF_JMP | BPF_OP(OP) | BPF_X, \
246 .code = BPF_JMP | BPF_OP(OP) | BPF_K, \
256 .code = BPF_JMP | BPF_CALL, \
262 /* Raw code statement block */
266 .code = CODE, \
276 .code = BPF_JMP | BPF_EXIT, \
484 print_hex_dump(KERN_ERR, "JIT code: ", DUMP_PREFIX_OFFSET, bpf_jit_dump()
502 switch (first->code) { bpf_needs_clear_a()
521 BUG_ON(ftest->code & BPF_ANC); bpf_anc_helper()
523 switch (ftest->code) { bpf_anc_helper()
549 return ftest->code; bpf_anc_helper()
H A Dnetfilter_ipv4.h2 * (C)1998 Rusty Russell -- This code is GPL.
H A Dtracehook.h10 * This file defines hook entry points called by core code where
21 * the interface that the kernel core and arch code uses to enable any
24 * code do not need to think about the implementation details of the
25 * tracing facilities. Likewise, maintainers of the tracing code do not
26 * need to understand all the calling core or arch code in detail, just
29 * If the calling core code changes so that locking is different, then
31 * core code changing should notify the maintainers of the tracing code
38 * core code won't have to be updated when tracing adds more features.
41 * can change so there is no make-work burden on the core code. The
42 * maintainer of core code changing should notify the maintainers of the
43 * tracing code that they need to work out the change.
91 * Returns zero normally, or nonzero if the calling arch code should abort
139 * Called by the arch code after a signal handler has been set up.
175 * inspected or adjusted. The caller in arch code has cleared
/linux-4.4.14/drivers/media/platform/vsp1/
H A Dvsp1_lif.c66 (format->code == 0 ? VI6_LIF_CTRL_CFMT : 0) | lif_s_stream()
78 struct v4l2_subdev_mbus_code_enum *code) lif_enum_mbus_code()
86 if (code->pad == LIF_PAD_SINK) { lif_enum_mbus_code()
87 if (code->index >= ARRAY_SIZE(codes)) lif_enum_mbus_code()
90 code->code = codes[code->index]; lif_enum_mbus_code()
97 if (code->index) lif_enum_mbus_code()
101 LIF_PAD_SINK, code->which); lif_enum_mbus_code()
102 code->code = format->code; lif_enum_mbus_code()
118 if (fse->index || fse->code != format->code) lif_enum_frame_size()
154 if (fmt->format.code != MEDIA_BUS_FMT_ARGB8888_1X32 && lif_set_format()
155 fmt->format.code != MEDIA_BUS_FMT_AYUV8_1X32) lif_set_format()
156 fmt->format.code = MEDIA_BUS_FMT_AYUV8_1X32; lif_set_format()
169 format->code = fmt->format.code; lif_set_format()
76 lif_enum_mbus_code(struct v4l2_subdev *subdev, struct v4l2_subdev_pad_config *cfg, struct v4l2_subdev_mbus_code_enum *code) lif_enum_mbus_code() argument
H A Dvsp1_lut.c86 struct v4l2_subdev_mbus_code_enum *code) lut_enum_mbus_code()
96 if (code->pad == LUT_PAD_SINK) { lut_enum_mbus_code()
97 if (code->index >= ARRAY_SIZE(codes)) lut_enum_mbus_code()
100 code->code = codes[code->index]; lut_enum_mbus_code()
105 if (code->index) lut_enum_mbus_code()
109 LUT_PAD_SINK, code->which); lut_enum_mbus_code()
110 code->code = format->code; lut_enum_mbus_code()
126 if (fse->index || fse->code != format->code) lut_enum_frame_size()
165 if (fmt->format.code != MEDIA_BUS_FMT_ARGB8888_1X32 && lut_set_format()
166 fmt->format.code != MEDIA_BUS_FMT_AHSV8888_1X32 && lut_set_format()
167 fmt->format.code != MEDIA_BUS_FMT_AYUV8_1X32) lut_set_format()
168 fmt->format.code = MEDIA_BUS_FMT_AYUV8_1X32; lut_set_format()
84 lut_enum_mbus_code(struct v4l2_subdev *subdev, struct v4l2_subdev_pad_config *cfg, struct v4l2_subdev_mbus_code_enum *code) lut_enum_mbus_code() argument
H A Dvsp1_hsit.c59 struct v4l2_subdev_mbus_code_enum *code) hsit_enum_mbus_code()
63 if (code->index > 0) hsit_enum_mbus_code()
66 if ((code->pad == HSIT_PAD_SINK && !hsit->inverse) | hsit_enum_mbus_code()
67 (code->pad == HSIT_PAD_SOURCE && hsit->inverse)) hsit_enum_mbus_code()
68 code->code = MEDIA_BUS_FMT_ARGB8888_1X32; hsit_enum_mbus_code()
70 code->code = MEDIA_BUS_FMT_AHSV8888_1X32; hsit_enum_mbus_code()
85 if (fse->index || fse->code != format->code) hsit_enum_frame_size()
129 /* The HST and HSI output format code and resolution can't be hsit_set_format()
136 format->code = hsit->inverse ? MEDIA_BUS_FMT_AHSV8888_1X32 hsit_set_format()
151 format->code = hsit->inverse ? MEDIA_BUS_FMT_ARGB8888_1X32 hsit_set_format()
57 hsit_enum_mbus_code(struct v4l2_subdev *subdev, struct v4l2_subdev_pad_config *cfg, struct v4l2_subdev_mbus_code_enum *code) hsit_enum_mbus_code() argument
H A Dvsp1_sru.c142 if (input->code == MEDIA_BUS_FMT_ARGB8888_1X32) sru_s_stream()
171 struct v4l2_subdev_mbus_code_enum *code) sru_enum_mbus_code()
180 if (code->pad == SRU_PAD_SINK) { sru_enum_mbus_code()
181 if (code->index >= ARRAY_SIZE(codes)) sru_enum_mbus_code()
184 code->code = codes[code->index]; sru_enum_mbus_code()
189 if (code->index) sru_enum_mbus_code()
193 SRU_PAD_SINK, code->which); sru_enum_mbus_code()
194 code->code = format->code; sru_enum_mbus_code()
210 if (fse->index || fse->code != format->code) sru_enum_frame_size()
256 if (fmt->code != MEDIA_BUS_FMT_ARGB8888_1X32 && sru_try_format()
257 fmt->code != MEDIA_BUS_FMT_AYUV8_1X32) sru_try_format()
258 fmt->code = MEDIA_BUS_FMT_AYUV8_1X32; sru_try_format()
268 fmt->code = format->code; sru_try_format()
169 sru_enum_mbus_code(struct v4l2_subdev *subdev, struct v4l2_subdev_pad_config *cfg, struct v4l2_subdev_mbus_code_enum *code) sru_enum_mbus_code() argument
H A Dvsp1_uds.c173 struct v4l2_subdev_mbus_code_enum *code) uds_enum_mbus_code()
181 if (code->pad == UDS_PAD_SINK) { uds_enum_mbus_code()
182 if (code->index >= ARRAY_SIZE(codes)) uds_enum_mbus_code()
185 code->code = codes[code->index]; uds_enum_mbus_code()
192 if (code->index) uds_enum_mbus_code()
196 UDS_PAD_SINK, code->which); uds_enum_mbus_code()
197 code->code = format->code; uds_enum_mbus_code()
213 if (fse->index || fse->code != format->code) uds_enum_frame_size()
253 if (fmt->code != MEDIA_BUS_FMT_ARGB8888_1X32 && uds_try_format()
254 fmt->code != MEDIA_BUS_FMT_AYUV8_1X32) uds_try_format()
255 fmt->code = MEDIA_BUS_FMT_AYUV8_1X32; uds_try_format()
265 fmt->code = format->code; uds_try_format()
171 uds_enum_mbus_code(struct v4l2_subdev *subdev, struct v4l2_subdev_pad_config *cfg, struct v4l2_subdev_mbus_code_enum *code) uds_enum_mbus_code() argument
H A Dvsp1_bru.c187 struct v4l2_subdev_mbus_code_enum *code) bru_enum_mbus_code()
196 if (code->pad == BRU_PAD_SINK(0)) { bru_enum_mbus_code()
197 if (code->index >= ARRAY_SIZE(codes)) bru_enum_mbus_code()
200 code->code = codes[code->index]; bru_enum_mbus_code()
202 if (code->index) bru_enum_mbus_code()
206 BRU_PAD_SINK(0), code->which); bru_enum_mbus_code()
207 code->code = format->code; bru_enum_mbus_code()
220 if (fse->code != MEDIA_BUS_FMT_ARGB8888_1X32 && bru_enum_frame_size()
221 fse->code != MEDIA_BUS_FMT_AYUV8_1X32) bru_enum_frame_size()
266 if (fmt->code != MEDIA_BUS_FMT_ARGB8888_1X32 && bru_try_format()
267 fmt->code != MEDIA_BUS_FMT_AYUV8_1X32) bru_try_format()
268 fmt->code = MEDIA_BUS_FMT_AYUV8_1X32; bru_try_format()
275 fmt->code = format->code; bru_try_format()
308 /* Propagate the format code to all pads */ bru_set_format()
315 format->code = fmt->format.code; bru_set_format()
185 bru_enum_mbus_code(struct v4l2_subdev *subdev, struct v4l2_subdev_pad_config *cfg, struct v4l2_subdev_mbus_code_enum *code) bru_enum_mbus_code() argument
H A Dvsp1_rwpf.c29 struct v4l2_subdev_mbus_code_enum *code) vsp1_rwpf_enum_mbus_code()
36 if (code->index >= ARRAY_SIZE(codes)) vsp1_rwpf_enum_mbus_code()
39 code->code = codes[code->index]; vsp1_rwpf_enum_mbus_code()
54 if (fse->index || fse->code != format->code) vsp1_rwpf_enum_frame_size()
107 if (fmt->format.code != MEDIA_BUS_FMT_ARGB8888_1X32 && vsp1_rwpf_set_format()
108 fmt->format.code != MEDIA_BUS_FMT_AYUV8_1X32) vsp1_rwpf_set_format()
109 fmt->format.code = MEDIA_BUS_FMT_AYUV8_1X32; vsp1_rwpf_set_format()
116 * format code can be changed on the source pad. vsp1_rwpf_set_format()
118 format->code = fmt->format.code; vsp1_rwpf_set_format()
123 format->code = fmt->format.code; vsp1_rwpf_set_format()
204 if (format->code == MEDIA_BUS_FMT_AYUV8_1X32) { vsp1_rwpf_set_selection()
27 vsp1_rwpf_enum_mbus_code(struct v4l2_subdev *subdev, struct v4l2_subdev_pad_config *cfg, struct v4l2_subdev_mbus_code_enum *code) vsp1_rwpf_enum_mbus_code() argument
/linux-4.4.14/samples/bpf/
H A Dlibbpf.h28 .code = BPF_ALU64 | BPF_OP(OP) | BPF_X, \
36 .code = BPF_ALU | BPF_OP(OP) | BPF_X, \
46 .code = BPF_ALU64 | BPF_OP(OP) | BPF_K, \
54 .code = BPF_ALU | BPF_OP(OP) | BPF_K, \
64 .code = BPF_ALU64 | BPF_MOV | BPF_X, \
72 .code = BPF_ALU | BPF_MOV | BPF_X, \
82 .code = BPF_ALU64 | BPF_MOV | BPF_K, \
94 .code = BPF_LD | BPF_DW | BPF_IMM, \
100 .code = 0, /* zero is reserved opcode */ \
119 .code = BPF_LD | BPF_SIZE(SIZE) | BPF_ABS, \
129 .code = BPF_LDX | BPF_SIZE(SIZE) | BPF_MEM, \
139 .code = BPF_STX | BPF_SIZE(SIZE) | BPF_MEM, \
149 .code = BPF_ST | BPF_SIZE(SIZE) | BPF_MEM, \
159 .code = BPF_JMP | BPF_OP(OP) | BPF_X, \
169 .code = BPF_JMP | BPF_OP(OP) | BPF_K, \
175 /* Raw code statement block */
179 .code = CODE, \
189 .code = BPF_JMP | BPF_EXIT, \
/linux-4.4.14/include/linux/input/
H A Dsparse-keymap.h24 * @code: Device-specific data identifying the button/switch
25 * @keycode: KEY_* code assigned to a key/button
26 * @sw.code: SW_* code assigned to a switch
37 u32 code; member in struct:key_entry
41 u8 code; member in struct:key_entry::__anon12436::__anon12437
48 unsigned int code);
50 unsigned int code);
59 bool sparse_keymap_report_event(struct input_dev *dev, unsigned int code,
/linux-4.4.14/arch/alpha/include/uapi/asm/
H A Dpal.h5 * Common PAL-code
21 * VMS specific PAL-code
27 * OSF specific PAL-code
/linux-4.4.14/arch/mips/include/asm/
H A Deva.h8 * EVA functions for generic code
21 * EVA early init code
26 * and it is normally called from assembly code.
H A Dide.h6 * This file contains the MIPS architecture specific IDE code.
H A Dseccomp.h8 * The generic seccomp code currently allows only a single compat ABI. Until
H A Dkexec.h5 * This source code is licensed under the GNU General Public License,
18 /* Maximum address we can use for the control code buffer */
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/
H A Dfweh.c76 * @code: event code.
84 enum brcmf_fweh_event_code code; member in struct:brcmf_fweh_queue_item
92 * struct brcmf_fweh_event_name - code, name mapping entry.
95 enum brcmf_fweh_event_code code; member in struct:brcmf_fweh_event_name
103 /* array for mapping code to event name */
110 * brcmf_fweh_event_name() - returns name for given event code.
112 * @code: code to lookup.
114 static const char *brcmf_fweh_event_name(enum brcmf_fweh_event_code code) brcmf_fweh_event_name() argument
118 if (fweh_event_names[i].code == code) brcmf_fweh_event_name()
124 static const char *brcmf_fweh_event_name(enum brcmf_fweh_event_code code) brcmf_fweh_event_name() argument
148 enum brcmf_fweh_event_code code, brcmf_fweh_call_event_handler()
159 if (fweh->evt_handler[code]) brcmf_fweh_call_event_handler()
160 err = fweh->evt_handler[code](ifp, emsg, data); brcmf_fweh_call_event_handler()
162 brcmf_err("unhandled event %d ignored\n", code); brcmf_fweh_call_event_handler()
274 brcmf_fweh_event_name(event->code), event->code, brcmf_fweh_event_worker()
282 emsg.event_code = event->code; brcmf_fweh_event_worker()
299 if (event->code == BRCMF_E_IF) { brcmf_fweh_event_worker()
304 if (event->code == BRCMF_E_TDLS_PEER_EVENT) brcmf_fweh_event_worker()
308 err = brcmf_fweh_call_event_handler(ifp, event->code, &emsg, brcmf_fweh_event_worker()
312 event->code); brcmf_fweh_event_worker()
369 * brcmf_fweh_register() - register handler for given event code.
372 * @code: event code.
373 * @handler: handler for the given event code.
375 int brcmf_fweh_register(struct brcmf_pub *drvr, enum brcmf_fweh_event_code code, brcmf_fweh_register() argument
378 if (drvr->fweh.evt_handler[code]) { brcmf_fweh_register()
379 brcmf_err("event code %d already registered\n", code); brcmf_fweh_register()
382 drvr->fweh.evt_handler[code] = handler; brcmf_fweh_register()
384 brcmf_fweh_event_name(code)); brcmf_fweh_register()
389 * brcmf_fweh_unregister() - remove handler for given code.
392 * @code: event code.
395 enum brcmf_fweh_event_code code) brcmf_fweh_unregister()
398 brcmf_fweh_event_name(code)); brcmf_fweh_unregister()
399 drvr->fweh.evt_handler[code] = NULL; brcmf_fweh_unregister()
444 enum brcmf_fweh_event_code code; brcmf_fweh_process_event() local
452 code = get_unaligned_be32(&event_packet->msg.event_type); brcmf_fweh_process_event()
456 if (code >= BRCMF_E_LAST) brcmf_fweh_process_event()
459 if (code != BRCMF_E_IF && !fweh->evt_handler[code]) brcmf_fweh_process_event()
469 event->code = code; brcmf_fweh_process_event()
147 brcmf_fweh_call_event_handler(struct brcmf_if *ifp, enum brcmf_fweh_event_code code, struct brcmf_event_msg *emsg, void *data) brcmf_fweh_call_event_handler() argument
394 brcmf_fweh_unregister(struct brcmf_pub *drvr, enum brcmf_fweh_event_code code) brcmf_fweh_unregister() argument
/linux-4.4.14/arch/blackfin/oprofile/
H A Dbfin_oprofile.c2 * bfin_oprofile.c - Blackfin oprofile code
/linux-4.4.14/fs/fscache/
H A DMakefile2 # Makefile for general filesystem caching code
/linux-4.4.14/include/asm-generic/bitops/
H A Dbuiltin-__ffs.h8 * Undefined if no bit exists, so code should check against 0 first.
H A Dffz.h8 * Undefined if no zero exists, so code should check against ~0UL first.
H A Dbuiltin-__fls.h8 * Undefined if no set bit exists, so code should check against 0 first.
/linux-4.4.14/arch/sh/boards/mach-x3proto/
H A 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,
174 .code = KEY_F6,
178 .code = KEY_F5,
182 .code = KEY_F4,
186 .code = KEY_F3,
190 .code = KEY_F2,
194 .code = KEY_F1,
/linux-4.4.14/arch/sparc/include/asm/
H A Dcacheflush.h4 /* flush addr - to allow use of self-modifying code */
H A Dstarfire.h2 * starfire.h: Group all starfire specific code together.
H A Dcache.h1 /* cache.h: Cache specific code for the Sparc. These include flushing
H A Dasmmacro.h11 * c-code can be called.
20 /* All traps low-level code here must end with this macro. */
/linux-4.4.14/arch/cris/include/asm/
H A Dptrace.h7 /* Arbitrarily choose the same ptrace numbers as used by the Sparc code. */
/linux-4.4.14/arch/arm/kernel/
H A Dsigreturn_codes.S2 * sigreturn_codes.S - code sinpets for sigreturn syscalls
27 * Please note sigreturn_codes code are not executed in place. Instead
29 * arch/arm/kernel/signal.c is very sensitive to layout of these code
39 #define ARM_OK(code...) code
41 #define ARM_OK(code...)
59 * lower arch variants, since these code snippets are only
73 /* ARM sigreturn syscall code snippet */
78 /* Thumb sigreturn syscall code snippet */
83 /* ARM sigreturn_rt syscall code snippet */
88 /* Thumb sigreturn_rt syscall code snippet */
H A Djump_label.c12 void *addr = (void *)entry->code; __arch_jump_label_transform()
16 insn = arm_gen_branch(entry->code, entry->target); __arch_jump_label_transform()
H A Dopcodes.c4 * A32 condition code lookup feature moved from nwfpe/fpopcode.c
17 * condition code lookup table
18 * index into the table is test code: EQ, NE, ... LT, GT, AL, NV
20 * bit position in short is condition code: NZCV
/linux-4.4.14/drivers/staging/skein/
H A Dskein_block.h5 ** Source code author: Doug Whiting, 2008.
7 ** This algorithm and source code is released to the public domain.
/linux-4.4.14/arch/um/include/shared/
H A Dkern.h10 * from kernel code and for which writing a wrapper is too much of a pain.
12 * only into kernel code, and user-space includes conflict with kernel
/linux-4.4.14/arch/sparc/kernel/
H A Djump_label.c17 u32 *insn = (u32 *) (unsigned long) entry->code; arch_jump_label_transform()
20 s32 off = (s32)entry->target - (s32)entry->code; arch_jump_label_transform()
/linux-4.4.14/arch/microblaze/kernel/
H A DMakefile6 # Do not trace early boot code and low level code
/linux-4.4.14/arch/h8300/lib/
H A Dmulsi3.S6 ; Old code:
11 ; New code:
/linux-4.4.14/arch/mips/kernel/
H A Dperf_event.c7 * This code is based on the implementation for ARM, which is in turn
8 * based on the sparc64 perf event code and the x86 code. Performance
9 * counter access is based on the MIPS Oprofile code. And the callchain
10 * support references the code of MIPS stacktrace.c.
21 /* Callchain handling code. */
/linux-4.4.14/arch/s390/include/asm/
H A Ddis.h38 static inline int insn_length(unsigned char code) insn_length() argument
40 return ((((int) code + 64) >> 7) + 1) << 1; 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) is_known_insn() argument
50 return !!find_insn(code); is_known_insn()
H A Dclp.h19 #define CLP_RC_CMD 0x0020 /* Command code not recognized */
26 #define CLP_RC_FC_UNKNOWN 0x0100 /* Function code not recognized */
/linux-4.4.14/net/sunrpc/auth_gss/
H A Dgss_krb5_seqnum.c48 s32 code; krb5_make_rc4_seq_num() local
65 code = krb5_rc4_setup_seq_key(kctx, cipher, cksum); krb5_make_rc4_seq_num()
66 if (code) krb5_make_rc4_seq_num()
69 code = krb5_encrypt(cipher, cksum, plain, buf, 8); krb5_make_rc4_seq_num()
72 return code; krb5_make_rc4_seq_num()
106 s32 code; krb5_get_rc4_seq_num() local
114 code = krb5_rc4_setup_seq_key(kctx, cipher, cksum); krb5_get_rc4_seq_num()
115 if (code) krb5_get_rc4_seq_num()
118 code = krb5_decrypt(cipher, cksum, buf, plain, 8); krb5_get_rc4_seq_num()
119 if (code) krb5_get_rc4_seq_num()
124 code = (s32)KG_BAD_SEQ; krb5_get_rc4_seq_num()
134 return code; krb5_get_rc4_seq_num()
143 s32 code; krb5_get_seq_num() local
153 if ((code = krb5_decrypt(key, cksum, buf, plain, 8))) krb5_get_seq_num()
154 return code; krb5_get_seq_num()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/
H A Dfalcon.c105 vfree(falcon->code.data); nvkm_falcon_fini()
106 falcon->code.data = NULL; nvkm_falcon_fini()
146 falcon->code.limit = (caps & 0x000001ff) << 8; nvkm_falcon_oneinit()
151 nvkm_debug(subdev, "code limit: %d\n", falcon->code.limit); nvkm_falcon_oneinit()
189 if (!falcon->code.data) { nvkm_falcon_init()
195 falcon->code.data = vmemdup(fw->data, fw->size); nvkm_falcon_init()
196 falcon->code.size = fw->size; nvkm_falcon_init()
205 /* next step is to try and load "static code/data segment" firmware nvkm_falcon_init()
208 if (!falcon->code.data) { nvkm_falcon_init()
229 nvkm_error(subdev, "unable to load firmware code\n"); nvkm_falcon_init()
233 falcon->code.data = vmemdup(fw->data, fw->size); nvkm_falcon_init()
234 falcon->code.size = fw->size; nvkm_falcon_init()
236 if (!falcon->code.data) nvkm_falcon_init()
241 "static code/data segments" : "self-bootstrapping"); nvkm_falcon_init()
246 falcon->code.size, 256, false, nvkm_falcon_init()
254 for (i = 0; i < falcon->code.size; i += 4) nvkm_falcon_init()
255 nvkm_wo32(falcon->core, i, falcon->code.data[i / 4]); nvkm_falcon_init()
259 /* upload firmware bootloader (or the full code segments) */ nvkm_falcon_init()
271 if (falcon->code.size > falcon->code.limit || nvkm_falcon_init()
279 for (i = 0; i < falcon->code.size / 4; i++) nvkm_falcon_init()
280 nvkm_wr32(device, base + 0xff4, falcon->code.data[i]); nvkm_falcon_init()
283 for (i = 0; i < falcon->code.size / 4; i++) { nvkm_falcon_init()
286 nvkm_wr32(device, base + 0x184, falcon->code.data[i]); nvkm_falcon_init()
345 falcon->code.data = func->code.data; nvkm_falcon_new_()
346 falcon->code.size = func->code.size; nvkm_falcon_new_()
/linux-4.4.14/arch/arm/probes/kprobes/
H A Dtest-core.h154 ".code "TEST_ISA" \n\t" \
193 ".code "NORMAL_ISA" \n\t" \
212 * TEST_SUPPORTED and TEST_UNSUPPORTED don't cause the code to be executed,
216 #define TEST(code) \
217 TESTCASE_START(code) \
219 TEST_INSTRUCTION(code) \
222 #define TEST_UNSUPPORTED(code) \
223 TESTCASE_START(code) \
225 TEST_INSTRUCTION(code) \
228 #define TEST_SUPPORTED(code) \
229 TESTCASE_START(code) \
231 TEST_INSTRUCTION(code) \
325 #define TEST_BF(code) \
326 TESTCASE_START(code) \
328 TEST_BRANCH_F(code) \
331 #define TEST_BB(code) \
332 TESTCASE_START(code) \
334 TEST_BRANCH_B(code) \
359 #define TEST_BF_X(code, codex) \
360 TESTCASE_START(code) \
362 TEST_BRANCH_FX(code, codex) \
365 #define TEST_BB_X(code, codex) \
366 TESTCASE_START(code) \
368 TEST_BRANCH_BX(code, codex) \
378 #define TEST_X(code, codex) \
379 TESTCASE_START(code) \
381 TEST_INSTRUCTION(code) \
425 * code and will spill the literal pool early enough to avoid generating PC
H A Dopt-arm.c197 kprobe_opcode_t *code; arch_prepare_optimized_kprobe() local
205 code = get_optinsn_slot(); arch_prepare_optimized_kprobe()
206 if (!code) arch_prepare_optimized_kprobe()
234 rel_chk = (unsigned long)((long)code - arch_prepare_optimized_kprobe()
239 * Different from x86, we free code buf directly instead of arch_prepare_optimized_kprobe()
243 free_optinsn_slot(code, 0); arch_prepare_optimized_kprobe()
248 memcpy(code, &optprobe_template_entry, arch_prepare_optimized_kprobe()
260 code[TMPL_SUB_SP] = __opcode_to_mem_arm(0xe24dd000 | stack_protect); arch_prepare_optimized_kprobe()
262 code[TMPL_ADD_SP] = __opcode_to_mem_arm(0xe28d3000 | stack_protect); arch_prepare_optimized_kprobe()
266 code[TMPL_VAL_IDX] = val; arch_prepare_optimized_kprobe()
270 code[TMPL_CALL_IDX] = val; arch_prepare_optimized_kprobe()
276 (unsigned long)(&code[TMPL_RESTORE_END]), arch_prepare_optimized_kprobe()
283 code[TMPL_RESTORE_BEGIN] = __opcode_to_mem_arm(0xe89d7fff); arch_prepare_optimized_kprobe()
286 code[TMPL_RESTORE_ORIGN_INSN] = __opcode_to_mem_arm(orig->opcode); arch_prepare_optimized_kprobe()
289 code[TMPL_RESTORE_END] = __opcode_to_mem_arm(final_branch); arch_prepare_optimized_kprobe()
294 flush_icache_range((unsigned long)code, arch_prepare_optimized_kprobe()
295 (unsigned long)(&code[TMPL_END_IDX])); arch_prepare_optimized_kprobe()
298 op->optinsn.insn = code; arch_prepare_optimized_kprobe()
/linux-4.4.14/net/netfilter/
H A Dnft_reject.c9 * Development of this code funded by Astaro AG (http://www.astaro.com/)
84 int nft_reject_icmp_code(u8 code) nft_reject_icmp_code() argument
86 BUG_ON(code > NFT_REJECT_ICMPX_MAX); nft_reject_icmp_code()
88 return icmp_code_v4[code]; nft_reject_icmp_code()
101 int nft_reject_icmpv6_code(u8 code) nft_reject_icmpv6_code() argument
103 BUG_ON(code > NFT_REJECT_ICMPX_MAX); nft_reject_icmpv6_code()
105 return icmp_code_v6[code]; nft_reject_icmpv6_code()
H A Dnf_tables_core.c8 * Development of this code funded by Astaro AG (http://www.astaro.com/)
73 regs->verdict.code = NFT_BREAK; nft_cmp_fast_eval()
129 regs.verdict.code = NFT_CONTINUE; nft_do_chain()
145 if (regs.verdict.code != NFT_CONTINUE) nft_rule_for_each_expr()
149 switch (regs.verdict.code) {
151 regs.verdict.code = NFT_CONTINUE;
160 switch (regs.verdict.code & NF_VERDICT_MASK) {
165 return regs.verdict.code;
168 switch (regs.verdict.code) {
/linux-4.4.14/drivers/iio/amplifiers/
H A Dad8366.c60 unsigned code; ad8366_read_raw() local
65 code = st->ch[chan->channel]; ad8366_read_raw()
68 code = code * 253 + 4500; ad8366_read_raw()
69 *val = code / 1000; ad8366_read_raw()
70 *val2 = (code % 1000) * 1000; ad8366_read_raw()
89 unsigned code; ad8366_write_raw() local
96 code = (((u8)val * 1000) + ((u32)val2 / 1000)); ad8366_write_raw()
98 if (code > 20500 || code < 4500) ad8366_write_raw()
101 code = (code - 4500) / 253; ad8366_write_raw()
106 st->ch[chan->channel] = code; ad8366_write_raw()
/linux-4.4.14/sound/core/seq/oss/
H A Dseq_oss_event.h33 unsigned char code; member in struct:evrec_short
41 unsigned char code; member in struct:evrec_note
49 unsigned char code; member in struct:evrec_timer
57 unsigned char code; member in struct:evrec_extended
66 unsigned char code; member in struct:evrec_long
76 unsigned char code; member in struct:evrec_voice
86 unsigned char code; member in struct:evrec_sysex
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.4.14/include/trace/events/
H A Dsignal.h16 __entry->code = SI_USER; \
19 __entry->code = SI_KERNEL; \
22 __entry->code = info->si_code; \
60 __field( int, code )
76 TP_printk("sig=%d errno=%d code=%d comm=%s pid=%d grp=%d res=%d",
77 __entry->sig, __entry->errno, __entry->code,
105 __field( int, code )
117 TP_printk("sig=%d errno=%d code=%d sa_handler=%lx sa_flags=%lx",
118 __entry->sig, __entry->errno, __entry->code,
/linux-4.4.14/arch/powerpc/kernel/
H A Dmachine_kexec_32.c2 * PPC32 code to handle Linux booting another kernel.
8 * This source code is licensed under the GNU General Public License,
27 * It merely copies the image relocation code to the control page and
53 /* copy our kernel relocation code to the control code page */ default_machine_kexec()
H A Djump_label.c12 #include <asm/code-patching.h>
18 u32 *addr = (u32 *)(unsigned long)entry->code; arch_jump_label_transform()
/linux-4.4.14/arch/sh/include/mach-ecovec24/mach/
H A Dromimage.h3 /* EcoVec board specific boot code:
5 * the assembly code is the first code to be executed in the romImage
/linux-4.4.14/arch/metag/kernel/
H A Dvmlinux.lds.S41 . = ALIGN(PAGE_SIZE); /* Init code and data */
66 * module cleanup code and data are put into these segments. Both
67 * can then be thrown away, as cleanup code is never called unless
/linux-4.4.14/arch/m32r/kernel/
H A Dirq.c14 * entry and irq statistics code. All the remaining irq logic is
15 * done by the generic kernel/irq/ code and in the
16 * m32r-specific irq controller code.
/linux-4.4.14/arch/x86/um/
H A Dsyscalls_64.c13 long arch_prctl(struct task_struct *task, int code, unsigned long __user *addr) arch_prctl() argument
32 switch (code) { arch_prctl()
52 ret = os_arch_prctl(pid, code, ptr); arch_prctl()
56 switch (code) { arch_prctl()
75 long sys_arch_prctl(int code, unsigned long addr) sys_arch_prctl() argument
77 return arch_prctl(current, code, (unsigned long __user *) addr); sys_arch_prctl()
/linux-4.4.14/arch/mn10300/unit-asb2364/
H A Dleds.c71 /* display triple horizontal bar and exception code */ peripheral_leds_display_exception()
72 void peripheral_leds_display_exception(enum exception_code code) peripheral_leds_display_exception() argument
76 leds = asb2364_led_hex_tbl[(code/0x100) % 0x10]; peripheral_leds_display_exception()
78 leds |= asb2364_led_hex_tbl[(code/0x10) % 0x10]; peripheral_leds_display_exception()
80 leds |= asb2364_led_hex_tbl[code % 0x10]; peripheral_leds_display_exception()
96 void peripheral_leds_display_exception(enum exception_code code) { } peripheral_leds_led_chase() argument
/linux-4.4.14/arch/arm/mach-s3c64xx/
H A 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,
H A Data-core.h15 /* These functions are only for use with the core support code, such as
16 * the cpu specific initialisation code
H A Donenand-core.h16 /* These functions are only for use with the core support code, such as
17 * the cpu specific initialisation code
/linux-4.4.14/drivers/input/
H A Dsparse-keymap.c60 * @code: Scan code
66 unsigned int code) sparse_keymap_entry_from_scancode()
71 if (code == key->code) sparse_keymap_entry_from_scancode()
81 * @keycode: Key code
127 ke->len = sizeof(key->code); sparse_keymap_getkeycode()
128 memcpy(ke->scancode, &key->code, sizeof(key->code)); sparse_keymap_getkeycode()
207 __set_bit(entry->sw.code, dev->swbit); sparse_keymap_setup()
278 input_event(dev, EV_MSC, MSC_SCAN, ke->code); sparse_keymap_report_entry()
292 input_report_switch(dev, ke->sw.code, value); sparse_keymap_report_entry()
301 * @code: Scan code
311 bool sparse_keymap_report_event(struct input_dev *dev, unsigned int code, sparse_keymap_report_event() argument
315 sparse_keymap_entry_from_scancode(dev, code); sparse_keymap_report_event()
325 unknown_ke.code = code; sparse_keymap_report_event()
65 sparse_keymap_entry_from_scancode(struct input_dev *dev, unsigned int code) sparse_keymap_entry_from_scancode() argument
/linux-4.4.14/drivers/gpu/drm/nouveau/include/nvkm/engine/
H A Dfalcon.h22 } code; member in struct:nvkm_falcon
38 } code; member in struct:nvkm_falcon_func
/linux-4.4.14/fs/ext2/
H A Dsymlink.c4 * Only fast symlinks left here - the rest is done by generic code. AV, 1999
17 * ext2 symlink handling code
/linux-4.4.14/fs/ufs/
H A Dsymlink.c4 * Only fast symlinks left here - the rest is done by generic code. AV, 1999
25 * ext2 symlink handling code
/linux-4.4.14/arch/powerpc/math-emu/
H A Dfcmpo.c15 int code[4] = { (1 << 3), (1 << 1), (1 << 2), (1 << 0) }; fcmpo() local
34 cmp = code[(cmp + 1) & 3]; fcmpo()
H A Dfcmpu.c15 int code[4] = { (1 << 3), (1 << 1), (1 << 2), (1 << 0) }; fcmpu() local
31 cmp = code[(cmp + 1) & 3]; fcmpu()
/linux-4.4.14/arch/sh/include/asm/
H A Dunwinder.h26 * Used by fault handling code to signal to the unwinder code that it
H A Dclock.h6 /* Should be defined by processor-specific code */
H A Dsuspend.h32 /* board code registration function for self-refresh assembly snippets */ sh_mobile_setup_cpuidle()
57 /* data area for low-level sleep code */
66 /* address of resume code */
69 /* register state saved and restored by the assembly code */
87 /* flags passed to assembly suspend code */
/linux-4.4.14/arch/parisc/math-emu/
H A DMakefile2 # Makefile for the linux/parisc floating point code
16 # Math emulation code beyond the FRND is required for 712/80i and
/linux-4.4.14/arch/arm/plat-samsung/include/plat/
H A Dadc-core.h16 /* These functions are only for use with the core support code, such as
17 * the cpu specific initialisation code
/linux-4.4.14/arch/arm/mach-s3c24xx/
H A Dfb-core.h15 * These functions are only for use with the core support code, such as
16 * the CPU-specific initialization code.
H A Dnand-core.h15 /* These functions are only for use with the core support code, such as
16 * the cpu specific initialisation code
H A Dspi-core.h12 /* These functions are only for use with the core support code, such as
13 * the cpu specific initialisation code
/linux-4.4.14/arch/arm/mach-s3c24xx/include/mach/
H A Drtc-core.h14 /* These functions are only for use with the core support code, such as
15 * the cpu specific initialisation code
/linux-4.4.14/net/ipv6/
H A Dip6_icmp.c33 void icmpv6_send(struct sk_buff *skb, u8 type, u8 code, __u32 info) icmpv6_send() argument
42 send(skb, type, code, info); icmpv6_send()
/linux-4.4.14/drivers/media/platform/xilinx/
H A Dxilinx-vip.c49 * xvip_get_format_by_code - Retrieve format information for a media bus code
50 * @code: the format media bus code
53 * given V4L2 media bus format @code, or ERR_PTR if no corresponding format can
56 const struct xvip_video_format *xvip_get_format_by_code(unsigned int code) xvip_get_format_by_code() argument
63 if (format->code == code) xvip_get_format_by_code()
238 * xvip_enum_mbus_code - Enumerate the media format code
241 * @code: returning media bus code
243 * Enumerate the media bus code of the subdevice. Return the corresponding
244 * pad format code. This function only works for subdevices with fixed format
248 * Return: 0 if the media bus code is found, or -EINVAL if the format index
253 struct v4l2_subdev_mbus_code_enum *code) xvip_enum_mbus_code()
260 if (code->which == V4L2_SUBDEV_FORMAT_ACTIVE) xvip_enum_mbus_code()
263 if (code->index) xvip_enum_mbus_code()
266 format = v4l2_subdev_get_try_format(subdev, cfg, code->pad); xvip_enum_mbus_code()
268 code->code = format->code; xvip_enum_mbus_code()
287 * if the index or the code is not valid.
303 if (fse->index || fse->code != format->code) xvip_enum_frame_size()
251 xvip_enum_mbus_code(struct v4l2_subdev *subdev, struct v4l2_subdev_pad_config *cfg, struct v4l2_subdev_mbus_code_enum *code) xvip_enum_mbus_code() argument
/linux-4.4.14/arch/sh/kernel/
H A Dftrace.c12 * the dangers of modifying code on the run.
45 * past the _mcount call and continue executing code like normal.
66 * Modifying code must take extra care. On an SMP machine, if
67 * the code being modified is also being executed on another CPU
69 * We use kstop_machine to stop other CPUS from exectuing code.
72 * the code to take care of this.
74 * Two buffers are added: An IP buffer and a "code" buffer.
77 * and the new code into the "code" buffer.
79 * we are modifying code, it is done in an atomic operation.
80 * 3) Write the code
86 * and if it is, it will write what is in the IP and "code" buffers.
89 * content to the code location. Also, if a CPU is executing code
90 * it is OK to write to that code location if the contents being written
130 * (and the code itself) ftrace_mod_code()
195 /* Make sure all running NMIs have finished before we write the code */ do_ftrace_mod_code()
215 * Note: Due to modules and __init, code can ftrace_modify_code()
217 * as well as code changing. We do this by using the ftrace_modify_code()
220 * No real locking needed, this code is run through ftrace_modify_code()
288 unsigned char code[MCOUNT_INSN_SIZE]; ftrace_mod() local
290 if (probe_kernel_read(code, (void *)ip, MCOUNT_INSN_SIZE)) ftrace_mod()
293 if (old_addr != __raw_readl((unsigned long *)code)) ftrace_mod()
/linux-4.4.14/drivers/scsi/
H A Dscript_asm.pl192 @code = (); # Array of 32 bit words for SIOP
211 # &patch ($address, $offset, $length, $value) patches $code[$address]
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);
239 # Side effects are that the bytes are combined into the @code array
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;
475 $code[$address] = 0x18_00_00_00 | (($with_when =~ /WITH/i) ?
485 $code[$address] = (($with_when =~ /WITH/i) ? 0x00_00_00_00 :
493 $code[$address] = 0xc0_00_00_00;
503 $code[$address], $code[$address+1], $code[$address +2] if
519 $code[$address] = 0x40_00_00_00;
578 $code[$address] |= 0x01_00_00_00;
599 $code[$address] |= 0x38_00_00_00 |
602 $code[$address] |= 0x30_00_00_00 |
605 $code[$address] |= 0x28_00_00_00 |
615 $code[$address] |= $operators{$op};
618 $code[$address] |= $operators{$op};
619 $code[$address + 1] = 0x00_00_00_00;# Reserved
637 $code[$address] = 0x40_00_00_00 |
639 $code[$address + 1] = 0x00_00_00_00;
647 $code[$address] = 0x42_00_00_00 |
649 $code[$address + 1] = 0x00_00_00_00;
666 $code[$address] = 0x48_00_00_00;
667 $code[$address + 1] = 0x00_00_00_00;
671 $code[$address] = 0x50_00_00_00;
687 $code[$address] = ($set =~ /SET/i) ? 0x58_00_00_00 :
691 $code[$address] |= 0x00_00_00_08;
693 $code[$address] |= 0x00_00_00_40;
695 $code[$address] |= 0x00_00_02_00;
697 $code[$address] |= 0x00_00_04_00;
706 $code[$address + 1] = 0x00_00_00_00;
712 $code[$address] = 0x80_00_00_00;
714 $code[$address] = 0x88_00_00_00;
716 $code[$address] = 0x98_00_00_00;
725 $code[$address] |= 0x00_80_00_00;
742 $code[$address] |= (1 << 19);
755 $code[$address] = ($instruction =~ /RETURN/i) ? 0x90_00_00_00 :
766 $code[$address] |= 0x00_08_00_00;
769 $code[$address + 1] = 0x00_00_00_00;
772 $code[$address] = 0x48_00_00_00;
773 $code[$address + 1] = 0x00_00_00_00;
778 $code[$address] = 0x80_88_00_00;
779 $code[$address + 1] = 0x00_00_00_00;
843 $add = $code[$address / 4];
845 $code[$address / 4] = $symbol;
848 $code[$address / 4] = "$symbol + $add";
869 $code[$address / 4] += $symbol_values{$label};
886 $code[$address / 4] = $tmp & 0x00_ff_ff_ff;
893 # print the original code too.
902 for ($i = 0; $i < $#code; ) {
906 printf OUTPUT "\t0x%08x,", $code[$i];
907 printf STDERR "Address $i = %x\n", $code[$i] if ($debug);
908 if ($code[$i + 1] =~ /\s*($identifier)(.*)$/) {
912 printf OUTPUT "0x%08x,",$code[$i+1];
915 if (($code[$i] & 0xff_00_00_00) == 0xc0_00_00_00) {
916 if ($code[$i + 2] =~ /$identifier/) {
917 push (@external_patches, $i+2, $code[$i+2]);
920 printf OUTPUT "0x%08x,\n",$code[$i+2];
959 # the code.
H A Deata_pio.h17 * Here you can switch parts of the code on and of *
27 #define DEBUG_EATA 1 /* Enable debug code. */
/linux-4.4.14/drivers/isdn/sc/
H A Dmessage.c61 "cnt:%d (type,class,code):(%d,%d,%d) " receivemessage()
71 rspmsg->code, receivemessage()
87 unsigned int code, sendmessage()
121 sndmsg.code = code; sendmessage()
153 "cnt:%d (type,class,code):(%d,%d,%d) " sendmessage()
162 sndmsg.code, sendmessage()
172 unsigned char code, send_and_receive()
188 retval = sendmessage(card, procid, type, class, code, link, send_and_receive()
210 (sc_adapter[card]->async_msg.code == code) && send_and_receive()
83 sendmessage(int card, unsigned int procid, unsigned int type, unsigned int class, unsigned int code, unsigned int link, unsigned int data_len, unsigned int *data) sendmessage() argument
168 send_and_receive(int card, unsigned int procid, unsigned char type, unsigned char class, unsigned char code, unsigned char link, unsigned char data_len, unsigned char *data, RspMessage *mesgdata, int timeout) send_and_receive() argument
/linux-4.4.14/drivers/staging/rdma/ehca/
H A DMakefile9 # This source code is distributed under a dual license of GPL v2.0 and OpenIB BSD.
/linux-4.4.14/drivers/media/usb/go7007/
H A Dgo7007-fw.c15 * This file contains code to generate a firmware image for the GO7007SB
36 /* Constants used in the source firmware image to describe code segments */
373 static int gen_mjpeghdr_to_package(struct go7007 *go, __le16 *code, int space) gen_mjpeghdr_to_package() argument
398 code[off + 1] = __cpu_to_le16(0x8000 | mem); gen_mjpeghdr_to_package()
407 code[off] = __cpu_to_le16(0x4000 | chunk); gen_mjpeghdr_to_package()
408 code[off + 31] = __cpu_to_le16(addr++); gen_mjpeghdr_to_package()
411 code[off] = __cpu_to_le16(0x1000 | 28); gen_mjpeghdr_to_package()
412 code[off + 31] = 0; gen_mjpeghdr_to_package()
416 memcpy(&code[off + 2], buf + i, chunk * 2); gen_mjpeghdr_to_package()
640 __le16 *code, int space, int *framelen) gen_mpeg1hdr_to_package()
687 code[off + 1] = __cpu_to_le16(0x8000 | mem); gen_mpeg1hdr_to_package()
696 code[off] = __cpu_to_le16(0x4000 | chunk); gen_mpeg1hdr_to_package()
697 code[off + 31] = __cpu_to_le16(addr); gen_mpeg1hdr_to_package()
703 code[off] = __cpu_to_le16(0x1000 | 28); gen_mpeg1hdr_to_package()
704 code[off + 31] = 0; gen_mpeg1hdr_to_package()
708 memcpy(&code[off + 2], buf + i, chunk * 2); gen_mpeg1hdr_to_package()
826 __le16 *code, int space, int *framelen) gen_mpeg4hdr_to_package()
855 code[off + 1] = __cpu_to_le16(0x8000 | mem); gen_mpeg4hdr_to_package()
864 code[off] = __cpu_to_le16(0x4000 | chunk); gen_mpeg4hdr_to_package()
865 code[off + 31] = __cpu_to_le16(addr); gen_mpeg4hdr_to_package()
871 code[off] = __cpu_to_le16(0x1000 | 28); gen_mpeg4hdr_to_package()
872 code[off + 31] = 0; gen_mpeg4hdr_to_package()
876 memcpy(&code[off + 2], buf + i, chunk * 2); gen_mpeg4hdr_to_package()
898 code[off + 1] = __cpu_to_le16(0x8000 | mem); gen_mpeg4hdr_to_package()
907 code[off] = __cpu_to_le16(0x4000 | chunk); gen_mpeg4hdr_to_package()
908 code[off + 31] = __cpu_to_le16(addr); gen_mpeg4hdr_to_package()
914 code[off] = __cpu_to_le16(0x1000 | 28); gen_mpeg4hdr_to_package()
915 code[off + 31] = 0; gen_mpeg4hdr_to_package()
919 memcpy(&code[off + 2], buf + i, chunk * 2); gen_mpeg4hdr_to_package()
928 __le16 *code, int space, int *framelen) brctrl_to_package()
1081 return copy_packages(code, pack, 6, space); brctrl_to_package()
1084 static int config_package(struct go7007 *go, __le16 *code, int space) config_package() argument
1203 return copy_packages(code, pack, 5, space); config_package()
1206 static int seqhead_to_package(struct go7007 *go, __le16 *code, int space, seqhead_to_package() argument
1270 return copy_packages(code, pack, 3, space); seqhead_to_package()
1285 static int avsync_to_package(struct go7007 *go, __le16 *code, int space) avsync_to_package() argument
1313 return copy_packages(code, pack, 1, space); avsync_to_package()
1316 static int final_package(struct go7007 *go, __le16 *code, int space) final_package() argument
1376 return copy_packages(code, pack, 1, space); final_package()
1379 static int audio_to_package(struct go7007 *go, __le16 *code, int space) audio_to_package() argument
1426 return copy_packages(code, pack, 2, space); audio_to_package()
1429 static int modet_to_package(struct go7007 *go, __le16 *code, int space) modet_to_package() argument
1456 ret = copy_packages(code, thresholds, 1, space); modet_to_package()
1473 ret = copy_packages(code + cnt, pack, 1, space - cnt); modet_to_package()
1491 ret = copy_packages(code + cnt, pack, 1, space - cnt); modet_to_package()
1502 static int do_special(struct go7007 *go, u16 type, __le16 *code, int space, do_special() argument
1509 return gen_mjpeghdr_to_package(go, code, space); do_special()
1512 return gen_mpeg1hdr_to_package(go, code, space, do_special()
1515 return gen_mpeg4hdr_to_package(go, code, space, do_special()
1519 return brctrl_to_package(go, code, space, framelen); do_special()
1521 return config_package(go, code, space); do_special()
1526 return seqhead_to_package(go, code, space, do_special()
1529 return seqhead_to_package(go, code, space, do_special()
1535 return avsync_to_package(go, code, space); do_special()
1537 return final_package(go, code, space); do_special()
1539 return audio_to_package(go, code, space); do_special()
1541 return modet_to_package(go, code, space); do_special()
1551 __le16 *code, *src; go7007_construct_fw_image() local
1579 code = kzalloc(codespace * 2, GFP_KERNEL); go7007_construct_fw_image()
1580 if (code == NULL) go7007_construct_fw_image()
1597 &code[i], codespace - i, framelen); go7007_construct_fw_image()
1610 memcpy(&code[i], &src[2], chunk_len * 2); go7007_construct_fw_image()
1618 *fw = (u8 *)code; go7007_construct_fw_image()
1623 kfree(code); go7007_construct_fw_image()
639 gen_mpeg1hdr_to_package(struct go7007 *go, __le16 *code, int space, int *framelen) gen_mpeg1hdr_to_package() argument
825 gen_mpeg4hdr_to_package(struct go7007 *go, __le16 *code, int space, int *framelen) gen_mpeg4hdr_to_package() argument
927 brctrl_to_package(struct go7007 *go, __le16 *code, int space, int *framelen) brctrl_to_package() argument
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/
H A Dpriv.h16 } code; member in struct:nvkm_pmu_func
/linux-4.4.14/arch/xtensa/include/asm/
H A Dmodule.h4 * This file contains the module code specific to the Xtensa architecture.
/linux-4.4.14/arch/cris/arch-v32/lib/
H A Dstrcmp.S5 ; This source code is licensed under the GNU General Public License,
/linux-4.4.14/net/sctp/
H A DMakefile2 # Makefile for SCTP support code.
/linux-4.4.14/security/keys/encrypted-keys/
H A Decryptfs_format.c30 * Source code taken from the software 'ecryptfs-utils' version 83.
46 * The source code is inspired to the original function generate_payload()
66 * initialization from the original code ecryptfs_fill_auth_tok()
71 /* The kernel code will encrypt the session key. */ ecryptfs_fill_auth_tok()
/linux-4.4.14/include/net/
H A Drawv6.h7 u8 type, u8 code, int inner_offset, __be32);
/linux-4.4.14/include/asm-generic/
H A Ddma.h8 * Some code relies on seeing MAX_DMA_ADDRESS though.
/linux-4.4.14/include/linux/platform_data/
H A Dpinctrl-single.h7 * to the legacy PRM code.
/linux-4.4.14/arch/powerpc/include/asm/
H A Dide.h4 * This file contains the powerpc architecture specific IDE code.
/linux-4.4.14/arch/mips/include/asm/mach-malta/
H A Dmach-gt64120.h6 * defines won't be confusing in the source code.
/linux-4.4.14/arch/mips/include/asm/mach-sead3/
H A Dkernel-entry-init.h16 * Do SMP slave processor setup necessary before we can safely execute C code.
/linux-4.4.14/arch/m68k/include/asm/
H A Dhwtest.h6 * the code is tiny anyway. 16/5/98 pb
/linux-4.4.14/arch/microblaze/oprofile/
H A Dmicroblaze_oprofile.c2 * Microblaze oprofile code
/linux-4.4.14/arch/nios2/include/asm/
H A Dtraps.h16 void _exception(int signo, struct pt_regs *regs, int code, unsigned long addr);
/linux-4.4.14/arch/cris/include/uapi/asm/
H A Drs485.h4 * XXX: Do not use it for new code!
/linux-4.4.14/arch/h8300/include/asm/
H A Dstring.h4 #ifdef __KERNEL__ /* only set these up for kernel code */
/linux-4.4.14/arch/avr32/boards/atstk1000/
H A Datstk1000.h2 * ATSTK1000 setup code: Daughterboard interface
/linux-4.4.14/arch/avr32/kernel/
H A Dhead.S2 * Non-board-specific low-level startup code
/linux-4.4.14/arch/arm/mach-omap2/
H A Did.h2 * OMAP2 CPU identification code
/linux-4.4.14/arch/arm/mach-shmobile/
H A Dcpufreq.c2 * CPUFreq support code for SH-Mobile ARM
H A Dplatsmp-scu.c42 /* install boot code shared by all CPUs */ shmobile_smp_scu_prepare_cpus()
66 /* jump to shared mach-shmobile sleep / reset code */ shmobile_smp_scu_cpu_die()
85 * here we need wait for shutdown code in platform_cpu_die() to shmobile_smp_scu_cpu_kill()
86 * finish before asking SoC-specific code to power off the CPU core. shmobile_smp_scu_cpu_kill()
/linux-4.4.14/arch/arm/lib/
H A Dxor-neon.c29 * While older versions of GCC do not generate incorrect code, they fail to
30 * recognize the parallel nature of these functions, and emit plain ARM code,
31 * which is known to be slower than the optimized ARM code in asm-arm/xor.h.
33 #warning This code requires at least version 4.6 of GCC
H A Dio-readsw-armv4.S85 #define _BE_ONLY_(code...) code
86 #define _LE_ONLY_(code...)
90 #define _BE_ONLY_(code...)
91 #define _LE_ONLY_(code...) code
/linux-4.4.14/tools/testing/selftests/powerpc/copyloops/
H A DMakefile1 # The loops are all 64-bit code
/linux-4.4.14/tools/testing/selftests/powerpc/pmu/ebb/
H A DMakefile4 # The EBB handler is 64-bit code and everything links against it
/linux-4.4.14/arch/arm/nwfpe/
H A Dfpa11.c99 unsigned int code; EmulateAll() local
104 code = opcode & 0x00000f00; EmulateAll()
105 if (code == 0x00000100 || code == 0x00000200) { EmulateAll()
107 code = opcode & 0x0e000000; EmulateAll()
108 if (code == 0x0e000000) { EmulateAll()
119 } else if (code == 0x0c000000) { EmulateAll()
/linux-4.4.14/arch/arm64/include/asm/
H A Dalternative.h90 * Begin an alternative code sequence.
92 * The code that follows this macro will be assembled and linked as
93 * normal. There are no restrictions on this code.
105 * Provide the alternative code sequence.
107 * The code that follows this macro is assembled into a special
111 * 1. Be exactly the same length (in bytes) as the default code
126 * Complete an alternative code sequence.
H A Dassembler.h20 #error "Only include this from assembly code"
118 * Select code when configured for BE.
121 #define CPU_BE(code...) code
123 #define CPU_BE(code...)
127 * Select code when configured for LE.
130 #define CPU_LE(code...)
132 #define CPU_LE(code...) code
/linux-4.4.14/drivers/video/fbdev/nvidia/
H A Dnv_dma.h6 |* NOTICE TO USER: The source code is copyrighted under U.S. and *|
7 |* international laws. Users and possessors of this source code are *|
9 |* use this code in individual and commercial software. *|
11 |* Any use of this source code must include, in the user documenta- *|
12 |* tion and internal comments to the code, notices to the end user *|
29 |* U.S. Government End Users. This source code is a "commercial *|
36 |* all U.S. Government End Users acquire the source code with only *|
43 * XFree86 'nv' driver, this source code is provided under MIT-style licensing
44 * where the source code is provided "as is" without warranty of any kind.
46 * whenever code is used.
H A Dnv_local.h5 |* NOTICE TO USER: The source code is copyrighted under U.S. and *|
6 |* international laws. Users and possessors of this source code are *|
8 |* use this code in individual and commercial software. *|
10 |* Any use of this source code must include, in the user documenta- *|
11 |* tion and internal comments to the code, notices to the end user *|
28 |* U.S. Government End Users. This source code is a "commercial *|
35 |* all U.S. Government End Users acquire the source code with only *|
42 * XFree86 'nv' driver, this source code is provided under MIT-style licensing
43 * where the source code is provided "as is" without warranty of any kind.
45 * whenever code is used.
/linux-4.4.14/arch/arm/mach-lpc32xx/
H A Dpm.c45 * Because of this, the code to switch power modes and the code to enter
50 * Backup a small area of IRAM used for the suspend code
51 * Copy suspend code to IRAM
52 * Transfer control to code in IRAM
63 * IRAM code are used for suspend is restored
98 /* Backup a small area of IRAM used for the suspend code */ lpc32xx_pm_enter()
103 * Copy code to suspend system into IRAM. The suspend code lpc32xx_pm_enter()
112 /* Transfer to suspend code in IRAM */ lpc32xx_pm_enter()
/linux-4.4.14/drivers/media/i2c/soc_camera/
H A Dimx074.c74 u32 code; member in struct:imx074_datafmt
93 /* Find a data format by a pixel code in an array */ imx074_find_datafmt()
94 static const struct imx074_datafmt *imx074_find_datafmt(u32 code) imx074_find_datafmt() argument
99 if (imx074_colour_fmts[i].code == code) imx074_find_datafmt()
161 const struct imx074_datafmt *fmt = imx074_find_datafmt(mf->code); imx074_set_fmt()
168 dev_dbg(sd->v4l2_dev->dev, "%s(%u)\n", __func__, mf->code); imx074_set_fmt()
174 mf->code = imx074_colour_fmts[0].code; imx074_set_fmt()
183 priv->fmt = imx074_find_datafmt(mf->code); imx074_set_fmt()
203 mf->code = fmt->code; imx074_get_fmt()
241 struct v4l2_subdev_mbus_code_enum *code) imx074_enum_mbus_code()
243 if (code->pad || imx074_enum_mbus_code()
244 (unsigned int)code->index >= ARRAY_SIZE(imx074_colour_fmts)) imx074_enum_mbus_code()
247 code->code = imx074_colour_fmts[code->index].code; imx074_enum_mbus_code()
239 imx074_enum_mbus_code(struct v4l2_subdev *sd, struct v4l2_subdev_pad_config *cfg, struct v4l2_subdev_mbus_code_enum *code) imx074_enum_mbus_code() argument
/linux-4.4.14/drivers/staging/media/omap4iss/
H A Diss_resizer.c159 if ((informat->code == MEDIA_BUS_FMT_UYVY8_1X16) && resizer_set_outaddr()
160 (outformat->code == MEDIA_BUS_FMT_YUYV8_1_5X8)) { resizer_set_outaddr()
245 if ((informat->code == MEDIA_BUS_FMT_UYVY8_1X16) && resizer_configure()
246 (outformat->code == MEDIA_BUS_FMT_YUYV8_1_5X8)) { resizer_configure()
453 if (fmt->code == resizer_fmts[i]) resizer_try_format()
459 fmt->code = MEDIA_BUS_FMT_UYVY8_1X16; resizer_try_format()
467 pixelcode = fmt->code; resizer_try_format()
473 (fmt->code == MEDIA_BUS_FMT_UYVY8_1X16)) resizer_try_format()
474 fmt->code = pixelcode; resizer_try_format()
495 * @code : pointer to v4l2_subdev_mbus_code_enum structure
500 struct v4l2_subdev_mbus_code_enum *code) resizer_enum_mbus_code()
505 switch (code->pad) { resizer_enum_mbus_code()
507 if (code->index >= ARRAY_SIZE(resizer_fmts)) resizer_enum_mbus_code()
510 code->code = resizer_fmts[code->index]; resizer_enum_mbus_code()
515 code->which); resizer_enum_mbus_code()
517 if (code->index == 0) { resizer_enum_mbus_code()
518 code->code = format->code; resizer_enum_mbus_code()
522 switch (format->code) { resizer_enum_mbus_code()
524 if (code->index == 1) resizer_enum_mbus_code()
525 code->code = MEDIA_BUS_FMT_YUYV8_1_5X8; resizer_enum_mbus_code()
530 if (code->index != 0) resizer_enum_mbus_code()
553 format.code = fse->code; resizer_enum_frame_size()
560 if (format.code != fse->code) resizer_enum_frame_size()
563 format.code = fse->code; resizer_enum_frame_size()
643 if (source_fmt->format.code != sink_fmt->format.code) resizer_link_validate()
666 format.format.code = MEDIA_BUS_FMT_UYVY8_1X16; resizer_init_formats()
766 * Return 0 on success and a negative error code on failure.
853 * Return 0 on success or a negative error code otherwise.
498 resizer_enum_mbus_code(struct v4l2_subdev *sd, struct v4l2_subdev_pad_config *cfg, struct v4l2_subdev_mbus_code_enum *code) resizer_enum_mbus_code() argument
H A Diss_ipipe.c214 if (fmt->code == ipipe_fmts[i]) ipipe_try_format()
220 fmt->code = MEDIA_BUS_FMT_SGRBG10_1X10; ipipe_try_format()
232 fmt->code = MEDIA_BUS_FMT_UYVY8_1X16; ipipe_try_format()
246 * @code : pointer to v4l2_subdev_mbus_code_enum structure
251 struct v4l2_subdev_mbus_code_enum *code) ipipe_enum_mbus_code()
253 switch (code->pad) { ipipe_enum_mbus_code()
255 if (code->index >= ARRAY_SIZE(ipipe_fmts)) ipipe_enum_mbus_code()
258 code->code = ipipe_fmts[code->index]; ipipe_enum_mbus_code()
263 if (code->index != 0) ipipe_enum_mbus_code()
266 code->code = MEDIA_BUS_FMT_UYVY8_1X16; ipipe_enum_mbus_code()
286 format.code = fse->code; ipipe_enum_frame_size()
293 if (format.code != fse->code) ipipe_enum_frame_size()
296 format.code = fse->code; ipipe_enum_frame_size()
374 if (source_fmt->format.code != sink_fmt->format.code) ipipe_link_validate()
396 format.format.code = MEDIA_BUS_FMT_SGRBG10_1X10; ipipe_init_formats()
494 * Return 0 on success and a negative error code on failure.
557 * Return 0 on success or a negative error code otherwise.
249 ipipe_enum_mbus_code(struct v4l2_subdev *sd, struct v4l2_subdev_pad_config *cfg, struct v4l2_subdev_mbus_code_enum *code) ipipe_enum_mbus_code() argument
/linux-4.4.14/drivers/input/keyboard/
H A Dmaple_keyb.c99 int code, keycode; dc_scan_kbd() local
103 code = i + 224; dc_scan_kbd()
104 keycode = kbd->keycode[code]; dc_scan_kbd()
105 input_event(dev, EV_MSC, MSC_SCAN, code); dc_scan_kbd()
111 code = kbd->old[i]; dc_scan_kbd()
112 if (code > 3 && ptr == NULL) { dc_scan_kbd()
113 keycode = kbd->keycode[code]; dc_scan_kbd()
115 input_event(dev, EV_MSC, MSC_SCAN, code); dc_scan_kbd()
120 code); dc_scan_kbd()
123 code = kbd->new[i]; dc_scan_kbd()
124 if (code > 3 && ptr) { dc_scan_kbd()
125 keycode = kbd->keycode[code]; dc_scan_kbd()
127 input_event(dev, EV_MSC, MSC_SCAN, code); dc_scan_kbd()
132 code); dc_scan_kbd()
H A Dgpio_keys_polled.c58 input_event(input, type, button->code, button->value); gpio_keys_button_event()
59 __set_bit(button->code, bdev->rel_axis_seen); gpio_keys_button_event()
63 input_event(input, type, button->code, button->value); gpio_keys_button_event()
64 __set_bit(button->code, bdev->abs_axis_seen); gpio_keys_button_event()
67 input_event(input, type, button->code, state); gpio_keys_button_event()
184 if (fwnode_property_read_u32(child, "linux,code", &button->code)) { device_for_each_child_node()
218 const struct gpio_keys_platform_data *pdata, unsigned int code) gpio_keys_polled_set_abs_params()
225 if (button->type != EV_ABS || button->code != code) gpio_keys_polled_set_abs_params()
233 input_set_abs_params(input, code, min, max, 0, 0); gpio_keys_polled_set_abs_params()
341 input_set_capability(input, type, button->code); gpio_keys_polled_probe()
344 button->code); gpio_keys_polled_probe()
217 gpio_keys_polled_set_abs_params(struct input_dev *input, const struct gpio_keys_platform_data *pdata, unsigned int code) gpio_keys_polled_set_abs_params() argument
/linux-4.4.14/drivers/char/
H A Dsnsc_event.c64 scdrv_parse_event(char *event, int *src, int *code, int *esp_code, char *desc) scdrv_parse_event() argument
70 event += 4; /* move on to event code */ scdrv_parse_event()
72 /* record the system controller's event code */ scdrv_parse_event()
73 *code = get_unaligned_be32(event); scdrv_parse_event()
82 /* parse out the ESP code */ scdrv_parse_event()
117 scdrv_event_severity(int code) scdrv_event_severity() argument
119 int ev_class = (code & EV_CLASS_MASK); scdrv_event_severity()
120 int ev_severity = (code & EV_SEVERITY_MASK); scdrv_event_severity()
188 int code, esp_code, src, class; scdrv_dispatch_event() local
192 if (scdrv_parse_event(event, &src, &code, &esp_code, desc) < 0) { scdrv_dispatch_event()
198 severity = scdrv_event_severity(code); scdrv_dispatch_event()
200 class = (code & EV_CLASS_MASK); scdrv_dispatch_event()
202 if (class == EV_CLASS_PWRD_NOTIFY || code == ENV_PWRDN_PEND) { scdrv_dispatch_event()
212 else if (code == ENV_PWRDN_PEND) scdrv_dispatch_event()
/linux-4.4.14/lib/
H A Dinflate.c23 the current position. There is a single Huffman code that codes both
25 code codes the distance information, which follows a length code. Each
26 length or distance code actually represents a base value and a number
29 length code. The decoding process is basically: get a literal/length
30 code; if EOB then done; if a literal, emit the decoded byte; if a
40 preceded by a count, since there is no longer an EOB code.
46 coded, and so is preceded by a description of that code. These code
52 can code it much better than the pre-determined fixed codes.
69 4. If only one code exists, then it is encoded using one bit. (Zero
76 zero distance codes, which is sent as one code of zero bits in
85 7. Unzip can check dynamic Huffman blocks for complete code sets.
86 The exception is that a single code would not be complete (see #4).
96 12. Note: length code 284 can represent 227-258, but length code 285
97 really is 258. The last length deserves its own, short code
100 13. The literal/length and distance code bit lengths are read as a
102 a repeat code (16, 17, or 18) to go across the boundary between
131 /* Huffman code lookup table entry--this entry is four bytes for machines
136 an unused code. If a code with e == 99 is looked up, this implies an
140 uch b; /* number of bits in this code or subcode */
173 static const unsigned border[] = { /* Order of the bit length code lengths */
206 If we assume that EOB will be the longest code, then we will never
212 However, this assumption is not true for fixed blocks--the EOB code
214 (The EOB code is shorter than other codes because fixed blocks are
218 lookup of seven bits, the EOB code will be found in that first
277 Huffman code decoding is performed using a multi-level table lookup.
279 size is determined by the longest code. However, the time it takes
293 codes are shorter than that, in which case the longest code length in
294 bits is used, or when the shortest code is *longer* than the requested
295 table size, in which case the length of the shortest code in bits is
298 There are two different values for the two tables, since they code a
300 codes 286 possible values, or in a flat code, a little over eight
314 #define BMAX 16 /* maximum bit length of any code (16 for explode) */
322 unsigned *b, /* code lengths in bits (all assumed <= BMAX) */ huft_build()
330 /* Given a list of code lengths and a maximum table size, make a set of huft_build()
332 the given code set is incomplete (the tables are still built in this huft_build()
338 int g; /* maximum code length */ huft_build()
340 register unsigned i; /* counter, current code */ huft_build()
342 register int k; /* number of bits in current code */ huft_build()
355 unsigned x[BMAX+1]; /* bit offsets, then code stack */ huft_build()
396 k = j; /* minimum code length */ huft_build()
402 g = i; /* maximum code length */ huft_build()
443 x[0] = i = 0; /* first Huffman code is zero */ huft_build()
452 /* go through the bit lengths (k already is bits in shortest code) */ huft_build()
460 /* here i is the Huffman code of length k bits for value *p */ huft_build()
519 r.e = 99; /* out of values--invalid code */ huft_build()
522 r.e = (uch)(*p < 256 ? 16 : 15); /* 256 is end-of-block code */ huft_build()
523 r.v.n = (ush)(*p); /* simple code is just the value */ huft_build()
533 /* fill code-like entries with r */ huft_build()
538 /* backwards increment the k-bit code i */ huft_build()
595 Return an error code or zero if it all goes ok. */ inflate_codes()
770 struct huft *tl; /* literal/length code table */ inflate_fixed()
771 struct huft *td; /* distance code table */ inflate_fixed()
789 for (; i < 288; i++) /* make a complete, but wrong code set */ inflate_fixed()
798 for (i = 0; i < 30; i++) /* make an incomplete code set */ inflate_fixed()
811 /* decompress until an end-of-block code */ inflate_fixed()
836 struct huft *tl; /* literal/length code table */ inflate_dynamic()
837 struct huft *td; /* distance code table */ inflate_dynamic()
843 unsigned *ll; /* literal/length and distance code lengths */ inflate_dynamic()
851 ll = malloc(sizeof(*ll) * (288+32)); /* literal/length and distance code lengths */ inflate_dynamic()
853 ll = malloc(sizeof(*ll) * (286+30)); /* literal/length and distance code lengths */ inflate_dynamic()
886 /* read in bit-length-code lengths */ inflate_dynamic()
904 ret = i; /* incomplete code set */ inflate_dynamic()
910 /* read in literal and distance code lengths */ inflate_dynamic()
920 if (j < 16) /* length of code in bits (0..15) */ inflate_dynamic()
984 ret = i; /* incomplete code set */ inflate_dynamic()
1001 ret = i; /* incomplete code set */ inflate_dynamic()
1008 /* decompress until an end-of-block code */
1088 int r; /* result code */
1177 /* this is initialized here so this code could reside in ROM */
/linux-4.4.14/kernel/bpf/
H A Dverifier.c21 /* bpf_check() is a static code analyzer that walks eBPF program
318 u8 class = BPF_CLASS(insn->code); print_bpf_insn()
321 if (BPF_SRC(insn->code) == BPF_X) print_bpf_insn()
323 insn->code, class == BPF_ALU ? "(u32) " : "", print_bpf_insn()
325 bpf_alu_string[BPF_OP(insn->code) >> 4], print_bpf_insn()
330 insn->code, class == BPF_ALU ? "(u32) " : "", print_bpf_insn()
332 bpf_alu_string[BPF_OP(insn->code) >> 4], print_bpf_insn()
336 if (BPF_MODE(insn->code) == BPF_MEM) print_bpf_insn()
338 insn->code, print_bpf_insn()
339 bpf_ldst_string[BPF_SIZE(insn->code) >> 3], print_bpf_insn()
342 else if (BPF_MODE(insn->code) == BPF_XADD) print_bpf_insn()
344 insn->code, print_bpf_insn()
345 bpf_ldst_string[BPF_SIZE(insn->code) >> 3], print_bpf_insn()
349 verbose("BUG_%02x\n", insn->code); print_bpf_insn()
351 if (BPF_MODE(insn->code) != BPF_MEM) { print_bpf_insn()
352 verbose("BUG_st_%02x\n", insn->code); print_bpf_insn()
356 insn->code, print_bpf_insn()
357 bpf_ldst_string[BPF_SIZE(insn->code) >> 3], print_bpf_insn()
361 if (BPF_MODE(insn->code) != BPF_MEM) { print_bpf_insn()
362 verbose("BUG_ldx_%02x\n", insn->code); print_bpf_insn()
366 insn->code, insn->dst_reg, print_bpf_insn()
367 bpf_ldst_string[BPF_SIZE(insn->code) >> 3], print_bpf_insn()
370 if (BPF_MODE(insn->code) == BPF_ABS) { print_bpf_insn()
372 insn->code, print_bpf_insn()
373 bpf_ldst_string[BPF_SIZE(insn->code) >> 3], print_bpf_insn()
375 } else if (BPF_MODE(insn->code) == BPF_IND) { print_bpf_insn()
377 insn->code, print_bpf_insn()
378 bpf_ldst_string[BPF_SIZE(insn->code) >> 3], print_bpf_insn()
380 } else if (BPF_MODE(insn->code) == BPF_IMM) { print_bpf_insn()
382 insn->code, insn->dst_reg, insn->imm); print_bpf_insn()
384 verbose("BUG_ld_%02x\n", insn->code); print_bpf_insn()
388 u8 opcode = BPF_OP(insn->code); print_bpf_insn()
391 verbose("(%02x) call %d\n", insn->code, insn->imm); print_bpf_insn()
392 } else if (insn->code == (BPF_JMP | BPF_JA)) { print_bpf_insn()
394 insn->code, insn->off); print_bpf_insn()
395 } else if (insn->code == (BPF_JMP | BPF_EXIT)) { print_bpf_insn()
396 verbose("(%02x) exit\n", insn->code); print_bpf_insn()
397 } else if (BPF_SRC(insn->code) == BPF_X) { print_bpf_insn()
399 insn->code, insn->dst_reg, print_bpf_insn()
400 bpf_jmp_string[BPF_OP(insn->code) >> 4], print_bpf_insn()
404 insn->code, insn->dst_reg, print_bpf_insn()
405 bpf_jmp_string[BPF_OP(insn->code) >> 4], print_bpf_insn()
409 verbose("(%02x) %s\n", insn->code, bpf_class_string[class]); print_bpf_insn()
741 if ((BPF_SIZE(insn->code) != BPF_W && BPF_SIZE(insn->code) != BPF_DW) || check_xadd()
759 BPF_SIZE(insn->code), BPF_READ, -1); check_xadd()
765 BPF_SIZE(insn->code), BPF_WRITE, -1); check_xadd()
1018 u8 opcode = BPF_OP(insn->code); check_alu_op()
1023 if (BPF_SRC(insn->code) != 0 || check_alu_op()
1055 if (BPF_SRC(insn->code) == BPF_X) { check_alu_op()
1077 if (BPF_SRC(insn->code) == BPF_X) { check_alu_op()
1078 if (BPF_CLASS(insn->code) == BPF_ALU64) { check_alu_op()
1108 if (BPF_SRC(insn->code) == BPF_X) { check_alu_op()
1130 BPF_SRC(insn->code) == BPF_K && insn->imm == 0) { check_alu_op()
1136 opcode == BPF_ARSH) && BPF_SRC(insn->code) == BPF_K) { check_alu_op()
1137 int size = BPF_CLASS(insn->code) == BPF_ALU64 ? 64 : 32; check_alu_op()
1146 if (opcode == BPF_ADD && BPF_CLASS(insn->code) == BPF_ALU64 && check_alu_op()
1148 BPF_SRC(insn->code) == BPF_K) { check_alu_op()
1154 } else if (BPF_SRC(insn->code) == BPF_X && check_alu_op()
1180 u8 opcode = BPF_OP(insn->code); check_cond_jmp_op()
1188 if (BPF_SRC(insn->code) == BPF_X) { check_cond_jmp_op()
1217 if (BPF_SRC(insn->code) == BPF_K && check_cond_jmp_op()
1241 if (BPF_SRC(insn->code) == BPF_K && check_cond_jmp_op()
1261 } else if (BPF_SRC(insn->code) == BPF_K && check_cond_jmp_op()
1297 if (BPF_SIZE(insn->code) != BPF_DW) { check_ld_imm()
1352 u8 mode = BPF_MODE(insn->code); check_ld_abs()
1362 BPF_SIZE(insn->code) == BPF_DW || check_ld_abs()
1399 /* non-recursive DFS pseudo code
1445 /* t, w, e - match pseudo-code above:
1517 if (BPF_CLASS(insns[t].code) == BPF_JMP) { check_cfg()
1518 u8 opcode = BPF_OP(insns[t].code); check_cfg()
1529 if (BPF_SRC(insns[t].code) != BPF_K) { check_cfg()
1730 class = BPF_CLASS(insn->code); do_check()
1789 BPF_SIZE(insn->code), BPF_READ, do_check()
1794 if (BPF_SIZE(insn->code) != BPF_W) { do_check()
1823 if (BPF_MODE(insn->code) == BPF_XADD) { do_check()
1844 BPF_SIZE(insn->code), BPF_WRITE, do_check()
1859 if (BPF_MODE(insn->code) != BPF_MEM || do_check()
1871 BPF_SIZE(insn->code), BPF_WRITE, do_check()
1877 u8 opcode = BPF_OP(insn->code); do_check()
1880 if (BPF_SRC(insn->code) != BPF_K || do_check()
1893 if (BPF_SRC(insn->code) != BPF_K || do_check()
1905 if (BPF_SRC(insn->code) != BPF_K || do_check()
1942 u8 mode = BPF_MODE(insn->code); do_check()
1980 if (BPF_CLASS(insn->code) == BPF_LDX && replace_map_fd_with_map_ptr()
1981 (BPF_MODE(insn->code) != BPF_MEM || insn->imm != 0)) { replace_map_fd_with_map_ptr()
1986 if (BPF_CLASS(insn->code) == BPF_STX && replace_map_fd_with_map_ptr()
1987 ((BPF_MODE(insn->code) != BPF_MEM && replace_map_fd_with_map_ptr()
1988 BPF_MODE(insn->code) != BPF_XADD) || insn->imm != 0)) { replace_map_fd_with_map_ptr()
1993 if (insn[0].code == (BPF_LD | BPF_IMM | BPF_DW)) { replace_map_fd_with_map_ptr()
1997 if (i == insn_cnt - 1 || insn[1].code != 0 || replace_map_fd_with_map_ptr()
2080 if (insn->code == (BPF_LD | BPF_IMM | BPF_DW)) convert_pseudo_ld_imm64()
2091 if (BPF_CLASS(insn->code) != BPF_JMP || adjust_branches()
2092 BPF_OP(insn->code) == BPF_CALL || adjust_branches()
2093 BPF_OP(insn->code) == BPF_EXIT) adjust_branches()
2121 if (insn->code == (BPF_LDX | BPF_MEM | BPF_W)) convert_ctx_accesses()
2123 else if (insn->code == (BPF_STX | BPF_MEM | BPF_W)) convert_ctx_accesses()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/
H A Dt4_chip_type.h16 * - Redistributions of source code must retain the above
41 /* We code the Chelsio T4 Family "Chip Code" as a tuple:
51 #define CHELSIO_CHIP_VERSION(code) (((code) >> 4) & 0xf)
52 #define CHELSIO_CHIP_RELEASE(code) ((code) & 0xf)
/linux-4.4.14/include/media/
H A Dsoc_mediabus.h73 * @fourcc: Fourcc code, that will be obtained if the data is
90 * @code: mediabus pixel-code
94 u32 code; member in struct:soc_mbus_lookup
99 u32 code,
103 u32 code);
/linux-4.4.14/arch/sh/kernel/cpu/shmobile/
H A Dpm.c4 * Power management support code for SuperH Mobile
55 /* code located directly after data structure */ sh_mobile_call_standby()
105 /* part 1: common code to enter sleep mode */ sh_mobile_register_self_refresh()
110 /* part 2: board specific code to enter self-refresh mode */ sh_mobile_register_self_refresh()
116 /* part 3: board specific code to resume from self-refresh mode */ sh_mobile_register_self_refresh()
122 /* part 4: common code to resume from sleep mode */ sh_mobile_register_self_refresh()
/linux-4.4.14/drivers/block/drbd/
H A Ddrbd_vli.h51 * We want to encode small runlength values with minimum code length,
56 * For some cases, we produce more code bits than plaintext input.
68 * * various bit based with different code word length.
83 * this particular encoding is chosen so that the prefix code
89 * last level (+1 data bit, so it makes 64bit total). The only worse code when
90 * encoding bit polarity runlength is 1 plain bits => 2 code bits.
126 * The rest of the code table is calculated at compiletime from this. */
145 * BUG() for bad input, as that would mean a buggy code table. */ vli_decode_bits()
161 /* NOT REACHED, if VLI_LEVELS code table is defined properly */ vli_decode_bits()
166 /* return number of code bits needed,
194 /* code from here down is independend of actually used bit code */
338 * -EOVERFLOW input too large for this vli code (invalid)
342 u64 code = code; vli_encode_bits() local
343 int bits = __vli_encode_bits(&code, in); vli_encode_bits()
348 return bitstream_put_bits(bs, code, bits); vli_encode_bits()
/linux-4.4.14/arch/tile/kernel/
H A Dtraps.c34 /* Nothing needed here since we link code at .intrpt */ trap_init()
44 * the correct address from inside the single_step code. setup_unaligned_fixup()
114 int sig, code, maxcode; special_ill() local
183 code = (get_Imm16_X0(bundle) >> 6) & 0xf; special_ill()
184 if (code <= 0 || code > maxcode) special_ill()
189 *codep = code | __SI_FAULT; special_ill()
259 int signo, code; do_trap() local
304 code = BUS_OBJERR; do_trap()
313 if (!special_ill(instr, &signo, &code)) { do_trap()
315 code = ILL_ILLOPC; do_trap()
331 code = ILL_PRVREG; do_trap()
338 code = ILL_ILLTRP; do_trap()
354 code = BUS_ADRALN; do_trap()
367 code = ILL_DBLFLT; do_trap()
377 code = SEGV_MAPERR; do_trap()
386 info.si_code = code; do_trap()
/linux-4.4.14/drivers/media/i2c/
H A Ds5k6a3.c83 .code = MEDIA_BUS_FMT_SGRBG10_1X10,
95 if (mf->code == s5k6a3_formats[i].code) find_sensor_format()
103 struct v4l2_subdev_mbus_code_enum *code) s5k6a3_enum_mbus_code()
105 if (code->index >= ARRAY_SIZE(s5k6a3_formats)) s5k6a3_enum_mbus_code()
108 code->code = s5k6a3_formats[code->index].code; s5k6a3_enum_mbus_code()
117 mf->code = fmt->code; s5k6a3_try_format()
331 sensor->format.code = s5k6a3_formats[0].code; s5k6a3_probe()
101 s5k6a3_enum_mbus_code(struct v4l2_subdev *sd, struct v4l2_subdev_pad_config *cfg, struct v4l2_subdev_mbus_code_enum *code) s5k6a3_enum_mbus_code() argument
/linux-4.4.14/arch/s390/kvm/
H A 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,
280 __print_symbolic(__entry->code, diagnose_codes))
/linux-4.4.14/drivers/media/pci/bt8xx/
H A Dbttv-input.c68 dprintk("irq gpio=0x%x code=%d | %s%s%s\n", ir_handle_key()
102 dprintk("gpio=0x%x code=%d | %s\n", ir_enltv_handle_key()
113 dprintk("(cnt) gpio=0x%x code=%d | %s\n", ir_enltv_handle_key()
162 /* decode raw bit pattern to RC5 code */ bttv_rc5_decode()
163 static u32 bttv_rc5_decode(unsigned int code) bttv_rc5_decode() argument
165 unsigned int org_code = code; bttv_rc5_decode()
171 pair = code & 0x3; bttv_rc5_decode()
172 code >>= 2; bttv_rc5_decode()
183 dprintk("rc5_decode(%x) bad code\n", bttv_rc5_decode()
188 dprintk("code=%x, rc5=%x, start=%x, toggle=%x, address=%x, " bttv_rc5_decode()
209 /* signal we're ready to start a new code */ bttv_rc5_timer_end()
220 dprintk("short code: %x\n", ir->code); bttv_rc5_timer_end()
224 ir->code = (ir->code << ir->shift_by) | 1; bttv_rc5_timer_end()
225 rc5 = bttv_rc5_decode(ir->code); bttv_rc5_timer_end()
274 /* active code => add bit */ bttv_rc5_irq()
276 /* only if in the code (otherwise spurious IRQ or timer bttv_rc5_irq()
281 ir->code |= 1 << ir->last_bit; bttv_rc5_irq()
283 /* starting new code */ bttv_rc5_irq()
286 ir->code = 0; bttv_rc5_irq()
308 /* set timer_end for code completion */ bttv_ir_start()
352 * lirc_i2c maps the pv951 code as: get_key_pv951()
/linux-4.4.14/arch/mn10300/kernel/
H A Dtraps.c123 * happens due to something kernel code did
126 enum exception_code code) die_if_no_fixup()
134 peripheral_leds_display_exception(code); die_if_no_fixup()
136 signo = exception_to_signal_map[code >> 3].signo; die_if_no_fixup()
137 si_code = exception_to_signal_map[code >> 3].si_code; die_if_no_fixup()
139 switch (code) { die_if_no_fixup()
162 if (notify_die(DIE_BREAKPOINT, str, regs, code, 0, 0)) die_if_no_fixup()
188 if (debugger_intercept(code, signo, si_code, regs) == 0) die_if_no_fixup()
191 if (notify_die(DIE_GPF, str, regs, code, 0, 0)) die_if_no_fixup()
195 die(str, regs, code); die_if_no_fixup()
220 asmlinkage void nmi(struct pt_regs *regs, enum exception_code code) nmi() argument
223 if (debugger_intercept(code, SIGQUIT, 0, regs)) nmi()
357 /* when in-kernel, we also print out the stack and code at the show_registers()
407 void die(const char *str, struct pt_regs *regs, enum exception_code code) die() argument
412 str, code & 0xffff); die()
501 enum exception_code code) uninitialised_exception()
505 if (debugger_intercept(code, SIGSYS, 0, regs) == 0) uninitialised_exception()
508 peripheral_leds_display_exception(code); uninitialised_exception()
509 printk(KERN_EMERG "Uninitialised Exception 0x%04x\n", code & 0xFFFF); uninitialised_exception()
520 void __init __set_intr_stub(enum exception_code code, void *handler) __set_intr_stub() argument
523 u8 *vector = (u8 *)(CONFIG_INTERRUPT_VECTOR_BASE + code); __set_intr_stub()
539 void __init set_intr_stub(enum exception_code code, void *handler) set_intr_stub() argument
542 u8 *vector = (u8 *)(CONFIG_INTERRUPT_VECTOR_BASE + code); set_intr_stub()
125 die_if_no_fixup(const char *str, struct pt_regs *regs, enum exception_code code) die_if_no_fixup() argument
500 uninitialised_exception(struct pt_regs *regs, enum exception_code code) uninitialised_exception() argument
/linux-4.4.14/drivers/tty/ipwireless/
H A Dmain.h4 * Original code
14 * Misc code cleanups and updates
H A Dnetwork.h4 * Original code
14 * Misc code cleanups and updates
H A Dtty.h4 * Original code
14 * Misc code cleanups and updates
/linux-4.4.14/drivers/net/wireless/ath/ath10k/
H A Dswap.c17 /* This file has implementation for code swap logic. With code swap feature,
19 * memory to store some of the code segments.
109 ath10k_err(ar, "refusing code swap bin because it is too big %zu > %d\n", ath10k_swap_code_seg_alloc()
148 ath10k_dbg(ar, ATH10K_DBG_BOOT, "boot found firmware code swap binary\n"); ath10k_swap_code_seg_configure()
154 ath10k_warn(ar, "ignoring unknown code swap binary type %d\n", ath10k_swap_code_seg_configure()
190 ath10k_err(ar, "failed to allocate fw code swap segment\n"); ath10k_swap_code_seg_init()
199 ath10k_warn(ar, "failed to initialize fw code swap segment: %d\n", ath10k_swap_code_seg_init()
/linux-4.4.14/include/linux/mmc/
H A Dpm.h20 * code, to the SDIO core code, to finally get to the actual SDIO function
/linux-4.4.14/include/linux/mtd/
H A Dnand_ecc.h21 * Calculate 3 byte ECC code for eccsize byte block
27 * Calculate 3 byte ECC code for 256/512 byte block
/linux-4.4.14/arch/mips/include/asm/mips-boards/
H A Dsim.h30 #define simcfg(code) \
34 ::"i"(code) \

Completed in 3961 milliseconds

1234567891011>>