Home
last modified time | relevance | path

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

12345678910>>...19

/rk3399_rockchip-uboot/lib/
H A Dcharset.c56 uint32_t code = *src++; in utf16_to_utf8() local
59 if (code >= 0xDC00 && code <= 0xDFFF) { in utf16_to_utf8()
61 code = ((code_high - 0xD800) << 10) + (code - 0xDC00) + 0x10000; in utf16_to_utf8()
63 *dest++ = (code >> 18) | 0xF0; in utf16_to_utf8()
64 *dest++ = ((code >> 12) & 0x3F) | 0x80; in utf16_to_utf8()
65 *dest++ = ((code >> 6) & 0x3F) | 0x80; in utf16_to_utf8()
66 *dest++ = (code & 0x3F) | 0x80; in utf16_to_utf8()
76 if (code <= 0x007F) { in utf16_to_utf8()
77 *dest++ = code; in utf16_to_utf8()
78 } else if (code <= 0x07FF) { in utf16_to_utf8()
[all …]
H A Dslre.c125 op = r->code[pc]; in slre_dump()
131 (void) fprintf(fp, "%d ", r->code[pc + 1]); in slre_dump()
136 pc + r->code[pc + 1] - i); in slre_dump()
141 r->code[pc + 1], r->code[pc + 2]); in slre_dump()
146 for (j = 0; j < r->code[pc + 2]; j++) { in slre_dump()
147 ch = r->data[r->code[pc + 1] + j]; in slre_dump()
173 r->code[pc] = (unsigned char) (r->code_size - offset); in set_jump_offset()
177 emit(struct slre *r, int code) in emit() argument
179 if (r->code_size >= (int) (sizeof(r->code) / sizeof(r->code[0]))) in emit()
182 r->code[r->code_size++] = (unsigned char) code; in emit()
[all …]
/rk3399_rockchip-uboot/drivers/net/fsl-mc/dpio/
H A Dqbman_portal.h128 static inline uint32_t qb_attr_code_decode(const struct qb_attr_code *code, in qb_attr_code_decode() argument
131 return d32_uint32_t(code->lsoffset, code->width, cacheline[code->word]); in qb_attr_code_decode()
136 static inline void qb_attr_code_encode(const struct qb_attr_code *code, in qb_attr_code_encode() argument
139 cacheline[code->word] = in qb_attr_code_encode()
140 r32_uint32_t(code->lsoffset, code->width, cacheline[code->word]) in qb_attr_code_encode()
141 | e32_uint32_t(code->lsoffset, code->width, val); in qb_attr_code_encode()
144 static inline void qb_attr_code_encode_64(const struct qb_attr_code *code, in qb_attr_code_encode_64() argument
147 cacheline[code->word / 2] = val; in qb_attr_code_encode_64()
/rk3399_rockchip-uboot/post/lib_powerpc/
H A Db.c29 extern void cpu_post_exec_11 (ulong *code, ulong *res, ulong op1);
30 extern void cpu_post_exec_31 (ulong *code, ulong *ctr, ulong *lr, ulong *jump,
41 unsigned long code[] = in cpu_post_test_bc() local
56 cpu_post_exec_31 (code, &ctr, &lr, &jump, cr); in cpu_post_test_bc()
70 ret = lr == (ulong) code + 24 ? 0 : -1; in cpu_post_test_bc()
86 ulong code[] = in cpu_post_test_b() local
97 cpu_post_exec_11 (code, &res, 0); in cpu_post_test_b()
109 ulong code[] = in cpu_post_test_b() local
120 cpu_post_exec_11 (code, &res, 0); in cpu_post_test_b()
122 ret = res == (ulong)code + 12 ? 0 : -1; in cpu_post_test_b()
H A Dcr.c38 extern void cpu_post_exec_11 (ulong *code, ulong *res, ulong op1);
39 extern void cpu_post_exec_21x (ulong *code, ulong *op1, ulong *op2, ulong op3);
240 unsigned long code[] = in cpu_post_test_cr() local
247 cpu_post_exec_11 (code, &res, cr); in cpu_post_test_cr()
263 unsigned long code[] = in cpu_post_test_cr() local
272 cpu_post_exec_21x (code, &res, &xer, test->xer); in cpu_post_test_cr()
288 unsigned long code[] = in cpu_post_test_cr() local
296 cpu_post_exec_11 (code, &res, test->cr); in cpu_post_test_cr()
311 unsigned long code[] = in cpu_post_test_cr() local
319 cpu_post_exec_11 (code, &res, test->cr); in cpu_post_test_cr()
H A Dstring.c25 extern void cpu_post_exec_02 (ulong *code, ulong op1, ulong op2);
26 extern void cpu_post_exec_04 (ulong *code, ulong op1, ulong op2, ulong op3,
40 ulong code[] = in cpu_post_test_string() local
53 cpu_post_exec_02(code, (ulong)src, (ulong)dst); in cpu_post_test_string()
62 ulong code[] = in cpu_post_test_string() local
75 cpu_post_exec_04(code, (ulong)src, (ulong)dst, 0, sizeof(src)); in cpu_post_test_string()
H A Dload.c33 extern void cpu_post_exec_22w (ulong *code, ulong *op1, ulong op2, ulong *op3);
34 extern void cpu_post_exec_21w (ulong *code, ulong *op1, ulong *op2);
177 ulong code[] = in cpu_post_test_load() local
183 cpu_post_exec_22w (code, &base, test->offset, &value); in cpu_post_test_load()
187 ulong code[] = in cpu_post_test_load() local
193 cpu_post_exec_21w (code, &base, &value); in cpu_post_test_load()
H A Dstore.c33 extern void cpu_post_exec_12w (ulong *code, ulong *op1, ulong op2, ulong op3);
34 extern void cpu_post_exec_11w (ulong *code, ulong *op1, ulong op2);
161 ulong code[] = in cpu_post_test_store() local
167 cpu_post_exec_12w (code, &base, test->offset, test->value); in cpu_post_test_store()
171 ulong code[] = in cpu_post_test_store() local
177 cpu_post_exec_11w (code, &base, test->value); in cpu_post_test_store()
H A Dmulti.c25 extern void cpu_post_exec_02(ulong *code, ulong op1, ulong op2);
34 ulong code[] = { in cpu_post_test_multi() local
45 cpu_post_exec_02(code, (ulong) src, (ulong) dst); in cpu_post_test_multi()
H A Dcmpi.c28 extern void cpu_post_exec_11 (ulong *code, ulong *res, ulong op1);
93 unsigned long code[] = in cpu_post_test_cmpi() local
101 cpu_post_exec_11 (code, & res, test->op1); in cpu_post_test_cmpi()
H A Dcmp.c28 extern void cpu_post_exec_12 (ulong *code, ulong *res, ulong op1, ulong op2);
93 unsigned long code[] = in cpu_post_test_cmp() local
101 cpu_post_exec_12 (code, & res, test->op1, test->op2); in cpu_post_test_cmp()
/rk3399_rockchip-uboot/arch/arm/include/asm/
H A Dassembler.h55 #define PLD(code...) code argument
57 #define PLD(code...) argument
81 #define CALGN(code...) argument
83 #define CALGN(code...) code
/rk3399_rockchip-uboot/arch/arm/dts/
H A Dsun4i-a10-inet9f-rev03.dts73 linux,code = <ABS_X>;
81 linux,code = <ABS_X>;
89 linux,code = <ABS_Y>;
97 linux,code = <ABS_Y>;
105 linux,code = <ABS_Z>;
113 linux,code = <ABS_Z>;
121 linux,code = <ABS_RZ>;
129 linux,code = <ABS_RZ>;
137 linux,code = <ABS_HAT0X>;
145 linux,code = <ABS_HAT0X>;
[all …]
/rk3399_rockchip-uboot/doc/
H A DREADME.davinci.nand_spl4 header, nand spl code and u-boot code.
10 code in a format, which the RBL can read. This is realize
11 (at the moment in board specific code) in the u-boot command
47 the RBL to find the spl code.
49 The spl code starts in the second "page" of the image, with a size
54 After the spl code, there comes the "real" u-boot code
58 Setting up spl code:
63 * we write before the real spl code
85 code, and how big it is.
93 So we need to copy the spl code to block 5 page 0
[all …]
/rk3399_rockchip-uboot/lib/zlib/
H A Dinflate.h102 code const FAR *lencode; /* starting table for length/literal codes */
103 code const FAR *distcode; /* starting table for distance codes */
111 code FAR *next; /* next available space in codes[] */
114 code codes[ENOUGH]; /* space for code tables */
H A Dtrees.c246 int code; /* code value */ in tr_static_init() local
264 for (code = 0; code < LENGTH_CODES-1; code++) { in tr_static_init()
265 base_length[code] = length; in tr_static_init()
266 for (n = 0; n < (1<<extra_lbits[code]); n++) { in tr_static_init()
267 _length_code[length++] = (uch)code; in tr_static_init()
275 _length_code[length-1] = (uch)code; in tr_static_init()
279 for (code = 0 ; code < 16; code++) { in tr_static_init()
280 base_dist[code] = dist; in tr_static_init()
281 for (n = 0; n < (1<<extra_dbits[code]); n++) { in tr_static_init()
282 _dist_code[dist++] = (uch)code; in tr_static_init()
[all …]
H A Dinffixed.h10 static const code lenfix[512] = {
87 static const code distfix[32] = {
H A Dinftrees.h28 } code; typedef
54 unsigned codes, code FAR * FAR *table,
/rk3399_rockchip-uboot/lib/lzma/
H A Dhistory.txt24 incorrectly converted surrogate characters (the code >= 0x10000) to UTF-8.
74 - C++ LZMA code now is just wrapper over ANSI-C code.
89 - C++ code for .7z archives compressing/decompressing from 7-zip
112 - Fixes in C++ code: code could no be compiled if _NO_EXCEPTIONS was defined.
162 - Fixes in 7z_C code and LzmaTest.c:
169 - Small fixes in C++ code
190 LZMA + BCJ (filter for x86 code):
205 LzmaDecodeSize.c can provide slightly smaller code than LzmaDecode.c
206 - Small speed optimization in LZMA C++ code
207 - filter for SPARC's code was added
[all …]
H A Dlzma.txt23 Some code in LZMA SDK is based on public domain code from another developers:
33 - ANSI-C/C++/C#/Java source code for LZMA compressing and decompressing
60 Source code structure
64 7zCrc*.* - CRC code
66 Bra*.* - Filters for x86, IA-64, ARM, ARM-Thumb, PowerPC and SPARC code
74 Threads.* - The code for multithreading.
86 Windows - common files for Windows related code
121 RangeCoder - Range Coder (special code of compression/decompression)
128 RangeCoder - Range Coder (special code of compression/decompression)
131 C/C++ source code of LZMA SDK is part of 7-Zip project.
[all …]
/rk3399_rockchip-uboot/fs/yaffs2/
H A Dyaffs_error.c17 int code; member
52 while (e->code && e->text) { in yaffs_error_to_str()
53 if (err == e->code) in yaffs_error_to_str()
/rk3399_rockchip-uboot/include/
H A Dkey.h31 u32 code; member
67 int key_read(int code);
70 int key_exist(int code);
/rk3399_rockchip-uboot/drivers/input/
H A Dkey-uclass.c177 return (uc_key->code == KEY_POWER) ? in key_core_read()
182 int key_read(int code) in key_read() argument
203 if (uc_key->code != code) in key_read()
220 int key_exist(int code) in key_exist() argument
230 if (uc_key->code == code) in key_exist()
245 if (uc_key->code == KEY_POWER && old_rise_ms != uc_key->rise_ms) { in power_key_download()
340 if (uc_key->code == KEY_POWER) { in key_post_probe()
355 if (uc_key->code != KEY_POWER && uc_key->irq_thread) { in key_post_probe()
/rk3399_rockchip-uboot/include/dt-bindings/input/
H A Dinput.h14 #define MATRIX_KEY(row, col, code) \ argument
15 ((((row) & 0xFF) << 24) | (((col) & 0xFF) << 16) | ((code) & 0xFFFF))
/rk3399_rockchip-uboot/drivers/thermal/
H A Drockchip_thermal.c173 unsigned long code; member
616 static int tsadc_code_to_temp(struct chip_tsadc_table *table, u32 code, in tsadc_code_to_temp() argument
626 *temp = (((int)code - table->bnum) * 10000 / table->knum) * 100; in tsadc_code_to_temp()
634 code &= table->data_mask; in tsadc_code_to_temp()
635 if (code < table->id[high].code) in tsadc_code_to_temp()
639 if (code >= table->id[mid].code && in tsadc_code_to_temp()
640 code < table->id[mid - 1].code) in tsadc_code_to_temp()
642 else if (code < table->id[mid].code) in tsadc_code_to_temp()
651 code &= table->data_mask; in tsadc_code_to_temp()
652 if (code < table->id[low].code) in tsadc_code_to_temp()
[all …]

12345678910>>...19