/u-boot/lib/zlib/ |
A D | deflate.c | 186 match_head = s->prev[(str) & s->w_mask] = s->head[s->ins_h], \ 345 UPDATE_HASH(s, s->ins_h, s->window[1]); 1379 n = read_buf(s->strm, s->window + s->strstart + s->lookahead, more); 1384 s->ins_h = s->window[s->strstart]; 1385 UPDATE_HASH(s, s->ins_h, s->window[s->strstart+1]); 1560 check_match(s, s->strstart, s->match_start, s->match_length); 1587 s->ins_h = s->window[s->strstart]; 1588 UPDATE_HASH(s, s->ins_h, s->window[s->strstart+1]); 1647 s->prev_length = s->match_length, s->prev_match = s->match_start; 1679 check_match(s, s->strstart-1, s->prev_match, s->prev_length); [all …]
|
A D | trees.c | 209 put_short(s, s->bi_buf); 224 put_short(s, s->bi_buf);\ 428 s->last_lit = s->matches = 0; 442 s->heap[SMALLEST] = s->heap[s->heap_len--]; \ 470 smaller(tree, s->heap[j+1], s->heap[j], s->depth)) { 682 s->depth[node] = (uch)((s->depth[n] >= s->depth[m] ? 697 s->heap[--(s->heap_max)] = s->heap[SMALLEST]; 814 scan_tree(s, (ct_data *)s->dyn_ltree, s->l_desc.max_code); 815 scan_tree(s, (ct_data *)s->dyn_dtree, s->d_desc.max_code); 1191 put_short(s, s->bi_buf); [all …]
|
A D | deflate.h | 275 #define put_byte(s, c) {s->pending_buf[s->pending++] = (c);} argument 283 #define MAX_DIST(s) ((s)->w_size-MIN_LOOKAHEAD) argument 319 # define _tr_tally_lit(s, c, flush) \ argument 321 s->d_buf[s->last_lit] = 0; \ 322 s->l_buf[s->last_lit++] = cc; \ 323 s->dyn_ltree[cc].Freq++; \ 324 flush = (s->last_lit == s->lit_bufsize-1); \ 329 s->d_buf[s->last_lit] = dist; \ 330 s->l_buf[s->last_lit++] = len; \ 334 flush = (s->last_lit == s->lit_bufsize-1); \ [all …]
|
/u-boot/lib/bzip2/ |
A D | bzlib_decompress.c | 76 s->seqToUnseq[s->nInUse] = i; in makeMaps_d() 438 uc = s->seqToUnseq[ s->mtfa[s->mtfbase[0]] ]; in BZ2_decompress() 474 s->mtfa[(z) ] = s->mtfa[(z)-1]; in BZ2_decompress() 475 s->mtfa[(z)-1] = s->mtfa[(z)-2]; in BZ2_decompress() 496 s->mtfa[s->mtfbase[lno]] in BZ2_decompress() 501 s->mtfa[s->mtfbase[0]] = uc; in BZ2_decompress() 509 s->mtfa[kk] = s->mtfa[s->mtfbase[ii] + jj]; in BZ2_decompress() 519 s->unzftab[s->seqToUnseq[uc]]++; in BZ2_decompress() 573 s->tPos = s->origPtr; in BZ2_decompress() 591 s->tt[s->cftab[uc]] |= (i << 8); in BZ2_decompress() [all …]
|
A D | bzlib.c | 278 s->block[s->nblock] = (UChar)ch; s->nblock++; in add_pair_to_block() 281 s->block[s->nblock] = (UChar)ch; s->nblock++; in add_pair_to_block() 282 s->block[s->nblock] = (UChar)ch; s->nblock++; in add_pair_to_block() 285 s->block[s->nblock] = (UChar)ch; s->nblock++; in add_pair_to_block() 286 s->block[s->nblock] = (UChar)ch; s->nblock++; in add_pair_to_block() 287 s->block[s->nblock] = (UChar)ch; s->nblock++; in add_pair_to_block() 291 s->block[s->nblock] = (UChar)ch; s->nblock++; in add_pair_to_block() 292 s->block[s->nblock] = (UChar)ch; s->nblock++; in add_pair_to_block() 293 s->block[s->nblock] = (UChar)ch; s->nblock++; in add_pair_to_block() 294 s->block[s->nblock] = (UChar)ch; s->nblock++; in add_pair_to_block() [all …]
|
A D | bzlib_compress.c | 89 s->zbits[s->numZ] = (UChar)(s->bsBuff >> 24); in bsFinishWrite() 152 s->unseqToSeq[i] = s->nInUse; in makeMaps_e() 305 s->nblock, s->nMTF, s->nInUse ); in sendMTFValues() 377 s->len_pack[v][0] = (s->len[1][v] << 16) | s->len[0][v]; in sendMTFValues() 378 s->len_pack[v][1] = (s->len[3][v] << 16) | s->len[2][v]; in sendMTFValues() 379 s->len_pack[v][2] = (s->len[5][v] << 16) | s->len[4][v]; in sendMTFValues() 551 if (s->inUse[i * 16 + j]) bsW(s,1,1); else bsW(s,1,0); in sendMTFValues() 649 s->combinedCRC ^= s->blockCRC; in BZ2_compressBlock() 655 s->blockNo, s->blockCRC, s->combinedCRC, s->nblock ); in BZ2_compressBlock() 660 s->zbits = (UChar*) (&((UChar*)s->arr2)[s->nblock]); in BZ2_compressBlock() [all …]
|
/u-boot/drivers/ddr/marvell/a38x/ |
A D | ddr3_logging_def.h | 25 printf s 28 printf s 31 printf s 34 printf s 37 printf s 40 printf s 43 printf s 47 printf s 51 printf s 54 printf s [all …]
|
/u-boot/drivers/bios_emulator/include/x86emu/ |
A D | prim_ops.h | 73 u8 neg_byte (u8 s); 74 u16 neg_word (u16 s); 75 u32 neg_long (u32 s); 76 u8 not_byte (u8 s); 77 u16 not_word (u16 s); 78 u32 not_long (u32 s); 116 void imul_byte (u8 s); 120 void mul_byte (u8 s); 121 void mul_word (u16 s); 122 void mul_long (u32 s); [all …]
|
/u-boot/lib/efi_loader/ |
A D | efi_device_path_to_text.c | 72 s += sprintf(s, ","); in dp_hardware() 76 s += sprintf(s, ")"); in dp_hardware() 80 s = dp_unknown(s, dp); in dp_hardware() 98 s = dp_unknown(s, dp); in dp_acpi() 128 s += sprintf(s, "1.5)"); in dp_msging() 150 s += sprintf(s, "MAC("); in dp_msging() 189 s += sprintf(s, ")"); in dp_msging() 204 s = dp_unknown(s, dp); in dp_msging() 272 s += sprintf(s, ","); in dp_media() 276 s += sprintf(s, ")"); in dp_media() [all …]
|
/u-boot/arch/xtensa/include/asm/arch-de212/ |
A D | tie.h | 68 #define XCHAL_NCP_SA_LIST(s) \ argument 69 XCHAL_SA_REG(s,1,0,0,1, acclo, 4, 4, 4,0x0210, sr,16 , 32,0,0,0) \ 75 XCHAL_SA_REG(s,0,0,0,1, m3, 4, 4, 4,0x0223, sr,35 , 32,0,0,0) 78 #define XCHAL_CP0_SA_LIST(s) /* empty */ argument 81 #define XCHAL_CP1_SA_LIST(s) /* empty */ argument 84 #define XCHAL_CP2_SA_LIST(s) /* empty */ argument 87 #define XCHAL_CP3_SA_LIST(s) /* empty */ argument 90 #define XCHAL_CP4_SA_LIST(s) /* empty */ argument 93 #define XCHAL_CP5_SA_LIST(s) /* empty */ argument 96 #define XCHAL_CP6_SA_LIST(s) /* empty */ argument [all …]
|
/u-boot/drivers/net/octeontx2/ |
A D | nix_af.c | 51 inst->s.lf = lf; in npa_attach_aura() 52 inst->s.doneint = 0; in npa_attach_aura() 98 inst->s.lf = lf; in npa_attach_pool() 133 lf_rst.s.exec = 1; in npa_lf_admin_setup() 134 lf_rst.s.lf = lf; in npa_lf_admin_setup() 186 inst->s.lf = lf; in npa_lf_admin_shutdown() 222 inst->s.lf = lf; in npa_lf_admin_shutdown() 252 lf_rst.s.exec = 1; in npa_lf_admin_shutdown() 253 lf_rst.s.lf = lf; in npa_lf_admin_shutdown() 283 blk_rst.s.rst = 1; in npa_af_setup() [all …]
|
/u-boot/board/xes/common/ |
A D | board.c | 15 char *s; in checkboard() local 19 s = "Custom"; in checkboard() 23 s = "ATCA w/PMC"; in checkboard() 25 s = "ATCA w/AMC"; in checkboard() 27 s = "VME"; in checkboard() 29 s = "6U VPX"; in checkboard() 31 s = "PMC"; in checkboard() 33 s = "PCI"; in checkboard() 39 s = "XMC"; in checkboard() 41 s = "PMC/XMC"; in checkboard() [all …]
|
/u-boot/arch/xtensa/include/asm/arch-dc233c/ |
A D | tie.h | 91 #define XCHAL_NCP_SA_LIST(s) \ argument 92 XCHAL_SA_REG(s,1,2,1,1, threadptr, 4, 4, 4,0x03E7, ur,231, 32,0,0,0) \ 99 XCHAL_SA_REG(s,0,0,0,1, scompare1, 4, 4, 4,0x020C, sr,12 , 32,0,0,0) 102 #define XCHAL_CP0_SA_LIST(s) /* empty */ argument 105 #define XCHAL_CP1_SA_LIST(s) /* empty */ argument 108 #define XCHAL_CP2_SA_LIST(s) /* empty */ argument 111 #define XCHAL_CP3_SA_LIST(s) /* empty */ argument 114 #define XCHAL_CP4_SA_LIST(s) /* empty */ argument 117 #define XCHAL_CP5_SA_LIST(s) /* empty */ argument 120 #define XCHAL_CP6_SA_LIST(s) /* empty */ argument [all …]
|
/u-boot/arch/xtensa/include/asm/arch-dc232b/ |
A D | tie.h | 91 #define XCHAL_NCP_SA_LIST(s) \ argument 92 XCHAL_SA_REG(s,1,0,0,1, acclo, 4, 4, 4,0x0210, sr,16 , 32,0,0,0) \ 99 XCHAL_SA_REG(s,1,2,1,1, threadptr, 4, 4, 4,0x03E7, ur,231, 32,0,0,0) 102 #define XCHAL_CP0_SA_LIST(s) /* empty */ argument 105 #define XCHAL_CP1_SA_LIST(s) /* empty */ argument 108 #define XCHAL_CP2_SA_LIST(s) /* empty */ argument 111 #define XCHAL_CP3_SA_LIST(s) /* empty */ argument 114 #define XCHAL_CP4_SA_LIST(s) /* empty */ argument 117 #define XCHAL_CP5_SA_LIST(s) /* empty */ argument 120 #define XCHAL_CP6_SA_LIST(s) /* empty */ argument [all …]
|
/u-boot/drivers/net/fsl-mc/dpio/ |
A D | qbman_sys.h | 37 const uint32_t *ss = s; in word_copy() 72 const uint32_t *ss = s; in u64_from_le32_copy() 134 s->addr_cinh, offset, val); in qbman_cinh_write() 144 s->addr_cinh, offset, reg); in qbman_cinh_read() 156 s->addr_cena, offset, shadow); in qbman_cena_write_start() 171 s->addr_cena, offset, shadow); in qbman_cena_write_complete() 257 s->addr_cena = d->cena_bar; in qbman_swp_sys_init() 258 s->addr_cinh = d->cinh_bar; in qbman_swp_sys_init() 260 if (!s->cena) { in qbman_swp_sys_init() 283 free(s->cena); in qbman_swp_sys_init() [all …]
|
/u-boot/drivers/usb/gadget/ |
A D | usbstring.c | 35 struct usb_string *s; in usb_gadget_get_string() local 49 for (s = table->strings; s && s->s; s++) in usb_gadget_get_string() 50 if (s->id == id) in usb_gadget_get_string() 54 if (!s || !s->s) in usb_gadget_get_string() 58 len = min((size_t) 126, strlen(s->s)); in usb_gadget_get_string() 60 len = utf8_to_utf16le(s->s, (__le16 *)&buf[2], len); in usb_gadget_get_string()
|
/u-boot/doc/sphinx/ |
A D | parse-headers.pl | 57 my $s = $1; 62 $enum_symbols{$s} = "\\ :ref:`$s <$n>`\\ "; 70 my $s = $1; 74 $ioctls{$s} = "\\ :ref:`$s <$n>`\\ "; 79 my $s = $1; 84 $defines{$s} = "\\ :ref:`$s <$n>`\\ "; 89 my $s = $2; 101 $enums{$s} = "enum :c:type:`$s`\\ "; 113 $structs{$s} = "struct $s\\ "; 126 my $s = $m; [all …]
|
/u-boot/lib/ |
A D | rc4.c | 23 s[i] = (unsigned char)i; in rc4_encode() 31 j = (j + s[i] + k[i]) % 256; in rc4_encode() 32 temp = s[i]; in rc4_encode() 33 s[i] = s[j]; in rc4_encode() 34 s[j] = temp; in rc4_encode() 41 j = (j + s[i]) % 256; in rc4_encode() 42 temp = s[i]; in rc4_encode() 43 s[i] = s[j]; in rc4_encode() 44 s[j] = temp; in rc4_encode() 45 t = (s[i] + (s[j] % 256)) % 256; in rc4_encode() [all …]
|
A D | string.c | 227 for(; *s != (char) c; ++s) in strchr() 236 for (; *s != (char)c; ++s) in strchrnul() 239 return s; in strchrnul() 250 const char *p = s + strlen(s); in strrchr() 270 return sc - s; in strlen() 286 return sc - s; in strnlen() 333 if (s == NULL) in strndup() 411 sbegin = s ? s : ___strtok; in strtok() 450 *s = end; in strsep() 468 if ((NULL == s) || ('\0' == *s)) { in strswab() [all …]
|
A D | gzip.c | 52 z_stream s; in zzip() local 65 s.zalloc = zalloc; in zzip() 66 s.zfree = zfree; in zzip() 67 s.opaque = Z_NULL; in zzip() 81 s.next_in = src; in zzip() 82 s.avail_in = comp_len; in zzip() 89 s.next_out = dst; in zzip() 90 s.avail_out = left_len; in zzip() 91 r = deflate(&s, flush); in zzip() 107 if (s.avail_in) { in zzip() [all …]
|
/u-boot/scripts/kconfig/ |
A D | util.c | 39 strcpy(gs.s, "\0"); in str_new() 46 if (gs->s) in str_free() 47 free(gs->s); in str_free() 48 gs->s = NULL; in str_free() 56 if (s) { in str_append() 57 l = strlen(gs->s) + strlen(s) + 1; in str_append() 59 gs->s = xrealloc(gs->s, l); in str_append() 62 strcat(gs->s, s); in str_append() 72 vsnprintf(s, sizeof(s), fmt, ap); in str_printf() 80 return gs->s; in str_get() [all …]
|
/u-boot/drivers/net/fm/ |
A D | fdt.c | 85 char s[64]; in fdt_fixup_fman_firmware() local 86 fdt_get_path(blob, fmnode, s, sizeof(s)); in fdt_fixup_fman_firmware() 94 char s[64]; in fdt_fixup_fman_firmware() local 95 fdt_get_path(blob, fwnode, s, sizeof(s)); in fdt_fixup_fman_firmware() 102 char s[64]; in fdt_fixup_fman_firmware() local 103 fdt_get_path(blob, fwnode, s, sizeof(s)); in fdt_fixup_fman_firmware() 110 char s[64]; in fdt_fixup_fman_firmware() local 111 fdt_get_path(blob, fwnode, s, sizeof(s)); in fdt_fixup_fman_firmware() 123 char s[64]; in fdt_fixup_fman_firmware() local 124 fdt_get_path(blob, fmnode, s, sizeof(s)); in fdt_fixup_fman_firmware() [all …]
|
/u-boot/drivers/bios_emulator/x86emu/ |
A D | prim_ops.c | 186 cc = (s & d) | ((~res) & (s | d)); in calc_carry_chain() 198 bc = (res & (~d | s)) | (~d & s); in calc_borrow_chain() 1190 cnt = s % 8; in shl_byte() 1305 cnt = s % 8; in shr_byte() 1669 bc = (res & (~d | s)) | (~d & s); in sbb_byte() 1692 bc = (res & (~d | s)) | (~d & s); in sbb_word() 1716 bc = (res & (~d | s)) | (~d & s); in sbb_long() 1736 bc = (res & (~d | s)) | (~d & s); in sub_byte() 1756 bc = (res & (~d | s)) | (~d & s); in sub_word() 1776 bc = (res & (~d | s)) | (~d & s); in sub_long() [all …]
|
/u-boot/arch/nios2/lib/ |
A D | libgcc.c | 63 w.s.high = (UWtype) uu.s.low << -bm; in __ashldi3() 69 w.s.low = (UWtype) uu.s.low << b; in __ashldi3() 90 w.s.low = uu.s.high >> -bm; in __ashrdi3() 96 w.s.high = uu.s.high >> b; in __ashrdi3() 116 w.s.low = (UWtype) uu.s.high >> -bm; in __lshrdi3() 122 w.s.high = (UWtype) uu.s.high >> b; in __lshrdi3() 135 if (au.s.high < bu.s.high) in __cmpdi2() 137 else if (au.s.high > bu.s.high) in __cmpdi2() 139 if ((UWtype) au.s.low < (UWtype) bu.s.low) in __cmpdi2() 399 w.s.high += ((UWtype) uu.s.low * (UWtype) vv.s.high in __muldi3() [all …]
|
/u-boot/drivers/serial/ |
A D | serial.c | 245 while (s) { in serial_stdio_init() 257 dev.priv = s; in serial_stdio_init() 261 s = s->next; in serial_stdio_init() 281 for (s = serial_devices; s; s = s->next) { in serial_assign() 301 for (s = serial_devices; s; s = s->next) in serial_reinit_all() 302 s->start(); in serial_reinit_all() 455 while (*s) in default_serial_puts() 486 for (s = serial_devices; s; s = s->next) { in uart_post_test() 503 s->loop(1); in uart_post_test() 539 s->loop(0); in uart_post_test() [all …]
|