/openbmc/qemu/tcg/ |
H A D | tcg-op-vec.c | 22 #include "tcg/tcg-temp-internal.h" 23 #include "tcg/tcg-op-common.h" 24 #include "tcg/tcg-mo.h" 25 #include "tcg-internal.h" 42 * tcg_ctx->vec_opt_opc is non-NULL, the tcg_gen_*_vec expanders 48 const TCGOpcode *p = tcg_ctx->vecop_list; in tcg_assert_listed_vecop() 61 TCGType type, unsigned vece) in tcg_can_emit_vecop_list() argument 91 if (tcg_can_emit_vec_op(opc, type, vece)) { in tcg_can_emit_vecop_list() 102 if (tcg_can_emit_vec_op(INDEX_op_sub_vec, type, vece)) { in tcg_can_emit_vecop_list() 107 if (tcg_can_emit_vec_op(INDEX_op_sub_vec, type, vece) in tcg_can_emit_vecop_list() [all …]
|
/openbmc/linux/net/ceph/crush/ |
H A D | hash.c | 1 // SPDX-License-Identifier: GPL-2.0 9 * Robert Jenkins' function for mixing 32-bit values 11 * a, b = random bits, c = input and output 13 #define crush_hashmix(a, b, c) do { \ argument 14 a = a-b; a = a-c; a = a^(c>>13); \ 15 b = b-c; b = b-a; b = b^(a<<8); \ 16 c = c-a; c = c-b; c = c^(b>>13); \ 17 a = a-b; a = a-c; a = a^(c>>12); \ 18 b = b-c; b = b-a; b = b^(a<<16); \ 19 c = c-a; c = c-b; c = c^(b>>5); \ [all …]
|
/openbmc/qemu/tests/fp/ |
H A D | wrap.c.inc | 3 * so that we can use the testfloat infrastructure as-is. 5 * This file must be included directly from fp-test.c. We could compile it 90 to->v0 = a.low; 91 to->v64 = a.high; 100 ret.low = from->v0; 101 ret.high = from->v64; 137 #define WRAP_SF_TO_80(name, func, type) \ 138 static void name(type##_t a, extFloat80_t *res) \ 141 type *ap = (type *)&a; \ 151 #define WRAP_SF_TO_128(name, func, type) \ [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 172.out | 11 dev: isa-fdc, id "" 18 bus: floppy-bus.0 19 type floppy-bus 24 logical_block_size = 512 (512 B) 25 physical_block_size = 512 (512 B) 26 min_io_size = 0 (0 B) 27 opt_io_size = 0 (0 B) 29 write-cache = "auto" 30 share-rw = false 31 account-invalid = "auto" [all …]
|
/openbmc/linux/arch/mips/include/asm/ |
H A D | unaligned-emul.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 8 #define _LoadHW(addr, value, res, type) \ argument 11 "1:\t"type##_lb("%0", "0(%2)")"\n" \ 12 "2:\t"type##_lbu("$1", "1(%2)")"\n\t"\ 23 STR(PTR_WD)"\t1b, 4b\n\t" \ 24 STR(PTR_WD)"\t2b, 4b\n\t" \ 27 : "r" (addr), "i" (-EFAULT)); \ 31 #define _LoadW(addr, value, res, type) \ argument 34 "1:\t"type##_lwl("%0", "(%2)")"\n" \ 35 "2:\t"type##_lwr("%0", "3(%2)")"\n\t"\ [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/core/ |
H A D | mm.c | 26 #define node(root, dir) ((root)->nl_entry.dir == &mm->nodes) ? NULL : \ 27 list_entry((root)->nl_entry.dir, struct nvkm_mm_node, nl_entry) 36 list_for_each_entry(node, &mm->nodes, nl_entry) { in nvkm_mm_dump() 38 node->offset, node->length, node->type); in nvkm_mm_dump() 41 list_for_each_entry(node, &mm->free, fl_entry) { in nvkm_mm_dump() 43 node->offset, node->length, node->type); in nvkm_mm_dump() 56 if (prev && prev->type == NVKM_MM_TYPE_NONE) { in nvkm_mm_free() 57 prev->length += this->length; in nvkm_mm_free() 58 list_del(&this->nl_entry); in nvkm_mm_free() 62 if (next && next->type == NVKM_MM_TYPE_NONE) { in nvkm_mm_free() [all …]
|
/openbmc/linux/scripts/atomic/ |
H A D | atomics.tbl | 4 # Upper-case implies _{acquire,release,relaxed} variants. 6 # * B/b - bool: returns bool 7 # * v - void: returns void 8 # * I/i - int: returns base type 9 # * R - return: returns base type (has _return variants) 10 # * F/f - fetch: returns base type (has fetch_ variants) 11 # * l - load: returns base type (has _acquire order variant) 12 # * s - store: returns void (has _release order variant) 14 # Where args contains list of type[:name], where type is: 15 # * cv - const pointer to atomic base type (atomic_t/atomic64_t/atomic_long_t) [all …]
|
/openbmc/openbmc/meta-arm/meta-arm/recipes-bsp/scp-firmware/ |
H A D | scp-firmware_2.15.0.bb | 3 HOMEPAGE = "https://gitlab.arm.com/firmware/SCP-firmware" 5 LICENSE = "BSD-3-Clause & Apache-2.0" 9 SRC_URI_SCP_FIRMWARE ?= "gitsm://git.gitlab.arm.com/firmware/SCP-firmware.git;protocol=https" 11 file://0001-OPTEE-Private-Includes.patch \ 17 PROVIDES += "virtual/control-processor-firmware" 26 DEPENDS = "gcc-arm-none-eabi-native \ 27 cmake-native \ 28 ninja-native \ 31 # For now we only build with GCC, so stop meta-clang trying to get involved 36 B = "${WORKDIR}/build" [all …]
|
/openbmc/openbmc/meta-aspeed/recipes-bsp/u-boot/ |
H A D | u-boot-aspeed.inc | 4 B = "${WORKDIR}/build" 8 DEPENDS += "kern-tools-native" 10 inherit uboot-config uboot-extlinux-config uboot-sign deploy cml1 python3native 12 DEPENDS += "swig-native" 19 # u-boot will compile its own tools during the build, with specific 22 PACKAGECONFIG[openssl] = ",,openssl-native" 25 # u-boot build system and appended to the u-boot version. If the .scmversion 40 if [ -z "${UBOOT_CONFIG}" ]; then 41 if [ -n "${UBOOT_MACHINE}" ]; then 42 oe_runmake -C ${S} O=${B} ${UBOOT_MACHINE} [all …]
|
/openbmc/openbmc/poky/meta/recipes-bsp/u-boot/ |
H A D | u-boot.inc | 6 DEPENDS += "${@bb.utils.contains('UBOOT_ENV_SUFFIX', 'scr', 'u-boot-mkimage-native', '', d)}" 8 inherit uboot-config uboot-extlinux-config uboot-sign deploy python3native kernel-arch 10 DEPENDS += "swig-native" 13 …cc ${TOOLCHAIN_OPTIONS} ${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', ''… 18 # u-boot will compile its own tools during the build, with specific 21 PACKAGECONFIG[openssl] = ",,openssl-native" 23 CVE_PRODUCT = "denx:u-boot" 26 # u-boot build system and appended to the u-boot version. If the .scmversion 30 # Default name of u-boot initial env, but enable individual recipes to change 32 UBOOT_INITIAL_ENV ?= "${PN}-initial-env" [all …]
|
/openbmc/linux/tools/lib/bpf/ |
H A D | bpf_core_read.h | 1 /* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */ 7 * __builtin_preserve_field_info() built-in to get a specific aspect of 22 /* second argument to __builtin_btf_type_id() built-in */ 24 BPF_TYPE_ID_LOCAL = 0, /* BTF type ID in local program */ 25 BPF_TYPE_ID_TARGET = 1, /* BTF type ID in target kernel */ 28 /* second argument to __builtin_preserve_type_info() built-in */ 30 BPF_TYPE_EXISTS = 0, /* type existence in target kernel */ 31 BPF_TYPE_SIZE = 1, /* type size in target kernel */ 32 BPF_TYPE_MATCHES = 2, /* type match in target kernel */ 35 /* second argument to __builtin_preserve_enum_value() built-in */ [all …]
|
/openbmc/openbmc/poky/meta/recipes-extended/libaio/libaio/ |
H A D | libaio_fix_for_mips_syscalls.patch | 1 Upstream-Status: Inappropriate [embedded specific] 3 Signed-off-by: Phil Staub <Phil.Staub@windriver.com> 5 Index: libaio-0.3.109/src/syscall-mips.h 7 --- libaio-0.3.109.orig/src/syscall-mips.h 8 +++ libaio-0.3.109/src/syscall-mips.h 9 @@ -76,7 +76,7 @@ type fname(atype a) \ 12 return (type) __v0; \ 13 - return (type) -1; \ 14 + return (type) (-(__v0)); \ 17 #define io_syscall2(type,fname,sname,atype,a,btype,b) \ [all …]
|
H A D | 00_arches.patch | 6 Upstream-Status: Inappropriate [embedded specific] 10 --- 11 src/syscall-m68k.h | 78 +++++++++++++++ 12 src/syscall-mips.h | 223 +++++++++++++++++++++++++++++++++++++++++++ 13 src/syscall-parisc.h | 146 ++++++++++++++++++++++++++++ 16 create mode 100644 src/syscall-m68k.h 17 create mode 100644 src/syscall-mips.h 18 create mode 100644 src/syscall-parisc.h 20 diff --git a/src/syscall-m68k.h b/src/syscall-m68k.h 23 --- /dev/null [all …]
|
/openbmc/linux/include/linux/usb/ |
H A D | pd_vdo.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright 2015-2017 Google, Inc 21 * ---------- 23 * <15> :: VDM type ( 1b == structured, 0b == unstructured ) 26 * <10:8> :: object position (1-7 valid ... used for enter/exit mode only) 27 * <7:6> :: command type (SVDM only?) 28 * <5> :: reserved (SVDM), command type (UVDM) 31 #define VDO(vid, type, ver, custom) \ argument 33 ((type) << 15) | \ 85 * SVDM Identity request -> response [all …]
|
/openbmc/linux/tools/include/linux/ |
H A D | overflow.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR MIT */ 9 * type. These macros may also be useful elsewhere. It would seem more obvious 12 * #define type_min(T) (T)(is_signed_type(T) ? (T)1 << (8*sizeof(T)-1) : 0) 13 * #define type_max(T) (T)(is_signed_type(T) ? ((T)1 << (8*sizeof(T)-1)) - 1 : ~(T)0) 17 * the type_max expression (but not if -fsanitize=undefined is in 21 * macros also produce sensible values for the exotic type _Bool. [The 23 * a-feature-not-a-bug, since people shouldn't be doing arithmetic on 28 * https://mail-index.netbsd.org/tech-misc/2007/02/05/0000.html - 31 #define is_signed_type(type) (((type)(-1)) < (type)1) argument 32 #define __type_half_max(type) ((type)1 << (8*sizeof(type) - 1 - is_signed_type(type))) argument [all …]
|
/openbmc/linux/tools/testing/selftests/tc-testing/tc-tests/qdiscs/ |
H A D | tbf.json | 13 "$IP link add dev $DUMMY type dummy || /bin/true" 18 "matchPattern": "qdisc tbf 1: root refcnt [0-9]+ rate 10Kbit burst 1500b limit 1000b", 22 "$IP link del dev $DUMMY type dummy" 36 "$IP link add dev $DUMMY type dummy || /bin/true" 41 "matchPattern": "qdisc tbf 1: root refcnt [0-9]+ rate 20Kbit burst 1500b limit 1000b", 45 "$IP link del dev $DUMMY type dummy" 59 "$IP link add dev $DUMMY type dummy || /bin/true" 64 …matchPattern": "qdisc tbf 1: root refcnt [0-9]+ rate 20Kbit burst 1500b peakrate 30Kbit minburst.*… 68 "$IP link del dev $DUMMY type dummy" 72 "id": "239b", [all …]
|
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | devlink_trap_control.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # Test devlink-trap control trap functionality over mlxsw. Each registered 8 # +---------------------------------+ 16 # +----|----------------------------+ 18 # +----|----------------------------------------------------------------------+ 28 # +----|----------------------------------------------------------------------+ 30 # +----|----------------------------+ 38 # +---------------------------------+ 97 ip -4 route add default vrf v$h1 nexthop via 192.0.2.2 98 ip -6 route add default vrf v$h1 nexthop via 2001:db8:1::2 [all …]
|
/openbmc/openbmc/poky/meta/recipes-connectivity/avahi/files/ |
H A D | local-ping.patch | 1 CVE: CVE-2021-36217 2 CVE: CVE-2021-3502 3 Upstream-Status: Backport 4 Signed-off-by: Ross Burton <ross.burton@arm.com> 11 avahi-daemon is crashing when running "ping .local". 15 Introduced in #175 - merge commit 8f75a045709a780c8cf92a6a21e9d35b593bdecd 16 --- 17 avahi-core/browse-dns-server.c | 5 ++++- 18 avahi-core/browse-domain.c | 5 ++++- 19 avahi-core/browse-service-type.c | 3 +++ [all …]
|
/openbmc/openbmc/meta-nuvoton/recipes-bsp/u-boot/ |
H A D | u-boot-nuvoton.inc | 4 B = "${WORKDIR}/build" 8 DEPENDS += "kern-tools-native" 10 inherit uboot-config uboot-extlinux-config uboot-sign deploy cml1 python3native 12 DEPENDS += "swig-native" 19 # u-boot will compile its own tools during the build, with specific 22 PACKAGECONFIG[openssl] = ",,openssl-native" 25 # u-boot build system and appended to the u-boot version. If the .scmversion 29 # Some versions of u-boot use .bin and others use .img. By default use .bin 32 UBOOT_IMAGE ?= "u-boot-${MACHINE}-${PV}-${PR}.${UBOOT_SUFFIX}" 33 UBOOT_SYMLINK ?= "u-boot-${MACHINE}.${UBOOT_SUFFIX}" [all …]
|
/openbmc/linux/drivers/media/common/videobuf2/ |
H A D | videobuf2-v4l2.c | 2 * videobuf2-v4l2.c - V4L2 driver helper framework 9 * The vb2_thread implementation was based on code from videobuf-dvb.c: 28 #include <media/v4l2-common.h> 29 #include <media/v4l2-dev.h> 30 #include <media/v4l2-device.h> 31 #include <media/v4l2-event.h> 32 #include <media/v4l2-fh.h> 34 #include <media/videobuf2-v4l2.h> 42 pr_info("vb2-v4l2: [%p] %s: " fmt, \ 43 (q)->name, __func__, ## arg); \ [all …]
|
/openbmc/linux/arch/m68k/include/asm/ |
H A D | bootstd.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * (c) 1999, Rt-Control, Inc. 38 #define __bsc_return(type, res) \ argument 40 if ((unsigned long)(res) >= (unsigned long)(-64)) { \ 42 int __err = -(res); \ 44 res = -1; \ 46 return (type)(res); \ 49 #define _bsc0(type,name) \ argument 50 type name(void) \ 57 __bsc_return(type,__res); \ [all …]
|
/openbmc/linux/Documentation/networking/devlink/ |
H A D | ice.rst | 1 .. SPDX-License-Identifier: GPL-2.0 13 .. list-table:: Generic parameters implemented 15 * - Name 16 - Mode 17 - Notes 18 * - ``enable_roce`` 19 - runtime 20 - mutually exclusive with ``enable_iwarp`` 21 * - ``enable_iwarp`` 22 - runtime [all …]
|
/openbmc/linux/arch/powerpc/lib/ |
H A D | feature-fixups-test.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 6 #include <asm/feature-fixups.h> 9 #include <asm/asm-compat.h> 10 #include <asm/ppc-opcode.h> 113 2: b 3f 115 beq 3b 116 b 1f 118 b 2b 119 1: bdnz 3b 127 2: b 3f [all …]
|
/openbmc/u-boot/drivers/pci/ |
H A D | pci_indirect.c | 1 // SPDX-License-Identifier: GPL-2.0+ 16 #define cfg_read(val, addr, type, op) *val = op((type)(addr)) argument 17 #define cfg_write(val, addr, type, op) op((type *)(addr), (val)) argument 20 #define INDIRECT_PCI_OP(rw, size, type, op, mask) \ argument 23 pci_dev_t dev, int offset, type val) \ 25 u32 b, d,f; \ 26 b = PCI_BUS(dev); d = PCI_DEV(dev); f = PCI_FUNC(dev); \ 27 b = b - hose->first_busno; \ 28 dev = PCI_BDF(b, d, f); \ 29 *(hose->cfg_addr) = dev | (offset & 0xfc) | ((offset & 0xf00) << 16) | 0x80000000; \ [all …]
|
/openbmc/entity-manager/configurations/ |
H A D | r1000_chassis.json | 21 "Type": "AspeedFan" string 26 "Name": "Fan 1b", 41 "Type": "AspeedFan" string 61 "Type": "AspeedFan" string 66 "Name": "Fan 2b", 81 "Type": "AspeedFan" string 101 "Type": "AspeedFan" string 106 "Name": "Fan 3b", 121 "Type": "AspeedFan" string 141 "Type": "AspeedFan" string [all …]
|