| /linux/drivers/gpu/drm/i915/display/ |
| H A D | intel_rom.c | 16 /* for PCI ROM */ 26 u32 (*read32)(struct intel_rom *rom, loff_t offset); 27 u16 (*read16)(struct intel_rom *rom, loff_t offset); 28 void (*read_block)(struct intel_rom *rom, void *data, loff_t offset, size_t size); 29 void (*free)(struct intel_rom *rom); 32 static u32 spi_read32(struct intel_rom *rom, loff_t offset) in spi_read32() argument 34 intel_uncore_write(rom->uncore, PRIMARY_SPI_ADDRESS, in spi_read32() 35 rom->offset + offset); in spi_read32() 37 return intel_uncore_read(rom->uncore, PRIMARY_SPI_TRIGGER); in spi_read32() 40 static u16 spi_read16(struct intel_rom *rom, loff_t offset) in spi_read16() argument [all …]
|
| /linux/drivers/pci/ |
| H A D | rom.c | 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 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/arch/arm/boot/dts/qcom/ |
| H A D | qcom-msm8974pro-sony-xperia-shinano-castor.dts | 40 rom-a0h { 41 rom-addr = /bits/ 8 <0xa0>; 42 rom-val = /bits/ 8 <0xff>; 45 rom-a1h { 46 rom-addr = /bits/ 8 <0xa1>; 47 rom-val = /bits/ 8 <0x3f>; 50 rom-a2h { 51 rom-addr = /bits/ 8 <0xa2>; 52 rom-val = /bits/ 8 <0x20>; 55 rom-a3h { [all …]
|
| H A D | qcom-msm8226-samsung-matisse-common.dtsi | 106 rom-a0h { 107 rom-addr = /bits/ 8 <0xa0>; 108 rom-val = /bits/ 8 <0x44>; 111 rom-a1h { 112 rom-addr = /bits/ 8 <0xa1>; 113 rom-val = /bits/ 8 <0x6c>; 116 rom-a5h { 117 rom-addr = /bits/ 8 <0xa5>; 118 rom-val = /bits/ 8 <0x24>;
|
| /linux/arch/x86/kernel/ |
| H A D | probe_roms.c | 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", 73 .name = "Video ROM", 123 const void *rom; in find_oprom() local [all …]
|
| /linux/Documentation/cdrom/ |
| H A D | cdrom-standard.rst | 2 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/Documentation/devicetree/bindings/leds/backlight/ |
| H A D | lp855x-backlight.yaml | 61 "^rom-[0-9a-f]{2}h$": 66 rom-addr: 68 description: Register address of ROM area to be updated. 70 rom-val: 72 description: Value to write to the ROM register. 97 rom-14h { 98 rom-addr = /bits/ 8 <0x14>; 99 rom-val = /bits/ 8 <0xcf>; 103 rom-15h { 104 rom-addr = /bits/ 8 <0x15>; [all …]
|
| /linux/drivers/usb/host/ |
| H A D | xhci-pci-renesas.c | 57 const u32 *fw, size_t step, bool rom) in renesas_fw_download_image() argument 65 if (rom) in renesas_fw_download_image() 163 /* Check if external ROM exists */ in renesas_check_rom() 170 dev_dbg(&pdev->dev, "External ROM exists\n"); in renesas_check_rom() 171 return true; /* External ROM exists */ in renesas_check_rom() 190 dev_dbg(&pdev->dev, "Found ROM version: %x\n", version); in renesas_check_rom_state() 193 * Test if ROM is present and loaded, if so we can skip everything in renesas_check_rom_state() 200 /* ROM exists */ in renesas_check_rom_state() 201 dev_dbg(&pdev->dev, "ROM exists\n"); in renesas_check_rom_state() 209 dev_dbg(&pdev->dev, "Unknown ROM status ...\n"); in renesas_check_rom_state() [all …]
|
| /linux/drivers/scsi/isci/ |
| H A D | probe_roms.c | 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() 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/drivers/firewire/ |
| H A D | core-device.c | 114 * fw_csr_string() - reads a string from the configuration ROM 161 // Legacy layout of configuration ROM described in Annex 1 of 'Configuration ROM for AV/C in get_modalias_ids() 301 // Legacy layout of configuration ROM described in Annex 1 of in show_immediate() 302 // 'Configuration ROM for AV/C Devices 1.0 (December 12, 2000, 1394 Trading in show_immediate() 350 // Legacy layout of configuration ROM described in Annex 1 of in show_text_leaf() 351 // 'Configuration ROM for AV/C Devices 1.0 (December 12, 2000, 1394 in show_text_leaf() 372 // Sony DVMC-DA1 has configuration ROM such that the descriptor leaf entry in show_text_leaf() 647 * the config ROM. We do all this with a cached bus generation. If the bus 650 * are reading the ROM may have changed the ROM during the reset. 657 u32 *stack, *rom __free(kfree) = NULL; in read_config_rom() [all …]
|
| /linux/drivers/video/ |
| H A D | sticore.c | 49 /* used for 64-bit STI ROM */ in store_sti_val() 57 /* used for 32-bit STI ROM */ in store_sti_val() 362 * the first HP STI ROM built-in font.. in sti_font_setup() 392 * NOTE: This number is machine and STI ROM dependend. 603 static int sti_search_font(struct sti_cooked_rom *rom, int height, int width) in sti_search_font() argument 608 for (font = rom->font_start; font; font = font->next_font, i++) { in sti_search_font() 616 static struct sti_cooked_font *sti_select_font(struct sti_cooked_rom *rom) in sti_select_font() argument 623 font = sti_select_fbfont(rom, font_name); in sti_select_font() 629 font_index = sti_search_font(rom, in sti_select_font() 632 for (font = rom->font_start, i = font_index - 1; in sti_select_font() [all …]
|
| /linux/Documentation/devicetree/bindings/rng/ |
| H A D | ti,omap-rom-rng.yaml | 4 $id: http://devicetree.org/schemas/rng/ti,omap-rom-rng.yaml# 7 title: OMAP ROM Random Number Generator 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 38 compatible = "nokia,n900-rom-rng";
|
| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
| H A D | shadowpci.c | 29 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() 104 if (!pdev->rom || pdev->romlen == 0) in platform_init() 110 (priv->rom = ioremap(pdev->rom, pdev->romlen))) in platform_init() 123 iounmap(priv->rom); in platform_fini()
|
| /linux/drivers/w1/slaves/ |
| H A D | w1_therm.c | 163 int (*convert)(u8 rom[9]); 173 * @rom: ROM device id (64bit Lasered ROM code + 1 CRC byte) 185 uint8_t rom[9]; member 197 * @rom: read device data (8 data bytes + 1 CRC byte) 198 * @crc: computed crc from rom 202 u8 rom[9]; member 213 * Resets the bus and select the slave by sending a ROM MATCH cmd 215 * it sent a SKIP ROM command if only one device is on the line. 287 * Send a SKIP ROM follow by a CONVERT T command on the bus. 639 info.rom[4] &= ~W1_THERM_RESOLUTION_MASK; in w1_DS18B20_set_resolution() [all …]
|
| /linux/fs/isofs/ |
| H A D | Kconfig | 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 37 data in compressed form on a CD-ROM and have it transparently 38 decompressed when the CD-ROM is accessed. See
|
| /linux/drivers/misc/ |
| H A D | pch_phub.c | 25 #define PCH_PHUB_ROM_WRITE_ENABLE 0x01 /* Enabling for writing ROM */ 26 #define PCH_PHUB_ROM_WRITE_DISABLE 0x00 /* Disabling for writing ROM */ 31 #define PCH_PHUB_ROM_START_ADDR_EG20T 0x80 /* ROM data area start address offset 33 #define PCH_PHUB_ROM_START_ADDR_ML7213 0x400 /* ROM data area start address 36 #define PCH_PHUB_ROM_START_ADDR_ML7223 0x400 /* ROM data area start address 103 * @pch_phub_extrom_base_address: external rom base address 105 * @pch_opt_rom_start_address: Option ROM start address 276 * pch_phub_read_serial_rom() - Reading Serial ROM 278 * @offset_address: Serial ROM offset address to read. 279 * @data: Read buffer for specified Serial ROM value. [all …]
|
| /linux/drivers/gpu/drm/radeon/ |
| H A D | radeon_bios.c | 44 * 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 86 /* XXX: some cards may return 0 for rom size? ddx has a workaround */ in radeon_read_bios() 111 phys_addr_t rom = rdev->pdev->rom; in radeon_read_platform_bios() local 117 if (!rom || romlen == 0) in radeon_read_platform_bios() 124 bios = ioremap(rom, romlen); in radeon_read_platform_bios() 144 /* retrieve the ROM in 4k blocks */ 265 /* enable the rom */ in ni_read_disabled_bios() 314 /* enable the rom */ in r700_read_disabled_bios() 393 /* enable the rom */ in r600_read_disabled_bios() [all …]
|
| /linux/drivers/mtd/nand/raw/ |
| H A D | sm_common.c | 129 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/Documentation/gpu/nova/core/ |
| H A D | vbios.rst | 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 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 35 stored in this ROM partition. 45 It is not clear why FwSec has 2 different partitions in the ROM, but they both 49 VBIOS ROM Layout 60 | | | ROM Header | | | 63 | | | rom header's pci_data_struct_offset | | 103 | | | ROM Header | | | | [all …]
|
| /linux/arch/powerpc/platforms/ps3/ |
| H A D | Kconfig | 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/sound/isa/gus/ |
| H A D | gus_mem_proc.c | 13 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/include/uapi/linux/ |
| H A D | cdrom.h | 4 * 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/drivers/zorro/ |
| H A D | zorro.c | 162 z->rom = zi->rom; in amiga_zorro_probe() 163 z->id = (be16_to_cpu(z->rom.er_Manufacturer) << 16) | in amiga_zorro_probe() 164 (z->rom.er_Product << 8); in amiga_zorro_probe() 178 if (error && !(z->rom.er_Type & ERTF_MEMLIST)) in amiga_zorro_probe() 185 switch (z->rom.er_Type & ERT_TYPEMASK) { in amiga_zorro_probe() 212 if (z->rom.er_Type & ERTF_MEMLIST) in amiga_zorro_probe()
|
| /linux/Documentation/PCI/ |
| H A D | sysfs-pci.rst | 24 | |-- rom 50 rom PCI ROM resource, if present (binary, ro) 69 the exception of the 'rom' file. Writable files can be used to perform 83 The 'rom' file is special in that it provides read-only access to the device's 84 ROM file, if available. It's disabled by default, however, so applications 87 that the device must be enabled for a rom read to return data successfully.
|
| /linux/drivers/net/wireless/ath/ath6kl/ |
| H A D | bmi.h | 141 * 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.
|