| /rk3399_rockchip-uboot/drivers/usb/musb/ |
| H A D | musb_debug.h | 28 static inline void musb_print_csr0(u16 w) in musb_print_csr0() argument 30 serial_printf("\tcsr0 0x%4.4x\n", w); in musb_print_csr0() 31 MUSB_FLAGS_PRINT(w, CSR0, FLUSHFIFO); in musb_print_csr0() 32 MUSB_FLAGS_PRINT(w, CSR0_P, SVDSETUPEND); in musb_print_csr0() 33 MUSB_FLAGS_PRINT(w, CSR0_P, SVDRXPKTRDY); in musb_print_csr0() 34 MUSB_FLAGS_PRINT(w, CSR0_P, SENDSTALL); in musb_print_csr0() 35 MUSB_FLAGS_PRINT(w, CSR0_P, SETUPEND); in musb_print_csr0() 36 MUSB_FLAGS_PRINT(w, CSR0_P, DATAEND); in musb_print_csr0() 37 MUSB_FLAGS_PRINT(w, CSR0_P, SENTSTALL); in musb_print_csr0() 38 MUSB_FLAGS_PRINT(w, CSR0, TXPKTRDY); in musb_print_csr0() [all …]
|
| /rk3399_rockchip-uboot/arch/arc/lib/ |
| H A D | libgcc2.c | 17 DWunion w; in __ashldi3() local 20 w.s.low = 0; in __ashldi3() 21 w.s.high = (UWtype)uu.s.low << -bm; 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() 29 return w.ll; in __ashldi3() 40 DWunion w; in __ashrdi3() local 44 w.s.high = uu.s.high >> (W_TYPE_SIZE - 1); in __ashrdi3() 45 w.s.low = uu.s.high >> -bm; in __ashrdi3() 49 w.s.high = uu.s.high >> b; in __ashrdi3() [all …]
|
| /rk3399_rockchip-uboot/cmd/ |
| H A D | itest.c | 52 static long evalexp(char *s, int w) in evalexp() argument 61 buf = map_physmem(addr, w, MAP_WRBACK); in evalexp() 66 switch (w) { in evalexp() 77 unmap_physmem(buf, w); in evalexp() 84 return (w >= sizeof(long)) ? l : (l & ((1UL << (w * 8)) - 1)); in evalexp() 130 static int arithcomp (char *s, char *t, int op, int w) in arithcomp() argument 134 l = evalexp (s, w); in arithcomp() 135 r = evalexp (t, w); in arithcomp() 148 static int binary_test(char *op, char *arg1, char *arg2, int w) in binary_test() argument 160 if (w == 0) { in binary_test() [all …]
|
| /rk3399_rockchip-uboot/arch/nios2/lib/ |
| H A D | libgcc.c | 59 DWunion w; in __ashldi3() local 63 w.s.low = 0; in __ashldi3() 64 w.s.high = (UWtype) uu.s.low << -bm; 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() 74 return w.ll; in __ashldi3() 85 DWunion w; in __ashrdi3() local 90 w.s.high = uu.s.high >> (sizeof (Wtype) * BITS_PER_UNIT - 1); in __ashrdi3() 91 w.s.low = uu.s.high >> -bm; in __ashrdi3() 97 w.s.high = uu.s.high >> b; in __ashrdi3() [all …]
|
| /rk3399_rockchip-uboot/arch/sh/lib/ |
| H A D | ashldi3.c | 5 DWunion uu, w; in __ashldi3() local 15 w.s.low = 0; in __ashldi3() 16 w.s.high = (unsigned int) uu.s.low << -bm; in __ashldi3() 20 w.s.low = (unsigned int) uu.s.low << b; in __ashldi3() 21 w.s.high = ((unsigned int) uu.s.high << b) | carries; in __ashldi3() 24 return w.ll; in __ashldi3()
|
| H A D | lshrdi3.c | 5 DWunion uu, w; in __lshrdi3() local 15 w.s.high = 0; in __lshrdi3() 16 w.s.low = (unsigned int) uu.s.high >> -bm; in __lshrdi3() 20 w.s.high = (unsigned int) uu.s.high >> b; in __lshrdi3() 21 w.s.low = ((unsigned int) uu.s.low >> b) | carries; in __lshrdi3() 24 return w.ll; in __lshrdi3()
|
| H A D | ashrdi3.c | 5 DWunion uu, w; in __ashrdi3() local 16 w.s.high = in __ashrdi3() 18 w.s.low = uu.s.high >> -bm; in __ashrdi3() 22 w.s.high = uu.s.high >> b; in __ashrdi3() 23 w.s.low = ((unsigned int) uu.s.low >> b) | carries; in __ashrdi3() 26 return w.ll; in __ashrdi3()
|
| H A D | udivsi3_i4i-Os.S | 29 extu.w r5,r0 31 swap.w r4,r0 47 swap.w r4,r4 53 swap.w r0,r0 98 extu.w r5,r0 103 swap.w r4,r0 107 extu.w r5,r0 115 swap.w r4,r0
|
| H A D | udiv_qrnnd.S | 31 extu.w r0,r1 35 mulu.w r1,r5 37 swap.w r0,r0 51 swap.w r4,r1
|
| H A D | udivsi3.S | 29 extu.w r5,r0 33 swap.w r4,r0 42 swap.w r4,r4 47 swap.w r0,r0
|
| /rk3399_rockchip-uboot/arch/mips/lib/ |
| H A D | lshrdi3.c | 5 DWunion uu, w; in __lshrdi3() local 15 w.s.high = 0; in __lshrdi3() 16 w.s.low = (unsigned int) uu.s.high >> -bm; in __lshrdi3() 20 w.s.high = (unsigned int) uu.s.high >> b; in __lshrdi3() 21 w.s.low = ((unsigned int) uu.s.low >> b) | carries; in __lshrdi3() 24 return w.ll; in __lshrdi3()
|
| H A D | ashldi3.c | 5 DWunion uu, w; in __ashldi3() local 15 w.s.low = 0; in __ashldi3() 16 w.s.high = (unsigned int) uu.s.low << -bm; in __ashldi3() 20 w.s.low = (unsigned int) uu.s.low << b; in __ashldi3() 21 w.s.high = ((unsigned int) uu.s.high << b) | carries; in __ashldi3() 24 return w.ll; in __ashldi3()
|
| H A D | ashrdi3.c | 5 DWunion uu, w; in __ashrdi3() local 16 w.s.high = in __ashrdi3() 18 w.s.low = uu.s.high >> -bm; in __ashrdi3() 22 w.s.high = uu.s.high >> b; in __ashrdi3() 23 w.s.low = ((unsigned int) uu.s.low >> b) | carries; in __ashrdi3() 26 return w.ll; in __ashrdi3()
|
| /rk3399_rockchip-uboot/lib/avb/libavb/ |
| H A D | avb_sha512.c | 84 { w[i] = SHA512_F4(w[i - 2]) + w[i - 7] + SHA512_F3(w[i - 15]) + w[i - 16]; } 89 w[j]; \ 172 uint64_t w[80]; in SHA512_transform() local 182 PACK64(&sub_block[0], &w[0]); in SHA512_transform() 183 PACK64(&sub_block[8], &w[1]); in SHA512_transform() 184 PACK64(&sub_block[16], &w[2]); in SHA512_transform() 185 PACK64(&sub_block[24], &w[3]); in SHA512_transform() 186 PACK64(&sub_block[32], &w[4]); in SHA512_transform() 187 PACK64(&sub_block[40], &w[5]); in SHA512_transform() 188 PACK64(&sub_block[48], &w[6]); in SHA512_transform() [all …]
|
| H A D | avb_sha256.c | 99 { w[i] = SHA256_F4(w[i - 2]) + w[i - 7] + SHA256_F3(w[i - 15]) + w[i - 16]; } 104 w[j]; \ 157 uint32_t w[64]; in SHA256_transform() local 172 PACK32(&sub_block[j << 2], &w[j]); in SHA256_transform() 185 w[j]; in SHA256_transform() 201 PACK32(&sub_block[0], &w[0]); in SHA256_transform() 202 PACK32(&sub_block[4], &w[1]); in SHA256_transform() 203 PACK32(&sub_block[8], &w[2]); in SHA256_transform() 204 PACK32(&sub_block[12], &w[3]); in SHA256_transform() 205 PACK32(&sub_block[16], &w[4]); in SHA256_transform() [all …]
|
| /rk3399_rockchip-uboot/include/linux/ |
| H A D | bitops.h | 107 static inline unsigned int generic_hweight32(unsigned int w) in generic_hweight32() argument 109 unsigned int res = (w & 0x55555555) + ((w >> 1) & 0x55555555); in generic_hweight32() 116 static inline unsigned int generic_hweight16(unsigned int w) in generic_hweight16() argument 118 unsigned int res = (w & 0x5555) + ((w >> 1) & 0x5555); in generic_hweight16() 124 static inline unsigned int generic_hweight8(unsigned int w) in generic_hweight8() argument 126 unsigned int res = (w & 0x55) + ((w >> 1) & 0x55); in generic_hweight8()
|
| /rk3399_rockchip-uboot/drivers/video/ |
| H A D | bcm2835.c | 18 int w, h, pitch; in bcm2835_video_probe() local 22 ret = bcm2835_get_video_size(&w, &h); in bcm2835_video_probe() 26 debug("bcm2835: Setting up display for %d x %d\n", w, h); in bcm2835_video_probe() 27 ret = bcm2835_set_video_params(&w, &h, 32, BCM2835_MBOX_PIXEL_ORDER_RGB, in bcm2835_video_probe() 31 debug("bcm2835: Final resolution is %d x %d\n", w, h); in bcm2835_video_probe() 41 uc_priv->xsize = w; in bcm2835_video_probe()
|
| H A D | mvebu_lcd.c | 16 #define MVEBU_LCD_WIN_CONTROL(w) (MVEBU_LCD_BASE + 0xf000 + ((w) << 4)) argument 17 #define MVEBU_LCD_WIN_BASE(w) (MVEBU_LCD_BASE + 0xf004 + ((w) << 4)) argument 18 #define MVEBU_LCD_WIN_REMAP(w) (MVEBU_LCD_BASE + 0xf00c + ((w) << 4)) argument
|
| /rk3399_rockchip-uboot/arch/m68k/lib/ |
| H A D | lshrdi3.c | 27 DIunion w; in __lshrdi3() local 39 w.s.high = 0; in __lshrdi3() 40 w.s.low = (USItype)uu.s.high >> -bm; in __lshrdi3() 45 w.s.high = (USItype)uu.s.high >> b; in __lshrdi3() 46 w.s.low = ((USItype)uu.s.low >> b) | carries; in __lshrdi3() 49 return w.ll; in __lshrdi3()
|
| H A D | ashldi3.c | 27 DIunion w; in __ashldi3() local 39 w.s.low = 0; in __ashldi3() 40 w.s.high = (USItype)uu.s.low << -bm; in __ashldi3() 45 w.s.low = (USItype)uu.s.low << b; in __ashldi3() 46 w.s.high = ((USItype)uu.s.high << b) | carries; in __ashldi3() 49 return w.ll; in __ashldi3()
|
| H A D | muldi3.c | 60 DIunion w; in __muldi3() local 66 w.ll = __umulsidi3 (uu.s.low, vv.s.low); in __muldi3() 67 w.s.high += ((USItype) uu.s.low * (USItype) vv.s.high in __muldi3() 70 return w.ll; in __muldi3()
|
| /rk3399_rockchip-uboot/drivers/net/ |
| H A D | ks8851_mll.c | 240 u16 w; in ks_enable_qmu() local 242 w = ks_rdreg16(dev, KS_TXCR); in ks_enable_qmu() 245 ks_wrreg16(dev, KS_TXCR, w | TXCR_TXE); in ks_enable_qmu() 248 w = ks_rdreg16(dev, KS_RXQCR); in ks_enable_qmu() 249 ks_wrreg16(dev, KS_RXQCR, w | RXQCR_RXFCTE); in ks_enable_qmu() 252 w = ks_rdreg16(dev, KS_RXCR1); in ks_enable_qmu() 253 ks_wrreg16(dev, KS_RXCR1, w | RXCR1_RXE); in ks_enable_qmu() 258 u16 w; in ks_disable_qmu() local 260 w = ks_rdreg16(dev, KS_TXCR); in ks_disable_qmu() 263 w &= ~TXCR_TXE; in ks_disable_qmu() [all …]
|
| /rk3399_rockchip-uboot/arch/x86/include/asm/ |
| H A D | io.h | 84 #define write_le16(a, v) write_arch(w, le16, a, v) 88 #define read_le16(a) read_arch(w, le16, a) 91 #define write_be16(a, v) write_arch(w, be16, a, v) 94 #define read_be16(a) read_arch(w, be16, a) 181 __IN(w,"") 192 __OUT(w,"w",short) 200 __INS(w) in __INS() 204 __OUTS(w) in __INS() 218 #define clrio_16(addr, clear) clrio(w, addr, clear) in __INS() 222 #define setio_16(addr, set) setio(w, addr, set) in __INS() [all …]
|
| /rk3399_rockchip-uboot/arch/arc/include/asm/ |
| H A D | io.h | 106 u32 w; in __raw_readl() local 109 : "=r" (w) in __raw_readl() 112 return w; in __raw_readl() 131 static inline void __raw_writel(u32 w, volatile void __iomem *addr) in __raw_writel() argument 135 : "r" (w), "m" (*(volatile u32 __force *)addr) in __raw_writel() 254 #define out_le16(a, v) out_arch(w, le16, a, v) 257 #define in_le16(a) in_arch(w, le16, a) 260 #define out_be16(a, v) out_arch(w, be16, a, v) 263 #define in_be16(a) in_arch(w, be16, a)
|
| /rk3399_rockchip-uboot/arch/microblaze/lib/ |
| H A D | muldi3.c | 65 DIunion w; in __muldi3() local 70 w.ll = __umulsidi3(uu.s.low, vv.s.low); in __muldi3() 71 w.s.high += ((USItype) uu.s.low * (USItype) vv.s.high in __muldi3() 74 return w.ll; in __muldi3()
|