Home
last modified time | relevance | path

Searched full:rom (Results 1 – 25 of 769) sorted by relevance

12345678910>>...31

/Linux-v5.4/drivers/pci/
Drom.c3 * 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
38 * Ideally pci_update_resource() would update the ROM BAR address, in pci_enable_rom()
40 * devices have buggy ROM BARs that read as zero when disabled. in pci_enable_rom()
52 * pci_disable_rom - disable ROM decoding for a PCI device
55 * Disable ROM decoding on a PCI device by turning off the last bit in the
56 * ROM BAR.
[all …]
/Linux-v5.4/arch/x86/kernel/
Dprobe_roms.c26 .name = "System ROM",
33 .name = "Extension ROM",
40 .name = "Adapter ROM",
45 .name = "Adapter ROM",
50 .name = "Adapter ROM",
55 .name = "Adapter ROM",
60 .name = "Adapter ROM",
65 .name = "Adapter ROM",
72 .name = "Video ROM",
122 const unsigned char *rom; in find_oprom() local
[all …]
/Linux-v5.4/arch/mips/lasat/image/
DMakefile3 # MAKEFILE FOR THE MIPS LINUX BOOTLOADER AND ROM DEBUGGER
30 rom.sw: $(obj)/rom.sw
31 rom.bin: $(obj)/rom.bin
33 $(obj)/rom.sw: $(obj)/rom.bin
36 $(obj)/rom.bin: $(obj)/rom
40 $(obj)/rom: $(addprefix $(obj)/,$(OBJECTS))
53 rm -f rom rom.bin rom.sw kImage.bin kImage.o
/Linux-v5.4/drivers/gpu/drm/qxl/
Dqxl_kms.c39 struct qxl_rom *rom = qdev->rom; in qxl_check_device() local
41 if (rom->magic != 0x4f525851) { in qxl_check_device()
42 DRM_ERROR("bad rom signature %x\n", rom->magic); in qxl_check_device()
46 DRM_INFO("Device Version %d.%d\n", rom->id, rom->update_id); in qxl_check_device()
47 DRM_INFO("Compression level %d log level %d\n", rom->compression_level, in qxl_check_device()
48 rom->log_level); in qxl_check_device()
50 rom->num_io_pages, rom->pages_offset); in qxl_check_device()
52 rom->surface0_area_size, rom->draw_area_offset); in qxl_check_device()
54 qdev->vram_size = rom->surface0_area_size; in qxl_check_device()
55 DRM_INFO("RAM header offset: 0x%x\n", rom->ram_header_offset); in qxl_check_device()
[all …]
/Linux-v5.4/Documentation/cdrom/
Dcdrom-standard.rst2 A Linux CD-ROM standard
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
39 defines the various *ioctl()'s*, and how the low-level CD-ROM device
41 development kernels) several low-level CD-ROM device drivers, including
44 When the CD-ROM was developed, the interface between the CD-ROM drive
46 different CD-ROM interfaces were developed. Some of them had their
55 driver had to be enhanced. History has delivered us CD-ROM support for
[all …]
/Linux-v5.4/drivers/w1/slaves/
Dw1_therm.c45 uint8_t rom[9]; member
50 u8 rom[9]; member
200 int (*convert)(u8 rom[9]);
213 static inline int w1_DS18B20_convert_temp(u8 rom[9]);
214 static inline int w1_DS18S20_convert_temp(u8 rom[9]);
253 u8 rom[9], external_power; in w1_therm_eeprom() local
269 memset(rom, 0, sizeof(rom)); in w1_therm_eeprom()
332 u8 rom[9], crc; in w1_DS18B20_precision() local
356 memset(rom, 0, sizeof(rom)); in w1_DS18B20_precision()
383 count = w1_read_block(dev, rom, 9); in w1_DS18B20_precision()
[all …]
/Linux-v5.4/Documentation/devicetree/bindings/leds/backlight/
Dlp855x.txt13 - rom-addr: Register address of ROM area to be updated (u8)
14 - rom-val: Register value to be updated (u8)
30 rom-addr = /bits/ 8 <0x14>;
31 rom-val = /bits/ 8 <0xcf>;
36 rom-addr = /bits/ 8 <0x15>;
37 rom-val = /bits/ 8 <0xc7>;
42 rom-addr = /bits/ 8 <0x19>;
43 rom-val = /bits/ 8 <0x0f>;
69 rom-addr = /bits/ 8 <0x14>;
70 rom-val = /bits/ 8 <0xcf>;
/Linux-v5.4/drivers/scsi/isci/
Dprobe_roms.c44 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()
63 for (i = 0; i < len && rom; i += ISCI_OEM_SIG_SIZE) { in isci_request_oprom()
73 sizeof(*rom)); in isci_request_oprom()
75 memcpy_fromio(rom, in isci_request_oprom()
84 tmp = (u8 *)rom; in isci_request_oprom()
85 for (j = 0; j < sizeof(*rom); j++, tmp++) in isci_request_oprom()
95 if (memcmp(rom->hdr.signature, in isci_request_oprom()
108 rom = NULL; in isci_request_oprom()
[all …]
/Linux-v5.4/arch/m68k/
DKconfig.machine395 comment "ROM configuration"
397 config ROM config
398 bool "Specify ROM linker regions"
400 Define a ROM region for the linker script. This creates a kernel
405 hex "Address of the base of ROM device"
407 depends on ROM
409 Define the address that the ROM region starts at. Some platforms
414 hex "Address of the base of the ROM vectors"
416 depends on ROM
418 This is almost always the same as the base of the ROM. Since on all
[all …]
/Linux-v5.4/arch/arm/boot/dts/
Dqcom-msm8974-sony-xperia-castor.dts540 rom-addr = /bits/ 8 <0xa0>;
541 rom-val = /bits/ 8 <0xff>;
544 rom-addr = /bits/ 8 <0xa1>;
545 rom-val = /bits/ 8 <0x3f>;
548 rom-addr = /bits/ 8 <0xa2>;
549 rom-val = /bits/ 8 <0x20>;
552 rom-addr = /bits/ 8 <0xa3>;
553 rom-val = /bits/ 8 <0x5e>;
556 rom-addr = /bits/ 8 <0xa4>;
557 rom-val = /bits/ 8 <0x02>;
[all …]
/Linux-v5.4/drivers/firewire/
Dcore-device.c97 * fw_csr_string() - reads a string from the configuration ROM
501 * the config ROM. We do all this with a cached bus generation. If the bus
504 * are reading the ROM may have changed the ROM during the reset.
511 u32 *rom, *stack; in read_config_rom() local
515 rom = kmalloc(sizeof(*rom) * MAX_CONFIG_ROM_SIZE + in read_config_rom()
517 if (rom == NULL) in read_config_rom()
520 stack = &rom[MAX_CONFIG_ROM_SIZE]; in read_config_rom()
521 memset(rom, 0, sizeof(*rom) * MAX_CONFIG_ROM_SIZE); in read_config_rom()
527 ret = read_rom(device, generation, i, &rom[i]); in read_config_rom()
533 * rom to indicate that they are booting (for example, in read_config_rom()
[all …]
/Linux-v5.4/drivers/video/console/
Dsticore.c350 * NOTE: This number is machine and STI ROM dependend.
555 static struct sti_cooked_font *sti_select_font(struct sti_cooked_rom *rom, in sti_select_font() argument
563 if ((font = sti_select_fbfont(rom, font_name[index]))) in sti_select_font()
567 font_index[index] = search_font_fnc(rom, in sti_select_font()
570 for (font = rom->font_start, i = font_index[index]; in sti_select_font()
577 return rom->font_start; in sti_select_font()
581 static void sti_dump_rom(struct sti_rom *rom) in sti_dump_rom() argument
584 rom->graphics_id[0], in sti_dump_rom()
585 rom->graphics_id[1], in sti_dump_rom()
586 rom->revno[0] >> 4, in sti_dump_rom()
[all …]
/Linux-v5.4/arch/x86/boot/compressed/
Deboot.c53 struct pci_setup_rom *rom = NULL; in preserve_pci_rom_image() local
72 size = romsize + sizeof(*rom); in preserve_pci_rom_image()
74 status = efi_call_early(allocate_pool, EFI_LOADER_DATA, size, &rom); in preserve_pci_rom_image()
76 efi_printk(sys_table, "Failed to allocate memory for 'rom'\n"); in preserve_pci_rom_image()
80 memset(rom, 0, sizeof(*rom)); in preserve_pci_rom_image()
82 rom->data.type = SETUP_PCI; in preserve_pci_rom_image()
83 rom->data.len = size - sizeof(struct setup_data); in preserve_pci_rom_image()
84 rom->data.next = 0; in preserve_pci_rom_image()
85 rom->pcilen = pci->romsize; in preserve_pci_rom_image()
86 *__rom = rom; in preserve_pci_rom_image()
[all …]
/Linux-v5.4/fs/isofs/
DKconfig9 driver. If you have a CD-ROM drive and want to do more with it than
11 <file:Documentation/filesystems/isofs.txt> and the CD-ROM-HOWTO,
23 Joliet is a Microsoft extension for the ISO 9660 CD-ROM file system
36 data in compressed form on a CD-ROM and have it transparently
37 decompressed when the CD-ROM is accessed. See
/Linux-v5.4/Documentation/admin-guide/
Ddevices.txt115 3 block First MFM, RLL and IDE hard disk/CD-ROM interface
116 0 = /dev/hda Master: whole disk (or CD-ROM)
117 64 = /dev/hdb Slave: whole disk (or CD-ROM)
390 11 block SCSI CD-ROM devices
391 0 = /dev/scd0 First SCSI CD-ROM
392 1 = /dev/scd1 Second SCSI CD-ROM
456 15 block Sony CDU-31A/CDU-33A CD-ROM
457 0 = /dev/sonycd Sony CDU-31a CD-ROM
462 16 block GoldStar CD-ROM
463 0 = /dev/gscd GoldStar CD-ROM
[all …]
/Linux-v5.4/sound/isa/gus/
Dgus_mem_proc.c13 int rom; /* data are in ROM */ member
28 err = snd_gus_dram_read(gus, buf, pos, count, priv->rom); in snd_gf1_mem_proc_dump()
73 priv->rom = 1; in snd_gf1_mem_proc_init()
75 sprintf(name, "gus-rom-%i", idx); in snd_gf1_mem_proc_init()
/Linux-v5.4/drivers/mtd/nand/raw/
Dsm_common.c129 LEGACY_ID_NAND("SmartMedia 2MiB 3,3V ROM", 0x5d, 2, SZ_8K, NAND_ROM),
133 LEGACY_ID_NAND("SmartMedia 4MiB 3,3V ROM", 0xd5, 4, SZ_8K, NAND_ROM),
135 LEGACY_ID_NAND("SmartMedia 8MiB 3,3V ROM", 0xd6, 8, SZ_8K, NAND_ROM),
137 LEGACY_ID_NAND("SmartMedia 16MiB 3,3V ROM", 0x57, 16, SZ_16K, NAND_ROM),
139 LEGACY_ID_NAND("SmartMedia 32MiB 3,3V ROM", 0x58, 32, SZ_16K, NAND_ROM),
141 LEGACY_ID_NAND("SmartMedia 64MiB 3,3V ROM", 0xd9, 64, SZ_16K, NAND_ROM),
143 LEGACY_ID_NAND("SmartMedia 128MiB 3,3V ROM", 0xda, 128, SZ_16K, NAND_ROM),
145 LEGACY_ID_NAND("SmartMedia 256MiB 3,3V ROM", 0x5b, 256, SZ_16K, NAND_ROM),
/Linux-v5.4/arch/powerpc/platforms/ps3/
DKconfig115 tristate "PS3 BD/DVD/CD-ROM Storage Driver"
119 Include support for the PS3 ROM Storage.
121 This support is required to access the PS3 BD/DVD/CD-ROM drive.
126 tristate "PS3 FLASH ROM Storage Driver"
130 Include support for the PS3 FLASH ROM Storage.
132 This support is required to access the PS3 FLASH ROM, which
/Linux-v5.4/Documentation/filesystems/
Dsysfs-pci.txt21 | |-- rom
46 rom PCI ROM resource, if present (binary, ro)
62 the exception of the 'rom' file. Writable files can be used to perform
76 The 'rom' file is special in that it provides read-only access to the device's
77 ROM file, if available. It's disabled by default, however, so applications
80 that the device must be enabled for a rom read to return data successfully.
/Linux-v5.4/drivers/misc/
Dpch_phub.c24 #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
102 * @pch_phub_extrom_base_address: external rom base address
104 * @pch_opt_rom_start_address: Option ROM start address
276 * pch_phub_read_serial_rom() - Reading Serial ROM
277 * @offset_address: Serial ROM offset address to read.
278 * @data: Read buffer for specified Serial ROM value.
[all …]
/Linux-v5.4/include/uapi/linux/
Dcdrom.h4 * General header file for linux CD-ROM drivers
19 * As of Linux 2.1.x, all Linux CD-ROM application programs will use this
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
50 * The CD-ROM IOCTL commands -- these should be supported by
51 * all the various cdrom drivers. For the CD-ROM ioctls, we
116 * These ioctls are implemented through the uniform CD-ROM driver
117 * They _will_ be adopted by all CD-ROM drivers, when all the CD-ROM
118 * drivers are eventually ported to the uniform CD-ROM driver interface.
[all …]
/Linux-v5.4/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
Dshadowpci.c29 void __iomem *rom; member
38 memcpy_fromio(bios->data + offset, priv->rom + offset, length); in pcirom_read()
48 pci_unmap_rom(priv->pdev, priv->rom); in pcirom_fini()
70 (priv->rom = pci_map_rom(pdev, &priv->size))) { in pcirom_init()
106 (priv->rom = pci_platform_rom(pdev, &priv->size))) in platform_init()
/Linux-v5.4/drivers/net/wireless/ath/ath6kl/
Dbmi.h141 * Semantics: Install a ROM Patch.
144 * u32 Target ROM Address
155 * Semantics: Uninstall a previously-installed ROM Patch,
166 * Semantics: Activate a list of previously-installed ROM Patches.
177 * Semantics: Deactivate a list of active ROM Patches.
198 * Note: Not supported on all versions of ROM firmware.
214 * Note: Not supported on all versions of ROM firmware.
/Linux-v5.4/drivers/video/backlight/
Dlp855x_bl.c163 * d) update ROM area(optional)
366 /* Fill ROM platform data if defined */ in lp855x_parse_dt()
369 struct lp855x_rom_data *rom; in lp855x_parse_dt() local
373 rom = devm_kcalloc(dev, rom_length, sizeof(*rom), GFP_KERNEL); in lp855x_parse_dt()
374 if (!rom) in lp855x_parse_dt()
378 of_property_read_u8(child, "rom-addr", &rom[i].addr); in lp855x_parse_dt()
379 of_property_read_u8(child, "rom-val", &rom[i].val); in lp855x_parse_dt()
384 pdata->rom_data = &rom[0]; in lp855x_parse_dt()
/Linux-v5.4/arch/powerpc/platforms/chrp/
Dgg2.h29 #define GG2_ROM_BASE0 0xff000000 /* ROM bank 0 */
30 #define GG2_ROM_BASE1 0xff800000 /* ROM bank 1 */
45 #define GG2_PCI_ROM_CTRL 0x70 /* ROM interface control register */
46 #define GG2_PCI_ROM_TIME 0x74 /* ROM timing */

12345678910>>...31