/openbmc/linux/arch/alpha/lib/ |
H A D | ev6-memchr.S | 26 * E - either cluster 50 and $17, 0xff, $17 # E : L L U U : 00000000000000ch 52 insbl $17, 1, $2 # U : 000000000000ch00 53 cmpult $18, 9, $4 # E : small (< 1 quad) string? 54 or $2, $17, $17 # E : 000000000000chch 55 lda $3, -1($31) # E : U L L U 57 sll $17, 16, $2 # U : 00000000chch0000 58 addq $16, $5, $5 # E : Max search address 59 or $2, $17, $17 # E : 00000000chchchch 60 sll $17, 32, $2 # U : U L L U : chchchch00000000 [all …]
|
H A D | ev6-memset.S | 15 * E - either cluster 53 and $17,255,$1 # E : 00000000000000ch 54 insbl $17,1,$2 # U : 000000000000ch00 55 bis $16,$16,$0 # E : return value 58 addq $18,$16,$6 # E : max address to write to 59 bis $1,$2,$17 # E : 000000000000chch 60 insbl $1,2,$3 # U : 0000000000ch0000 63 or $3,$4,$3 # E : 00000000chch0000 65 xor $16,$6,$1 # E : will complete write be within one quadword? 66 inswl $17,6,$2 # U : chch000000000000 [all …]
|
H A D | ev67-strncat.S | 18 * E - either cluster 38 lda $2, -1($31) # E : 40 insqh $2, $0, $2 # U : 41 andnot $16, 7, $16 # E : 42 nop # E : 43 or $2, $1, $1 # E : 45 nop # E : 46 nop # E : 47 cmpbge $31, $1, $2 # E : bits set iff byte == 0 48 bne $2, $found # U : [all …]
|
H A D | ev6-csum_ipv6_magic.S | 17 * E - either cluster 46 * split into 2 uints, add those, generating a ulong 48 * a final add of the 2 lower ushorts 69 and $16,7,$6 # E : src misalignment 72 ldq_u $2,0($17) # L : U L U L : Latency: 3 79 cmoveq $6,$31,$22 # E : src aligned? 82 addl $19,$7,$19 # E : U L U L : <sign bits>bbaabb00 84 or $0,$22,$0 # E : 1st src word complete 86 or $18,$4,$18 # E : 000000CCDDAABBCC 89 and $17,7,$6 # E : dst misalignment [all …]
|
H A D | ev6-divide.S | 39 * $2 - modulus/quotient 53 * E - either cluster 75 #define modulus $2 84 #define quotient $2 109 subq $30,STACK,$30 # E : 114 bis $25,$25,divisor # E : 115 stq $2, 8($30) # L : L U L U 117 bis $24,$24,modulus # E : 119 bis $31,$31,quotient # E : 120 LONGIFY(divisor) # E : U L L U [all …]
|
H A D | ev6-copy_user.S | 21 * E - either cluster 49 mov $18, $0 # .. .. .. E 50 subq $18, 32, $1 # .. .. E. .. : Is this going to be a small copy? 51 nop # .. E .. .. 54 and $16,7,$3 # .. .. .. E : is leading dest misalignment 56 beq $3, $destaligned # .. U .. .. : 2nd (one cycle fetcher stall) 57 subq $3, 8, $3 # E .. .. .. : L U U L : trip counter 65 addq $16,1,$16 # .. .. E .. : Section 3.8 in the CWG 66 addq $3,1,$3 # .. E .. .. : 67 nop # E .. .. .. : U L U L [all …]
|
H A D | ev6-clear_user.S | 18 * E - either cluster 53 and $16, 7, $4 # .. E .. .. : find dest head misalignment 56 addq $0, $4, $1 # .. .. .. E : bias counter 57 and $1, 7, $2 # .. .. E .. : number of misaligned bytes in tail 58 # Note - we never actually use $2, so this is a moot computation 60 srl $1, 3, $1 # .. E .. .. : number of quadwords to clear 70 addq $16, 8, $16 # E .. .. .. : L U U L 73 subq $1, 1, $1 # .. .. E .. : 74 addq $0, $4, $0 # .. E .. .. : bytes left -= 8 - misalignment 75 subq $0, 8, $0 # E .. .. .. : U L U L [all …]
|
H A D | ev67-strrchr.S | 17 * E - either cluster 35 and a1, 0xff, t2 # E : 00000000000000ch 37 insbl a1, 2, t5 # U : 0000000000ch0000 40 mov zero, t6 # E : t6 is last match aligned addr 41 or t2, t4, a1 # E : 000000000000chch 43 mov zero, t8 # E : t8 is last match byte compare mask 45 andnot a0, 7, v0 # E : align source addr 46 or t5, t3, t3 # E : 00000000chch0000 50 or t4, a1, a1 # E : chch00000000chch 51 or t2, t3, t2 # E : 0000chchchch0000 [all …]
|
/openbmc/linux/Documentation/driver-api/media/drivers/ccs/ |
H A D | ccs-regs.asc | 6 # - e enum value # after a field 7 # - e enum value [LSB MSB] 23 - e GRBG 0 24 - e RGGB 1 25 - e BGGR 2 26 - e GBRG 3 28 - e v1_0 0x10 29 - e v1_1 0x11 39 - f 0 2 40 - e ts 0 [all …]
|
/openbmc/linux/arch/powerpc/crypto/ |
H A D | sha1-spe-asm.S | 106 #define R_00_15(a, b, c, d, e, w0, w1, k, off) \ argument 113 add e,e,rT0; /* 1: E = E + A' */ \ 114 rotrwi b,b,2; /* 1: B = B rotl 30 */ \ 115 add e,e,w0; /* 1: E = E + W */ \ 116 LOAD_DATA(w1, off+4) /* 2: W */ \ 117 add e,e,rT2; /* 1: E = E + F */ \ 118 and rT1,a,b; /* 2: F' = B and C */ \ 119 add e,e,rK; /* 1: E = E + K */ \ 120 andc rT2,c,a; /* 2: F" = ~B and D */ \ 121 add d,d,rK; /* 2: E = E + K */ \ [all …]
|
H A D | aes-tab-4k.S | 14 * instructions. E.g. evldw, evlwwsplat, ... 19 * This is a quite good tradeoff for low power devices (e.g. routers) without 38 .long R(ce, 67, 67, a9), R(56, 2b, 2b, 7d) 44 .long R(8e, 47, 47, c9), R(fb, f0, f0, 0b) 51 .long R(6c, 36, 36, 5a), R(7e, 3f, 3f, 41) 56 .long R(62, 31, 31, 53), R(2a, 15, 15, 3f) 58 .long R(46, 23, 23, 65), R(9d, c3, c3, 5e) 60 .long R(0a, 05, 05, 0f), R(2f, 9a, 9a, b5) 61 .long R(0e, 07, 07, 09), R(24, 12, 12, 36) 63 .long R(cd, eb, eb, 26), R(4e, 27, 27, 69) [all …]
|
/openbmc/linux/arch/arm/crypto/ |
H A D | sha1-armv4-large.S | 7 @ Public License version 2 as published by the Free Software Foundation. 44 @ diverse as ARM ones: e.g., there are only two arithmetic 68 .align 2 82 ldrb r10,[r1,#2] 85 add r7,r8,r7,ror#2 @ E+=K_00_19 90 add r7,r7,r3,ror#27 @ E+=ROR(A,27) 94 add r7,r8,r7,ror#2 @ E+=K_00_19 96 add r7,r7,r3,ror#27 @ E+=ROR(A,27) 101 and r10,r4,r10,ror#2 102 add r7,r7,r9 @ E+=X[i] [all …]
|
/openbmc/linux/arch/x86/crypto/ |
H A D | sha256-ssse3-asm.S | 13 # General Public License (GPL) Version 2, available from the file 92 INP = %rsi # 2nd arg 98 e = %edx define 140 f = e 141 e = d define 152 mov e, y0 # y0 = e 153 ror $(25-11), y0 # y0 = e >> (25-11) 157 xor e, y0 # y0 = e ^ (e >> (25-11)) 159 ror $(11-6), y0 # y0 = (e >> (11-6)) ^ (e >> (25-6)) 164 xor e, y0 # y0 = e ^ (e >> (11-6)) ^ (e >> (25-6)) [all …]
|
H A D | sha256-avx-asm.S | 13 # General Public License (GPL) Version 2, available from the file 99 INP = %rsi # 2nd arg 105 e = %edx define 146 f = e 147 e = d define 158 mov e, y0 # y0 = e 159 MY_ROR (25-11), y0 # y0 = e >> (25-11) 163 xor e, y0 # y0 = e ^ (e >> (25-11)) 165 MY_ROR (11-6), y0 # y0 = (e >> (11-6)) ^ (e >> (25-6)) 169 xor e, y0 # y0 = e ^ (e >> (11-6)) ^ (e >> (25-6)) [all …]
|
H A D | sha256-avx2-asm.S | 13 # General Public License (GPL) Version 2, available from the file 48 # This code schedules 2 blocks at a time, with 4 lanes per block 94 INP = %rsi # 2nd arg 98 e = %edx # clobbers NUM_BLKS define 116 _XFER_SIZE = 2*64*4 # 2 blocks, 64 rounds, 4 bytes/round 146 f = e 147 e = d define 158 rorx $25, e, y0 # y0 = e >> 25 # S1A 159 rorx $11, e, y1 # y1 = e >> 11 # S1B 167 xor y1, y0 # y0 = (e>>25) ^ (e>>11) # S1 [all …]
|
H A D | sha512-avx2-asm.S | 14 # General Public License (GPL) Version 2, available from the file 75 # 2nd arg 82 e = %rdx define 148 f = e 149 e = d define 183 rorx $41, e, y0 # y0 = e >> 41 # S1A 184 rorx $18, e, y1 # y1 = e >> 18 # S1B 190 xor y1, y0 # y0 = (e>>41) ^ (e>>18) # S1 192 rorx $14, e, y1 # y1 = (e >> 14) # S1 194 and e, y2 # y2 = (f^g)&e # CH [all …]
|
/openbmc/linux/tools/testing/selftests/filesystems/epoll/ |
H A D | epoll_wakeup_test.c | 52 struct epoll_event e; in waiter_entry1a() local 55 if (epoll_wait(ctx->efd[0], &e, 1, -1) > 0) in waiter_entry1a() 64 struct epoll_event e; in waiter_entry1ap() local 70 if (epoll_wait(ctx->efd[0], &e, 1, 0) > 0) in waiter_entry1ap() 79 struct epoll_event e; in waiter_entry1o() local 82 if (epoll_wait(ctx->efd[0], &e, 1, -1) > 0) in waiter_entry1o() 91 struct epoll_event e; in waiter_entry1op() local 97 if (epoll_wait(ctx->efd[0], &e, 1, 0) > 0) in waiter_entry1op() 106 struct epoll_event events[2]; in waiter_entry2a() 109 if (epoll_wait(ctx->efd[0], events, 2, -1) > 0) in waiter_entry2a() [all …]
|
/openbmc/u-boot/board/freescale/common/ |
H A D | sys_eeprom.c | 39 u8 errata[2]; /* 0x10 - 0x11 Errata Level */ 55 u8 tempcalsys[2]; /* 0x28 - 0x29 System Temperature Calibration Factors */ 64 } e; variable 71 #define is_valid ((e.id[0] == 'N') || (e.id[1] == 'X') || \ 72 (e.id[2] == 'I') || (e.id[3] == 'D')) 77 #define is_valid ((e.id[0] == 'C') || (e.id[1] == 'C') || \ 78 (e.id[2] == 'I') || (e.id[3] == 'D')) 91 printf("ID: %c%c%c%c v%u\n", e.id[0], e.id[1], e.id[2], e.id[3], in show_eeprom() 92 be32_to_cpu(e.version)); in show_eeprom() 94 printf("ID: %c%c%c%c\n", e.id[0], e.id[1], e.id[2], e.id[3]); in show_eeprom() [all …]
|
/openbmc/qemu/target/arm/tcg/ |
H A D | mve_helper.c | 66 * (2) VPT predication stores its state in the VPR register; in mve_element_mask() 74 * 16-bit ops will look at bits 0, 2, 4, ...; in mve_element_mask() 158 unsigned b, e; \ 164 for (b = 0, e = 0; b < 16; b += ESIZE, e++) { \ 166 d[H##ESIZE(e)] = (mask & (1 << b)) ? \ 179 unsigned b, e; \ 180 for (b = 0, e = 0; b < 16; b += ESIZE, e++) { \ 182 cpu_##STTYPE##_data_ra(env, addr, d[H##ESIZE(e)], GETPC()); \ 190 DO_VLDR(vldrh, 2, lduw, 2, uint16_t) 194 DO_VSTR(vstrh, 2, stw, 2, uint16_t) [all …]
|
/openbmc/u-boot/board/varisys/common/ |
H A D | sys_eeprom.c | 40 u8 tempcalsys[2]; /* 0x28 - 0x29 System Temperature Calibration Factors */ 47 } e; variable 53 #define is_valid ((e.id[0] == 'N') || (e.id[1] == 'X') || \ 54 (e.id[2] == 'I') || (e.id[3] == 'D')) 82 printf("ID: %c%c%c%c v%u\n", e.id[0], e.id[1], e.id[2], e.id[3], in show_eeprom() 83 be32_to_cpu(e.version)); in show_eeprom() 86 printf("SN: %s\n", e.sn); in show_eeprom() 94 printf("Errata: %s\n", e.errata); in show_eeprom() 98 e.date[0], e.date[1], e.date[2], in show_eeprom() 99 e.date[3] & 0x7F, e.date[4], e.date[5], in show_eeprom() [all …]
|
/openbmc/u-boot/net/ |
H A D | bootp.c | 71 #define OVERLOAD_SNAME 2 81 case 2: return "DHCPOFFER"; break; 126 retval = -2; in check_reply_packet() 208 net_copy_ip(&net_netmask, (struct in_addr *)(ext + 2)); in bootp_process_vendor_field() 210 case 2: /* Time offset - Not yet supported */ in bootp_process_vendor_field() 215 net_copy_ip(&net_gateway, (struct in_addr *)(ext + 2)); in bootp_process_vendor_field() 224 (struct in_addr *)(ext + 2)); in bootp_process_vendor_field() 228 (struct in_addr *)(ext + 2 + 4)); in bootp_process_vendor_field() 245 memcpy(&net_hostname, ext + 2, size); in bootp_process_vendor_field() 250 if (size == 2) in bootp_process_vendor_field() [all …]
|
/openbmc/openbmc-tools/ipkdbg/ |
H A D | ipkdbg.in | 15 /bin/echo -e "$@" | fold >&2 19 /bin/echo -e "$@" | fold 23 /bin/echo -e "\033[1mNAME\033[0m" 24 /bin/echo -e "\tipkdbg - debug OpenBMC applications from an (internally) released firmware" 25 /bin/echo -e 26 /bin/echo -e "\033[1mSYNOPSIS\033[0m" 27 /bin/echo -e "\tipkdbg [-q] RELEASE FILE CORE [PACKAGE...]" 28 /bin/echo -e 29 /bin/echo -e "\033[1mDESCRIPTION\033[0m" 30 /bin/echo -e "\tRELEASE is the firmware release whose packages to install" [all …]
|
/openbmc/linux/tools/testing/selftests/ |
H A D | kselftest_deps.sh | 13 echo -e "Usage: $0 -[p] <compiler> [test_name]\n" 14 echo -e "\tkselftest_deps.sh [-p] gcc" 15 echo -e "\tkselftest_deps.sh [-p] gcc mm" 16 echo -e "\tkselftest_deps.sh [-p] aarch64-linux-gnu-gcc" 17 echo -e "\tkselftest_deps.sh [-p] aarch64-linux-gnu-gcc mm\n" 41 echo -e "\tPlease run $0 in" 42 echo -e "\ttools/testing/selftests directory ..." 93 targets=$(grep -E "^TARGETS +|^TARGETS =" Makefile | cut -d "=" -f2) 100 if [ $# -eq 2 ] 102 test=$2/Makefile [all …]
|
/openbmc/linux/tools/perf/tests/shell/ |
H A D | stat.sh | 5 set -e 10 if ! perf stat true 2>&1 | grep -E -q "Performance counter stats for 'true':" 21 if ! perf stat record -o - true | perf stat report -i - 2>&1 | \ 22 grep -E -q "Performance counter stats for 'pipe':" 33 if ! perf stat record -o - true | perf script -i - 2>&1 | \ 34 …grep -E -q "CPU[[:space:]]+THREAD[[:space:]]+VAL[[:space:]]+ENA[[:space:]]+RUN[[:space:]]+TIME[[:s… 45 if ! perf stat -e '{cycles,cycles,cycles,cycles,cycles,cycles,cycles,cycles,cycles,cycles}' \ 46 true 2>&1 | grep -q 'seconds time elapsed' 51 …if ! perf stat -r2 -e '{cycles,cycles,cycles,cycles,cycles,cycles,cycles,cycles,cycles,cycles}:W' \ 52 true > /dev/null 2>&1 [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | common.filter | 24 sed -Ee 's/[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2}/yyyy-mm-dd hh:mm:ss/' 29 sed -E -e 's/[0-9. ]{5} [KMGT]iB/ SIZE/' \ 30 -e 's/[0-9. ]{5} B/ SIZE/' 40 gsed -e '/Attached to:/s/\device[[0-9]\+\]/device[N]/g' 46 sed -e "s#$TEST_DIR/#TEST_DIR/#g" \ 47 -e "s#$SOCK_DIR/#SOCK_DIR/#g" \ 48 -e "s#SOCK_DIR/fuse-#TEST_DIR/#g" 54 sed -e "s#$IMGFMT#IMGFMT#g" 61 gsed -e '/allocated.*fragmented.*compressed clusters/d' \ 62 … -e 's/qemu-img: This image format does not support checks/No errors were found on the image./' \ [all …]
|