/openbmc/linux/arch/powerpc/include/asm/ |
H A D | head-64.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 23 * Fixed (location) sections are used by opening fixed sections and emitting 24 * fixed section entries into them before closing them. Multiple fixed sections 27 * Each fixed section created in a .S file must have corresponding linkage 30 * For each fixed section, code is generated into it in the order which it 31 * appears in the source. Fixed section entries can be placed at a fixed 43 * FIXED_SECTION_ENTRY_BEGIN_LOCATION(section_name, label2, start_address, size) 44 * FIXED_SECTION_ENTRY_END_LOCATION(section_name, label2, start_address, size) 50 * - If the build dies with "Error: attempt to move .org backwards" at 54 * - If the build dies in linking, check arch/powerpc/tools/head_check.sh [all …]
|
/openbmc/linux/drivers/hid/ |
H A D | hid-uclogic-rdesc.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * HID driver for UC-Logic devices not fully compliant with HID standard 4 * - original and fixed report descriptors 6 * Copyright (c) 2010-2018 Nikolai Kondrashov 22 /* Size of the original descriptor of WPXXXXU tablets */ 25 /* Fixed WP4030U report descriptor */ 29 /* Fixed WP5540U report descriptor */ 33 /* Fixed WP8060U report descriptor */ 37 /* Size of the original descriptor of the new WP5540U tablet */ 40 /* Size of the original descriptor of WP1062 tablet */ [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/mtd/partitions/ |
H A D | fixed-partitions.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mtd/partitions/fixed-partitions.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Fixed partitions 12 on-flash partition table such as RedBoot. 18 - Rafał Miłecki <rafal@milecki.pl> 23 - const: fixed-partitions 24 - items: 25 - const: sercomm,sc-partitions [all …]
|
/openbmc/openbmc/meta-evb/meta-evb-arm/meta-evb-fvp-base/wic/ |
H A D | emmc-fvp.wks.in | 1 # short-description: Create an image for eMMC 2 # long-description: Creates an eMMC card image for the User Data Area that can 5 # Assumes a minimum flash size of 16GB. 6 # Assumes U-Boot is stored elsewhere, such as an eMMC boot volume or NOR flash. 8 # --- - ----- -------- -------- -------- -------- ------ -------- ------- 9 # |GPT| | env | boot-a | boot-b | rofs-a | rofs-b | rwfs | hostfw |GPT-sec| 10 # --- - ----- -------- -------- -------- -------- ------ -------- ------- 15 # Primary GPT size (Beginning of image): 17 # First partition (u-boot-env) is 4K-aligned, which puts it at offset 0x5000 19 # Secondary GPT size (End of image): [all …]
|
/openbmc/openbmc/meta-aspeed/wic/ |
H A D | emmc-aspeed.wks.in | 1 # short-description: Create an image for eMMC 2 # long-description: Creates an eMMC card image for the User Data Area that can 5 # Assumes a minimum flash size of 16GB. 6 # Assumes U-Boot is stored elsewhere, such as an eMMC boot volume or NOR flash. 8 # --- - ----- -------- -------- -------- -------- ------ -------- ------- 9 # |GPT| | env | boot-a | boot-b | rofs-a | rofs-b | rwfs | hostfw |GPT-sec| 10 # --- - ----- -------- -------- -------- -------- ------ -------- ------- 15 # Primary GPT size (Beginning of image): 17 # First partition (u-boot-env) is 4K-aligned, which puts it at offset 0x5000 19 # Secondary GPT size (End of image): [all …]
|
/openbmc/openbmc/meta-nuvoton/wic/ |
H A D | emmc-nuvoton.wks.in | 1 # short-description: Create an image for eMMC 2 # long-description: Creates an eMMC card image for the User Data Area that can 5 # Assumes a minimum flash size of 1GB. 6 # Assumes U-Boot is stored elsewhere, such as an eMMC boot volume or NOR flash. 8 # --- - ---------- -------- -------- -------- -------- ------ ------- 9 # |GPT| | reserved | boot-a | boot-b | rofs-a | rofs-b | rwfs |GPT-sec| 10 # --- - ---------- -------- -------- -------- -------- ------ ------- 15 # Primary GPT size (Beginning of image): 17 # First partition (u-boot-env) is 4K-aligned, which puts it at offset 0x5000 19 # Secondary GPT size (End of image): [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 108.out | 5 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 18 Double checking the fixed image now... 25 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 42 Double checking the fixed image now... 50 --- Otherwise clean --- 52 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 59 Double checking the fixed image now... 62 --- Refblock is unallocated --- 64 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 76 Double checking the fixed image now... [all …]
|
H A D | 138.out | 5 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=512 8 …for region exceeding the end of the file by one cluster or more: offset 0x80000000000000 size 0x200 13 === Check leaks-fixed/corruptions-fixed report 15 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=65536 23 "corruptions-fixed": 1, 24 "leaks-fixed": 1,
|
H A D | 060.out | 5 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 16 virtual size: 64 MiB (67108864 bytes) 25 qemu-io: can't open device TEST_DIR/t.IMGFMT: IMGFMT: Image is corrupt; cannot be opened read/write 32 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 52 Double checking the fixed image now... 61 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 88 Double checking the fixed image now... 102 Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=1073741824 105 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 backing_file=TEST_DIR/t.IMGFMT.base back… 118 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 [all …]
|
/openbmc/linux/arch/arm/boot/dts/broadcom/ |
H A D | bcm23550.dtsi | 34 #include <dt-bindings/clock/bcm21664.h> 35 #include <dt-bindings/interrupt-controller/arm-gic.h> 36 #include <dt-bindings/interrupt-controller/irq.h> 39 #address-cells = <1>; 40 #size-cells = <1>; 43 interrupt-parent = <&gic>; 46 #address-cells = <1>; 47 #size-cells = <0>; 51 compatible = "arm,cortex-a7"; 53 clock-frequency = <1000000000>; [all …]
|
H A D | bcm11351.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 2 // Copyright (C) 2012-2013 Broadcom Corporation 4 #include <dt-bindings/clock/bcm281xx.h> 5 #include <dt-bindings/interrupt-controller/arm-gic.h> 6 #include <dt-bindings/interrupt-controller/irq.h> 9 #address-cells = <1>; 10 #size-cells = <1>; 13 interrupt-parent = <&gic>; 20 #address-cells = <1>; 21 #size-cells = <0>; [all …]
|
H A D | bcm21664.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 4 #include <dt-bindings/clock/bcm21664.h> 5 #include <dt-bindings/interrupt-controller/arm-gic.h> 6 #include <dt-bindings/interrupt-controller/irq.h> 9 #address-cells = <1>; 10 #size-cells = <1>; 13 interrupt-parent = <&gic>; 20 #address-cells = <1>; 21 #size-cells = <0>; 25 compatible = "arm,cortex-a9"; [all …]
|
/openbmc/linux/tools/perf/Documentation/ |
H A D | jitdump-specification.txt | 5 -------------------------------------------------------- 7 -------------------------------------------------------- 9 -------------------------------------------------------- 11 -------------------------------------------------------- 17 …ile is generated by Just-In-time compiler runtimes to save meta-data information about the generat… 21 The format of the file is binary. It is self-describing in terms of endianness and is portable acro… 27 …ly sequential accesses, i.e., append only mode. The file starts with a fixed size file header desc… 29 …a fixed size header describing the type of record and its size. It is, itself, followed by the pay… 36 Each jitdump file starts with a fixed size header containing the following fields in order: 39 * uint32_t magic : a magic number tagging the file type. The value is 4-byte long and represent… [all …]
|
/openbmc/linux/arch/x86/pci/ |
H A D | intel_mid_pci.c | 1 // SPDX-License-Identifier: GPL-2.0 8 * - configuration space is memory mapped (as defined by MCFG) 9 * - Lincroft devices also have a real, type 1 configuration space 10 * - Early Lincroft silicon has a type 1 access bug that will cause 11 * a hang if non-existent devices are accessed 12 * - some devices have the "fixed BAR" capability, which means 36 #include <asm/intel-family.h> 37 #include <asm/intel-mid.h> 46 /* Fixed BAR fields */ 47 #define PCIE_VNDR_CAP_ID_FIXED_BAR 0x00 /* Fixed BAR (TBD) */ [all …]
|
/openbmc/linux/drivers/net/wireless/ath/ath11k/ |
H A D | dbring.c | 1 // SPDX-License-Identifier: BSD-3-Clause-Clear 3 * Copyright (c) 2019-2020 The Linux Foundation. All rights reserved. 4 * Copyright (c) 2021-2023 Qualcomm Innovation Center, Inc. All rights reserved. 12 int ath11k_dbring_validate_buffer(struct ath11k *ar, void *buffer, u32 size) in ath11k_dbring_validate_buffer() argument 17 size = size >> 2; in ath11k_dbring_validate_buffer() 19 for (idx = 0, temp = buffer; idx < size; idx++, temp++) { in ath11k_dbring_validate_buffer() 21 return -EINVAL; in ath11k_dbring_validate_buffer() 28 void *buffer, u32 size) in ath11k_dbring_fill_magic_value() argument 31 * and the variable size is expected to be the number of u32 values in ath11k_dbring_fill_magic_value() 34 size = size / sizeof(u32); in ath11k_dbring_fill_magic_value() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/nvmem/layouts/ |
H A D | fixed-layout.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/nvmem/layouts/fixed-layout.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NVMEM layout for fixed NVMEM cells 10 Many NVMEM devices have hardcoded cells layout (offset and size of defined 17 - Rafał Miłecki <rafal@milecki.pl> 21 const: fixed-layout 23 "#address-cells": 26 "#size-cells": [all …]
|
/openbmc/linux/arch/arm/boot/dts/arm/ |
H A D | mps2.dtsi | 6 * This file is dual-licensed: you can use it either under the terms 45 #include "../armv7-m.dtsi" 48 #address-cells = <1>; 49 #size-cells = <1>; 51 oscclk0: clk-osc0 { 52 compatible = "fixed-clock"; 53 #clock-cells = <0>; 54 clock-frequency = <50000000>; 57 oscclk1: clk-osc1 { 58 compatible = "fixed-clock"; [all …]
|
/openbmc/linux/arch/powerpc/platforms/cell/ |
H A D | iommu.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * (C) Copyright IBM Corporation 2006-2008 26 #include <asm/pci-bridge.h> 29 #include <asm/cell-regs.h> 34 /* Define CELL_IOMMU_REAL_UNMAP to actually unmap non-used pages 43 * once spider-net has been fixed to pass the correct direction 88 #define IOSTE_PS_Mask 0x0000000000000007ul /* page size */ 89 #define IOSTE_PS_4K 0x0000000000000001ul /* - 4kB */ 90 #define IOSTE_PS_64K 0x0000000000000003ul /* - 64kB */ 91 #define IOSTE_PS_1M 0x0000000000000005ul /* - 1MB */ [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | verifier_log.c | 1 // SPDX-License-Identifier: GPL-2.0 61 bpf_object__for_each_program(prog, skel->obj) { in verif_log_subtest() 74 insns = bpf_program__insns(skel->progs.good_prog); in verif_log_subtest() 75 insn_cnt = bpf_program__insn_cnt(skel->progs.good_prog); in verif_log_subtest() 85 memset(logs.reference + fixed_log_sz, 0, sizeof(logs.reference) - fixed_log_sz); in verif_log_subtest() 88 * we get -ENOSPC and beginning of the full verifier log. This only in verif_log_subtest() 93 * But if provided too short log buf, kernel will NULL-out log->ubuf in verif_log_subtest() 96 * Long story short, we do the following -ENOSPC test only for in verif_log_subtest() 101 opts.log_level = log_level | 8; /* fixed-length log */ in verif_log_subtest() 106 if (!ASSERT_EQ(prog_fd, -ENOSPC, "unexpected_log_fixed_prog_load_result")) { in verif_log_subtest() [all …]
|
/openbmc/linux/include/linux/crush/ |
H A D | crush.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 13 * CRUSH is a pseudo-random data distribution algorithm that 20 * https://www.ssrc.ucsc.edu/Papers/weil-sc06.pdf 39 * CRUSH uses user-defined "rules" to describe how inputs should be 73 #define CRUSH_CHOOSE_N_MINUS(x) (-(x)) 77 * Given a ruleset and size of output set, we search through the 106 * ------------------------------------------------ 133 __u16 type; /* non-zero; type=0 is reserved for devices */ 136 __u32 weight; /* 16-bit fixed point */ 137 __u32 size; /* num items */ member [all …]
|
/openbmc/linux/arch/arc/boot/dts/ |
H A D | hsdk.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 9 /dts-v1/; 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/reset/snps,hsdk-reset.h> 18 #address-cells = <2>; 19 #size-cells = <2>; 22 … "earlycon=uart8250,mmio32,0xf0005000,115200n8 console=ttyS0,115200n8 debug print-fatal-signals=1"; 30 #address-cells = <1>; 31 #size-cells = <0>; 62 input_clk: input-clk { [all …]
|
/openbmc/linux/sound/usb/ |
H A D | validate.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 // Validation of USB-audio class descriptors 9 #include <linux/usb/audio-v2.h> 10 #include <linux/usb/audio-v3.h> 19 size_t size; member 22 #define UAC_VERSION_ALL (unsigned char)(-1) 30 return d->bLength >= sizeof(*d) && in validate_uac1_header() 31 d->bLength >= sizeof(*d) + d->bInCollection; in validate_uac1_header() 41 if (d->bLength < sizeof(*d) || !d->bNrInPins) in validate_mixer_unit() 43 len = sizeof(*d) + d->bNrInPins; in validate_mixer_unit() [all …]
|
/openbmc/linux/arch/arm/boot/dts/nxp/vf/ |
H A D | vf610-zii-dev-rev-b.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 /dts-v1/; 7 #include "vf610-zii-dev.dtsi" 11 compatible = "zii,vf610dev-b", "zii,vf610dev", "fsl,vf610"; 13 mdio-mux { 14 compatible = "mdio-mux-gpio"; 15 pinctrl-0 = <&pinctrl_mdio_mux>; 16 pinctrl-names = "default"; 21 mdio-parent-bus = <&mdio1>; 22 #address-cells = <1>; [all …]
|
/openbmc/openbmc-tools/dbus-pcap/ |
H A D | dbus-pcap | 3 # SPDX-License-Identifier: Apache-2.0 20 CookedHeader = namedtuple("CookedHeader", "fixed, fields") 93 FIXED = { variable in DBusTypeCategory 150 if sig in DBusTypeCategory.FIXED.value: 189 prop.nature - (self.offset & (prop.nature - 1)) 194 def take(self, size): argument 195 val = islice(self.stream, size) 196 self.offset += size 200 assert tc.type.value in DBusTypeCategory.FIXED.value 210 if self.offset - self.stash[1] != len(self.stash[0]): [all …]
|
/openbmc/linux/arch/nios2/boot/dts/ |
H A D | 10m50_devboard.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 6 /dts-v1/; 10 compatible = "altr,niosii-max10"; 11 #address-cells = <1>; 12 #size-cells = <1>; 15 #address-cells = <1>; 16 #size-cells = <0>; 20 compatible = "altr,nios2-1.1"; 22 interrupt-controller; 23 #interrupt-cells = <1>; [all …]
|