/openbmc/u-boot/arch/arm/mach-bcm283x/ |
H A D | Kconfig | 17 bool "Broadcom BCM2837 SoC 32-bit support" 24 bool "Broadcom BCM2837 SoC 64-bit support" 39 Support for all ARM1176-/BCM2835-based Raspberry Pi variants, such as 40 the A, A+, B, B+, Compute Module, and Zero. This option cannot 41 support BCM2836/BCM2837-based Raspberry Pis such as the RPi 2 and 48 bool "Raspberry Pi Zero W" 50 Support for all ARM1176-/BCM2835-based Raspberry Pi variants, such as 51 the RPi Zero model W. 55 default on the RPi Zero W. To enable the UART console, the following 56 non-default option must be present in config.txt: enable_uart=1. [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/arm/bcm/ |
H A D | bcm2835.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Eric Anholt <eric@anholt.net> 11 - Stefan Wahren <wahrenst@gmx.net> 18 - description: BCM2711 based Boards 20 - enum: 21 - raspberrypi,400 22 - raspberrypi,4-compute-module 23 - raspberrypi,4-model-b [all …]
|
/openbmc/linux/arch/arc/include/asm/ |
H A D | bitops.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) 23 * This is a pure count, so (1-32) or (0-31) doesn't apply 24 * It could be 0 to 32, based on num of 0's in there 50 r -= 16; in constant_fls() 54 r -= 8; in constant_fls() 58 r -= 4; in constant_fls() 62 r -= 2; in constant_fls() 65 r -= 1; in constant_fls() 71 * @result: [1-32] [all …]
|
/openbmc/qemu/docs/ |
H A D | xbzrle.txt | 1 XBZRLE (Xor Based Zero Run Length Encoding) 4 Using XBZRLE (Xor Based Zero Run Length Encoding) allows for the reduction 5 of VM downtime and the total live-migration time of Virtual machines. 26 of the page, where zero represents an unchanged value. 27 The page data delta is represented by zero and non zero runs. 28 A zero run is represented by its length (in bytes). 29 A non zero run is represented by its length (in bytes) and the new data. 49 This work was originally based on research results published 55 XBZRLE has a sustained bandwidth of 2-2.5 GB/s for typical workloads making it 56 ideal for in-line, real-time encoding such as is needed for live-migration. [all …]
|
/openbmc/linux/Documentation/fb/ |
H A D | api.rst | 9 --------------- 12 with frame buffer devices. In-kernel APIs between device drivers and the frame 22 --------------- 36 - FB_CAP_FOURCC 38 The driver supports the four character code (FOURCC) based format setting API. 44 -------------------- 46 Pixels are stored in memory in hardware-dependent formats. Applications need 58 - FB_TYPE_PACKED_PIXELS 67 - FB_TYPE_PLANES 75 - FB_TYPE_INTERLEAVED_PLANES [all …]
|
/openbmc/u-boot/board/imgtec/malta/ |
H A D | lowlevel_init.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 53 * based on a patch sent by Antony Pavlov <antonynpavlov@gmail.com> 56 * 'MIPS: qemu-malta: add YAMON-style GT64120 memory map' 58 * http://www.mail-archive.com/barebox@lists.infradead.org/msg06128.html 60 * based on write_bootloader() in qemu.git/hw/mips_malta.c 69 /* setup MEM-to-PCI0 mapping */ 72 /* setup PCI0 io window to 0x18000000-0x181fffff */ 121 li t2, -CONFIG_SYS_MEM_SIZE 127 /* initialise IP1 - unused */ 129 li t2, -MALTA_MSC01_IP1_SIZE [all …]
|
/openbmc/qemu/scripts/kvm/ |
H A D | vmxcap | 5 # Copyright 2009-2010 Red Hat, Inc. 11 # the COPYING file in the top-level directory. 60 zero = not (mb1 & (1 << bit)) 66 and one and not zero): 68 elif zero and not one: 70 elif one and not zero: 72 elif one and zero: 74 print(' %-40s %s' % (self.bits[bit], s)) 76 # All 64 bits in the tertiary controls MSR are allowed-1 105 v = (value >> lo) & ((1 << (hi - lo + 1)) - 1) [all …]
|
/openbmc/linux/drivers/thermal/ |
H A D | cpuidle_cooling.c | 1 // SPDX-License-Identifier: GPL-2.0 21 * struct cpuidle_cooling_device - data for the idle cooling device 31 * cpuidle_cooling_runtime - Running time computation 33 * @state: a percentile based number 37 * means the running duration is zero. If we have a 50% ratio 43 * running = idle x ((100 / ratio) - 1) 47 * running = (idle x 100) / ratio - idle 52 * Return: An unsigned int for a usec based runtime duration. 60 return ((idle_duration_us * 100) / state) - idle_duration_us; in cpuidle_cooling_runtime() 64 * cpuidle_cooling_get_max_state - Get the maximum state [all …]
|
/openbmc/qemu/include/hw/ |
H A D | ptimer.h | 19 * When it reaches zero it will trigger a callback function, and 21 * and keep counting down, or to stop (as a one-shot timer). 23 * A transaction-based API is used for modifying ptimer state: all calls 29 * list of state-modifying functions and detailed semantics of the callback.) 31 * Forgetting to set the period/frequency (or setting it to zero) is a 49 * - Starting to run with a period = 0 emits error message and stops the 52 * - Setting period to 0 of the running timer emits error message and 55 * - Starting to run with counter = 0 or setting it to "0" while timer 59 * - Counter value of the running timer is one less than the actual value. 61 * - Changing period/frequency of the running timer loses time elapsed [all …]
|
/openbmc/u-boot/board/Seagate/goflexhome/ |
H A D | kwbimage.cfg | 1 # SPDX-License-Identifier: GPL-2.0+ 5 # Based on dockstar/kwbimage.cfg originally written by 8 # Based on sheevaplug/kwbimage.cfg originally written by 12 # Refer docs/README.kwimage for more details about how-to configure 24 # Configure RGMII-0 interface pad voltage to 1.8V 29 # bit13-0: 0xc30 (3120 DDR2 clks refresh rate) 30 # bit23-14: zero 33 # bit29-26: zero 34 # bit31-30: 01 42 # bit23-20: 5=recommended value for CL=5 and STARTBURST_DEL disabled bit31=0 [all …]
|
/openbmc/linux/drivers/usb/gadget/udc/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 7 # NOTE: Gadget support ** DOES NOT ** depend on host-side CONFIG_USB !! 9 # - Host systems (like PCs) need CONFIG_USB (with "A" jacks). 10 # - Peripherals (like PDAs) need CONFIG_USB_GADGET (with "B" jacks). 11 # - Some systems have both kinds of controllers. 13 # With help from a special transceiver and a "Mini-AB" jack, systems with 14 # both kinds of controller can also support "USB On-the-Go" (CONFIG_USB_OTG). 22 # - integrated/SOC controllers first 23 # - licensed IP used in both SOC and discrete versions 24 # - discrete ones (including all PCI-only controllers) [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/mtd/ |
H A D | fsmc-nand.txt | 5 - compatible : "st,spear600-fsmc-nand", "stericsson,fsmc-nand" 6 - reg : Address range of the mtd chip 7 - reg-names: Should contain the reg names "fsmc_regs", "nand_data", "nand_addr" and "nand_cmd" 10 - bank-width : Width (in bytes) of the device. If not present, the width 12 - nand-skip-bbtscan: Indicates the BBT scanning should be skipped 13 - timings: array of 6 bytes for NAND timings. The meanings of these bytes 16 are valid. Zero means one clockcycle, 15 means 16 clock 20 kept in Hi-Z (tristate) after the start of a write access. 21 Only valid for write transactions. Zero means zero cycles, 24 when writing) after the command deassertation. Zero means [all …]
|
/openbmc/u-boot/doc/imx/common/ |
H A D | mxs.txt | 1 Booting U-Boot on a MXS processor 4 This document describes the MXS U-Boot port. This document mostly covers topics 8 ----------- 14 into the unix command prompt in U-Boot source code root directory. 16 The (=>) introduces a snipped of code that should by typed into U-Boot command 20 -------- 23 2) Compiling U-Boot for a MXS based board 24 3) Installation of U-Boot for a MXS based board to SD card 25 4) Installation of U-Boot into NAND flash on a MX28 based board 26 5) Installation of U-Boot into SPI NOR flash on a MX28 based board [all …]
|
/openbmc/qemu/target/i386/tcg/ |
H A D | decode-new.h | 2 * Decode table flags, mostly based on Intel SDM. 35 X86_TYPE_L, /* The upper 4 bits of the immediate select a 128-bit register */ 52 X86_TYPE_I_unsigned, /* Immediate, zero-extended */ 53 X86_TYPE_nop, /* modrm operand decoded but not loaded into s->T{0,1} */ 54 X86_TYPE_2op, /* 2-operand RMW instruction */ 55 X86_TYPE_LoBits, /* encoded in bits 0-2 of the operand + REX.B */ 56 X86_TYPE_0, /* Hard-coded GPRs (RAX..RDI) */ 64 X86_TYPE_ES, /* Hard-coded segment registers */ 77 X86_SIZE_d, /* 32-bit */ 78 X86_SIZE_dq, /* SSE/AVX 128-bit */ [all …]
|
/openbmc/u-boot/include/ |
H A D | dma.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 4 * Copyright (C) 2015 - 2018 Texas Instruments Incorporated <www.ti.com> 16 * enum dma_direction - dma transfer direction indicator 35 * struct dma_dev_priv - information about a device used by the uclass 61 * DMA consumer DMA_MEM_TO_DEV (transmit) usage example (based on networking). 62 * Note. dma_send() is sync operation always - it'll start transfer and will 64 * - get/request dma channel 66 * ret = dma_get_by_name(common->dev, "tx0", &dma_tx); 69 * - enable dma channel 73 * - dma transmit DMA_MEM_TO_DEV. [all …]
|
/openbmc/linux/arch/mips/include/asm/octeon/ |
H A D | cvmx-helper.h | 7 * Copyright (c) 2003-2008 Cavium Networks 14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty 21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 37 #include <asm/octeon/cvmx-config.h> 38 #include <asm/octeon/cvmx-fpa.h> 39 #include <asm/octeon/cvmx-wqe.h> 64 #include <asm/octeon/cvmx-helper-errata.h> 65 #include <asm/octeon/cvmx-helper-loop.h> 66 #include <asm/octeon/cvmx-helper-npi.h> 67 #include <asm/octeon/cvmx-helper-rgmii.h> [all …]
|
/openbmc/linux/arch/arm/include/asm/ |
H A D | hugetlb-3level.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * arch/arm/include/asm/hugetlb-3level.h 7 * Based on arch/x86/include/asm/hugetlb.h. 15 * If our huge pte is non-zero then mark the valid bit. 16 * This allows pte_present(huge_ptep_get(ptep)) to return true for non-zero
|
/openbmc/linux/net/netlabel/ |
H A D | netlabel_cipso_v4.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 * Author: Paul Moore <paul@paul-moore.com> 13 * (c) Copyright Hewlett-Packard Development Company, L.P., 2006 70 * netlbl_cipsov4_add_common - Parse the common sections of a ADD message 76 * in @doi_def. Returns zero on success, negative values on failure. 86 doi_def->doi = nla_get_u32(info->attrs[NLBL_CIPSOV4_A_DOI]); in netlbl_cipsov4_add_common() 88 if (nla_validate_nested_deprecated(info->attrs[NLBL_CIPSOV4_A_TAGLST], in netlbl_cipsov4_add_common() 92 return -EINVAL; in netlbl_cipsov4_add_common() 94 nla_for_each_nested(nla, info->attrs[NLBL_CIPSOV4_A_TAGLST], nla_rem) in netlbl_cipsov4_add_common() 97 return -EINVAL; in netlbl_cipsov4_add_common() [all …]
|
H A D | netlabel_calipso.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 * Authors: Paul Moore <paul@paul-moore.com> 13 /* (c) Copyright Hewlett-Packard Development Company, L.P., 2006 60 * netlbl_calipso_ops_register - Register the CALIPSO operations 82 * netlbl_calipso_add_pass - Adds a CALIPSO pass DOI definition 87 * Create a new CALIPSO_MAP_PASS DOI definition based on the given ADD message 88 * and add it to the CALIPSO engine. Return zero on success and non-zero on 100 return -ENOMEM; in netlbl_calipso_add_pass() 101 doi_def->type = CALIPSO_MAP_PASS; in netlbl_calipso_add_pass() 102 doi_def->doi = nla_get_u32(info->attrs[NLBL_CALIPSO_A_DOI]); in netlbl_calipso_add_pass() [all …]
|
/openbmc/linux/Documentation/admin-guide/media/ |
H A D | technisat.rst | 1 .. SPDX-License-Identifier: GPL-2.0 13 ----------------------------- 19 .. code-block:: none 21 lspci -vvv for a PCI device (lsusb -vvv for an USB device) will show you for example: 29 ------------------- 37 (except ``Simple tuner support`` for ATSC 3rd generation only -> see case 9 please). 41 - Main module part: 50 - Frontend / Tuner / Demodulator module part: 55 - SkyStar DVB-S Revision 2.3: 57 #) => ``Zarlink VP310/MT312/ZL10313 based`` [all …]
|
/openbmc/linux/Documentation/filesystems/ext4/ |
H A D | verity.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 ------------ 6 ext4 supports fs-verity, which is a filesystem feature that provides 7 Merkle tree based hashing for individual readonly files. Most of 8 fs-verity is common to all filesystems that support it; see 10 fs-verity documentation. However, the on-disk layout of the verity 11 metadata is filesystem-specific. On ext4, the verity metadata is 14 - Zero-padding to the next 65536-byte boundary. This padding need not 15 actually be allocated on-disk, i.e. it may be a hole. 17 - The Merkle tree, as documented in [all …]
|
/openbmc/u-boot/board/gateworks/gw_ventana/ |
H A D | README | 1 U-Boot for the Gateworks Ventana Product Family boards 3 This file contains information for the port of U-Boot to the Gateworks 7 is supported by a single bootloader build by using a common SPL and U-Boot 13 --------------------------------- 19 will build the following artifacts from U-Boot source: 20 - SPL - Secondary Program Loader that the i.MX6 BOOT ROM (Primary Program 22 The DRAM controller, loads u-boot.img from the detected boot device, 25 - u-boot.img - The main U-Boot core which is u-boot.bin with a image header. 29 -------- 31 To build U-Boot for the Gateworks Ventana product family: [all …]
|
/openbmc/docs/designs/ |
H A D | multihost-phosphor-buttons.md | 1 # Multi-host front panel phosphor buttons interface 15 phosphor-buttons currently only support push type buttons.support for different 20 Currently handler events are only based on monitoring gpio events as input 23 based on dbus property changes. 38 +----------------------------------------------+ 42 | +--------------+ +--------------+ | 46 | +--------------+ +--------------+ | 51 +----------------------------------------------+ 57 example for a multihost platform yosemite-V2 it has host selector switch mux as 61 +---------------------------+ +------------+ [all …]
|
/openbmc/linux/drivers/usb/core/ |
H A D | usb-acpi.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * USB-ACPI glue code 19 * usb_acpi_power_manageable - check whether usb port has 22 * @index: port index based zero 40 #define UUID_USB_CONTROLLER_DSM "ce2ee385-00e6-48cb-9f05-2edb927c4899" 44 * usb_acpi_port_lpm_incapable - check if lpm should be disabled for a port. 46 * @index: zero based port index 51 * Arg0: UUID = ce2ee385-00e6-48cb-9f05-2edb927c4899 73 dev_dbg(&hdev->dev, "port-%d no acpi handle\n", port1); in usb_acpi_port_lpm_incapable() 74 return -ENODEV; in usb_acpi_port_lpm_incapable() [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | test_dev_cgroup.c | 1 // SPDX-License-Identifier: GPL-2.0-only 21 #define TEST_CGROUP "/test-bpf-based-device-cgroup/" 57 /* All operations with /dev/zero and and /dev/urandom are allowed, in main() 60 assert(system("rm -f /tmp/test_dev_cgroup_null") == 0); in main() 62 assert(system("rm -f /tmp/test_dev_cgroup_null") == 0); in main() 64 /* /dev/zero is whitelisted */ in main() 65 assert(system("rm -f /tmp/test_dev_cgroup_zero") == 0); in main() 67 assert(system("rm -f /tmp/test_dev_cgroup_zero") == 0); in main() 69 assert(system("dd if=/dev/urandom of=/dev/zero count=64") == 0); in main() 75 assert(system("dd if=/dev/random of=/dev/zero count=64")); in main()
|