Searched refs:code (Results 51 - 75 of 115) sorted by relevance

12345

/u-boot/lib/zstd/common/
H A Dentropy_common.c9 * This source code is licensed under both the BSD-style license (found in the
31 unsigned FSE_isError(size_t code) { return ERR_isError(code); } argument
32 const char* FSE_getErrorName(size_t code) { return ERR_getErrorName(code); } argument
34 unsigned HUF_isError(size_t code) { return ERR_isError(code); } argument
35 const char* HUF_getErrorName(size_t code) { return ERR_getErrorName(code); } argument
101 * 2-bit repeat code i
[all...]
/u-boot/arch/riscv/lib/
H A Dinterrupts.c105 * show_code() - display code leading to exception
122 static void _exit_trap(ulong code, ulong epc, ulong tval, struct pt_regs *regs) argument
144 resume->code = code;
148 if (code < ARRAY_SIZE(exception_code))
149 printf("Unhandled exception: %s\n", exception_code[code]);
151 printf("Unhandled exception code: %ld\n", code);
/u-boot/lib/lzma/
H A DLzmaDec.c19 #define NORMALIZE if (range < kTopValue) { range <<= 8; code = (code << 8) | (*buf++); }
21 #define IF_BIT_0(p) ttt = *(p); NORMALIZE; bound = (range >> kNumBitModelTotalBits) * ttt; if (code < bound)
23 #define UPDATE_1(p) range -= bound; code -= bound; *(p) = (CLzmaProb)(ttt - (ttt >> kNumMoveBits));
49 #define NORMALIZE_CHECK if (range < kTopValue) { if (buf >= bufLimit) return DUMMY_ERROR; range <<= 8; code = (code << 8) | (*buf++); }
51 #define IF_BIT_0_CHECK(p) ttt = *(p); NORMALIZE_CHECK; bound = (range >> kNumBitModelTotalBits) * ttt; if (code < bound)
53 #define UPDATE_1_CHECK range -= bound; code -= bound;
153 UInt32 code = p->code; local
505 UInt32 code = p->code; local
[all...]
H A DLzmaDec.h52 UInt32 range, code; member in struct:__anon1233
98 LZMA_STATUS_NOT_SPECIFIED, /* use main error code instead */
/u-boot/drivers/i2c/
H A Di2c-microchip.c81 * @msg_err: error code for completed message
142 static inline int mpfs_generate_divisor(u32 rate, u8 *code) argument
147 *code = PCLK_DIV_960;
149 *code = PCLK_DIV_256;
151 *code = PCLK_DIV_224;
153 *code = PCLK_DIV_192;
155 *code = PCLK_DIV_160;
157 *code = PCLK_DIV_120;
159 *code = PCLK_DIV_60;
161 *code
[all...]
/u-boot/drivers/tpm/
H A Dtpm_tis_sandbox.c124 uint32_t code, index, length, type; local
128 code = get_unaligned_be32(sendbuf + sizeof(uint16_t) +
132 *recv_len, code);
135 switch (code) {
230 printf("Unknown tpm command %02x\n", code);
/u-boot/lib/zlib/
H A Dinftrees.c21 Build a set of tables to decode the provided canonical Huffman code.
22 The code lengths are lens[0..codes-1]. The result starts at *table,
24 lens shorts, which is used as a work area. type is the type of code
26 -1 is an invalid code, and +1 means that ENOUGH isn't enough. table
30 longest code or if it is less than the shortest code.
33 code FAR * FAR *table, unsigned FAR *bits,
36 unsigned len; /* a code's length in bits */
37 unsigned sym; /* index of code symbols */
38 unsigned min, max; /* minimum and maximum code length
[all...]
H A Dinffast.c34 TYPE -- reached end of block code, inflate() to interpret next block
40 length code, 5 bits for the length extra, 15 bits for the distance code,
69 code const FAR *lcode; /* local strm->lencode */
70 code const FAR *dcode; /* local strm->distcode */
73 code here; /* retrieved table entry */
74 unsigned op; /* code bits, operation, extra bits, or */
253 else if ((op & 64) == 0) { /* 2nd level distance code */
258 strm->msg = (char *)"invalid distance code";
263 else if ((op & 64) == 0) { /* 2nd level length code */
[all...]
/u-boot/post/lib_powerpc/
H A Dthree.c27 extern void cpu_post_exec_22 (ulong *code, ulong *cr, ulong *res, ulong op1,
160 unsigned long code[] = local
208 cpu_post_exec_22 (code, & cr, & res, test->op1, test->op2);
H A Dthreex.c27 extern void cpu_post_exec_22 (ulong *code, ulong *cr, ulong *res, ulong op1,
130 unsigned long code[] = local
178 cpu_post_exec_22 (code, & cr, & res, test->op1, test->op2);
H A Dandi.c24 extern void cpu_post_exec_21 (ulong *code, ulong *cr, ulong *res, ulong op);
/u-boot/arch/arm/mach-omap2/
H A Dlowlevel_init.S53 push {r4-r12, lr} @ save registers - ROM code may pollute
66 push {r4-r12, lr} @ save registers - ROM code may pollute
/u-boot/arch/arm/include/asm/ti-common/
H A Dti-edma3.h29 #define EDMA3_SLOPT_COMP_CODE(code) ((0x3f & (code)) << 12)
/u-boot/board/gdsys/a38x/
H A Dkeyprogram.c97 memcpy(prog->code, *progdata, code_size);
151 if (hre_run_program(tpm, prog->code, prog->code_size)) {
156 printf("\nSD code ran successfully\n");
/u-boot/test/
H A Dunicode_ut.c50 /* Letter not in code page 437 */
183 s32 code; local
189 code = utf8_get((const char **)&s);
191 ut_asserteq(c2[i], code);
192 if (!code)
200 code = utf8_get((const char **)&s);
202 ut_asserteq(c3[i], code);
203 if (!code)
210 code = utf8_get((const char **)&s);
211 ut_asserteq(0x0001048d, code);
407 s32 code; local
[all...]
/u-boot/drivers/rng/
H A Driscv_zkr_rng.c85 log_debug("Exception %ld reading seed CSR\n", resume.code);
/u-boot/arch/sandbox/lib/
H A Dbootm.c15 uint32_t code[9]; member in struct:arm_z_header
/u-boot/drivers/mtd/nand/raw/
H A Dnand_bch.c42 * @code: output buffer with ECC
45 unsigned char *code)
51 memset(code, 0, chip->ecc.bytes);
52 encode_bch(nbc->bch, buf, chip->ecc.size, code);
56 code[i] ^= nbc->eccmask[i];
44 nand_bch_calculate_ecc(struct mtd_info *mtd, const unsigned char *buf, unsigned char *code) argument
/u-boot/doc/sphinx/
H A Dkfigure.py437 code = literal_block.astext()
438 hashobj = code.encode('utf-8') # str(node.attributes)
447 out.write(code)
495 code = '\n'.join(self.content)
496 if not code.strip():
505 literal_node = nodes.literal_block(code, code)
/u-boot/tools/
H A Dmksunxiboot.c22 /* check sum functon from sun4i boot code */
60 char code[SRAM_LOAD_MAX_SIZE]; member in struct:boot_img
131 count = read(fd_in, img.code, file_size);
H A Dkwboot.c205 /* ARM code to change baudrate */
335 /* ARM code from binary header executed by BootROM before changing baudrate */
394 /* ARM code for returning from binary header back to BootROM */
401 /* ARM code for jumping to the original image exec_addr */
1808 * kwbimage v0 image headers contain DDR init code either in
1809 * extension header or in binary code header.
1817 * kwbimage v1 image headers contain DDR init code either in binary
1818 * code header or in a register set list header with SDRAM_SETUP.
1846 * 32-bit checksum comes after end of image code, so we will be putting
1847 * new code ther
1953 uint8_t *code; local
[all...]
/u-boot/net/
H A Dping.c32 icmp->code = 0;
/u-boot/cmd/
H A Dcros_ec.c245 enum host_event_code code = i + 1; local
246 u64 mask = EC_HOST_EVENT_MASK(code);
252 printf("unknown code %#x\n", code);
/u-boot/board/xilinx/common/
H A Dfru_ops.c31 static int fru_check_language(u8 code) argument
33 if (code != FRU_LANG_CODE_ENGLISH && code != FRU_LANG_CODE_ENGLISH_1) {
361 debug("Type code: %s\n", typecode[type]);
363 debug("Type code: %s\n", typecode[type + 1]);
/u-boot/arch/arm/mach-bcm283x/
H A Dmbox.c143 if (buffer->code != BCM2835_MBOX_RESP_CODE_SUCCESS) {
144 printf("mbox: Header response code invalid\n");

Completed in 339 milliseconds

12345