| /u-boot/drivers/usb/musb/ |
| A D | musb_debug.h | 37 MUSB_FLAGS_PRINT(w, CSR0, TXPKTRDY); in musb_print_csr0() 38 MUSB_FLAGS_PRINT(w, CSR0, RXPKTRDY); in musb_print_csr0() 146 if (w & MUSB_RXCSR_P_ISO) in musb_print_rxcsr() 169 if (w & MUSB_TXCSR_MODE) in musb_print_txcsr() 180 #define musb_print_csr0(w) argument 182 #define musb_print_intrtx(w) argument 183 #define musb_print_intrrx(w) argument 186 #define musb_print_rxmaxp(w) argument 187 #define musb_print_rxcsr(w) argument 188 #define musb_print_txmaxp(w) argument [all …]
|
| /u-boot/include/linux/ |
| A D | bitops.h | 117 static inline unsigned int generic_hweight32(unsigned int w) in generic_hweight32() argument 119 unsigned int res = (w & 0x55555555) + ((w >> 1) & 0x55555555); in generic_hweight32() 126 static inline unsigned int generic_hweight16(unsigned int w) in generic_hweight16() argument 128 unsigned int res = (w & 0x5555) + ((w >> 1) & 0x5555); in generic_hweight16() 134 static inline unsigned int generic_hweight8(unsigned int w) in generic_hweight8() argument 136 unsigned int res = (w & 0x55) + ((w >> 1) & 0x55); in generic_hweight8() 141 static inline unsigned long generic_hweight64(__u64 w) in generic_hweight64() argument 143 return generic_hweight32((unsigned int)(w >> 32)) + in generic_hweight64() 144 generic_hweight32((unsigned int)w); in generic_hweight64() 147 static inline unsigned long hweight_long(unsigned long w) in hweight_long() argument [all …]
|
| /u-boot/cmd/ |
| 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() 82 unmap_physmem(buf, w); in evalexp() 89 return (w >= sizeof(long)) ? l : (l & ((1UL << (w * 8)) - 1)); in evalexp() 139 l = evalexp (s, w); in arithcomp() 140 r = evalexp (t, w); in arithcomp() 165 if (w == 0) { in binary_test() 168 return (arithcomp (arg1, arg2, optp->opcode, w)); in binary_test() 181 int value, w; in do_itest() local [all …]
|
| A D | setexpr.c | 33 static int get_arg(char *s, int w, struct expr_arg *argp) in get_arg() argument 49 switch (w) { in get_arg() 91 if (w == CMD_DATA_SIZE_STR) in get_arg() 370 int w; in do_setexpr() local 384 w = cmd_get_data_size(argv[0], 4); in do_setexpr() 386 if (get_arg(argv[2], w, &aval)) in do_setexpr() 391 if (w == CMD_DATA_SIZE_STR) { in do_setexpr() 421 if (get_arg(argv[4], w, &bval)) { in do_setexpr() 422 if (w == CMD_DATA_SIZE_STR) in do_setexpr() 427 if (w == CMD_DATA_SIZE_STR) { in do_setexpr() [all …]
|
| /u-boot/arch/arc/lib/ |
| A D | libgcc2.c | 16 DWunion w; in __ashldi3() local 19 w.s.low = 0; in __ashldi3() 24 w.s.low = (UWtype)uu.s.low << b; in __ashldi3() 28 return w.ll; in __ashldi3() 39 DWunion w; in __ashrdi3() local 44 w.s.low = uu.s.high >> -bm; in __ashrdi3() 48 w.s.high = uu.s.high >> b; in __ashrdi3() 52 return w.ll; in __ashrdi3() 63 DWunion w; in __lshrdi3() local 66 w.s.high = 0; in __lshrdi3() [all …]
|
| /u-boot/arch/mips/lib/ |
| 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()
|
| 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()
|
| 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()
|
| /u-boot/arch/sh/lib/ |
| 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()
|
| 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()
|
| 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()
|
| 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
|
| A D | udiv_qrnnd.S | 30 extu.w r0,r1 34 mulu.w r1,r5 36 swap.w r0,r0 50 swap.w r4,r1
|
| A D | udivsi3.S | 28 extu.w r5,r0 32 swap.w r4,r0 41 swap.w r4,r4 46 swap.w r0,r0
|
| /u-boot/arch/nios2/lib/ |
| A D | libgcc.c | 58 DWunion w; in __ashldi3() local 73 return w.ll; in __ashldi3() 84 DWunion w; in __ashrdi3() local 111 DWunion w; in __lshrdi3() local 365 DWtype w; in __divdi3() local 376 w = -w; in __divdi3() 378 return w; in __divdi3() 411 DWtype w; in __moddi3() local 421 w = -w; in __moddi3() 423 return w; in __moddi3() [all …]
|
| /u-boot/drivers/video/ |
| A D | bcm2835.c | 19 int w, h, pitch; in bcm2835_video_probe() local 23 ret = bcm2835_get_video_size(&w, &h); in bcm2835_video_probe() 24 if (ret || w == 0 || h == 0) in bcm2835_video_probe() 27 debug("bcm2835: Setting up display for %d x %d\n", w, h); in bcm2835_video_probe() 28 ret = bcm2835_set_video_params(&w, &h, 32, BCM2835_MBOX_PIXEL_ORDER_RGB, in bcm2835_video_probe() 34 debug("bcm2835: Final resolution is %d x %d\n", w, h); in bcm2835_video_probe() 44 uc_priv->xsize = w; in bcm2835_video_probe()
|
| /u-boot/lib/libavb/ |
| A D | avb_sha256.c | 54 { w[i] = SHA256_F4(w[i - 2]) + w[i - 7] + SHA256_F3(w[i - 15]) + w[i - 16]; } 112 uint32_t w[64]; in SHA256_transform() local 140 w[j]; in SHA256_transform() 156 PACK32(&sub_block[0], &w[0]); in SHA256_transform() 157 PACK32(&sub_block[4], &w[1]); in SHA256_transform() 158 PACK32(&sub_block[8], &w[2]); in SHA256_transform() 159 PACK32(&sub_block[12], &w[3]); in SHA256_transform() 160 PACK32(&sub_block[16], &w[4]); in SHA256_transform() 161 PACK32(&sub_block[20], &w[5]); in SHA256_transform() 162 PACK32(&sub_block[24], &w[6]); in SHA256_transform() [all …]
|
| A D | avb_sha512.c | 56 { w[i] = SHA512_F4(w[i - 2]) + w[i - 7] + SHA512_F3(w[i - 15]) + w[i - 16]; } 131 uint64_t w[80]; in SHA512_transform() local 141 PACK64(&sub_block[0], &w[0]); in SHA512_transform() 142 PACK64(&sub_block[8], &w[1]); in SHA512_transform() 143 PACK64(&sub_block[16], &w[2]); in SHA512_transform() 144 PACK64(&sub_block[24], &w[3]); in SHA512_transform() 145 PACK64(&sub_block[32], &w[4]); in SHA512_transform() 146 PACK64(&sub_block[40], &w[5]); in SHA512_transform() 147 PACK64(&sub_block[48], &w[6]); in SHA512_transform() 148 PACK64(&sub_block[56], &w[7]); in SHA512_transform() [all …]
|
| /u-boot/arch/m68k/lib/ |
| A D | ashldi3.c | 26 DIunion w; in __ashldi3() local 38 w.s.low = 0; in __ashldi3() 39 w.s.high = (USItype)uu.s.low << -bm; in __ashldi3() 44 w.s.low = (USItype)uu.s.low << b; in __ashldi3() 45 w.s.high = ((USItype)uu.s.high << b) | carries; in __ashldi3() 48 return w.ll; in __ashldi3()
|
| A D | lshrdi3.c | 26 DIunion w; in __lshrdi3() local 38 w.s.high = 0; in __lshrdi3() 39 w.s.low = (USItype)uu.s.high >> -bm; in __lshrdi3() 44 w.s.high = (USItype)uu.s.high >> b; in __lshrdi3() 45 w.s.low = ((USItype)uu.s.low >> b) | carries; in __lshrdi3() 48 return w.ll; in __lshrdi3()
|
| A D | muldi3.c | 59 DIunion w; in __muldi3() local 65 w.ll = __umulsidi3 (uu.s.low, vv.s.low); in __muldi3() 66 w.s.high += ((USItype) uu.s.low * (USItype) vv.s.high in __muldi3() 69 return w.ll; in __muldi3()
|
| /u-boot/drivers/net/ |
| A D | ks8851_mll.c | 171 u16 w; in ks_enable_qmu() local 173 w = ks_rdreg16(ks, KS_TXCR); in ks_enable_qmu() 189 u16 w; in ks_disable_qmu() local 194 w &= ~TXCR_TXE; in ks_disable_qmu() 195 ks_wrreg16(ks, KS_TXCR, w); in ks_disable_qmu() 199 w &= ~RXCR1_RXE; in ks_disable_qmu() 206 u32 w = ks->extra_byte - r; in ks_read_qmu() local 295 u16 w; in ks_setup() local 315 w &= ~P1MBCR_FORCE_FDX; in ks_setup() 319 ks_wrreg16(ks, KS_TXCR, w); in ks_setup() [all …]
|
| /u-boot/arch/riscv/include/asm/ |
| A D | barrier.h | 29 #define __smp_wmb() RISCV_FENCE(w,w) 34 RISCV_FENCE(rw,w); \
|
| /u-boot/arch/arm/mach-mvebu/armada3700/ |
| A D | cpu.c | 36 #define MVEBU_CPU_DEC_WIN_CTRL(w) \ argument 37 (MVEBU_CPU_DEC_WIN_REG_BASE + ((w) << 4)) 43 #define MVEBU_CPU_DEC_WIN_SIZE(w) (MVEBU_CPU_DEC_WIN_CTRL(w) + 0x4) argument 44 #define MVEBU_CPU_DEC_WIN_BASE(w) (MVEBU_CPU_DEC_WIN_CTRL(w) + 0x8) argument 45 #define MVEBU_CPU_DEC_WIN_REMAP(w) (MVEBU_CPU_DEC_WIN_CTRL(w) + 0xc) argument
|
| /u-boot/arch/microblaze/lib/ |
| A D | muldi3.c | 64 DIunion w; in __muldi3() local 69 w.ll = __umulsidi3(uu.s.low, vv.s.low); in __muldi3() 70 w.s.high += ((USItype) uu.s.low * (USItype) vv.s.high in __muldi3() 73 return w.ll; in __muldi3()
|