Searched refs:rom (Results 1 - 25 of 54) sorted by last modified time

123

/linux-master/arch/x86/kernel/
H A Dprobe_roms.c123 const void *rom; local
128 rom = isa_bus_to_virt(res->start);
129 if (get_kernel_nofault(offset, rom + 0x18) != 0)
132 if (get_kernel_nofault(vendor, rom + offset + 0x4) != 0)
135 if (get_kernel_nofault(device, rom + offset + 0x6) != 0)
143 if (get_kernel_nofault(list, rom + offset + 0x8) == 0 &&
144 get_kernel_nofault(rev, rom + offset + 0xc) == 0 &&
146 probe_list(pdev, vendor, rom + offset + list)) {
182 static int __init romsignature(const unsigned char *rom) argument
184 const unsigned short * const ptr = (const unsigned short *)rom;
190 romchecksum(const unsigned char *rom, unsigned long length) argument
202 const unsigned char *rom; local
[all...]
/linux-master/drivers/gpu/drm/qxl/
H A Dqxl_cmd.c434 if (handle >= qdev->rom->n_surfaces) {
629 for (i = start; i < start + qdev->rom->n_surfaces; i++) {
631 int surfid = i % qdev->rom->n_surfaces;
H A Dqxl_ioctl.c192 draw->mm_time = qdev->rom->mm_clock;
350 param->value = qdev->rom->n_surfaces;
377 if (qdev->rom->client_capabilities[byte] & (1 << idx))
H A Dqxl_ttm.c193 int num_io_pages; /* != rom->num_io_pages, we include surface0 */
205 num_io_pages = qdev->rom->ram_header_offset / PAGE_SIZE;
H A Dqxl_drv.h181 struct qxl_rom *rom; member in struct:qxl_device
H A Dqxl_display.c82 num_monitors = qdev->rom->client_monitors_config.count;
83 crc = crc32(0, (const uint8_t *)&qdev->rom->client_monitors_config,
84 sizeof(qdev->rom->client_monitors_config));
85 if (crc != qdev->rom->client_monitors_config_crc)
96 num_monitors = qdev->rom->client_monitors_config.count;
110 &qdev->rom->client_monitors_config.heads[i];
/linux-master/drivers/firmware/efi/libstub/
H A Dx86-stub.c45 struct pci_setup_rom *rom = NULL; local
63 size = romsize + sizeof(*rom);
66 (void **)&rom);
68 efi_err("Failed to allocate memory for 'rom'\n");
72 memset(rom, 0, sizeof(*rom));
74 rom->data.type = SETUP_PCI;
75 rom->data.len = size - sizeof(struct setup_data);
76 rom->data.next = 0;
77 rom
155 struct pci_setup_rom *rom; local
[all...]
/linux-master/drivers/video/
H A Dsticore.c603 static int sti_search_font(struct sti_cooked_rom *rom, int height, int width) argument
608 for (font = rom->font_start; font; font = font->next_font, i++) {
616 static struct sti_cooked_font *sti_select_font(struct sti_cooked_rom *rom) argument
623 font = sti_select_fbfont(rom, font_name);
629 font_index = sti_search_font(rom,
632 for (font = rom->font_start, i = font_index - 1;
639 return rom->font_start;
645 struct sti_rom *rom = sti->rom->raw; local
650 rom
[all...]
/linux-master/drivers/firewire/
H A Dcore-device.c588 u32 *rom, *stack; local
592 rom = kmalloc(sizeof(*rom) * MAX_CONFIG_ROM_SIZE +
594 if (rom == NULL)
597 stack = &rom[MAX_CONFIG_ROM_SIZE];
598 memset(rom, 0, sizeof(*rom) * MAX_CONFIG_ROM_SIZE);
604 ret = read_rom(device, generation, i, &rom[i]);
610 * rom to indicate that they are booting (for example,
615 if (i == 0 && rom[
[all...]
/linux-master/arch/m68k/amiga/
H A Dconfig.c178 dev->rom = cd->cd_Rom;
/linux-master/drivers/mtd/maps/
H A DMakefile21 physmap-objs-$(CONFIG_MTD_PHYSMAP_BT1_ROM) += physmap-bt1-rom.o
/linux-master/sound/pci/ctxfi/
H A Dctsrc.c74 static int src_set_rom(struct src *src, unsigned int rom) argument
79 hw->src_set_rom(src->rsc.ctrl_blk, rom);
H A Dctsrc.h58 int (*set_rom)(struct src *src, unsigned int rom);
/linux-master/include/linux/
H A Dpci.h520 phys_addr_t rom; /* Physical address if not from BAR */ member in struct:pci_dev
1413 void pci_unmap_rom(struct pci_dev *pdev, void __iomem *rom);
/linux-master/drivers/pci/
H A Dprobe.c321 static void pci_read_bases(struct pci_dev *dev, unsigned int howmany, int rom) argument
338 if (rom) {
340 dev->rom_base_reg = rom;
343 __pci_read_base(dev, pci_bar_mem32, res, rom);
H A Dpci-sysfs.c1296 void __iomem *rom; local
1302 rom = pci_map_rom(pdev, &size); /* size starts out as PCI window size */
1303 if (!rom || !size)
1312 memcpy_fromio(buf, rom + off, count);
1314 pci_unmap_rom(pdev, rom);
1318 static BIN_ATTR(rom, 0600, pci_read_rom, pci_write_rom, 0);
H A DMakefile7 rom.o setup-res.o irq.o vpd.o \
/linux-master/drivers/acpi/
H A Dacpi_video.c112 u8 rom:1; /* can retrieve a video rom */ member in struct:acpi_video_bus_flags
1060 video->flags.rom = 1;
2035 pr_info("%s [%s] (multi-head: %s rom: %s post: %s)\n",
2038 video->flags.rom ? "yes" : "no",
/linux-master/drivers/net/wireless/ti/wl18xx/
H A Dmain.c1345 s8 rom = 0, metal = 0, pg_ver = 0, rdl_ver = 0, package_type = 0; local
1363 rom = (fuse & WL18XX_ROM_VER_MASK) >> WL18XX_ROM_VER_OFFSET;
1365 if ((rom <= 0xE) && (package_type == WL18XX_PACKAGE_TYPE_WSP))
1379 wl18xx_rdl_name(rdl_ver), pg_ver, metal, rom);
/linux-master/drivers/video/fbdev/sis/
H A Dsis_main.c4064 void __iomem *rom; local
4074 rom = rom_base + romptr;
4076 if((readb(rom) != 'P') || (readb(rom + 1) != 'C') ||
4077 (readb(rom + 2) != 'I') || (readb(rom + 3) != 'R'))
4080 if((readb(rom + 4) | (readb(rom + 5) << 8)) != ivideo->chip_vendor)
4083 if((readb(rom + 6) | (readb(rom
[all...]
/linux-master/include/video/
H A Dsticore.h347 struct sti_cooked_rom *rom; member in struct:sti_struct
/linux-master/drivers/video/backlight/
H A Dlp855x_bl.c345 struct lp855x_rom_data *rom; local
349 rom = devm_kcalloc(dev, rom_length, sizeof(*rom), GFP_KERNEL);
350 if (!rom)
354 of_property_read_u8(child, "rom-addr", &rom[i].addr);
355 of_property_read_u8(child, "rom-val", &rom[i].val);
360 pdata->rom_data = &rom[0];
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_bios.c86 * the IGP rom is not accessible via the rom bar as the IGP rom is
88 * copy of the igp rom at the start of vram if a discrete card is
134 /* XXX: some cards may return 0 for rom size? ddx has a workaround */
198 phys_addr_t rom = adev->pdev->rom; local
204 if (!rom || romlen == 0)
211 bios = ioremap(rom, romlen);
462 /* helper function for soc15 and onwards to read bios from rom */
[all...]
/linux-master/drivers/video/fbdev/aty/
H A Dradeon_base.c417 void __iomem *rom; local
435 rom = pci_map_rom(dev, &rom_size);
436 if (!rom) {
442 rinfo->bios_seg = rom;
/linux-master/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
86 /* XXX: some cards may return 0 for rom size? ddx has a workaround */
111 phys_addr_t rom = rdev->pdev->rom; local
117 if (!rom || romlen == 0)
124 bios = ioremap(rom, romlen);
265 /* enable the rom */
[all...]

Completed in 268 milliseconds

123