Home
last modified time | relevance | path

Searched +full:rom +full:- (Results 1 – 25 of 1031) sorted by relevance

12345678910>>...42

/openbmc/qemu/hw/core/
H A Dloader.c24 * Gunzip functionality in this file is derived from u-boot:
28 * (C) Copyright 2000-2005
47 #include "qemu/error-report.h"
49 #include "qapi/qapi-commands-machine.h"
50 #include "qapi/type-helpers.h"
71 /* return the size or -1 if error */
78 return -1; in get_image_size()
84 /* return the size or -1 if error */
92 return -1; in load_image_size()
95 while ((actsize = read(fd, addr + l, size - l)) > 0) { in load_image_size()
[all …]
/openbmc/linux/drivers/pci/
H A Drom.c1 // SPDX-License-Identifier: GPL-2.0
3 * PCI ROM access routines
16 * pci_enable_rom - enable ROM decoding for a PCI device
19 * Enable ROM decoding on @dev. This involves simply turning on the last
20 * bit of the PCI ROM BAR. Note that some cards may share address decoders
21 * between the ROM and other resources, so enabling it may disable access
26 struct resource *res = &pdev->resource[PCI_ROM_RESOURCE]; in pci_enable_rom()
30 if (!res->flags) in pci_enable_rom()
31 return -1; in pci_enable_rom()
34 if (res->flags & IORESOURCE_ROM_SHADOW) in pci_enable_rom()
[all …]
/openbmc/qemu/roms/
H A DMakefile2 vgabios_variants := stdvga cirrus vmware qxl isavga virtio bochs-display ramfb ati
3 vgabios_targets := $(subst -isavga,,$(patsubst %,vgabios-%.bin,$(vgabios_variants)))
7 pxe-rom-e1000 efi-rom-e1000 : VID := 8086
8 pxe-rom-e1000 efi-rom-e1000 : DID := 100e
9 pxe-rom-e1000e efi-rom-e1000e : VID := 8086
10 pxe-rom-e1000e efi-rom-e1000e : DID := 10d3
11 pxe-rom-eepro100 efi-rom-eepro100 : VID := 8086
12 pxe-rom-eepro100 efi-rom-eepro100 : DID := 1209
13 pxe-rom-ne2k_pci efi-rom-ne2k_pci : VID := 1050
14 pxe-rom-ne2k_pci efi-rom-ne2k_pci : DID := 0940
[all …]
/openbmc/linux/arch/x86/kernel/
H A Dprobe_roms.c1 // SPDX-License-Identifier: GPL-2.0
17 #include <asm/pci-direct.h>
27 .name = "System ROM",
34 .name = "Extension ROM",
41 .name = "Adapter ROM",
46 .name = "Adapter ROM",
51 .name = "Adapter ROM",
56 .name = "Adapter ROM",
61 .name = "Adapter ROM",
66 .name = "Adapter ROM",
[all …]
/openbmc/qemu/hw/xen/
H A Dxen_pt_load_rom.c2 * This is splited from hw/i386/kvm/pci-assign.c
6 #include "qemu/error-report.h"
12 * Scan the assigned devices for the devices that have an option ROM, and then
13 * load the corresponding ROM data to RAM. If an error occurs while loading an
14 * option ROM, we just ignore that option ROM and continue with the next one.
28 /* If loading ROM from file, pci handles it */ in pci_assign_dev_load_option_rom()
29 if (dev->romfile || !dev->rom_bar) { in pci_assign_dev_load_option_rom()
34 "/sys/bus/pci/devices/%04x:%02x:%02x.%01x/rom", in pci_assign_dev_load_option_rom()
37 /* Write "1" to the ROM file to enable it */ in pci_assign_dev_load_option_rom()
41 error_report("pci-assign: Cannot open %s: %s", rom_file, strerror(errno)); in pci_assign_dev_load_option_rom()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/leds/backlight/
H A Dlp855x-backlight.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/leds/backlight/lp855x-backlight.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Artur Weber <aweber.kernel@gmail.com>
15 - ti,lp8550
16 - ti,lp8551
17 - ti,lp8552
18 - ti,lp8553
19 - ti,lp8555
[all …]
/openbmc/qemu/pc-bios/
H A Dmeson.build4 'edk2-aarch64-code.fd',
5 'edk2-arm-code.fd',
6 'edk2-arm-vars.fd',
7 'edk2-riscv-code.fd',
8 'edk2-riscv-vars.fd',
9 'edk2-i386-code.fd',
10 'edk2-i386-secure-code.fd',
11 'edk2-i386-vars.fd',
12 'edk2-x86_64-code.fd',
13 'edk2-x86_64-secure-code.fd',
[all …]
H A DREADME1 - SeaBIOS (bios.bin) is the successor of pc bios.
4 - The VGA BIOS and the Cirrus VGA BIOS come from the LGPL VGA bios
7 - OpenBIOS (http://www.openbios.org/) is a free (GPL v2) portable
9 1275-1994 (referred to as Open Firmware) compliant firmware.
14 - SLOF (Slimline Open Firmware) is a free IEEE 1275 Open Firmware
17 built from git tag qemu-slof-20230918.
19 - VOF (Virtual Open Firmware) is a minimalistic firmware to work with
20 -machine pseries,x-vof=on. When enabled, the firmware acts as a slim shim and
23 - The PXE roms come from the iPXE project. Built with BANNER_TIME 0.
24 Sources available at http://ipxe.org. Vendor:Device ID -> ROM mapping:
[all …]
/openbmc/linux/drivers/gpu/drm/qxl/
H A Dqxl_kms.c26 #include <linux/io-mapping.h>
38 struct qxl_rom *rom = qdev->rom; in qxl_check_device() local
40 if (rom->magic != 0x4f525851) { in qxl_check_device()
41 DRM_ERROR("bad rom signature %x\n", rom->magic); in qxl_check_device()
45 DRM_INFO("Device Version %d.%d\n", rom->id, rom->update_id); in qxl_check_device()
46 DRM_INFO("Compression level %d log level %d\n", rom->compression_level, in qxl_check_device()
47 rom->log_level); in qxl_check_device()
49 rom->num_io_pages, rom->pages_offset); in qxl_check_device()
51 rom->surface0_area_size, rom->draw_area_offset); in qxl_check_device()
53 qdev->vram_size = rom->surface0_area_size; in qxl_check_device()
[all …]
/openbmc/linux/Documentation/cdrom/
H A Dcdrom-standard.rst2 A Linux CD-ROM standard
14 Linux is probably the Unix-like operating system that supports
18 - The large list of hardware devices available for the many platforms
19 that Linux now supports (i.e., i386-PCs, Sparc Suns, etc.)
20 - The open design of the operating system, such that anybody can write a
22 - There is plenty of source code around as examples of how to write a driver.
29 This divergence of behavior has been very significant for CD-ROM
32 their drivers totally inconsistent, the writers of Linux CD-ROM
35 maintain uniform behavior across all the Linux CD-ROM drivers.
38 all the different CD-ROM device drivers for Linux. This document also
[all …]
/openbmc/linux/drivers/usb/host/
H A Dxhci-pci-renesas.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright (C) 2019-2020 Linaro Limited */
12 #include "xhci-trace.h"
13 #include "xhci-pci.h"
54 const u32 *fw, size_t step, bool rom) in renesas_fw_download_image() argument
62 if (rom) in renesas_fw_download_image()
68 * The hardware does alternate between two 32-bit pages. in renesas_fw_download_image()
79 dev_err(&dev->dev, "Read Status failed: %d\n", in renesas_fw_download_image()
89 dev_err(&dev->dev, "Timeout for Set DATAX step: %zd\n", step); in renesas_fw_download_image()
90 return -ETIMEDOUT; in renesas_fw_download_image()
[all …]
/openbmc/linux/arch/arm/boot/dts/qcom/
H A Dqcom-msm8974pro-sony-xperia-shinano-castor.dts1 // SPDX-License-Identifier: GPL-2.0
2 #include "qcom-msm8974pro.dtsi"
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/leds/common.h>
7 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
11 compatible = "sony,xperia-castor", "qcom,msm8974pro", "qcom,msm8974";
12 chassis-type = "tablet";
20 stdout-path = "serial0:115200n8";
23 gpio-keys {
24 compatible = "gpio-keys";
[all …]
/openbmc/linux/drivers/scsi/isci/
H A Dprobe_roms.c7 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
20 * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
25 /* probe_roms - scan for oem parameters */
44 struct isci_orom *rom = NULL; in isci_request_oprom() local
55 rom = devm_kzalloc(&pdev->dev, sizeof(*rom), GFP_KERNEL); in isci_request_oprom()
56 if (!rom) { in isci_request_oprom()
58 dev_warn(&pdev->dev, in isci_request_oprom()
63 for (i = 0; i < len && rom; i += ISCI_OEM_SIG_SIZE) { in isci_request_oprom()
72 copy_len = min(oem_hdr.len - sizeof(oem_hdr), in isci_request_oprom()
73 sizeof(*rom)); in isci_request_oprom()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/rng/
H A Dti,omap-rom-rng.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/rng/ti,omap-rom-rng.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: OMAP ROM Random Number Generator
10 - Pali Rohár <pali@kernel.org>
11 - Tony Lindgren <tony@atomide.com>
14 Secure SoCs may provide RNG via secure ROM calls like Nokia N900 does.
15 The implementation can depend on the SoC secure ROM used.
19 const: nokia,n900-rom-rng
[all …]
/openbmc/u-boot/board/synopsys/iot_devkit/
H A Du-boot.lds4 * SPDX-License-Identifier: GPL-2.0+
10 ROM : ORIGIN = ROM_BASE, LENGTH = ROM_SIZE
14 OUTPUT_FORMAT("elf32-littlearc", "elf32-littlearc", "elf32-littlearc")
26 } > ROM
34 } > ROM
39 } > ROM
48 } > ROM
56 * copied from ROM to RAM in board_early_init_f().
63 } > RAM AT > ROM
72 /* Keep relocation-related symbols to make linker happy */
/openbmc/linux/drivers/video/
H A Dsticore.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * linux/drivers/video/console/sticore.c -
7 * Copyright (C) 2001-2023 Helge Deller <deller@gmx.de>
8 * Copyright (C) 2001-2002 Thomas Bogendoerfer <tsbogend@alpha.franken.de>
11 * - call STI in virtual mode rather than in real mode
12 * - screen blanking with state_mgmt() in text mode STI ?
13 * - try to make it work on m68k hp workstations ;)
29 #include <asm/parisc-device.h>
48 if (IS_ENABLED(CONFIG_64BIT) && sti->do_call64) { in store_sti_val()
49 /* used for 64-bit STI ROM */ in store_sti_val()
[all …]
/openbmc/qemu/backends/
H A Dhostmem-file.c4 * Copyright (C) 2013-2014 Red Hat Inc
10 * See the COPYING file in the top-level directory.
15 #include "qemu/error-report.h"
22 #include "qapi/qapi-visit-common.h"
36 OnOffAuto rom; member
51 if (!backend->size) { in file_backend_memory_alloc()
55 if (!fb->mem_path) { in file_backend_memory_alloc()
56 error_setg(errp, "mem-path property not set"); in file_backend_memory_alloc()
60 switch (fb->rom) { in file_backend_memory_alloc()
62 /* Traditionally, opening the file readonly always resulted in ROM. */ in file_backend_memory_alloc()
[all …]
/openbmc/u-boot/arch/xtensa/cpu/
H A Du-boot.lds1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * (C) Copyright 2008 - 2013 Tensilica, Inc.
4 * (C) Copyright 2014 - 2016 Cadence Design Systems Inc.
11 #include <asm-offsets.h>
17 * U-Boot resets from SYSROM and unpacks itself from a ROM store to RAM.
19 * above it for the ROM store into which the rest of U-Boot is packed.
20 * The ROM store also needs to be above any other vectors that are in ROM.
21 * If a core has its vectors near the top of ROM, this must be edited.
23 * Note that to run C code out of ROM, the processor would have to support
26 * we can simplify the boot process and unpack U-Boot to RAM immediately.
[all …]
/openbmc/linux/drivers/firewire/
H A Dcore-device.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (C) 2005-2006 Kristian Hoegsberg <krh@bitplanet.net>
14 #include <linux/firewire-constants.h>
36 ci->p = p + 1; in fw_csr_iterator_init()
37 ci->end = ci->p + (p[0] >> 16); in fw_csr_iterator_init()
43 *key = *ci->p >> 24; in fw_csr_iterator_next()
44 *value = *ci->p & 0xffffff; in fw_csr_iterator_next()
46 return ci->p++ < ci->end; in fw_csr_iterator_next()
59 return ci.p - 1 + value; in search_leaf()
73 return -EINVAL; in textual_leaf_to_string()
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A Dshadowpci.c29 void __iomem *rom; member
37 if (offset + length <= priv->size) { in pcirom_read()
38 memcpy_fromio(bios->data + offset, priv->rom + offset, length); in pcirom_read()
48 pci_unmap_rom(priv->pdev, priv->rom); in pcirom_fini()
49 pci_disable_rom(priv->pdev); in pcirom_fini()
56 struct nvkm_device *device = bios->subdev.device; in pcirom_init()
61 if (device->func->pci) in pcirom_init()
62 pdev = device->func->pci(device)->pdev; in pcirom_init()
64 return ERR_PTR(-ENODEV); in pcirom_init()
67 if (ret = -ENOMEM, in pcirom_init()
[all …]
/openbmc/u-boot/doc/
H A DREADME.x861 # SPDX-License-Identifier: GPL-2.0+
6 U-Boot on x86
9 This document describes the information about U-Boot running on x86 targets,
13 ------
14 U-Boot supports running as a coreboot [1] payload on x86. So far only Link
17 most of the low-level details.
19 U-Boot is a main bootloader on Intel Edison board.
21 U-Boot also supports booting directly from x86 reset vector, without coreboot.
23 'bare metal', U-Boot acts like a BIOS replacement. The following platforms
26 - Bayley Bay CRB
[all …]
/openbmc/u-boot/drivers/pci/
H A Dpci_rom.c1 // SPDX-License-Identifier: GPL-2.0
8 * Copyright (C) 2003-2004 Linux Networx
10 * Copyright (C) 2003-2006 Ronald G. Minnich <rminnich@gmail.com>
11 * Copyright (C) 2004-2005 Li-Ta Lo <ollie@lanl.gov>
12 * Copyright (C) 2005-2006 Tyan
14 * Copyright (C) 2005-2009 coresystems GmbH
19 * Copyright 1993 -- 1997 Drew Eckhardt, Frederic Potter,
20 * David Mosberger-Tang
22 * Copyright 1997 -- 1999 Martin Mares <mj@atrey.karlin.mff.cuni.cz>
45 if (gd->arch.prev_sleep_state == ACPI_S3) { in board_should_run_oprom()
[all …]
/openbmc/linux/arch/m68k/
H A DKconfig.machine1 # SPDX-License-Identifier: GPL-2.0
23 This option enables support for the 68000-based Atari series of
41 browse the documentation available at <http://www.mac.linux-m68k.org/>;
50 Say Y here if you want to run Linux on an MC680x0-based Apollo
70 build a kernel which can run on MVME147 single-board computers. If
130 The Q40 is a Motorola 68040-based successor to the Sinclair QL
306 Support for the Sysam AMCORE open-hardware generic board.
312 Support for the Sysam stmark2 open-hardware generic board.
345 bool "Netburner MOD-5272 board support"
348 Support for the Netburner MOD-5272 board.
[all …]
/openbmc/qemu/hw/i386/
H A Dvapic.c2 * TPR optimization for 32-bit Windows guests (XP and Server 2003)
4 * Copyright (C) 2007-2008 Qumranet Technologies
9 * top-level directory.
19 #include "exec/address-spaces.h"
31 #define ROM_BLOCK_MASK (~(ROM_BLOCK_SIZE - 1))
63 MemoryRegion rom; member
138 cpu_physical_memory_read(s->rom_state_paddr, &s->rom_state, in read_guest_rom_state()
144 cpu_physical_memory_write(s->rom_state_paddr, &s->rom_state, in write_guest_rom_state()
152 s->rom_state.real_tpr_addr = cpu_to_le32(s->real_tpr_addr); in update_guest_rom_state()
153 s->rom_state.vcpu_shift = cpu_to_le32(VAPIC_CPU_SHIFT); in update_guest_rom_state()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_bios.c86 * the IGP rom is not accessible via the rom bar as the IGP rom is
88 * copy of the igp rom at the start of vram if a discrete card is
97 if (!(adev->flags & AMD_IS_APU)) in igp_read_bios_from_vram()
102 if (pci_resource_len(adev->pdev, 0) == 0) in igp_read_bios_from_vram()
105 adev->bios = NULL; in igp_read_bios_from_vram()
106 vram_base = pci_resource_start(adev->pdev, 0); in igp_read_bios_from_vram()
111 adev->bios = kmalloc(size, GFP_KERNEL); in igp_read_bios_from_vram()
112 if (!adev->bios) { in igp_read_bios_from_vram()
116 adev->bios_size = size; in igp_read_bios_from_vram()
117 memcpy_fromio(adev->bios, bios, size); in igp_read_bios_from_vram()
[all …]

12345678910>>...42