/openbmc/openbmc/meta-openembedded/meta-oe/recipes-benchmark/lmbench/lmbench/ |
H A D | 0001-scripts-build-Fix-the-tests-to-build-with-clang15.patch | 14 @@ -21,7 +21,7 @@ trap 'rm -f ${BASE}$$.s ${BASE}$$.c ${BA 18 -echo "main(int ac, char *av[]) { int i; }" > ${BASE}$$.c 19 +echo "int main(int ac, char *av[]) { int i; }" > ${BASE}$$.c 20 if ${CC} ${CFLAGS} -o ${BASE}$$ ${BASE}$$.c 1>${NULL} 2>${NULL} 26 echo "#include <stdlib.h>" > ${BASE}$$.c 27 - echo "main(int ac, char *av[])" >> ${BASE}$$.c 28 + echo "int main(int ac, char *av[])" >> ${BASE}$$.c 29 echo "{ long* p = (long*)malloc(sizeof(long));" >> ${BASE}$$.c 30 echo "*p = 0; exit((int)*p); }" >> ${BASE}$$.c 31 ${CC} ${CFLAGS} +DD64 -o ${BASE}$$ ${BASE}$$.c 1>${NULL} 2>${NULL} \ [all …]
|
H A D | 0001-src-Makefile-use-libdir-instead-of-hardcoded-lib.patch | 20 if [ ! -d $(BASE) ]; then mkdir $(BASE); fi 21 if [ ! -d $(BASE)/bin ]; then mkdir $(BASE)/bin; fi 22 if [ ! -d $(BASE)/include ]; then mkdir $(BASE)/include; fi 23 - if [ ! -d $(BASE)/lib ]; then mkdir $(BASE)/lib; fi 25 cp $(EXES) $(BASE)/bin 26 cp $(INCS) $(BASE)/include 27 - cp $O/lmbench.a $(BASE)/lib/libmbench.a 29 cd ../doc; env MAKEFLAGS="$(MAKEFLAGS)" make CC="${CC}" OS="${OS}" BASE="$(BASE)" install
|
H A D | 0002-build-Adjust-CFLAGS-LDFLAGS-to-append-values-passed-.patch | 24 trap 'rm -f ${BASE}$$.s ${BASE}$$.c ${BASE}$$.o ${BASE}$$; exit 1' 1 2 15 30 echo "main(int ac, char *av[]) { int i; }" > ${BASE}$$.c 54 if [ ! -d $(BASE) ]; then mkdir $(BASE); fi
|
/openbmc/qemu/disas/ |
H A D | alpha.c | 638 #define BASE AXP_OPCODE_BASE macro 710 { "halt", SPCD(0x00,0x0000), BASE, ARG_NONE }, 711 { "draina", SPCD(0x00,0x0002), BASE, ARG_NONE }, 712 { "bpt", SPCD(0x00,0x0080), BASE, ARG_NONE }, 713 { "bugchk", SPCD(0x00,0x0081), BASE, ARG_NONE }, 714 { "callsys", SPCD(0x00,0x0083), BASE, ARG_NONE }, 715 { "chmk", SPCD(0x00,0x0083), BASE, ARG_NONE }, 716 { "imb", SPCD(0x00,0x0086), BASE, ARG_NONE }, 717 { "rduniq", SPCD(0x00,0x009e), BASE, ARG_NONE }, 718 { "wruniq", SPCD(0x00,0x009f), BASE, ARG_NONE }, [all …]
|
/openbmc/u-boot/lib/zlib/ |
H A D | adler32.c | 11 #define BASE 65521UL /* largest prime smaller than 65536 */ macro 25 if (a >= (BASE << 16)) a -= (BASE << 16); \ 26 if (a >= (BASE << 15)) a -= (BASE << 15); \ 27 if (a >= (BASE << 14)) a -= (BASE << 14); \ 28 if (a >= (BASE << 13)) a -= (BASE << 13); \ 29 if (a >= (BASE << 12)) a -= (BASE << 12); \ 30 if (a >= (BASE << 11)) a -= (BASE << 11); \ 31 if (a >= (BASE << 10)) a -= (BASE << 10); \ 32 if (a >= (BASE << 9)) a -= (BASE << 9); \ 33 if (a >= (BASE << 8)) a -= (BASE << 8); \ [all …]
|
/openbmc/qemu/tests/tcg/xtensa/ |
H A D | test_mmu.S | 6 #define BASE 0x20000000 macro 35 movi a2, BASE | XCHAL_SPANNING_WAY 48 movi a3, BASE + 0x01200004 /* VPN */ 54 movi a3, BASE + 0x01000001 63 movi a3, BASE + 0x01234567 66 movi a3, BASE + 0x01234014 68 movi a3, BASE + 0x0123400c 73 movi a3, BASE + 0x01234567 87 movi a3, BASE + 0x00100000 101 movi a3, BASE + 0x00100000 [all …]
|
/openbmc/openpower-occ-control/test/ |
H A D | TestI2cOcc.cpp | 22 const auto BASE = TEST_DIR + "sys/bus/i2c/devices/"; variable 23 const auto I2C_0 = BASE + "i2c-0"; 24 const auto I2C_1 = BASE + "i2c-1"; 25 const auto I2C_2 = BASE + "i2c-2"; 26 const auto I2C_0_0068 = BASE + "0-0068"; 27 const auto I2C_4_0050 = BASE + STR_4_0050; 28 const auto I2C_5_0051 = BASE + STR_5_0051; 29 const auto I2C_6_0056 = BASE + STR_6_0056; 30 const auto I2C_7_0057 = BASE + STR_7_0057; 108 auto ret = getOccHwmonDevices(BASE.c_str()); in TEST_F()
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | udpgro_fwd.sh | 7 readonly BASE="ns-$(mktemp -u XXXXXX)" 11 readonly NS_SRC=$BASE$SRC 12 readonly NS_DST=$BASE$DST 51 ip link set dev veth$ns netns $BASE$ns 52 ip -n $BASE$ns link set dev veth$ns up 53 ip -n $BASE$ns addr add dev veth$ns $BM_NET_V4$ns/24 54 ip -n $BASE$ns addr add dev veth$ns $BM_NET_V6$ns/64 nodad 80 create_vxlan_endpoint $BASE$ns veth$ns $BM_NET_V4$((3 - $ns)) vxlan$ns 4 81 ip -n $BASE$ns addr add dev vxlan$ns $OL_NET_V4$ns/24 84 create_vxlan_endpoint $BASE$ns veth$ns $BM_NET_V6$((3 - $ns)) vxlan6$ns 6 [all …]
|
H A D | veth.sh | 6 readonly BASE=`basename $STATS` 10 readonly NS_SRC=$BASE$SRC 11 readonly NS_DST=$BASE$DST 45 ip link set dev veth$ns netns $BASE$ns up 46 ip -n $BASE$ns addr add dev veth$ns $BM_NET_V4$ns/24 47 ip -n $BASE$ns addr add dev veth$ns $BM_NET_V6$ns/64 nodad 49 echo "#kernel" > $BASE 50 chmod go-rw $BASE 59 local flag=`ip netns exec $BASE$target ethtool -k veth$target |\ 87 local cur_rx=`ip netns exec $BASE$target ethtool -l $dev |\ [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-connectivity/wvdial/wvstreams/ |
H A D | 07_buildflags.diff | 11 + echo $CC \$MODE -o \$BASE.o \$BASE.$EXT \\ 12 + -MMD -MF \$DEPFILE -MP -MQ \$BASE.o \\ 16 $CC \$MODE -o \$BASE.o \$BASE.$EXT \\ 17 -MMD -MF \$DEPFILE -MP -MQ \$BASE.o \\
|
/openbmc/linux/Documentation/driver-api/media/drivers/ |
H A D | radiotrack.rst | 129 Default: BASE <-- 0xc8 (current volume, no stereo detect, 132 Card Off: BASE <-- 0x00 (audio mute, no stereo detect, 135 Card On: BASE <-- 0x00 (see "Card Off", clears any unfinished business) 136 BASE <-- 0xc8 (see "Default") 138 Volume Down: BASE <-- 0x48 (volume down, no stereo detect, 141 BASE <-- 0xc8 (see "Default") 143 Volume Up: BASE <-- 0x88 (volume up, no stereo detect, 146 BASE <-- 0xc8 (see "Default") 148 Check Stereo: BASE <-- 0xd8 (current volume, stereo detect, 151 x <-- BASE (read ioport) [all …]
|
/openbmc/linux/drivers/media/pci/cobalt/ |
H A D | cobalt-omnitek.c | 42 #define BASE (cobalt->bar0) macro 43 #define CAPABILITY_HEADER (BASE) 44 #define CAPABILITY_REGISTER (BASE + 0x04) 47 #define INTERRUPT_STATUS (BASE + 0x08) 48 #define PCI(c) (BASE + 0x40 + ((c) * 0x40)) 49 #define SIZE(c) (BASE + 0x58 + ((c) * 0x40)) 50 #define DESCRIPTOR(c) (BASE + 0x50 + ((c) * 0x40)) 51 #define CS_REG(c) (BASE + 0x60 + ((c) * 0x40)) 52 #define BYTES_TRANSFERRED(c) (BASE + 0x64 + ((c) * 0x40))
|
/openbmc/qemu/target/xtensa/ |
H A D | import_core.sh | 6 BASE=$(dirname "$0") 7 TARGET="$BASE"/core-$NAME 69 grep -qxf core-${NAME}.c "$BASE"/cores.list || \ 70 echo core-${NAME}.c >> "$BASE"/cores.list
|
/openbmc/linux/fs/xfs/libxfs/ |
H A D | xfs_da_btree.h | 163 #define XFS_DA_LOGOFF(BASE, ADDR) ((char *)(ADDR) - (char *)(BASE)) argument 164 #define XFS_DA_LOGRANGE(BASE, ADDR, SIZE) \ argument 165 (uint)(XFS_DA_LOGOFF(BASE, ADDR)), \ 166 (uint)(XFS_DA_LOGOFF(BASE, ADDR)+(SIZE)-1)
|
/openbmc/linux/tools/testing/selftests/gpio/ |
H A D | gpio-mockup.sh | 9 BASE=${0%/*} 106 $BASE/gpio-mockup-cdev $cdev_opts /dev/$chip $offset 150 $BASE/gpio-mockup-cdev $cdev_opts -s$val /dev/$chip $offset & 158 $BASE/gpio-mockup-cdev $cdev_opts /dev/$chip $offset || true 343 source $BASE/gpio-mockup-sysfs.sh
|
/openbmc/bmcweb/test/redfish-core/include/ |
H A D | privileges_test.cpp | 24 EXPECT_THAT(privileges.getActivePrivilegeNames(PrivilegeType::BASE), in TEST() 104 EXPECT_THAT(privileges.getActivePrivilegeNames(PrivilegeType::BASE), in TEST() 115 EXPECT_THAT(privileges.getActivePrivilegeNames(PrivilegeType::BASE), in TEST() 128 privileges.getActivePrivilegeNames(PrivilegeType::BASE), in TEST()
|
/openbmc/linux/include/linux/ |
H A D | zutil.h | 53 #define BASE 65521L /* largest prime smaller than 65536 */ macro 100 s1 %= BASE; in zlib_adler32() 101 s2 %= BASE; in zlib_adler32()
|
/openbmc/linux/tools/perf/tests/shell/ |
H A D | daemon.sh | 168 base=BASE 223 base=BASE 250 base=BASE 285 base=BASE 348 base=BASE 406 base=BASE 447 base=BASE 488 base=BASE
|
/openbmc/linux/arch/sparc/net/ |
H A D | bpf_jit_comp_32.c | 181 #define emit_loadptr(BASE, STRUCT, FIELD, DEST) \ argument 184 *prog++ = LDPTRI | RS1(BASE) | S13(_off) | RD(DEST); \ 187 #define emit_load32(BASE, STRUCT, FIELD, DEST) \ argument 190 *prog++ = LD32I | RS1(BASE) | S13(_off) | RD(DEST); \ 193 #define emit_load16(BASE, STRUCT, FIELD, DEST) \ argument 196 *prog++ = LD16I | RS1(BASE) | S13(_off) | RD(DEST); \ 199 #define __emit_load8(BASE, STRUCT, FIELD, DEST) \ argument 201 *prog++ = LD8I | RS1(BASE) | S13(_off) | RD(DEST); \ 204 #define emit_load8(BASE, STRUCT, FIELD, DEST) \ argument 206 __emit_load8(BASE, STRUCT, FIELD, DEST); \ [all …]
|
/openbmc/u-boot/test/trace/ |
H A D | test-trace.sh | 10 BASE="$(dirname $0)/.." 11 . $BASE/common.sh
|
/openbmc/qemu/tests/docker/ |
H A D | run | 18 BASE="$(dirname $(realpath $0))" 32 tar -C $TEST_DIR/src -xf $BASE/qemu.tar || { echo "Failed to untar source"; exit 2; }
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/gpio/dce120/ |
H A D | hw_factory_dce120.c | 57 #define BASE(seg) \ macro 61 BASE(mm ## reg_name ## _BASE_IDX) + mm ## reg_name 64 BASE(mm ## block ## id ## _ ## reg_name ## _BASE_IDX) + \
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/gpio/dcn10/ |
H A D | hw_factory_dcn10.c | 54 #define BASE(seg) \ macro 58 BASE(mm ## reg_name ## _BASE_IDX) + mm ## reg_name 61 BASE(mm ## block ## id ## _ ## reg_name ## _BASE_IDX) + \
|
/openbmc/linux/drivers/media/tuners/ |
H A D | xc2028-types.h | 14 #define BASE (1<<0) macro 15 #define BASE_TYPES (BASE|F8MHZ|MTS|FM|INPUT1|INPUT2|INIT1)
|
/openbmc/linux/drivers/ps3/ |
H A D | ps3av_cmd.c | 489 #define BASE PS3AV_CMD_AUDIO_FS_44K macro 493 [PS3AV_CMD_AUDIO_FS_44K-BASE] = { 6272, 6272, 17836, 17836, 8918 }, 494 [PS3AV_CMD_AUDIO_FS_48K-BASE] = { 6144, 6144, 11648, 11648, 5824 }, 495 [PS3AV_CMD_AUDIO_FS_88K-BASE] = { 12544, 12544, 35672, 35672, 17836 }, 496 [PS3AV_CMD_AUDIO_FS_96K-BASE] = { 12288, 12288, 23296, 23296, 11648 }, 497 [PS3AV_CMD_AUDIO_FS_176K-BASE] = { 25088, 25088, 71344, 71344, 35672 }, 498 [PS3AV_CMD_AUDIO_FS_192K-BASE] = { 24576, 24576, 46592, 46592, 23296 } 540 ns_val = ps3av_ns_table[PS3AV_CMD_AUDIO_FS_44K-BASE][d]; in ps3av_cnv_ns() 547 #undef BASE
|