| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/kernel/arch/x86/kernel/ |
| H A D | probe_roms.c | 26 .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 void *rom; in find_oprom() local [all …]
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/qxl/ |
| H A D | qxl_kms.c | 40 struct qxl_rom *rom = qdev->rom; in qxl_check_device() local 42 if (rom->magic != 0x4f525851) { in qxl_check_device() 43 DRM_ERROR("bad rom signature %x\n", rom->magic); in qxl_check_device() 47 DRM_INFO("Device Version %d.%d\n", rom->id, rom->update_id); in qxl_check_device() 48 DRM_INFO("Compression level %d log level %d\n", rom->compression_level, in qxl_check_device() 49 rom->log_level); in qxl_check_device() 51 rom->num_io_pages, rom->pages_offset); in qxl_check_device() 53 rom->surface0_area_size, rom->draw_area_offset); in qxl_check_device() 55 qdev->vram_size = rom->surface0_area_size; in qxl_check_device() 56 DRM_INFO("RAM header offset: 0x%x\n", rom->ram_header_offset); in qxl_check_device() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/usb/host/ |
| H A D | xhci-pci-renesas.c | 54 const u32 *fw, size_t step, bool rom) in renesas_fw_download_image() argument 62 if (rom) in renesas_fw_download_image() 164 /* Check if external ROM exists */ in renesas_check_rom() 171 dev_dbg(&pdev->dev, "External ROM exists\n"); in renesas_check_rom() 172 return true; /* External ROM exists */ in renesas_check_rom() 191 dev_dbg(&pdev->dev, "Found ROM version: %x\n", version); in renesas_check_rom_state() 194 * Test if ROM is present and loaded, if so we can skip everything in renesas_check_rom_state() 201 /* ROM exists */ in renesas_check_rom_state() 202 dev_dbg(&pdev->dev, "ROM exists\n"); in renesas_check_rom_state() 210 dev_dbg(&pdev->dev, "Unknown ROM status ...\n"); in renesas_check_rom_state() [all …]
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/kernel/arch/m68k/ |
| H A D | Kconfig.machine | 401 comment "ROM configuration" 403 config ROM config 404 bool "Specify ROM linker regions" 406 Define a ROM region for the linker script. This creates a kernel 411 hex "Address of the base of ROM device" 413 depends on ROM 415 Define the address that the ROM region starts at. Some platforms 420 hex "Address of the base of the ROM vectors" 422 depends on ROM 424 This is almost always the same as the base of the ROM. Since on all [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/leds/backlight/ |
| H A D | lp855x.txt | 13 - 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>;
|
| /OK3568_Linux_fs/kernel/drivers/video/console/ |
| H A D | sticore.c | 321 * the first HP STI ROM built-in font.. in sti_font_setup() 351 * NOTE: This number is machine and STI ROM dependend. 553 static int sti_search_font(struct sti_cooked_rom *rom, int height, int width) in sti_search_font() argument 558 for (font = rom->font_start; font; font = font->next_font, i++) { in sti_search_font() 566 static struct sti_cooked_font *sti_select_font(struct sti_cooked_rom *rom) in sti_select_font() argument 573 font = sti_select_fbfont(rom, font_name); in sti_select_font() 579 font_index = sti_search_font(rom, in sti_select_font() 582 for (font = rom->font_start, i = font_index - 1; in sti_select_font() 589 return rom->font_start; in sti_select_font() 595 struct sti_rom *rom = sti->rom->raw; in sti_dump_rom() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/mvl88w8977/mlan/esa/ |
| H A D | keyMgmtAp.c | 115 if (pKeyMgmtInfo->rom.keyMgmtState == HSK_END) { in KeyMgmtSendGrpKeyMsgToAllSta() 118 } else if ((pKeyMgmtInfo->rom.keyMgmtState == WAITING_4_GRPMSG2) in KeyMgmtSendGrpKeyMsgToAllSta() 119 || (pKeyMgmtInfo->rom.staSecType.wpa2 && in KeyMgmtSendGrpKeyMsgToAllSta() 120 (pKeyMgmtInfo->rom.keyMgmtState == in KeyMgmtSendGrpKeyMsgToAllSta() 122 (pKeyMgmtInfo->rom.keyMgmtState == in KeyMgmtSendGrpKeyMsgToAllSta() 168 &connPtr->staData.keyMgmtInfo.rom.staUcstCipher; in keyApi_ApUpdateKeyMaterial() 332 if (pKeyMgmtInfo->rom.keyMgmtState <= WAITING_4_MSG4) { in KeyMgmtHskTimeout() 349 if (((WAITING_4_MSG2 == pKeyMgmtInfo->rom.keyMgmtState) in KeyMgmtHskTimeout() 350 || (MSG1_PENDING == pKeyMgmtInfo->rom.keyMgmtState)) in KeyMgmtHskTimeout() 355 pKeyMgmtInfo->rom.keyMgmtState); in KeyMgmtHskTimeout() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/firewire/ |
| H A D | core-device.c | 97 * 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 …]
|
| /OK3568_Linux_fs/kernel/arch/arm/boot/dts/ |
| H A D | qcom-msm8974-sony-xperia-castor.dts | 540 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 …]
|
| /OK3568_Linux_fs/u-boot/arch/xtensa/cpu/ |
| H A D | u-boot.lds | 18 * U-Boot resets from SYSROM and unpacks itself from a ROM store to RAM. 20 * above it for the ROM store into which the rest of U-Boot is packed. 21 * The ROM store also needs to be above any other vectors that are in ROM. 22 * If a core has its vectors near the top of ROM, this must be edited. 24 * Note that to run C code out of ROM, the processor would have to support 29 * other means (serial ROM, for example) or are initialized early (requiring 92 * On many Xtensa boards a region of RAM may be mapped to the ROM address 106 "U-Boot ROM image is too large. Check optimization level.")
|
| /OK3568_Linux_fs/kernel/drivers/firmware/efi/libstub/ |
| H A D | x86-stub.c | 31 struct pci_setup_rom *rom = NULL; in preserve_pci_rom_image() local 49 size = romsize + sizeof(*rom); in preserve_pci_rom_image() 52 (void **)&rom); in preserve_pci_rom_image() 54 efi_err("Failed to allocate memory for 'rom'\n"); in preserve_pci_rom_image() 58 memset(rom, 0, sizeof(*rom)); in preserve_pci_rom_image() 60 rom->data.type = SETUP_PCI; in preserve_pci_rom_image() 61 rom->data.len = size - sizeof(struct setup_data); in preserve_pci_rom_image() 62 rom->data.next = 0; in preserve_pci_rom_image() 63 rom->pcilen = pci->romsize; in preserve_pci_rom_image() 64 *__rom = rom; in preserve_pci_rom_image() [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/pci/ |
| H A D | pci_rom.c | 93 /* Enable expansion ROM address decoding. */ in pci_rom_probe() 97 debug("Option ROM address %x\n", rom_address); in pci_rom_probe() 100 debug("PCI expansion ROM, signature %#04x, INIT size %#04x, data ptr %#04x\n", in pci_rom_probe() 105 printf("Incorrect expansion ROM header signature %04x\n", in pci_rom_probe() 108 /* Disable expansion ROM address decoding */ in pci_rom_probe() 118 debug("PCI ROM image, vendor ID %04x, device ID %04x,\n", in pci_rom_probe() 130 debug("PCI ROM image, Class Code %06x, Code Type %02x\n", in pci_rom_probe() 134 debug("Class Code mismatch ROM %06x, dev %06x\n", in pci_rom_probe() 143 * pci_rom_load() - Load a ROM image and return a pointer to it 145 * @rom_header: Pointer to ROM image [all …]
|
| /OK3568_Linux_fs/kernel/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 commmand on the bus. 613 info.rom[4] &= ~W1_THERM_RESOLUTION_MASK; in w1_DS18B20_set_resolution() [all …]
|
| /OK3568_Linux_fs/u-boot/doc/ |
| H A D | README.x86 | 78 Building a ROM version of U-Boot (hereafter referred to as u-boot.rom) is a 80 shipped in the U-Boot source tree. Due to this reason, the u-boot.rom build is 82 on by enabling the ROM build: 86 This tells the Makefile to build u-boot.rom as a target. 97 * video ROM - sets up the display 111 As for the video ROM, you can get it here [3] and rename it to vga.bin. 114 Now you can build U-Boot and obtain u-boot.rom: 129 * vga.bin - video ROM, which sets up the display 163 pci8086,0406.rom 0x7004c0 optionrom 65536 179 cbfstool samus.bin extract -n pci8086,0406.rom -f vga.bin [all …]
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/share/doc/ld.html/ |
| H A D | REGION_005fALIAS.html | 90 non-volatile memory <code>ROM</code> that allows code execution and read-only data 109 <tr><td width="25%">.text</td><td width="25%">RAM</td><td width="25%">ROM</td><td width="25%">ROM</… 110 <tr><td width="25%">.rodata</td><td width="25%">RAM</td><td width="25%">ROM</td><td width="25%">ROM… 111 <tr><td width="25%">.data</td><td width="25%">RAM</td><td width="25%">RAM/ROM</td><td width="25%">R… 114 <p>The notation <code>RAM/ROM</code> or <code>RAM/ROM2</code> means that this section is 115 loaded into region <code>ROM</code> or <code>ROM2</code> respectively. Please note that 169 <dd><p>Program code and read-only data go into the <code>ROM</code>. Read-write data goes 171 <code>ROM</code> and will be copied during system start into the <code>RAM</code>. 175 ROM : ORIGIN = 0, LENGTH = 3M 179 REGION_ALIAS("REGION_TEXT", ROM); [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/share/doc/ld.html/ |
| H A D | REGION_005fALIAS.html | 90 non-volatile memory <code>ROM</code> that allows code execution and read-only data 109 <tr><td width="25%">.text</td><td width="25%">RAM</td><td width="25%">ROM</td><td width="25%">ROM</… 110 <tr><td width="25%">.rodata</td><td width="25%">RAM</td><td width="25%">ROM</td><td width="25%">ROM… 111 <tr><td width="25%">.data</td><td width="25%">RAM</td><td width="25%">RAM/ROM</td><td width="25%">R… 114 <p>The notation <code>RAM/ROM</code> or <code>RAM/ROM2</code> means that this section is 115 loaded into region <code>ROM</code> or <code>ROM2</code> respectively. Please note that 169 <dd><p>Program code and read-only data go into the <code>ROM</code>. Read-write data goes 171 <code>ROM</code> and will be copied during system start into the <code>RAM</code>. 175 ROM : ORIGIN = 0, LENGTH = 3M 179 REGION_ALIAS("REGION_TEXT", ROM); [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/rng/ |
| H A D | omap3_rom_rng.txt | 1 OMAP ROM RNG driver binding 3 Secure SoCs may provide RNG via secure ROM calls like Nokia N900 does. The 4 implementation can depend on the SoC secure ROM used. 9 Definition: must be "nokia,n900-rom-rng" 24 compatible = "nokia,n900-rom-rng";
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_bios.c | 85 * the IGP rom is not accessible via the rom bar as the IGP rom is 87 * copy of the igp rom at the start of vram if a discrete card is 130 /* XXX: some cards may return 0 for rom size? ddx has a workaround */ in amdgpu_read_bios() 195 phys_addr_t rom = adev->pdev->rom; in amdgpu_read_platform_bios() local 201 if (!rom || romlen == 0) in amdgpu_read_platform_bios() 208 bios = ioremap(rom, romlen); in amdgpu_read_platform_bios() 230 /* retrieve the ROM in 4k blocks */ 436 dev_info(adev->dev, "Fetched VBIOS from ROM BAR\n"); in amdgpu_get_bios() 441 dev_info(adev->dev, "Fetched VBIOS from ROM\n"); in amdgpu_get_bios() 446 dev_info(adev->dev, "Fetched VBIOS from disabled ROM BAR\n"); in amdgpu_get_bios() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/admin-guide/ |
| H A D | devices.txt | 115 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) 391 11 block SCSI CD-ROM devices 392 0 = /dev/scd0 First SCSI CD-ROM 393 1 = /dev/scd1 Second SCSI CD-ROM 457 15 block Sony CDU-31A/CDU-33A CD-ROM 458 0 = /dev/sonycd Sony CDU-31a CD-ROM 463 16 block GoldStar CD-ROM 464 0 = /dev/gscd GoldStar CD-ROM [all …]
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-omap2/am33xx/ |
| H A D | Kconfig | 239 After any reset, the boot ROM on the AM43XX SOC 241 For non-XIP devices, the ROM then copies the 243 For all boot modes, after the ROM processes the 252 hex "Size in bytes of the L3 SRAM reserved by ROM to store data" 254 During the device boot, the public ROM uses the top of 256 heap, globals etc. When the ROM is copying the boot 260 boot image. Once the ROM transfers control to the boot
|
| /OK3568_Linux_fs/kernel/drivers/misc/ |
| H A D | pch_phub.c | 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 102 * @pch_phub_extrom_base_address: external rom base address 104 * @pch_opt_rom_start_address: Option ROM start address 275 * 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 …]
|