Home
last modified time | relevance | path

Searched refs:b (Results 1 – 25 of 869) sorted by relevance

12345678910>>...35

/rk3399_rockchip-uboot/drivers/usb/musb/
H A Dmusb_debug.h15 static inline void musb_print_pwr(u8 b) in musb_print_pwr() argument
17 serial_printf("\tpower 0x%2.2x\n", b); in musb_print_pwr()
18 MUSB_FLAGS_PRINT(b, POWER, ISOUPDATE); in musb_print_pwr()
19 MUSB_FLAGS_PRINT(b, POWER, SOFTCONN); in musb_print_pwr()
20 MUSB_FLAGS_PRINT(b, POWER, HSENAB); in musb_print_pwr()
21 MUSB_FLAGS_PRINT(b, POWER, HSMODE); in musb_print_pwr()
22 MUSB_FLAGS_PRINT(b, POWER, RESET); in musb_print_pwr()
23 MUSB_FLAGS_PRINT(b, POWER, RESUME); in musb_print_pwr()
24 MUSB_FLAGS_PRINT(b, POWER, SUSPENDM); in musb_print_pwr()
25 MUSB_FLAGS_PRINT(b, POWER, ENSUSPEND); in musb_print_pwr()
[all …]
/rk3399_rockchip-uboot/arch/powerpc/include/asm/
H A Dpci_io.h27 #define pci_readb(addr,b) ((b) = *(volatile u8 *) (addr)) argument
28 #define pci_writeb(b,addr) ((*(volatile u8 *) (addr)) = (b)) argument
31 #define pci_readw(addr,b) ((b) = *(volatile u16 *) (addr)) argument
32 #define pci_readl(addr,b) ((b) = *(volatile u32 *) (addr)) argument
33 #define pci_writew(b,addr) ((*(volatile u16 *) (addr)) = (b)) argument
34 #define pci_writel(b,addr) ((*(volatile u32 *) (addr)) = (b)) argument
36 #define pci_readw(addr,b) pci_read_le16((volatile u16 *)(addr),(b)) argument
37 #define pci_readl(addr,b) pci_read_le32((volatile u32 *)(addr),(b)) argument
38 #define pci_writew(b,addr) pci_write_le16((volatile u16 *)(addr),(b)) argument
39 #define pci_writel(b,addr) pci_write_le32((volatile u32 *)(addr),(b)) argument
/rk3399_rockchip-uboot/arch/arc/lib/
H A Dlibgcc2.h62 #define __NW(a,b) __gnu_ ## a ## di ## b argument
63 #define __NDW(a,b) __gnu_ ## a ## ti ## b argument
65 #define __NW(a,b) __ ## a ## di ## b argument
66 #define __NDW(a,b) __ ## a ## ti ## b argument
77 #define __NW(a,b) __gnu_ ## a ## si ## b argument
78 #define __NDW(a,b) __gnu_ ## a ## di ## b argument
80 #define __NW(a,b) __ ## a ## si ## b argument
81 #define __NDW(a,b) __ ## a ## di ## b argument
92 #define __NW(a,b) __gnu_ ## a ## hi ## b argument
93 #define __NDW(a,b) __gnu_ ## a ## si ## b argument
[all …]
H A Dlibgcc2.c10 __ashldi3(DWtype u, shift_count_type b) in __ashldi3() argument
12 if (b == 0) in __ashldi3()
16 const shift_count_type bm = W_TYPE_SIZE - b; in __ashldi3()
25 w.s.low = (UWtype)uu.s.low << b; in __ashldi3()
26 w.s.high = ((UWtype)uu.s.high << b) | carries; in __ashldi3()
33 __ashrdi3(DWtype u, shift_count_type b) in __ashrdi3() argument
35 if (b == 0) in __ashrdi3()
39 const shift_count_type bm = W_TYPE_SIZE - b; in __ashrdi3()
49 w.s.high = uu.s.high >> b; in __ashrdi3()
50 w.s.low = ((UWtype)uu.s.low >> b) | carries; in __ashrdi3()
[all …]
/rk3399_rockchip-uboot/lib/
H A Dmd5.c185 register __u32 a, b, c, d; in MD5Transform() local
188 b = buf[1]; in MD5Transform()
192 MD5STEP(F1, a, b, c, d, in[0] + 0xd76aa478, 7); in MD5Transform()
193 MD5STEP(F1, d, a, b, c, in[1] + 0xe8c7b756, 12); in MD5Transform()
194 MD5STEP(F1, c, d, a, b, in[2] + 0x242070db, 17); in MD5Transform()
195 MD5STEP(F1, b, c, d, a, in[3] + 0xc1bdceee, 22); in MD5Transform()
196 MD5STEP(F1, a, b, c, d, in[4] + 0xf57c0faf, 7); in MD5Transform()
197 MD5STEP(F1, d, a, b, c, in[5] + 0x4787c62a, 12); in MD5Transform()
198 MD5STEP(F1, c, d, a, b, in[6] + 0xa8304613, 17); in MD5Transform()
199 MD5STEP(F1, b, c, d, a, in[7] + 0xfd469501, 22); in MD5Transform()
[all …]
H A Dlist_sort.c22 struct list_head *b), in merge() argument
23 struct list_head *a, struct list_head *b) in merge()
27 while (a && b) { in merge()
29 if ((*cmp)(priv, a, b) <= 0) { in merge()
33 tail->next = b; in merge()
34 b = b->next; in merge()
38 tail->next = a?:b; in merge()
51 struct list_head *b), in merge_and_restore_back_links() argument
53 struct list_head *a, struct list_head *b) in merge_and_restore_back_links()
57 while (a && b) { in merge_and_restore_back_links()
[all …]
/rk3399_rockchip-uboot/include/
H A Dtime.h31 #define time_after(a,b) \ argument
33 typecheck(unsigned long, b) && \
34 ((long)((b) - (a)) < 0))
35 #define time_before(a,b) time_after(b,a) argument
37 #define time_after_eq(a,b) \ argument
39 typecheck(unsigned long, b) && \
40 ((long)((a) - (b)) >= 0))
41 #define time_before_eq(a,b) time_after_eq(b,a) argument
46 #define time_in_range(a,b,c) \ argument
47 (time_after_eq(a,b) && \
[all …]
/rk3399_rockchip-uboot/tools/
H A Dbmp_logo.c52 void gen_info(bitmap_t *b, uint16_t n_colors) in gen_info() argument
69 b->width, b->height, n_colors, in gen_info()
78 bitmap_t *b = &bmp; in main() local
112 if (fread (&b->width, sizeof (uint16_t), 1, fp) != 1) in main()
115 if (fread (&b->height, sizeof (uint16_t), 1, fp) != 1) in main()
126 b->width = le_short(b->width); in main()
127 b->height = le_short(b->height); in main()
137 gen_info(b, n_colors); in main()
151 if ((b->data = (uint8_t *)malloc(b->width * b->height)) == NULL) in main()
158 b->palette[(int)(i*3+2)] = fgetc(fp); in main()
[all …]
/rk3399_rockchip-uboot/drivers/usb/cdns3/
H A Dtrace.h3 #define trace_cdns3_prepare_trb(a, b) argument
4 #define trace_cdns3_doorbell_ep0(a, b) argument
6 #define trace_cdns3_complete_trb(a, b) argument
7 #define trace_cdns3_ep0_irq(a, b) argument
12 #define trace_cdns3_doorbell_epx(a, b) argument
13 #define trace_cdns3_request_handled(a, b, c) argument
14 #define trace_cdns3_epx_irq(a, b) argument
15 #define trace_cdns3_usb_irq(a, b) argument
20 #define trace_cdns3_ep0_queue(a, b) argument
24 #define trace_cdns3_halt(a, b, c) argument
[all …]
/rk3399_rockchip-uboot/fs/yaffs2/
H A Dydirectenv.h37 #define yaffs_strcat(a, b) strcat(a, b) argument
38 #define yaffs_strcpy(a, b) strcpy(a, b) argument
39 #define yaffs_strncpy(a, b, c) strncpy(a, b, c) argument
42 #define yaffs_strcmp(a, b) strcasecmp(a, b) argument
43 #define yaffs_strncmp(a, b, c) strncasecmp(a, b, c) argument
45 #define yaffs_strcmp(a, b) strcmp(a, b) argument
46 #define yaffs_strncmp(a, b, c) strncmp(a, b, c) argument
H A Dyaffs_qsort.c29 swapfunc(char *a, char *b, int n, int swaptype) in swapfunc() argument
32 swapcode(long, a, b, n); in swapfunc()
34 swapcode(char, a, b, n); in swapfunc()
37 #define yswap(a, b) do { \ argument
40 *(long *)(a) = *(long *)(b); \
41 *(long *)(b) = t; \
43 swapfunc(a, b, es, swaptype); \
46 #define vecswap(a, b, n) if ((n) > 0) swapfunc(a, b, n, swaptype) argument
49 med3(char *a, char *b, char *c, int (*cmp)(const void *, const void *)) in med3() argument
51 return cmp(a, b) < 0 ? in med3()
[all …]
/rk3399_rockchip-uboot/arch/xtensa/include/asm/
H A Dio.h42 #define writeb(b, addr) (void)((*(volatile unsigned char *)(addr)) = (b)) argument
43 #define writew(b, addr) (void)((*(volatile unsigned short *)(addr)) = (b)) argument
44 #define writel(b, addr) (void)((*(volatile unsigned int *)(addr)) = (b)) argument
83 #define memset_io(a, b, c) memset((void *)(a), (b), (c)) argument
84 #define memcpy_fromio(a, b, c) memcpy((a), (void *)(b), (c)) argument
85 #define memcpy_toio(a, b, c) memcpy((void *)(a), (b), (c)) argument
93 # define out_8(b, addr) *(u8 *)(addr) = (b) argument
94 # define out_le16(b, addr) *(u16 *)(addr) = _swapw(b) argument
95 # define out_le32(b, addr) *(u32 *)(addr) = _swapl(b) argument
100 # define out_8(b, addr) *(u8 *)(addr) = (b) argument
[all …]
/rk3399_rockchip-uboot/arch/microblaze/include/asm/
H A Dio.h30 #define writeb(b, addr) \ argument
31 (void)((*(volatile unsigned char *) (addr)) = (b))
32 #define writew(b, addr) \ argument
33 (void)((*(volatile unsigned short *) (addr)) = (b))
34 #define writel(b, addr) \ argument
35 (void)((*(volatile unsigned int *) (addr)) = (b))
37 #define memset_io(a,b,c) memset((void *)(a),(b),(c)) argument
38 #define memcpy_fromio(a,b,c) memcpy((a),(void *)(b),(c)) argument
39 #define memcpy_toio(a,b,c) memcpy((void *)(a),(b),(c)) argument
115 #define outsb(a,b,l) io_outsb(a,b,l) argument
[all …]
/rk3399_rockchip-uboot/arch/arm/cpu/armv8/
H A Dpsci.S141 b.eq 2f /* PSCI function found */
143 b 1b
159 b.gt unknown_smc_id
162 b.lt unknown_smc_id
165 b handle_psci
175 b.gt unknown_smc_id
178 b.lt unknown_smc_id
181 b handle_psci
216 b unhandled_exception /* simply dead loop */
234 b.eq handle_smc32
[all …]
H A Dsha256_ce_core.S33 mov dg2v.16b, dg0v.16b
94 rev32 v16.16b, v16.16b
95 rev32 v17.16b, v17.16b
96 rev32 v18.16b, v18.16b
97 rev32 v19.16b, v19.16b
101 mov dg0v.16b, dgav.16b
102 mov dg1v.16b, dgbv.16b
129 cbnz w2, 0b
H A Dcache.S53 b 2f
56 b.ge loop_way
58 b.ge loop_set
92 b.lt skip /* skip if no cache or icache */
97 b.gt loop_level
113 b __asm_dcache_all
120 b __asm_dcache_all
147 b.lo 1b
174 b.lo 1b
228 b 0f
[all …]
H A Dstart.S30 b reset
61 b save_boot_params
87 b.lo pie_fix_loop
109 b 0f
113 b 0f
135 b 0f
148 b 0f
185 b spin_table_secondary_jump
229 b loop
234 b loop
[all …]
/rk3399_rockchip-uboot/arch/nios2/lib/
H A Dlibgcc.c52 __ashldi3 (DWtype u, word_type b) in __ashldi3() argument
54 if (b == 0) in __ashldi3()
58 const word_type bm = (sizeof (Wtype) * BITS_PER_UNIT) - b; in __ashldi3()
70 w.s.low = (UWtype) uu.s.low << b; in __ashldi3()
71 w.s.high = ((UWtype) uu.s.high << b) | carries; in __ashldi3()
78 __ashrdi3 (DWtype u, word_type b) in __ashrdi3() argument
80 if (b == 0) in __ashrdi3()
84 const word_type bm = (sizeof (Wtype) * BITS_PER_UNIT) - b; in __ashrdi3()
97 w.s.high = uu.s.high >> b; in __ashrdi3()
98 w.s.low = ((UWtype) uu.s.low >> b) | carries; in __ashrdi3()
[all …]
/rk3399_rockchip-uboot/arch/powerpc/lib/
H A Dppcstring.S18 bne 1b
31 bdnzf 2,1b /* dec ctr, branch if ctr != 0 && !cr0.eq */
40 bne 1b
45 bne 1b
57 beq 1b
65 bne 1b
85 bdnz 1b
92 bdnz 8b
114 bdnz 1b
128 bdnz 4b
[all …]
/rk3399_rockchip-uboot/post/lib_powerpc/fpu/
H A Dcompare-fp-1.c24 #define ORD(a, b) (!__builtin_isunordered ((a), (b))) argument
25 #define UNORD(a, b) (__builtin_isunordered ((a), (b))) argument
26 #define UNEQ(a, b) (__builtin_isunordered ((a), (b)) || ((a) == (b))) argument
27 #define UNLT(a, b) (__builtin_isunordered ((a), (b)) || ((a) < (b))) argument
28 #define UNLE(a, b) (__builtin_isunordered ((a), (b)) || ((a) <= (b))) argument
29 #define UNGT(a, b) (__builtin_isunordered ((a), (b)) || ((a) > (b))) argument
30 #define UNGE(a, b) (__builtin_isunordered ((a), (b)) || ((a) >= (b))) argument
31 #define LTGT(a, b) (__builtin_islessgreater ((a), (b))) argument
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-rockchip/
H A Dsdram_msch.h19 } b; member
33 } b; member
43 } b; member
53 } b; member
67 } b; member
79 } b; member
94 } b; member
104 } b; member
/rk3399_rockchip-uboot/drivers/rkflash/
H A Dsfc.c96 if (cmd.b.addrbits == SFC_ADDR_XBITS) { in sfc_request()
101 if (!ctrl.b.addrbits) in sfc_request()
105 writel(ctrl.b.addrbits - 1, g_sfc_reg + SFC_ABIT); in sfc_request()
110 cmd.b.datasize = size; in sfc_request()
115 cmd.b.datasize = size; in sfc_request()
120 if (cmd.b.addrbits) in sfc_request()
126 if (op->sfctrl.b.enbledma) { in sfc_request()
130 if (cmd.b.rw == SFC_WRITE) in sfc_request()
160 if (cmd.b.rw == SFC_WRITE) { in sfc_request()
166 if (fifostat.b.txlevel > 0) { in sfc_request()
[all …]
/rk3399_rockchip-uboot/drivers/pci/
H A Dpci_indirect.c26 u32 b, d,f; \
27 b = PCI_BUS(dev); d = PCI_DEV(dev); f = PCI_FUNC(dev); \
28 b = b - hose->first_busno; \
29 dev = PCI_BDF(b, d, f); \
41 u32 b, d,f; \
42 b = PCI_BUS(dev); d = PCI_DEV(dev); f = PCI_FUNC(dev); \
43 b = b - hose->first_busno; \
44 dev = PCI_BDF(b, d, f); \
/rk3399_rockchip-uboot/fs/ubifs/
H A Dreplay.c91 static int set_bud_lprops(struct ubifs_info *c, struct bud_entry *b) in set_bud_lprops() argument
98 lp = ubifs_lpt_lookup_dirty(c, b->bud->lnum); in set_bud_lprops()
105 if (b->bud->start == 0 && (lp->free != c->leb_size || lp->dirty != 0)) { in set_bud_lprops()
125 dbg_mnt("bud LEB %d was GC'd (%d free, %d dirty)", b->bud->lnum, in set_bud_lprops()
127 dbg_gc("bud LEB %d was GC'd (%d free, %d dirty)", b->bud->lnum, in set_bud_lprops()
139 b->bud->lnum, lp->free, lp->dirty, b->free, in set_bud_lprops()
140 b->dirty); in set_bud_lprops()
142 lp = ubifs_change_lp(c, lp, b->free, dirty + b->dirty, in set_bud_lprops()
150 err = ubifs_wbuf_seek_nolock(&c->jheads[b->bud->jhead].wbuf, in set_bud_lprops()
151 b->bud->lnum, c->leb_size - b->free); in set_bud_lprops()
[all …]
/rk3399_rockchip-uboot/drivers/net/
H A Dsmc91111.h106 #define SMC_outsl(a,r,b,l) ({ int __i; \ argument
108 __b2 = (dword *) b; \
114 #define SMC_outsw(a,r,b,l) ({ int __i; \ argument
116 __b2 = (word *) b; \
122 #define SMC_insl(a,r,b,l) ({ int __i ; \ argument
124 __b2 = (dword *) b; \
131 #define SMC_insw(a,r,b,l) ({ int __i ; \ argument
133 __b2 = (word *) b; \
140 #define SMC_insb(a,r,b,l) ({ int __i ; \ argument
142 __b2 = (byte *) b; \
[all …]

12345678910>>...35