/u-boot/arch/arm/mach-imx/ |
H A D | mmdc_size.c | 35 * The MMDC MDCTL register holds the number of bits for row, col, and data 37 * all these bits to determine the meme size the MMDC has been configured for 44 int bits = 11 + 0 + 0 + 1; /* row + col + bank + width */ local 46 bits += ESD_MMDC_CTL_GET_ROW(ctl); 47 bits += col_lookup[ESD_MMDC_CTL_GET_COLUMN(ctl)]; 48 bits += bank_lookup[ESD_MMDC_MISC_GET_BANK(misc)]; 49 bits += ESD_MMDC_CTL_GET_WIDTH(ctl); 50 bits += ESD_MMDC_CTL_GET_CS1(ctl); 53 if (bits == 32) 56 return 1 << bits; [all...] |
/u-boot/lib/zlib/ |
H A D | inffast.c | 29 state->bits < 8 39 - The maximum input bits used by a length/distance pair is 15 bits for the 40 length code, 5 bits for the length extra, 15 bits for the distance code, 41 and 13 bits for the distance extra. This totals 48 bits, or six bytes. 68 unsigned bits; /* local strm->bits */ local 74 unsigned op; /* code bits, operatio [all...] |
H A D | inftrees.h | 14 table that indexes more bits of the code. op indicates whether 17 pointer, the low four bits of op is the number of index bits of 18 that table. For a length or distance, the low four bits of op 19 is the number of extra bits to get after the code. bits is 20 the number of bits in this code or part of the code to drop off 25 unsigned char op; /* operation, extra bits, table bits */ 26 unsigned char bits; /* bit member in struct:__anon1256 [all...] |
H A D | inftrees.c | 23 whose indices are 0..2^bits-1. work is a writable array of at least 27 on return points to the next available entry's address. bits is the 28 requested root table index bits, and on return it is the actual root 29 table index bits. It will differ if the request is greater than the 33 code FAR * FAR *table, unsigned FAR *bits, 36 unsigned len; /* a code's length in bits */ 39 unsigned root; /* number of index bits for root table */ 40 unsigned curr; /* number of index bits for current table */ 41 unsigned drop; /* code bits to drop for sub-table */ 47 unsigned low; /* low bits fo 32 inflate_table(codetype type, unsigned short FAR *lens, unsigned codes, code FAR * FAR *table, unsigned FAR *bits, unsigned short FAR *work) argument [all...] |
H A D | inflate.c | 26 state->bits = 0; 182 bits = state->bits; \ 193 state->bits = bits; \ 200 bits = 0; \ 209 hold += (unsigned long)(*next++) << bits; \ 210 bits += 8; \ 213 /* Assure that there are at least n bits in the bit accumulator. If there is 217 while (bits < (unsigne 332 unsigned bits; /* bits in bit buffer */ local [all...] |
H A D | trees.c | 49 /* Bit length codes must not exceed MAX_BL_BITS bits */ 55 /* repeat previous bit length 3-6 times (2 bits of repeat count) */ 58 /* repeat a zero length 3-10 times (3 bits of repeat count) */ 61 /* repeat a zero length 11-138 times (7 bits of repeat count) */ 63 local const int extra_lbits[LENGTH_CODES] /* extra bits for each length code */ 66 local const int extra_dbits[D_CODES] /* extra bits for each distance code */ 69 local const int extra_blbits[BL_CODES]/* extra bits for each bit length code */ 79 /* Number of bits used within bi_buf. (bi_buf might be implemented on 80 * more than 16 bits on some systems.) 101 * 5 bits 245 int bits; /* bit counter */ local 507 int bits; /* bit length */ local 589 int bits; /* bit index */ local [all...] |
/u-boot/arch/mips/mach-octeon/include/mach/ |
H A D | cvmx-helper-jtag.h | 12 * The JTAG chain for CN52XX and CN56XX is 4 * 268 bits long, or 1072. 15 * The JTAG chain for CN63XX is 4 * 300 bits long, or 1200. 16 * The JTAG chain for CN68XX is 4 * 304 bits long, or 1216. 17 * The JTAG chain for CN66XX/CN61XX/CNF71XX is 4 * 304 bits long, or 1216. 40 * Write up to 32bits into the QLM jtag chain. Bits are shifted 42 * order bits followed by the high order bits. The JTAG chain for 43 * CN52XX and CN56XX is 4 * 268 bits long, or 1072. The JTAG chain 44 * for CN63XX is 4 * 300 bits long, or 1200. 47 * @param bits Numbe [all...] |
/u-boot/arch/arm/include/asm/arch-sunxi/ |
H A D | pmic_bus.h | 14 int pmic_bus_setbits(u8 reg, u8 bits); 15 int pmic_bus_clrbits(u8 reg, u8 bits);
|
/u-boot/arch/arm/mach-imx/mx7/ |
H A D | ddr.c | 141 int bits = 0;/* Number of address bits */ local 143 /* Count data bus width bits */ 146 bits += 2 - field_val; 147 /* Count rank address bits */ 150 bits += field_val - 1; 151 /* Count column address bits */ 152 bits += 2;/* Column address 0 and 1 are fixed mapped */ 156 bits++; 159 bits [all...] |
/u-boot/drivers/ram/stm32mp1/ |
H A D | stm32mp1_ram.c | 186 /* Count bank address bits */ 187 u8 bits = 0; local 194 bits++; 198 bits++; 202 bits++; 204 return bits; 209 u8 bits; local 212 /* Count column address bits, start at 2 for b0 and b1 (fixed) */ 213 bits = 2; 219 bits 275 u8 bits = 0; local [all...] |
/u-boot/fs/jffs2/ |
H A D | compr_rubin.c | 46 void rubin_do_decompress(unsigned char *bits, unsigned char *in, argument 92 i0 = (bits[i] * p) >> 8; 115 unsigned char bits[8]; local 119 bits[c] = (256 - data_in[c]); 121 rubin_do_decompress(bits, data_in+8, cpage_out, dstlen);
|
H A D | mini_inflate.c | 37 stream->codes.bits = 8; 45 stream->lengths.bits = 16; 53 stream->distance.bits = 16; 63 /* pull 'bits' bits out of the stream. The last bit pulled it returned as the 67 const unsigned int bits) 73 for (i = 0; i < bits; i++) { 96 /* discard bits up to the next whole byte */ 123 int bits = 0; local 125 while (!(set->count[bits] 66 pull_bits(struct bitstream *stream, const unsigned int bits) argument [all...] |
/u-boot/include/u-boot/ |
H A D | md5.h | 15 __u32 bits[2]; member in struct:MD5Context
|
/u-boot/arch/arm/mach-sunxi/ |
H A D | pmic_bus.c | 106 int pmic_bus_setbits(u8 reg, u8 bits) argument 115 if ((val & bits) == bits) 118 val |= bits; 122 int pmic_bus_clrbits(u8 reg, u8 bits) argument 131 if (!(val & bits)) 134 val &= ~bits;
|
/u-boot/drivers/power/domain/ |
H A D | imx8m-power-domain.c | 127 } bits; member in struct:imx_pgc_domain 160 .bits = { 168 .bits = { 176 .bits = { 184 .bits = { 202 .bits = { 212 .bits = { 220 .bits = { 228 .bits = { 246 .bits [all...] |
/u-boot/scripts/dtc/ |
H A D | dtc-parser.y | 47 int bits; 342 unsigned long long bits; 344 bits = $2; 346 if ((bits != 8) && (bits != 16) && 347 (bits != 32) && (bits != 64)) { 349 " 8, 16, 32 or 64-bits"); 350 bits = 32; 354 $$.bits [all...] |
/u-boot/drivers/video/ |
H A D | hitachi_tx18d42vm_lcd.c | 22 unsigned int data, int bits) 27 for (i = 0; i < bits; i++) { 29 offset = (bits - 1) - i; 21 lcd_panel_spi_write(int cs, int clk, int mosi, unsigned int data, int bits) argument
|
/u-boot/arch/mips/mach-octeon/ |
H A D | cvmx-helper-jtag.c | 63 * Write up to 32bits into the QLM jtag chain. Bits are shifted 65 * order bits followed by the high order bits. The JTAG chain for 66 * CN52XX and CN56XX is 4 * 268 bits long, or 1072. The JTAG chain 67 * for CN63XX is 4 * 300 bits long, or 1200. 70 * @param bits Number of bits to shift in (1-32). 74 * Return: The low order bits of the JTAG chain that shifted out of the 77 uint32_t cvmx_helper_qlm_jtag_shift(int qlm, int bits, uint32_t data) argument 89 jtgd.s.shft_cnt = bits 109 cvmx_helper_qlm_jtag_shift_zeros(int qlm, int bits) argument [all...] |
/u-boot/tools/ |
H A D | rkmux.py | 28 self.bits, self.attr, self.reset_val, self.desc = ( 32 self.bits = '' 38 self.bits, self.attr, self.reset_val = cols[0:3] 51 return '%s,%s,%s,%s' % (self.bits, self.attr, self.reset_val, 90 if ':' in regfield.bits: 91 bit_high, bit_low = [int(x) for x in regfield.bits.split(':')] 93 bit_high = bit_low = int(regfield.bits) 121 if field.bits: 192 if field.bits: 193 if field.bits ! [all...] |
/u-boot/include/jffs2/ |
H A D | mini_inflate.h | 21 int bits; /* maximum bit length */ member in struct:huffman_set
|
/u-boot/arch/arm/cpu/arm1136/ |
H A D | start.S | 23 * setup Memory and board specific bits prior to relocation. 78 bic r0, r0, #0x00002300 @ clear bits 13, 9:8 (--V- --RS) 79 bic r0, r0, #0x00000087 @ clear bits 7, 2:0 (B--- -CAM)
|
/u-boot/arch/arm/cpu/arm1176/ |
H A D | start.S | 26 * setup Memory and board specific bits prior to relocation. 80 bic r0, r0, #0x00002300 @ clear bits 13, 9:8 (--V- --RS) 81 bic r0, r0, #0x00000087 @ clear bits 7, 2:0 (B--- -CAM) 102 * Go setup Memory and board specific bits prior to relocation.
|
/u-boot/arch/arm/cpu/arm920t/ |
H A D | start.S | 80 bic r0, r0, #0x00002300 @ clear bits 13, 9:8 (--V- --RS) 81 bic r0, r0, #0x00000087 @ clear bits 7, 2:0 (B--- -CAM)
|
/u-boot/drivers/sysreset/ |
H A D | sysreset_mpc83xx.c | 141 } bits[] = { local 168 for (i = 0; i < ARRAY_SIZE(bits); i++) 169 /* Print description of set bits */ 170 if (rsr & bits[i].mask) { 171 res = snprintf(buf, size, "%s%s%s", sep, bits[i].desc, 172 (i == ARRAY_SIZE(bits) - 1) ? "\n" : "");
|
/u-boot/fs/btrfs/ |
H A D | extent-io.c | 109 * insert an extent_state struct into the tree. 'bits' are set on the 114 int bits) 119 state->state |= bits; 150 * clear some bits on a range in the tree. 153 struct extent_state *state, int bits) 155 int ret = state->state & bits; 157 state->state &= ~bits; 172 * @len: number of bits to set 200 * @len: number of bits to clear 224 * clear some bits o 112 insert_state(struct extent_io_tree *tree, struct extent_state *state, u64 start, u64 end, int bits) argument 152 clear_state_bit(struct extent_io_tree *tree, struct extent_state *state, int bits) argument 226 clear_extent_bits(struct extent_io_tree *tree, u64 start, u64 end, int bits) argument 320 set_extent_bits(struct extent_io_tree *tree, u64 start, u64 end, int bits) argument 453 find_first_extent_bit(struct extent_io_tree *tree, u64 start, u64 *start_ret, u64 *end_ret, int bits) argument 484 test_range_bit(struct extent_io_tree *tree, u64 start, u64 end, int bits, int filled) argument [all...] |