Home
last modified time | relevance | path

Searched refs:bits (Results 1 – 25 of 221) sorted by relevance

123456789

/rk3399_rockchip-uboot/board/micronas/vct/
H A Ddcgu.c41 en1.bits.en_clkmsmc = enable; in dcgu_set_clk_switch()
44 en1.bits.en_clkssi_s = enable; in dcgu_set_clk_switch()
47 en1.bits.en_clkssi_m = enable; in dcgu_set_clk_switch()
50 en1.bits.en_clksmc = enable; in dcgu_set_clk_switch()
53 en1.bits.en_clkebi = enable; in dcgu_set_clk_switch()
56 en1.bits.en_usbpll = enable; in dcgu_set_clk_switch()
59 en1.bits.en_clkusb60 = enable; in dcgu_set_clk_switch()
62 en1.bits.en_clkusb24 = enable; in dcgu_set_clk_switch()
65 en1.bits.en_clkuart2 = enable; in dcgu_set_clk_switch()
68 en1.bits.en_clkuart1 = enable; in dcgu_set_clk_switch()
[all …]
H A Dscc.c468 dma_cmd.bits.action = DMA_TAKEOVER; in scc_takeover_dma()
469 dma_cmd.bits.id = dma_id; in scc_takeover_dma()
470 dma_cmd.bits.rid = TO_DMA_CFG; /* this is DMA_CFG register takeover */ in scc_takeover_dma()
472 dma_cmd.bits.drs = DMA_WRITE; in scc_takeover_dma()
488 dma_cmd.bits.action = cmd; in scc_dma_cmd()
489 dma_cmd.bits.id = dma_id; in scc_dma_cmd()
491 dma_cmd.bits.drs = DMA_WRITE; in scc_dma_cmd()
567 dma_cfg.bits.buffer_id = buffer_tag; in scc_setup_dma()
574 dma_cfg.bits.packet_cfg_id = in scc_setup_dma()
575 scc_software_configuration[id].bits.packet_select; in scc_setup_dma()
[all …]
/rk3399_rockchip-uboot/lib/zlib/
H A Dinffast.c86 unsigned bits; /* local strm->bits */ in inflate_fast() local
121 bits = state->bits; in inflate_fast()
130 if (bits < 15) { in inflate_fast()
131 hold += (unsigned long)(PUP(in)) << bits; in inflate_fast()
132 bits += 8; in inflate_fast()
133 hold += (unsigned long)(PUP(in)) << bits; in inflate_fast()
134 bits += 8; in inflate_fast()
138 op = (unsigned)(this.bits); in inflate_fast()
140 bits -= op; in inflate_fast()
152 if (bits < op) { in inflate_fast()
[all …]
H A Dinflate.c26 state->bits = 0; in inflateReset()
185 bits = state->bits; \
196 state->bits = bits; \
203 bits = 0; \
212 hold += (unsigned long)(*next++) << bits; \
213 bits += 8; \
220 while (bits < (unsigned)(n)) \
232 bits -= (unsigned)(n); \
238 hold >>= bits & 7; \
239 bits -= bits & 7; \
[all …]
H A Dinftrees.c33 code FAR * FAR *table, unsigned FAR *bits, in inflate_table() argument
109 root = *bits; in inflate_table()
115 this.bits = (unsigned char)1; in inflate_table()
119 *bits = 1; in inflate_table()
214 this.bits = (unsigned char)(len - drop); in inflate_table()
282 (*table)[low].bits = (unsigned char)root; in inflate_table()
295 this.bits = (unsigned char)(len - drop); in inflate_table()
303 this.bits = (unsigned char)len; in inflate_table()
323 *bits = root; in inflate_table()
H A Dtrees.c244 int bits; /* bit counter */ in tr_static_init() local
296 for (bits = 0; bits <= MAX_BITS; bits++) bl_count[bits] = 0; in tr_static_init()
506 int bits; /* bit length */ local
511 for (bits = 0; bits <= MAX_BITS; bits++) s->bl_count[bits] = 0;
520 bits = tree[tree[n].Dad].Len + 1;
521 if (bits > max_length) bits = max_length, overflow++;
522 tree[n].Len = (ush)bits;
527 s->bl_count[bits]++;
531 s->opt_len += (ulg)f * (bits + xbits);
541 bits = max_length-1;
[all …]
H A Dinftrees.h26 unsigned char bits; /* bits in this part of the code */ member
55 unsigned FAR *bits, unsigned short FAR *work));
/rk3399_rockchip-uboot/board/toradex/colibri_imx6/
H A Dpf0100_otp.inc73 {pmic_i2c, 0xF1, 0x00}, // Reset Bank 1 ANTIFUSE_RW and ANTIFUSE_BYPASS bits
74 {pmic_i2c, 0xF2, 0x00}, // Reset Bank 2 ANTIFUSE_RW and ANTIFUSE_BYPASS bits
75 {pmic_i2c, 0xF3, 0x00}, // Reset Bank 3 ANTIFUSE_RW and ANTIFUSE_BYPASS bits
76 {pmic_i2c, 0xF4, 0x00}, // Reset Bank 4 ANTIFUSE_RW and ANTIFUSE_BYPASS bits
77 {pmic_i2c, 0xF5, 0x00}, // Reset Bank 5 ANTIFUSE_RW and ANTIFUSE_BYPASS bits
78 {pmic_i2c, 0xF6, 0x00}, // Reset Bank 6 ANTIFUSE_RW and ANTIFUSE_BYPASS bits
79 {pmic_i2c, 0xF7, 0x00}, // Reset Bank 7 ANTIFUSE_RW and ANTIFUSE_BYPASS bits
80 {pmic_i2c, 0xF8, 0x00}, // Reset Bank 8 ANTIFUSE_RW and ANTIFUSE_BYPASS bits
81 {pmic_i2c, 0xF9, 0x00}, // Reset Bank 9 ANTIFUSE_RW and ANTIFUSE_BYPASS bits
82 {pmic_i2c, 0xFA, 0x00}, // Reset Bank 10 ANTIFUSE_RW and ANTIFUSE_BYPASS bits
[all …]
/rk3399_rockchip-uboot/board/toradex/apalis_imx6/
H A Dpf0100_otp.inc75 {pmic_i2c, 0xF1, 0x00}, // Reset Bank 1 ANTIFUSE_RW and ANTIFUSE_BYPASS bits
76 {pmic_i2c, 0xF2, 0x00}, // Reset Bank 2 ANTIFUSE_RW and ANTIFUSE_BYPASS bits
77 {pmic_i2c, 0xF3, 0x00}, // Reset Bank 3 ANTIFUSE_RW and ANTIFUSE_BYPASS bits
78 {pmic_i2c, 0xF4, 0x00}, // Reset Bank 4 ANTIFUSE_RW and ANTIFUSE_BYPASS bits
79 {pmic_i2c, 0xF5, 0x00}, // Reset Bank 5 ANTIFUSE_RW and ANTIFUSE_BYPASS bits
80 {pmic_i2c, 0xF6, 0x00}, // Reset Bank 6 ANTIFUSE_RW and ANTIFUSE_BYPASS bits
81 {pmic_i2c, 0xF7, 0x00}, // Reset Bank 7 ANTIFUSE_RW and ANTIFUSE_BYPASS bits
82 {pmic_i2c, 0xF8, 0x00}, // Reset Bank 8 ANTIFUSE_RW and ANTIFUSE_BYPASS bits
83 {pmic_i2c, 0xF9, 0x00}, // Reset Bank 9 ANTIFUSE_RW and ANTIFUSE_BYPASS bits
84 {pmic_i2c, 0xFA, 0x00}, // Reset Bank 10 ANTIFUSE_RW and ANTIFUSE_BYPASS bits
[all …]
/rk3399_rockchip-uboot/drivers/net/
H A Dsmc91111.c841 static void smc_dump_mii_stream (byte * bits, int size) in smc_dump_mii_stream() argument
852 if (bits[i] & MII_MDOE) in smc_dump_mii_stream()
860 if (bits[i] & MII_MDO) in smc_dump_mii_stream()
868 if (bits[i] & MII_MDI) in smc_dump_mii_stream()
888 byte bits[64]; in smc_read_phy_register() local
896 bits[clk_idx++] = MII_MDOE | MII_MDO; in smc_read_phy_register()
899 bits[clk_idx++] = MII_MDOE; in smc_read_phy_register()
900 bits[clk_idx++] = MII_MDOE | MII_MDO; in smc_read_phy_register()
903 bits[clk_idx++] = MII_MDOE | MII_MDO; in smc_read_phy_register()
904 bits[clk_idx++] = MII_MDOE; in smc_read_phy_register()
[all …]
/rk3399_rockchip-uboot/scripts/dtc/
H A Ddtc-parser.y47 int bits; member
324 unsigned long long bits; variable
326 bits = $2;
328 if ((bits != 8) && (bits != 16) &&
329 (bits != 32) && (bits != 64)) {
332 bits = 32;
336 $$.bits = bits;
341 $$.bits = 32;
345 if ($1.bits < 64) {
346 uint64_t mask = (1ULL << $1.bits) - 1;
[all …]
/rk3399_rockchip-uboot/arch/arm/dts/
H A Dat91sam9261ek.dts45 bits-per-pixel = <16>;
131 ti,x-min = /bits/ 16 <150>;
132 ti,x-max = /bits/ 16 <3830>;
133 ti,y-min = /bits/ 16 <190>;
134 ti,y-max = /bits/ 16 <3830>;
135 ti,vref-delay-usecs = /bits/ 16 <450>;
136 ti,x-plate-ohms = /bits/ 16 <450>;
137 ti,y-plate-ohms = /bits/ 16 <250>;
138 ti,pressure-max = /bits/ 16 <15000>;
139 ti,debounce-rep = /bits/ 16 <0>;
[all …]
H A Duniphier-ld20.dtsi84 opp-hz = /bits/ 64 <250000000>;
88 opp-hz = /bits/ 64 <275000000>;
92 opp-hz = /bits/ 64 <500000000>;
96 opp-hz = /bits/ 64 <550000000>;
100 opp-hz = /bits/ 64 <666667000>;
104 opp-hz = /bits/ 64 <733334000>;
108 opp-hz = /bits/ 64 <1000000000>;
112 opp-hz = /bits/ 64 <1100000000>;
122 opp-hz = /bits/ 64 <250000000>;
126 opp-hz = /bits/ 64 <275000000>;
[all …]
H A Dzynqmp-zc1751-xm015-dc1.dts148 ceva,p0-cominit-params = /bits/ 8 <0x1B 0x4D 0x18 0x28>;
149 ceva,p0-comwake-params = /bits/ 8 <0x06 0x19 0x08 0x0E>;
150 ceva,p0-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
151 ceva,p0-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
152 ceva,p1-cominit-params = /bits/ 8 <0x1B 0x4D 0x18 0x28>;
153 ceva,p1-comwake-params = /bits/ 8 <0x06 0x19 0x08 0x0E>;
154 ceva,p1-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
155 ceva,p1-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
H A Dzynqmp-ep108.dts145 ceva,p0-cominit-params = /bits/ 8 <0x0F 0x25 0x18 0x29>;
146 ceva,p0-comwake-params = /bits/ 8 <0x04 0x0B 0x08 0x0F>;
147 ceva,p0-burst-params = /bits/ 8 <0x0A 0x08 0x4A 0x06>;
148 ceva,p0-retry-params = /bits/ 16 <0x0216 0x7F06>;
149 ceva,p1-cominit-params = /bits/ 8 <0x0F 0x25 0x18 0x29>;
150 ceva,p1-comwake-params = /bits/ 8 <0x04 0x0B 0x08 0x0F>;
151 ceva,p1-burst-params = /bits/ 8 <0x0A 0x08 0x4A 0x06>;
152 ceva,p1-retry-params = /bits/ 16 <0x0216 0x7F06>;
/rk3399_rockchip-uboot/fs/jffs2/
H A Dmini_inflate.c39 stream->codes.bits = 8; in init_stream()
47 stream->lengths.bits = 16; in init_stream()
55 stream->distance.bits = 16; in init_stream()
69 const unsigned int bits) in pull_bits() argument
75 for (i = 0; i < bits; i++) { in pull_bits()
125 int bits = 0; in read_symbol() local
127 while (!(set->count[bits] && code < set->first[bits] + in read_symbol()
128 set->count[bits])) { in read_symbol()
130 if (++bits > set->bits) { in read_symbol()
136 return set->symbols[set->pos[bits] + code - set->first[bits]]; in read_symbol()
[all …]
H A Dcompr_rubin.c46 void rubin_do_decompress(unsigned char *bits, unsigned char *in, in rubin_do_decompress() argument
92 i0 = (bits[i] * p) >> 8; in rubin_do_decompress()
115 unsigned char bits[8]; in dynrubin_decompress() local
119 bits[c] = (256 - data_in[c]); in dynrubin_decompress()
121 rubin_do_decompress(bits, data_in+8, cpage_out, dstlen); in dynrubin_decompress()
/rk3399_rockchip-uboot/tools/
H A Drkmux.py28 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 != 'Bit':
/rk3399_rockchip-uboot/arch/arm/mach-imx/
H A Dcpu.c119 int bits = 11 + 0 + 0 + 1; /* row + col + bank + width */ in imx_ddr_size() local
121 bits += ESD_MMDC_CTL_GET_ROW(ctl); in imx_ddr_size()
122 bits += col_lookup[ESD_MMDC_CTL_GET_COLUMN(ctl)]; in imx_ddr_size()
123 bits += bank_lookup[ESD_MMDC_MISC_GET_BANK(misc)]; in imx_ddr_size()
124 bits += ESD_MMDC_CTL_GET_WIDTH(ctl); in imx_ddr_size()
125 bits += ESD_MMDC_CTL_GET_CS1(ctl); in imx_ddr_size()
128 if (bits == 32) in imx_ddr_size()
131 return 1 << bits; in imx_ddr_size()
/rk3399_rockchip-uboot/drivers/mtd/
H A Dmw_eeprom.c77 int bits; in mw_eeprom_read_word() local
83 bits = 4 + addrlen; in mw_eeprom_read_word()
85 while (bits>0) { in mw_eeprom_read_word()
87 if (bits > 7) { in mw_eeprom_read_word()
88 res |= rcv << (bits - 8); in mw_eeprom_read_word()
90 res |= rcv >> (8 - bits); in mw_eeprom_read_word()
92 bits -= 8; in mw_eeprom_read_word()
/rk3399_rockchip-uboot/drivers/video/
H A Dconsole_normal.c88 uchar bits = video_fontdata[ch * VIDEO_FONT_HEIGHT + row]; in console_normal_putc_xy() local
96 *dst++ = (bits & 0x80) ? vid_priv->colour_fg in console_normal_putc_xy()
98 bits <<= 1; in console_normal_putc_xy()
108 *dst++ = (bits & 0x80) ? vid_priv->colour_fg in console_normal_putc_xy()
110 bits <<= 1; in console_normal_putc_xy()
120 *dst++ = (bits & 0x80) ? vid_priv->colour_fg in console_normal_putc_xy()
122 bits <<= 1; in console_normal_putc_xy()
H A Dhitachi_tx18d42vm_lcd.c20 unsigned int data, int bits) in lcd_panel_spi_write() argument
25 for (i = 0; i < bits; i++) { in lcd_panel_spi_write()
27 offset = (bits - 1) - i; in lcd_panel_spi_write()
/rk3399_rockchip-uboot/tools/dtoc/
H A Ddtoc_test_addr64.dts18 reg = /bits/ 64 <0x1234 0x5678>;
24 reg = /bits/ 64 <0x1234567890123456 0x9876543210987654>;
30 reg = /bits/ 64 <0x1234567890123456 0x9876543210987654 2 3>;
/rk3399_rockchip-uboot/arch/arm/mach-sunxi/
H A Dpmic_bus.c96 int pmic_bus_setbits(u8 reg, u8 bits) in pmic_bus_setbits() argument
105 val |= bits; in pmic_bus_setbits()
109 int pmic_bus_clrbits(u8 reg, u8 bits) in pmic_bus_clrbits() argument
118 val &= ~bits; in pmic_bus_clrbits()
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-sunxi/
H A Dpmic_bus.h15 int pmic_bus_setbits(u8 reg, u8 bits);
16 int pmic_bus_clrbits(u8 reg, u8 bits);

123456789