/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
H A D | rate.c | 45 /* MCS 0: SS 1, MOD: BPSK, CR 1/2 */ 48 /* MCS 1: SS 1, MOD: QPSK, CR 1/2 */ 51 /* MCS 2: SS 1, MOD: QPSK, CR 3/4 */ 54 /* MCS 3: SS 1, MOD: 16QAM, CR 1/2 */ 57 /* MCS 4: SS 1, MOD: 16QAM, CR 3/4 */ 60 /* MCS 5: SS 1, MOD: 64QAM, CR 2/3 */ 63 /* MCS 6: SS 1, MOD: 64QAM, CR 3/4 */ 66 /* MCS 7: SS 1, MOD: 64QAM, CR 5/6 */ 69 /* MCS 8: SS 2, MOD: BPSK, CR 1/2 */ 72 /* MCS 9: SS 2, MOD: QPSK, CR 1/2 */ [all …]
|
/openbmc/linux/arch/xtensa/lib/ |
H A D | usercopy.S | 8 * of the Xtensa link-time HAL, and those files may differ per 11 * could lose the special functionality for accessing user-space 31 * do 16B chunks with a loop, and then finish up with 32 * 8B, 4B, 2B, and 1B copies conditional on the length. 36 * copying 1B and 2B and then retest. 37 * This code tries to use fall-through braches for the common 73 bbsi.l a2, 0, .Ldst1mod2 # if dst is 1 mod 2 74 bbsi.l a2, 1, .Ldst2mod4 # if dst is 2 mod 4 76 srli a7, a4, 4 # number of loop iterations with 16B 97 addi a4, a4, -1 [all …]
|
H A D | memcopy.S | 2 * arch/xtensa/lib/hal/memcopy.S -- Core HAL library functions 9 * Copyright (C) 2002 - 2012 Tensilica Inc. 24 * 32-bit load and store instructions (as required for these 39 * This code tries to use fall-through branches for the common 64 .byte 0 # 1 mod 4 alignment for LOOPNEZ 65 # (0 mod 4 alignment for LBEG) 95 addi a4, a4, -1 100 .Ldst2mod4: # dst 16-bit aligned 106 addi a4, a4, -2 119 _bbsi.l a2, 0, .Ldst1mod2 # if dst is 1 mod 2 [all …]
|
H A D | memset.S | 24 * do 16B chucks with a loop, and then finish up with 25 * 8B, 4B, 2B, and 1B stores conditional on the length. 27 * setting 1B and 2B and then go to aligned case. 28 * This code tries to use fall-through branches for the common 48 srli a7, a4, 4 # number of loop iterations with 16B 54 * Destination is word-aligned. 56 # set 16 bytes per iteration for word-aligned dst 57 .align 4 # 1 mod 4 alignment for LOOPNEZ 58 .byte 0 # (0 mod 4 alignment for LBEG) 65 add a6, a6, a5 # a6 = end of last 16B chunk [all …]
|
/openbmc/openbmc/meta-openembedded/meta-multimedia/recipes-dvb/tvheadend/tvheadend/ |
H A D | 0001-adjust-for-64bit-time_t.patch | 3 Date: Tue, 12 Nov 2019 11:03:16 -0800 9 Upstream-Status: Pending 10 Signed-off-by: Khem Raj <raj.khem@gmail.com> 11 --- 12 src/cron.c | 4 ++-- 13 src/epggrab/module/psip.c | 2 +- 14 src/epggrab/otamux.c | 2 +- 15 src/parsers/parser_teletext.c | 2 +- 16 src/tvheadend.h | 6 +----- 17 src/webui/webui.c | 4 ++-- [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/etcd/etcd/ |
H A D | 0001-xxhash-bump-to-v2.1.2.patch | 3 Date: Fri, 24 Mar 2023 10:00:35 -0500 14 https://github.com/etcd-io/etcd/commit/f0f77fc14e3bd4d94a953b490e810a06ef36695a 19 Signed-off-by: Andrew Geissler <geissonator@yahoo.com> 20 --- 21 Upstream-Status: Pending 23 client/v3/go.mod | 2 +- 25 etcdctl/go.mod | 2 +- 26 etcdctl/go.sum | 3 ++- 27 etcdutl/go.mod | 2 +- 28 etcdutl/go.sum | 3 ++- [all …]
|
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-pyruvate/ |
H A D | 0001-musl-riscv32-Define-F_SETLK-F_SETLKW-and-fix-F_GETLK.patch | 3 Date: Sat, 8 Apr 2023 08:51:02 -0700 9 Upstream-Status: Submitted [https://github.com/rust-lang/libc/pull/3191] 10 Signed-off-by: Khem Raj <raj.khem@gmail.com> 11 --- 12 src/unix/linux_like/linux/musl/b32/riscv32/mod.rs | 6 ++++-- 13 1 file changed, 4 insertions(+), 2 deletions(-) 15 diff --git a/src/unix/linux_like/linux/musl/b32/riscv32/mod.rs b/src/unix/linux_like/linux/musl/b32… 17 --- a/src/unix/linux_like/linux/musl/b32/riscv32/mod.rs 18 +++ b/src/unix/linux_like/linux/musl/b32/riscv32/mod.rs 19 @@ -339,9 +339,11 @@ pub const POLLWRBAND: ::c_short = 512; [all …]
|
/openbmc/u-boot/drivers/rtc/ |
H A D | ds1302.c | 2 * ds1302.c - Support for the Dallas Semiconductor DS1302 Timekeeping Chip 34 while (num--) printf("%x ", *ptr++); in DUMP() 53 unsigned char fmt:1; /* 1=12 hour 0=24 hour */ 55 unsigned char hr10:2; /* 10 (0-2) or am/pm (am/pm, 0-1) */ 114 write_byte(unsigned char b) in write_byte() argument 121 (b&mask)?DATA_HIGH:DATA_LOW; /* set data */ in write_byte() 134 unsigned char b=0; in read_byte() local 139 if (DATA_READ) b|=mask; /* if this bit is high, set in b */ in read_byte() 144 return b; in read_byte() 193 unsigned char b; in rtc_init() local [all …]
|
/openbmc/linux/arch/arm64/crypto/ |
H A D | crct10dif-ce-core.S | 2 // Accelerated CRC-T10DIF using arm64 NEON and Crypto Extensions instructions 14 // Implement fast CRC-T10DIF computation with SSE and PCLMULQDQ instructions 62 // /white-papers/fast-crc-computation-generic-polynomials-pclmulqdq-paper.pdf 69 .arch armv8-a+crypto 116 movi perm4.8b, #8 118 eor perm1.16b, perm1.16b, perm4.16b 128 tbl bd1.16b, {\bd\().16b}, perm1.16b 129 tbl bd2.16b, {\bd\().16b}, perm2.16b 130 tbl bd3.16b, {\bd\().16b}, perm3.16b 131 tbl bd4.16b, {\bd\().16b}, perm4.16b [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/ltrace/ltrace/ |
H A D | 0001-move-fprintf-into-same-block-where-modname-and-symna.patch | 3 Date: Thu, 20 Dec 2018 11:27:45 -0800 7 In its current state if mod turns out to be NULL then modname and 11 Upstream-Status: Pending 13 Signed-off-by: Khem Raj <raj.khem@gmail.com> 14 --- 15 output.c | 7 +++---- 16 1 file changed, 3 insertions(+), 4 deletions(-) 18 diff --git a/output.c b/output.c 20 --- a/output.c 21 +++ b/output.c [all …]
|
/openbmc/linux/scripts/mod/ |
H A D | modpost.c | 4 * Copyright 2002-2004 Rusty Russell, IBM Corporation 5 * Copyright 2006-2008 Sam Ravnborg 6 * Based in part on module-init-tools/depmod.c,file2alias 38 /* Trim EXPORT_SYMBOLs that are unused by in-tree modules */ 58 * here we use Elf_Addr instead of long for covering cross-compile 61 #define MODULE_NAME_LEN (64 - sizeof(Elf_Addr)) 99 return strcmp(str + strlen(str) - strlen(postfix), postfix) == 0; in strends() 141 nbytes -= bytes_read; in read_text_file() 173 struct module *mod; in find_module() local 175 list_for_each_entry(mod, &modules, list) { in find_module() [all …]
|
H A D | file2alias.c | 5 * Copyright 2002-2003 Rusty Russell, IBM Corporation 14 #include "devicetable-offsets.h" 40 __u8 b[16]; member 44 __u8 b[16]; member 51 __u8 b[16]; member 73 typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f)) 80 typeof(((struct devid *)0)->f) *v = ((m) + OFF_##devid##_##f) 107 if (str[len - 1] != '*') in add_wildcard() 115 sprintf(str + len, "%02x%02x%02x%02x-%02x%02x-%02x%02x-%02x%02x-%02x%02x%02x%02x%02x%02x", in add_uuid() 116 uuid.b[3], uuid.b[2], uuid.b[1], uuid.b[0], in add_uuid() [all …]
|
/openbmc/qemu/tests/tcg/hexagon/ |
H A D | circ.c | 2 * Copyright(c) 2019-2022 Qualcomm Innovation Center, Inc. All Rights Reserved. 39 int64_t dbuf[NDOBLS] __attribute__((aligned(1 << 12))) = {0}; 40 int32_t wbuf[NWORDS] __attribute__((aligned(1 << 12))) = {0}; 41 int16_t hbuf[NHALFS] __attribute__((aligned(1 << 12))) = {0}; 42 uint8_t bbuf[NBYTES] __attribute__((aligned(1 << 12))) = {0}; 79 CIRC_LOAD_IMM(b, RES, ADDR, START, LEN, INC) in INIT() 117 CIRC_LOAD_REG(b, RES, ADDR, START, LEN, INC) 147 CIRC_STORE_IMM(b, "", VAL, ADDR, START, LEN, INC) 170 CIRC_STORE_NEW_IMM(b, VAL, ADDR, START, LEN, INC) 188 CIRC_STORE_REG(b, "", VAL, ADDR, START, LEN, INC) [all …]
|
/openbmc/linux/tools/arch/x86/lib/ |
H A D | insn.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 16 #include "../include/asm-generic/unaligned.h" /* __ignore_sync_check__ */ 38 ((insn)->next_byte + sizeof(t) + n <= (insn)->end_kaddr) 41 …({ t r = get_unaligned((t *)(insn)->next_byte); (insn)->next_byte += sizeof(t); leXX_to_cpu(t, r);… 44 ({ t r = get_unaligned((t *)(insn)->next_byte + n); leXX_to_cpu(t, r); }) 55 * insn_init() - initialize struct insn 59 * @x86_64: !0 for 64-bit kernel or 64-bit app 71 insn->kaddr = kaddr; in insn_init() 72 insn->end_kaddr = kaddr + buf_len; in insn_init() 73 insn->next_byte = kaddr; in insn_init() [all …]
|
/openbmc/linux/arch/x86/lib/ |
H A D | insn.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 38 ((insn)->next_byte + sizeof(t) + n <= (insn)->end_kaddr) 41 …({ t r = get_unaligned((t *)(insn)->next_byte); (insn)->next_byte += sizeof(t); leXX_to_cpu(t, r);… 44 ({ t r = get_unaligned((t *)(insn)->next_byte + n); leXX_to_cpu(t, r); }) 55 * insn_init() - initialize struct insn 59 * @x86_64: !0 for 64-bit kernel or 64-bit app 71 insn->kaddr = kaddr; in insn_init() 72 insn->end_kaddr = kaddr + buf_len; in insn_init() 73 insn->next_byte = kaddr; in insn_init() 74 insn->x86_64 = x86_64 ? 1 : 0; in insn_init() [all …]
|
/openbmc/u-boot/lib/ |
H A D | crc32.c | 2 * This file is derived from crc32.c from the zlib-1.1.3 distribution 3 * by Jean-loup Gailly and Mark Adler. 6 /* crc32.c -- compute the CRC-32 of a data stream 7 * Copyright (C) 1995-1998 Mark Adler 18 #include <u-boot/crc.h> 23 #include "u-boot/zlib.h" 39 Generate a table for a byte-wise 32-bit CRC calculation on the polynomial: 40 x^32+x^26+x^23+x^22+x^16+x^12+x^11+x^10+x^8+x^7+x^5+x^4+x^2+x+1. 44 is just exclusive-or, and multiplying a polynomial by x is a right shift by 47 byte 0xb1 is the polynomial x^7+x^3+x+1), then the CRC is (q*x^32) mod p, [all …]
|
H A D | md5.c | 3 * (fs/cifs/md5.c) into U-Boot by Bartlomiej Sieka <tur@semihalf.com>. 7 * This code implements the MD5 message-digest algorithm. 20 * will fill a supplied 16-byte array with the digest. 34 #include <u-boot/md5.h> 40 * Note: this code is harmless on little-endian machines. 51 } while (--longs); in byteReverse() 61 ctx->buf[0] = 0x67452301; in MD5Init() 62 ctx->buf[1] = 0xefcdab89; in MD5Init() 63 ctx->buf[2] = 0x98badcfe; in MD5Init() 64 ctx->buf[3] = 0x10325476; in MD5Init() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-connectivity/snort/snort/ |
H A D | disable-run-test-program-while-cross-compiling.patch | 9 Upstream-Status: Inappropriate [embedded specific] 11 Signed-off-by: Yi Zhao <yi.zhao@windriver.com> 12 --- 13 configure.in | 148 +++++------------------------------------------------------ 14 1 file changed, 12 insertions(+), 136 deletions(-) 16 diff --git a/configure.in b/configure.in 18 --- a/configure.in 19 +++ b/configure.in 20 @@ -284,19 +284,7 @@ AC_CHECK_TYPES([boolean]) 24 -AC_RUN_IFELSE( [all …]
|
/openbmc/openbmc/poky/meta/recipes-devtools/automake/automake/ |
H A D | 0006-automake-Remove-delays-in-configure-scripts-using-au.patch | 12 2015/12/7 13 Upstream-Status: Inappropriate 14 --- 15 m4/sanity.m4 | 48 +----------------------------------------------- 16 1 file changed, 1 insertion(+), 47 deletions(-) 18 diff --git a/m4/sanity.m4 b/m4/sanity.m4 20 --- a/m4/sanity.m4 21 +++ b/m4/sanity.m4 22 @@ -176,51 +176,5 @@ case $srcdir in 26 -# Do 'set' in a subshell so we don't clobber the current shell's [all …]
|
/openbmc/linux/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_hw_mbox.c | 1 // SPDX-License-Identifier: GPL-2.0-only 21 #define HINIC_MBOX_INT_SRC_RESP_AEQN_SHIFT 12 48 * 0 - Tx request is done; 49 * 1 - Tx request is in process. 68 * 0 - send 69 * 1 - receive 110 /* MBOX size is 64B, 8B for mbox_header, 4B reserved */ 115 /* mbox write back status is 16B, only first 4B is used */ 141 ((hwif)->cfg_regs_bar + HINIC_FUNC_CSR_MAILBOX_DATA_OFF) 146 #define MBOX_MSG_ID(func_to_func) ((func_to_func)->send_msg_id) [all …]
|
/openbmc/linux/tools/perf/Documentation/ |
H A D | security.txt | 6 https://www.kernel.org/doc/html/latest/admin-guide/perf-security.html 15 1. Download selinux-policy SRPM package (e.g. selinux-policy-3.14.4-48.fc31.src.rpm on FC31) 18 # rpm -Uhv selinux-policy-3.14.4-48.fc31.src.rpm 22 # rpmbuild -bp selinux-policy.spec 24 3. Place patch below at rpmbuild/BUILD/selinux-policy-b86eaaf4dbcf2d51dd4432df7185c0eaf3cbcc02 27 # patch -p1 < selinux-policy-perf-events-perfmon.patch 30 # cat selinux-policy-perf-events-perfmon.patch 31 diff -Nura a/policy/flask/access_vectors b/policy/flask/access_vectors 32 --- a/policy/flask/access_vectors 2020-02-04 18:19:53.000000000 +0300 33 +++ b/policy/flask/access_vectors 2020-02-28 23:37:25.000000000 +0300 [all …]
|
/openbmc/openbmc/poky/meta/recipes-graphics/mesa/mesa-demos/ |
H A D | 0001-mesa-demos-Add-missing-data-files.patch | 3 Date: Mon, 12 May 2014 15:22:32 -0400 4 Subject: [PATCH 1/9] mesa-demos: Add missing data files. 7 http://cgit.freedesktop.org/mesa/demos/tree/?id=mesa-demos-8.1.0 9 ftp://ftp.freedesktop.org/pub/mesa/demos/8.1.0/mesa-demos-8.1.0.tar.bz2 11 Upstream-Status: Backport 12 Signed-off-by: Drew Moseley <drew_moseley@mentor.com> 13 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> 14 --- 15 src/fpglsl/depth-read.glsl | 4 + 16 src/fpglsl/infinite-loop.glsl | 7 + [all …]
|
/openbmc/linux/arch/ia64/kernel/ |
H A D | module.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * IA-64-specific support for kernel module loader. 5 * Copyright (C) 2003 Hewlett-Packard Co 6 * David Mosberger-Tang <davidm@hpl.hp.com> 56 #define MAX_LTOFF ((uint64_t) (1 << 22)) /* max. allowable linkage-table offset */ 62 #define FORMAT_MASK ((1 << FORMAT_BITS) - 1) 65 #define VALUE_MASK ((1 << VALUE_BITS) - 1) 91 RV_PCREL = 9, /* S + A - P */ 94 RV_SECREL = 12, /* @secrel(S + A) */ 96 RV_LTV = 14, /* S + A (like RV_DIRECT, except frozen at static link-time) */ [all …]
|
/openbmc/linux/arch/x86/crypto/ |
H A D | aesni-intel_avx-x86_64.S | 48 ## Vinodh Gopal et. al. Optimized Galois-Counter-Mode Implementation 51 ## Erdinc Ozturk et. al. Enabling High-Performance Galois-Counter-Mode 61 ## +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 63 ## +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 66 ## +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 68 ## +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 82 ## +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 84 ## +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 85 ## | 32-bit Sequence Number (A0) | 86 ## +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ [all …]
|
/openbmc/linux/arch/arm/kernel/ |
H A D | module.c | 1 // SPDX-License-Identifier: GPL-2.0-only 76 * A single PC-relative symbol reference is divided in up to 3 add or subtract 86 * -/+ 256 MiB, (2x8 + 12 == 28 bits), which means it has sufficient range for 87 * any in-kernel symbol reference (unless module PLTs are being used). 90 * load is that literal loads may miss in the D-cache, and generally lead to 99 shift = val ? (31 - __fls(val)) & ~1 : 32; in get_group_rem() 104 } while (group--); in get_group_rem() 115 Elf32_Shdr *dstsec = sechdrs + relsec->sh_info; in apply_relocate() 116 Elf32_Rel *rel = (void *)relsec->sh_addr; in apply_relocate() 119 for (i = 0; i < relsec->sh_size / sizeof(Elf32_Rel); i++, rel++) { in apply_relocate() [all …]
|