Home
last modified time | relevance | path

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

12345678910>>...28

/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 …]
/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-sony-xperia-shinano-common.dtsi"
6 compatible = "sony,xperia-castor", "qcom,msm8974pro", "qcom,msm8974";
7 chassis-type = "tablet";
9 vreg_bl_vddio: lcd-backlight-vddio {
10 compatible = "regulator-fixed";
11 regulator-name = "vreg_bl_vddio";
12 regulator-min-microvolt = <3150000>;
13 regulator-max-microvolt = <3150000>;
16 enable-active-high;
[all …]
H A Dqcom-msm8226-samsung-matisse-common.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
7 * The .dts should first include qcom-msm8226.dtsi or msm8926.dtsi depending on
11 #include <dt-bindings/input/input.h>
14 /delete-node/ &adsp_region;
15 /delete-node/ &mba_region;
16 /delete-node/ &mpss_region;
17 /delete-node/ &smem_region;
27 #address-cells = <1>;
28 #size-cells = <1>;
31 stdout-path = "display0";
[all …]
/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 …]
/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 …]
/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 …]
/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 …]
/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"
57 const u32 *fw, size_t step, bool rom) in renesas_fw_download_image() argument
65 if (rom) in renesas_fw_download_image()
71 * The hardware does alternate between two 32-bit pages. in renesas_fw_download_image()
82 dev_err(&dev->dev, "Read Status failed: %d\n", in renesas_fw_download_image()
92 dev_err(&dev->dev, "Timeout for Set DATAX step: %zd\n", step); in renesas_fw_download_image()
93 return -ETIMEDOUT; in renesas_fw_download_image()
[all …]
/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 …]
/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 …]
/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 …]
/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 …]
/linux/drivers/firmware/efi/libstub/
H A Dx86-stub.c1 // SPDX-License-Identifier: GPL-2.0-only
3 /* -----------------------------------------------------------------------
7 * ----------------------------------------------------------------------- */
22 #include "x86-stub.h"
45 struct pci_setup_rom *rom __free(efi_pool) = NULL; in preserve_pci_rom_image()
63 size = romsize + sizeof(*rom); in preserve_pci_rom_image()
66 (void **)&rom); in preserve_pci_rom_image()
68 efi_err("Failed to allocate memory for 'rom'\n"); in preserve_pci_rom_image()
72 memset(rom, 0, sizeof(*rom)); in preserve_pci_rom_image()
74 rom->data.type = SETUP_PCI; in preserve_pci_rom_image()
[all …]
/linux/Documentation/admin-guide/
H A Ddevices.txt1 0 Unnamed devices (e.g. non-device mounts)
7 2 = /dev/kmem OBSOLETE - replaced by /proc/kcore
11 6 = /dev/core OBSOLETE - replaced by /proc/kcore
18 12 = /dev/oldmem OBSOLETE - replaced by /proc/vmcore
31 2 char Pseudo-TTY masters
37 Pseudo-tty's are named as follows:
40 the 1st through 16th series of 16 pseudo-ttys each, and
44 These are the old-style (BSD) PTY devices; Unix98
106 3 char Pseudo-TTY slaves
112 These are the old-style (BSD) PTY devices; Unix98
[all …]
/linux/fs/isofs/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
6 This is the standard file system used on CD-ROMs. It was previously
8 Unix systems. The so-called Rock-Ridge extensions which allow for
10 driver. If you have a CD-ROM drive and want to do more with it than
12 <file:Documentation/filesystems/isofs.rst> and the CD-ROM-HOWTO,
24 Joliet is a Microsoft extension for the ISO 9660 CD-ROM file system
29 want to be able to read Joliet CD-ROMs under Linux.
36 This is a Linux-specific extension to RockRidge which lets you store
37 data in compressed form on a CD-ROM and have it transparently
38 decompressed when the CD-ROM is accessed. See
[all …]
/linux/drivers/misc/
H A Dpch_phub.c1 // SPDX-License-Identifier: GPL-2.0-only
24 #define PCH_PHUB_ROM_WRITE_ENABLE 0x01 /* Enabling for writing ROM */
25 #define PCH_PHUB_ROM_WRITE_DISABLE 0x00 /* Disabling for writing ROM */
30 #define PCH_PHUB_ROM_START_ADDR_EG20T 0x80 /* ROM data area start address offset
32 #define PCH_PHUB_ROM_START_ADDR_ML7213 0x400 /* ROM data area start address
35 #define PCH_PHUB_ROM_START_ADDR_ML7223 0x400 /* ROM data area start address
47 /* CM-iTC */
58 #define PCI_DEVICE_ID_ROHM_ML7223_mPHUB 0x8012 /* for Bus-m */
59 #define PCI_DEVICE_ID_ROHM_ML7223_nPHUB 0x8002 /* for Bus-n */
65 #define PCH_WORD_ADDR_MASK (~((1 << 2) - 1))
[all …]
/linux/drivers/gpu/drm/radeon/
H A Dradeon_bios.c44 * the IGP rom is not accessible via the rom bar as the IGP rom is
46 * copy of the igp rom at the start of vram if a discrete card is
55 if (!(rdev->flags & RADEON_IS_IGP)) in igp_read_bios_from_vram()
59 rdev->bios = NULL; in igp_read_bios_from_vram()
60 vram_base = pci_resource_start(rdev->pdev, 0); in igp_read_bios_from_vram()
70 rdev->bios = kmalloc(size, GFP_KERNEL); in igp_read_bios_from_vram()
71 if (rdev->bios == NULL) { in igp_read_bios_from_vram()
75 memcpy_fromio(rdev->bios, bios, size); in igp_read_bios_from_vram()
85 rdev->bios = NULL; in radeon_read_bios()
86 /* XXX: some cards may return 0 for rom size? ddx has a workaround */ in radeon_read_bios()
[all …]
/linux/drivers/mtd/nand/raw/
H A Dsm_common.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright © 2009 - Maxim Levitsky
16 return -ERANGE; in oob_sm_ooblayout_ecc()
18 oobregion->length = 3; in oob_sm_ooblayout_ecc()
19 oobregion->offset = ((section + 1) * 8) - 3; in oob_sm_ooblayout_ecc()
30 oobregion->offset = 0; in oob_sm_ooblayout_free()
31 oobregion->length = 4; in oob_sm_ooblayout_free()
35 oobregion->offset = 6; in oob_sm_ooblayout_free()
36 oobregion->length = 2; in oob_sm_ooblayout_free()
40 oobregion->offset = 11; in oob_sm_ooblayout_free()
[all …]
/linux/sound/isa/gus/
H A Dgus_mem_proc.c1 // SPDX-License-Identifier: GPL-2.0-or-later
13 int rom; /* data are in ROM */ member
24 struct gus_proc_private *priv = entry->private_data; in snd_gf1_mem_proc_dump()
25 struct snd_gus_card *gus = priv->gus; in snd_gf1_mem_proc_dump()
28 err = snd_gus_dram_read(gus, buf, pos, count, priv->rom); in snd_gf1_mem_proc_dump()
36 struct gus_proc_private *priv = entry->private_data; in snd_gf1_mem_proc_free()
52 if (gus->gf1.mem_alloc.banks_8[idx].size > 0) { in snd_gf1_mem_proc_init()
55 return -ENOMEM; in snd_gf1_mem_proc_init()
56 priv->gus = gus; in snd_gf1_mem_proc_init()
57 sprintf(name, "gus-ram-%i", idx); in snd_gf1_mem_proc_init()
[all …]
/linux/Documentation/gpu/nova/core/
H A Dvbios.rst1 .. SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 images in the ROM of the GPU. The VBIOS is mirrored onto the BAR 0 space and is read
8 by both Boot ROM firmware (also known as IFR or init-from-rom firmware) on the GPU to
10 the driver loads, as well as by the nova-core driver in the kernel to boot the GSP.
12 The format of the images in the ROM follow the "BIOS Specification" part of the
13 PCI specification, with Nvidia-specific extensions. The ROM images of type FwSec
17 VBIOS of an Ampere GA102 GPU which is supported by the nova-core driver.
19 - PciAt Image (Type 0x00) - This is the standard PCI BIOS image, whose name
22 - EFI Image (Type 0x03) - This is the EFI BIOS image. It contains the UEFI GOP
25 - First FwSec Image (Type 0xE0) - The first FwSec image (Secure Firmware)
[all …]
/linux/arch/powerpc/platforms/ps3/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0
126 tristate "PS3 BD/DVD/CD-ROM Storage Driver"
130 Include support for the PS3 ROM Storage.
132 This support is required to access the PS3 BD/DVD/CD-ROM drive.
137 tristate "PS3 FLASH ROM Storage Driver"
141 Include support for the PS3 FLASH ROM Storage.
143 This support is required to access the PS3 FLASH ROM, which
/linux/include/uapi/linux/
H A Dcdrom.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3 * -- <linux/cdrom.h>
4 * General header file for linux CD-ROM drivers
9 * 1998-2002 Jens Axboe, axboe@suse.de
19 * As of Linux 2.1.x, all Linux CD-ROM application programs will use this
21 * a uniform interface between software accessing CD-ROMs and the various
23 * 23 different kinds of strange CD-ROM drives, but at least there will
24 * now be one, and only one, Linux CD-ROM interface.
27 * should use the O_NONBLOCK option when opening a CD-ROM device
33 * - drive = open("/dev/cdrom", O_RDONLY);
[all …]
/linux/drivers/zorro/
H A Dzorro.c4 * Copyright (C) 1995-2003 Geert Uytterhoeven
19 #include <linux/dma-mapping.h>
63 if (id == ZORRO_WILDCARD || id == z->id) in zorro_find_device()
73 * (128 chunks, physical 0x00200000-0x009fffff).
79 * - z2ram device
80 * - SCSI DMA bounce buffers
101 start = start < Z2RAM_START ? 0x00000000 : start-Z2RAM_START; in mark_region()
102 end = end > Z2RAM_END ? Z2RAM_SIZE : end-Z2RAM_START; in mark_region()
120 for (i = 0; i < bridge->num_resources; i++) { in zorro_find_parent_resource()
121 if (resource_contains(&bridge->resource[i], &z->resource)) in zorro_find_parent_resource()
[all …]
/linux/Documentation/PCI/
H A Dsysfs-pci.rst1 .. SPDX-License-Identifier: GPL-2.0
11 |-- 0000:17:00.0
12 | |-- class
13 | |-- config
14 | |-- device
15 | |-- enable
16 | |-- irq
17 | |-- local_cpus
18 | |-- remove
19 | |-- resource
[all …]
/linux/drivers/net/wireless/ath/ath6kl/
H A Dbmi.h2 * Copyright (c) 2004-2011 Atheros Communications Inc.
37 * command-specific data.
45 * BMI handles all required Target-side cache flushing.
104 * Semantics: Read a 32-bit Target SOC register.
114 * Semantics: Write a 32-bit Target SOC register.
126 * Semantics: Fetch the 4-byte Target information
141 * Semantics: Install a ROM Patch.
144 * u32 Target ROM Address
147 * u32 Activate? 1-->activate;
148 * 0-->install but do not activate
[all …]

12345678910>>...28