Home
last modified time | relevance | path

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

12345678910>>...34

/linux-6.14.4/drivers/gpu/drm/i915/soc/
Dintel_rom.c1 // SPDX-License-Identifier: MIT
13 /* for PCI ROM */
23 u32 (*read32)(struct intel_rom *rom, loff_t offset);
24 u16 (*read16)(struct intel_rom *rom, loff_t offset);
25 void (*read_block)(struct intel_rom *rom, void *data, loff_t offset, size_t size);
26 void (*free)(struct intel_rom *rom);
29 static u32 spi_read32(struct intel_rom *rom, loff_t offset) in spi_read32() argument
31 intel_uncore_write(rom->uncore, PRIMARY_SPI_ADDRESS, in spi_read32()
32 rom->offset + offset); in spi_read32()
34 return intel_uncore_read(rom->uncore, PRIMARY_SPI_TRIGGER); in spi_read32()
[all …]
Dintel_rom.h1 /* SPDX-License-Identifier: MIT */
17 u32 intel_rom_read32(struct intel_rom *rom, loff_t offset);
18 u16 intel_rom_read16(struct intel_rom *rom, loff_t offset);
19 void intel_rom_read_block(struct intel_rom *rom, void *data,
21 loff_t intel_rom_find(struct intel_rom *rom, u32 needle);
22 size_t intel_rom_size(struct intel_rom *rom);
23 void intel_rom_free(struct intel_rom *rom);
/linux-6.14.4/drivers/pci/
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-6.14.4/arch/arm/boot/dts/qcom/
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 …]
/linux-6.14.4/arch/x86/kernel/
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-6.14.4/Documentation/devicetree/bindings/leds/backlight/
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 <[email protected]>
15 - ti,lp8550
16 - ti,lp8551
17 - ti,lp8552
18 - ti,lp8553
19 - ti,lp8555
[all …]
/linux-6.14.4/drivers/gpu/drm/qxl/
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-6.14.4/Documentation/cdrom/
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-6.14.4/drivers/usb/host/
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"
56 const u32 *fw, size_t step, bool rom) in renesas_fw_download_image() argument
64 if (rom) in renesas_fw_download_image()
70 * The hardware does alternate between two 32-bit pages. in renesas_fw_download_image()
81 dev_err(&dev->dev, "Read Status failed: %d\n", in renesas_fw_download_image()
91 dev_err(&dev->dev, "Timeout for Set DATAX step: %zd\n", step); in renesas_fw_download_image()
92 return -ETIMEDOUT; in renesas_fw_download_image()
[all …]
/linux-6.14.4/drivers/scsi/isci/
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-6.14.4/drivers/firewire/
Dcore-device.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (C) 2005-2006 Kristian Hoegsberg <[email protected]>
14 #include <linux/firewire-constants.h>
37 ci->p = p + 1; in fw_csr_iterator_init()
38 ci->end = ci->p + (p[0] >> 16); in fw_csr_iterator_init()
44 *key = *ci->p >> 24; in fw_csr_iterator_next()
45 *value = *ci->p & 0xffffff; in fw_csr_iterator_next()
47 return ci->p++ < ci->end; in fw_csr_iterator_next()
61 return ci.p - 1 + value; in search_directory()
76 return ci.p - 1 + value; in search_leaf()
[all …]
/linux-6.14.4/drivers/video/
Dsticore.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * linux/drivers/video/console/sticore.c -
7 * Copyright (C) 2001-2023 Helge Deller <[email protected]>
8 * Copyright (C) 2001-2002 Thomas Bogendoerfer <[email protected]>
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-6.14.4/Documentation/devicetree/bindings/rng/
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 <[email protected]>
11 - Tony Lindgren <[email protected]>
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-6.14.4/arch/m68k/
DKconfig.machine1 # SPDX-License-Identifier: GPL-2.0
21 This option enables support for the 68000-based Atari series of
38 browse the documentation available at <http://www.mac.linux-m68k.org/>;
46 Say Y here if you want to run Linux on an MC680x0-based Apollo
65 build a kernel which can run on MVME147 single-board computers. If
122 The Q40 is a Motorola 68040-based successor to the Sinclair QL
281 Support for the Sysam AMCORE open-hardware generic board.
287 Support for the Sysam stmark2 open-hardware generic board.
320 bool "Netburner MOD-5272 board support"
323 Support for the Netburner MOD-5272 board.
[all …]
/linux-6.14.4/drivers/gpu/drm/amd/amdgpu/
Damdgpu_bios.c53 uint8_t *bios = adev->bios; in check_atom_bios()
56 dev_dbg(adev->dev, "VBIOS mem is null or mem size is wrong\n"); in check_atom_bios()
61 dev_dbg(adev->dev, "VBIOS signature incorrect %x %x\n", bios[0], in check_atom_bios()
68 dev_dbg(adev->dev, "Can't locate VBIOS header\n"); in check_atom_bios()
74 dev_dbg(adev->dev, "VBIOS header is broken\n"); in check_atom_bios()
80 dev_dbg(adev->dev, "ATOMBIOS detected\n"); in check_atom_bios()
88 * the IGP rom is not accessible via the rom bar as the IGP rom is
90 * copy of the igp rom at the start of vram if a discrete card is
92 * For SR-IOV, the vbios image is also put in VRAM in the VF.
100 if (!(adev->flags & AMD_IS_APU)) in amdgpu_read_bios_from_vram()
[all …]
/linux-6.14.4/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
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-6.14.4/drivers/w1/slaves/
Dw1_therm.c1 // SPDX-License-Identifier: GPL-2.0-or-later
35 * In case the parasite power-detection is not working (seems to be the case
40 * - strong_pullup = 0 Disable strong pullup completely
41 * - strong_pullup = 1 Enable automatic strong pullup detection
42 * - strong_pullup = 2 Force strong pullup
66 #define MIN_TEMP -55 /* min temperature that can be measured */
102 (((struct w1_therm_family_data *)(sl->family_data))->specific_functions)
105 * return the power mode of the sl slave : 1-ext, 0-parasite, <0 unknown
109 (((struct w1_therm_family_data *)(sl->family_data))->external_powered)
116 (((struct w1_therm_family_data *)(sl->family_data))->resolution)
[all …]
/linux-6.14.4/drivers/firmware/efi/libstub/
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-6.14.4/fs/isofs/
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-6.14.4/Documentation/admin-guide/
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-6.14.4/drivers/misc/
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-6.14.4/sound/isa/gus/
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-6.14.4/drivers/mtd/nand/raw/
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-6.14.4/drivers/gpu/drm/radeon/
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-6.14.4/arch/powerpc/platforms/ps3/
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

12345678910>>...34