rom               141 arch/arm64/include/asm/assembler.h 	.long		(\from - .), (\to - .)
rom               168 arch/arm64/include/asm/fpsimdmacros.h 	.if (\from) == (\to)
rom               169 arch/arm64/include/asm/fpsimdmacros.h 		_for__body \from
rom               171 arch/arm64/include/asm/fpsimdmacros.h 		__for \from, (\from) + ((\to) - (\from)) / 2
rom               172 arch/arm64/include/asm/fpsimdmacros.h 		__for (\from) + ((\to) - (\from)) / 2 + 1, \to
rom               181 arch/arm64/include/asm/fpsimdmacros.h 	__for \from, \to
rom               178 arch/m68k/amiga/config.c 			dev->rom = cd->cd_Rom;
rom                71 arch/m68k/amiga/platform.c 		const struct ExpansionRom *rom = &zorro_autocon_init[i].rom;
rom                72 arch/m68k/amiga/platform.c 		if (be16_to_cpu(rom->er_Manufacturer) == ZORRO_MANUF(id) &&
rom                73 arch/m68k/amiga/platform.c 		    rom->er_Product == ZORRO_PROD(id))
rom                53 arch/x86/boot/compressed/eboot.c 	struct pci_setup_rom *rom = NULL;
rom                72 arch/x86/boot/compressed/eboot.c 	size = romsize + sizeof(*rom);
rom                74 arch/x86/boot/compressed/eboot.c 	status = efi_call_early(allocate_pool, EFI_LOADER_DATA, size, &rom);
rom                80 arch/x86/boot/compressed/eboot.c 	memset(rom, 0, sizeof(*rom));
rom                82 arch/x86/boot/compressed/eboot.c 	rom->data.type	= SETUP_PCI;
rom                83 arch/x86/boot/compressed/eboot.c 	rom->data.len	= size - sizeof(struct setup_data);
rom                84 arch/x86/boot/compressed/eboot.c 	rom->data.next	= 0;
rom                85 arch/x86/boot/compressed/eboot.c 	rom->pcilen	= pci->romsize;
rom                86 arch/x86/boot/compressed/eboot.c 	*__rom = rom;
rom                90 arch/x86/boot/compressed/eboot.c 				&rom->vendor);
rom                99 arch/x86/boot/compressed/eboot.c 				&rom->devid);
rom               107 arch/x86/boot/compressed/eboot.c 				&rom->segment, &rom->bus, &rom->device,
rom               108 arch/x86/boot/compressed/eboot.c 				&rom->function);
rom               113 arch/x86/boot/compressed/eboot.c 	memcpy(rom->romdata, romimage, romsize);
rom               117 arch/x86/boot/compressed/eboot.c 	efi_call_early(free_pool, rom);
rom               170 arch/x86/boot/compressed/eboot.c 		struct pci_setup_rom *rom;
rom               179 arch/x86/boot/compressed/eboot.c 		status = preserve_pci_rom_image(pci, &rom);
rom               184 arch/x86/boot/compressed/eboot.c 			data->next = (unsigned long)rom;
rom               186 arch/x86/boot/compressed/eboot.c 			params->hdr.setup_data = (unsigned long)rom;
rom               188 arch/x86/boot/compressed/eboot.c 		data = (struct setup_data *)rom;
rom                 7 arch/x86/include/asm/probe_roms.h extern void pci_unmap_biosrom(void __iomem *rom);
rom               122 arch/x86/kernel/probe_roms.c 		const unsigned char *rom;
rom               127 arch/x86/kernel/probe_roms.c 		rom = isa_bus_to_virt(res->start);
rom               128 arch/x86/kernel/probe_roms.c 		if (probe_kernel_address(rom + 0x18, offset) != 0)
rom               131 arch/x86/kernel/probe_roms.c 		if (probe_kernel_address(rom + offset + 0x4, vendor) != 0)
rom               134 arch/x86/kernel/probe_roms.c 		if (probe_kernel_address(rom + offset + 0x6, device) != 0)
rom               142 arch/x86/kernel/probe_roms.c 		if (probe_kernel_address(rom + offset + 0x8, list) == 0 &&
rom               143 arch/x86/kernel/probe_roms.c 		    probe_kernel_address(rom + offset + 0xc, rev) == 0 &&
rom               145 arch/x86/kernel/probe_roms.c 		    probe_list(pdev, vendor, rom + offset + list)) {
rom               181 arch/x86/kernel/probe_roms.c static int __init romsignature(const unsigned char *rom)
rom               183 arch/x86/kernel/probe_roms.c 	const unsigned short * const ptr = (const unsigned short *)rom;
rom               189 arch/x86/kernel/probe_roms.c static int __init romchecksum(const unsigned char *rom, unsigned long length)
rom               193 arch/x86/kernel/probe_roms.c 	for (sum = 0; length && probe_kernel_address(rom++, c) == 0; length--)
rom               200 arch/x86/kernel/probe_roms.c 	const unsigned char *rom;
rom               208 arch/x86/kernel/probe_roms.c 		rom = isa_bus_to_virt(start);
rom               209 arch/x86/kernel/probe_roms.c 		if (!romsignature(rom))
rom               214 arch/x86/kernel/probe_roms.c 		if (probe_kernel_address(rom + 2, c) != 0)
rom               221 arch/x86/kernel/probe_roms.c 		if (length && romchecksum(rom, length))
rom               237 arch/x86/kernel/probe_roms.c 	rom = isa_bus_to_virt(extension_rom_resource.start);
rom               238 arch/x86/kernel/probe_roms.c 	if (romsignature(rom)) {
rom               240 arch/x86/kernel/probe_roms.c 		if (romchecksum(rom, length)) {
rom               248 arch/x86/kernel/probe_roms.c 		rom = isa_bus_to_virt(start);
rom               249 arch/x86/kernel/probe_roms.c 		if (!romsignature(rom))
rom               252 arch/x86/kernel/probe_roms.c 		if (probe_kernel_address(rom + 2, c) != 0)
rom               259 arch/x86/kernel/probe_roms.c 		if (!length || start + length > upper || !romchecksum(rom, length))
rom               674 arch/x86/pci/common.c 	struct pci_setup_rom *rom;
rom               679 arch/x86/pci/common.c 		data = memremap(pa_data, sizeof(*rom), MEMREMAP_WB);
rom               684 arch/x86/pci/common.c 			rom = (struct pci_setup_rom *)data;
rom               686 arch/x86/pci/common.c 			if ((pci_domain_nr(dev->bus) == rom->segment) &&
rom               687 arch/x86/pci/common.c 			    (dev->bus->number == rom->bus) &&
rom               688 arch/x86/pci/common.c 			    (PCI_SLOT(dev->devfn) == rom->device) &&
rom               689 arch/x86/pci/common.c 			    (PCI_FUNC(dev->devfn) == rom->function) &&
rom               690 arch/x86/pci/common.c 			    (dev->vendor == rom->vendor) &&
rom               691 arch/x86/pci/common.c 			    (dev->device == rom->devid)) {
rom               692 arch/x86/pci/common.c 				dev->rom = pa_data +
rom               694 arch/x86/pci/common.c 				dev->romlen = rom->pcilen;
rom               119 drivers/acpi/acpi_video.c 	u8 rom:1;		/* can retrieve a video rom */
rom              1092 drivers/acpi/acpi_video.c 		video->flags.rom = 1;
rom              2075 drivers/acpi/acpi_video.c 	       video->flags.rom ? "yes" : "no",
rom               443 drivers/firewire/core-cdev.c 	if (a->rom != 0) {
rom               447 drivers/firewire/core-cdev.c 		ret = copy_to_user(u64_to_uptr(a->rom),
rom               511 drivers/firewire/core-device.c 	u32 *rom, *stack;
rom               515 drivers/firewire/core-device.c 	rom = kmalloc(sizeof(*rom) * MAX_CONFIG_ROM_SIZE +
rom               517 drivers/firewire/core-device.c 	if (rom == NULL)
rom               520 drivers/firewire/core-device.c 	stack = &rom[MAX_CONFIG_ROM_SIZE];
rom               521 drivers/firewire/core-device.c 	memset(rom, 0, sizeof(*rom) * MAX_CONFIG_ROM_SIZE);
rom               527 drivers/firewire/core-device.c 		ret = read_rom(device, generation, i, &rom[i]);
rom               538 drivers/firewire/core-device.c 		if (i == 0 && rom[i] == 0) {
rom               555 drivers/firewire/core-device.c 	if ((rom[2] & 0x7) < device->max_speed ||
rom               597 drivers/firewire/core-device.c 		ret = read_rom(device, generation, i, &rom[i]);
rom               600 drivers/firewire/core-device.c 		end = i + (rom[i] >> 16) + 1;
rom               608 drivers/firewire/core-device.c 			       rom[i],
rom               610 drivers/firewire/core-device.c 			rom[i] = 0;
rom               621 drivers/firewire/core-device.c 			ret = read_rom(device, generation, i, &rom[i]);
rom               625 drivers/firewire/core-device.c 			if ((key >> 30) != 3 || (rom[i] >> 30) < 2)
rom               634 drivers/firewire/core-device.c 			if (i + (rom[i] & 0xffffff) >= MAX_CONFIG_ROM_SIZE) {
rom               637 drivers/firewire/core-device.c 				       rom[i],
rom               639 drivers/firewire/core-device.c 				rom[i] = 0;
rom               642 drivers/firewire/core-device.c 			stack[sp++] = i + rom[i];
rom               649 drivers/firewire/core-device.c 	new_rom = kmemdup(rom, length * 4, GFP_KERNEL);
rom               662 drivers/firewire/core-device.c 	device->max_rec	= rom[2] >> 12 & 0xf;
rom               663 drivers/firewire/core-device.c 	device->cmc	= rom[2] >> 30 & 1;
rom               664 drivers/firewire/core-device.c 	device->irmc	= rom[2] >> 31 & 1;
rom               666 drivers/firewire/core-device.c 	kfree(rom);
rom                29 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadowpci.c 	void __iomem *rom;
rom                38 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadowpci.c 		memcpy_fromio(bios->data + offset, priv->rom + offset, length);
rom                48 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadowpci.c 	pci_unmap_rom(priv->pdev, priv->rom);
rom                70 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadowpci.c 			    (priv->rom = pci_map_rom(pdev, &priv->size))) {
rom               106 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadowpci.c 		    (priv->rom = pci_platform_rom(pdev, &priv->size)))
rom               442 drivers/gpu/drm/qxl/qxl_cmd.c 	if (handle >= qdev->rom->n_surfaces) {
rom               626 drivers/gpu/drm/qxl/qxl_cmd.c 	for (i = start; i < start + qdev->rom->n_surfaces; i++) {
rom               628 drivers/gpu/drm/qxl/qxl_cmd.c 		int surfid = i % qdev->rom->n_surfaces;
rom                77 drivers/gpu/drm/qxl/qxl_display.c 	num_monitors = qdev->rom->client_monitors_config.count;
rom                78 drivers/gpu/drm/qxl/qxl_display.c 	crc = crc32(0, (const uint8_t *)&qdev->rom->client_monitors_config,
rom                79 drivers/gpu/drm/qxl/qxl_display.c 		  sizeof(qdev->rom->client_monitors_config));
rom                80 drivers/gpu/drm/qxl/qxl_display.c 	if (crc != qdev->rom->client_monitors_config_crc)
rom                91 drivers/gpu/drm/qxl/qxl_display.c 		num_monitors = qdev->rom->client_monitors_config.count;
rom               105 drivers/gpu/drm/qxl/qxl_display.c 			&qdev->rom->client_monitors_config.heads[i];
rom               109 drivers/gpu/drm/qxl/qxl_draw.c 	drawable->mm_time = qdev->rom->mm_clock;
rom               205 drivers/gpu/drm/qxl/qxl_drv.h 	struct qxl_rom *rom;
rom               196 drivers/gpu/drm/qxl/qxl_ioctl.c 		draw->mm_time = qdev->rom->mm_clock;
rom               359 drivers/gpu/drm/qxl/qxl_ioctl.c 		param->value = qdev->rom->n_surfaces;
rom               386 drivers/gpu/drm/qxl/qxl_ioctl.c 	if (qdev->rom->client_capabilities[byte] & (1 << idx))
rom                39 drivers/gpu/drm/qxl/qxl_kms.c 	struct qxl_rom *rom = qdev->rom;
rom                41 drivers/gpu/drm/qxl/qxl_kms.c 	if (rom->magic != 0x4f525851) {
rom                42 drivers/gpu/drm/qxl/qxl_kms.c 		DRM_ERROR("bad rom signature %x\n", rom->magic);
rom                46 drivers/gpu/drm/qxl/qxl_kms.c 	DRM_INFO("Device Version %d.%d\n", rom->id, rom->update_id);
rom                47 drivers/gpu/drm/qxl/qxl_kms.c 	DRM_INFO("Compression level %d log level %d\n", rom->compression_level,
rom                48 drivers/gpu/drm/qxl/qxl_kms.c 		 rom->log_level);
rom                50 drivers/gpu/drm/qxl/qxl_kms.c 		 rom->num_io_pages, rom->pages_offset);
rom                52 drivers/gpu/drm/qxl/qxl_kms.c 		 rom->surface0_area_size, rom->draw_area_offset);
rom                54 drivers/gpu/drm/qxl/qxl_kms.c 	qdev->vram_size = rom->surface0_area_size;
rom                55 drivers/gpu/drm/qxl/qxl_kms.c 	DRM_INFO("RAM header offset: 0x%x\n", rom->ram_header_offset);
rom                63 drivers/gpu/drm/qxl/qxl_kms.c 	qxl_io_memslot_add(qdev, qdev->rom->slots_start + slot->index);
rom                82 drivers/gpu/drm/qxl/qxl_kms.c 	slot->generation = qdev->rom->slot_generation;
rom                83 drivers/gpu/drm/qxl/qxl_kms.c 	high_bits = (qdev->rom->slots_start + slot->index)
rom                84 drivers/gpu/drm/qxl/qxl_kms.c 		<< qdev->rom->slot_gen_bits;
rom                86 drivers/gpu/drm/qxl/qxl_kms.c 	high_bits <<= (64 - (qdev->rom->slot_gen_bits + qdev->rom->slot_id_bits));
rom               178 drivers/gpu/drm/qxl/qxl_kms.c 	qdev->rom = ioremap(qdev->rom_base, qdev->rom_size);
rom               179 drivers/gpu/drm/qxl/qxl_kms.c 	if (!qdev->rom) {
rom               197 drivers/gpu/drm/qxl/qxl_kms.c 				   qdev->rom->ram_header_offset,
rom               269 drivers/gpu/drm/qxl/qxl_kms.c 		   (unsigned long)qdev->rom->ram_header_offset);
rom               289 drivers/gpu/drm/qxl/qxl_kms.c 	iounmap(qdev->rom);
rom               311 drivers/gpu/drm/qxl/qxl_kms.c 	iounmap(qdev->rom);
rom               312 drivers/gpu/drm/qxl/qxl_kms.c 	qdev->rom = NULL;
rom               102 drivers/gpu/drm/qxl/qxl_ttm.c 		64 - (qdev->rom->slot_gen_bits + qdev->rom->slot_id_bits + 8);
rom               334 drivers/gpu/drm/qxl/qxl_ttm.c 	num_io_pages = qdev->rom->ram_header_offset / PAGE_SIZE;
rom               713 drivers/net/ethernet/amd/a2065.c 	serial = be32_to_cpu(z->rom.er_SerialNumber);
rom               742 drivers/net/ethernet/amd/ariadne.c 	serial = be32_to_cpu(z->rom.er_SerialNumber);
rom               564 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c 	struct __mem *rom = &entry->region.mem;
rom               566 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c 	fl_addr = rom->addr;
rom               567 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c 	size = rom->size / 4;
rom               586 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c 	return rom->size;
rom              1022 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c 	struct __mem *rom = &entry->region.mem;
rom              1024 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c 	fl_addr = rom->addr;
rom              1025 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c 	size = rom->size / 4;
rom              1029 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c 		return rom->size;
rom              1345 drivers/net/wireless/ti/wl18xx/main.c 	s8 rom = 0, metal = 0, pg_ver = 0, rdl_ver = 0, package_type = 0;
rom              1363 drivers/net/wireless/ti/wl18xx/main.c 	rom = (fuse & WL18XX_ROM_VER_MASK) >> WL18XX_ROM_VER_OFFSET;
rom              1365 drivers/net/wireless/ti/wl18xx/main.c 	if ((rom <= 0xE) && (package_type == WL18XX_PACKAGE_TYPE_WSP))
rom              1379 drivers/net/wireless/ti/wl18xx/main.c 		    wl18xx_rdl_name(rdl_ver), pg_ver, metal, rom);
rom              1263 drivers/pci/pci-sysfs.c 	void __iomem *rom;
rom              1269 drivers/pci/pci-sysfs.c 	rom = pci_map_rom(pdev, &size);	/* size starts out as PCI window size */
rom              1270 drivers/pci/pci-sysfs.c 	if (!rom || !size)
rom              1279 drivers/pci/pci-sysfs.c 		memcpy_fromio(buf, rom + off, count);
rom              1281 drivers/pci/pci-sysfs.c 	pci_unmap_rom(pdev, rom);
rom               320 drivers/pci/probe.c static void pci_read_bases(struct pci_dev *dev, unsigned int howmany, int rom)
rom               337 drivers/pci/probe.c 	if (rom) {
rom               339 drivers/pci/probe.c 		dev->rom_base_reg = rom;
rom               342 drivers/pci/probe.c 		__pci_read_base(dev, pci_bar_mem32, res, rom);
rom                83 drivers/pci/rom.c static size_t pci_get_rom_size(struct pci_dev *pdev, void __iomem *rom,
rom                90 drivers/pci/rom.c 	image = rom;
rom               110 drivers/pci/rom.c 		if (image >= rom + size)
rom               122 drivers/pci/rom.c 	return min((size_t)(image - rom), size);
rom               140 drivers/pci/rom.c 	void __iomem *rom;
rom               155 drivers/pci/rom.c 	rom = ioremap(start, *size);
rom               156 drivers/pci/rom.c 	if (!rom)
rom               164 drivers/pci/rom.c 	*size = pci_get_rom_size(pdev, rom, *size);
rom               168 drivers/pci/rom.c 	return rom;
rom               171 drivers/pci/rom.c 	iounmap(rom);
rom               187 drivers/pci/rom.c void pci_unmap_rom(struct pci_dev *pdev, void __iomem *rom)
rom               191 drivers/pci/rom.c 	iounmap(rom);
rom               207 drivers/pci/rom.c 	if (pdev->rom && pdev->romlen) {
rom               209 drivers/pci/rom.c 		return phys_to_virt((phys_addr_t)pdev->rom);
rom                44 drivers/scsi/isci/probe_roms.c 	struct isci_orom *rom = NULL;
rom                55 drivers/scsi/isci/probe_roms.c 	rom = devm_kzalloc(&pdev->dev, sizeof(*rom), GFP_KERNEL);
rom                56 drivers/scsi/isci/probe_roms.c 	if (!rom) {
rom                63 drivers/scsi/isci/probe_roms.c 	for (i = 0; i < len && rom; i += ISCI_OEM_SIG_SIZE) {
rom                73 drivers/scsi/isci/probe_roms.c 				       sizeof(*rom));
rom                75 drivers/scsi/isci/probe_roms.c 			memcpy_fromio(rom,
rom                84 drivers/scsi/isci/probe_roms.c 			tmp = (u8 *)rom;
rom                85 drivers/scsi/isci/probe_roms.c 			for (j = 0; j < sizeof(*rom); j++, tmp++)
rom                95 drivers/scsi/isci/probe_roms.c 			if (memcmp(rom->hdr.signature,
rom               108 drivers/scsi/isci/probe_roms.c 		rom = NULL;
rom               112 drivers/scsi/isci/probe_roms.c 	return rom;
rom               170 drivers/scsi/isci/probe_roms.c 	struct isci_orom *rom;
rom               186 drivers/scsi/isci/probe_roms.c 	rom = (struct isci_orom *)(efi_data + sizeof(struct isci_oem_hdr));
rom               213 drivers/scsi/isci/probe_roms.c 	for (j = 0, sum = 0; j < (sizeof(*oem_hdr) + sizeof(*rom)); j++, tmp++)
rom               222 drivers/scsi/isci/probe_roms.c 	if (memcmp(rom->hdr.signature,
rom               230 drivers/scsi/isci/probe_roms.c 	return rom;
rom               736 drivers/scsi/zorro_esp.c 	if ((z->rom.er_Type & ERT_TYPEMASK) == ERT_ZORROIII) {
rom               369 drivers/video/backlight/lp855x_bl.c 		struct lp855x_rom_data *rom;
rom               373 drivers/video/backlight/lp855x_bl.c 		rom = devm_kcalloc(dev, rom_length, sizeof(*rom), GFP_KERNEL);
rom               374 drivers/video/backlight/lp855x_bl.c 		if (!rom)
rom               378 drivers/video/backlight/lp855x_bl.c 			of_property_read_u8(child, "rom-addr", &rom[i].addr);
rom               379 drivers/video/backlight/lp855x_bl.c 			of_property_read_u8(child, "rom-val", &rom[i].val);
rom               384 drivers/video/backlight/lp855x_bl.c 		pdata->rom_data = &rom[0];
rom               555 drivers/video/console/sticore.c static struct sti_cooked_font *sti_select_font(struct sti_cooked_rom *rom,
rom               563 drivers/video/console/sticore.c 	if ((font = sti_select_fbfont(rom, font_name[index])))
rom               567 drivers/video/console/sticore.c 		font_index[index] = search_font_fnc(rom, 
rom               570 drivers/video/console/sticore.c 	for (font = rom->font_start, i = font_index[index];
rom               577 drivers/video/console/sticore.c 		return rom->font_start;
rom               581 drivers/video/console/sticore.c static void sti_dump_rom(struct sti_rom *rom)
rom               584 drivers/video/console/sticore.c 		rom->graphics_id[0], 
rom               585 drivers/video/console/sticore.c 		rom->graphics_id[1],
rom               586 drivers/video/console/sticore.c 		rom->revno[0] >> 4, 
rom               587 drivers/video/console/sticore.c 		rom->revno[0] & 0x0f);
rom               588 drivers/video/console/sticore.c 	DPRINTK(("      supports %d monitors\n", rom->num_mons));
rom               589 drivers/video/console/sticore.c 	DPRINTK(("      font start %08x\n", rom->font_start));
rom               590 drivers/video/console/sticore.c 	DPRINTK(("      region list %08x\n", rom->region_list));
rom               591 drivers/video/console/sticore.c 	DPRINTK(("      init_graph %08x\n", rom->init_graph));
rom               592 drivers/video/console/sticore.c 	DPRINTK(("      bus support %02x\n", rom->bus_support));
rom               593 drivers/video/console/sticore.c 	DPRINTK(("      ext bus support %02x\n", rom->ext_bus_support));
rom               594 drivers/video/console/sticore.c 	DPRINTK(("      alternate code type %d\n", rom->alt_code_type));
rom               632 drivers/video/console/sticore.c static int sti_search_font(struct sti_cooked_rom *rom, int height, int width)
rom               637 drivers/video/console/sticore.c 	for (font = rom->font_start; font; font = font->next_font, i++) {
rom               768 drivers/video/console/sticore.c 	sti->rom = cooked;
rom               769 drivers/video/console/sticore.c 	sti->rom->raw = raw;
rom               771 drivers/video/console/sticore.c 	sti->font = sti_select_font(sti->rom, sti_search_font);
rom               420 drivers/video/fbdev/aty/radeon_base.c 	void __iomem *rom;
rom               438 drivers/video/fbdev/aty/radeon_base.c 	rom = pci_map_rom(dev, &rom_size);
rom               439 drivers/video/fbdev/aty/radeon_base.c 	if (!rom) {
rom               445 drivers/video/fbdev/aty/radeon_base.c 	rinfo->bios_seg = rom;
rom              4081 drivers/video/fbdev/sis/sis_main.c 	void __iomem *rom;
rom              4091 drivers/video/fbdev/sis/sis_main.c 	rom = rom_base + romptr;
rom              4093 drivers/video/fbdev/sis/sis_main.c 	if((readb(rom)     != 'P') || (readb(rom + 1) != 'C') ||
rom              4094 drivers/video/fbdev/sis/sis_main.c 	   (readb(rom + 2) != 'I') || (readb(rom + 3) != 'R'))
rom              4097 drivers/video/fbdev/sis/sis_main.c 	if((readb(rom + 4) | (readb(rom + 5) << 8)) != ivideo->chip_vendor)
rom              4100 drivers/video/fbdev/sis/sis_main.c 	if((readb(rom + 6) | (readb(rom + 7) << 8)) != ivideo->chip_id)
rom               351 drivers/video/fbdev/sticore.h 	struct sti_cooked_rom *rom;
rom                45 drivers/w1/slaves/w1_therm.c 	uint8_t rom[9];
rom                50 drivers/w1/slaves/w1_therm.c 	u8 rom[9];
rom               200 drivers/w1/slaves/w1_therm.c 	int			(*convert)(u8 rom[9]);
rom               213 drivers/w1/slaves/w1_therm.c static inline int w1_DS18B20_convert_temp(u8 rom[9]);
rom               214 drivers/w1/slaves/w1_therm.c static inline int w1_DS18S20_convert_temp(u8 rom[9]);
rom               253 drivers/w1/slaves/w1_therm.c 	u8 rom[9], external_power;
rom               269 drivers/w1/slaves/w1_therm.c 	memset(rom, 0, sizeof(rom));
rom               332 drivers/w1/slaves/w1_therm.c 	u8 rom[9], crc;
rom               356 drivers/w1/slaves/w1_therm.c 	memset(rom, 0, sizeof(rom));
rom               383 drivers/w1/slaves/w1_therm.c 			count = w1_read_block(dev, rom, 9);
rom               387 drivers/w1/slaves/w1_therm.c 			crc = w1_calc_crc8(rom, 8);
rom               388 drivers/w1/slaves/w1_therm.c 			if (rom[8] == crc) {
rom               389 drivers/w1/slaves/w1_therm.c 				rom[4] = (rom[4] & ~mask) | (precision_bits & mask);
rom               393 drivers/w1/slaves/w1_therm.c 					w1_write_8(dev, rom[2]);
rom               394 drivers/w1/slaves/w1_therm.c 					w1_write_8(dev, rom[3]);
rom               395 drivers/w1/slaves/w1_therm.c 					w1_write_8(dev, rom[4]);
rom               410 drivers/w1/slaves/w1_therm.c static inline int w1_DS18B20_convert_temp(u8 rom[9])
rom               412 drivers/w1/slaves/w1_therm.c 	s16 t = le16_to_cpup((__le16 *)rom);
rom               417 drivers/w1/slaves/w1_therm.c static inline int w1_DS18S20_convert_temp(u8 rom[9])
rom               421 drivers/w1/slaves/w1_therm.c 	if (!rom[7])
rom               424 drivers/w1/slaves/w1_therm.c 	if (rom[1] == 0)
rom               425 drivers/w1/slaves/w1_therm.c 		t = ((s32)rom[0] >> 1)*1000;
rom               427 drivers/w1/slaves/w1_therm.c 		t = 1000*(-1*(s32)(0x100-rom[0]) >> 1);
rom               430 drivers/w1/slaves/w1_therm.c 	h = 1000*((s32)rom[7] - (s32)rom[6]);
rom               431 drivers/w1/slaves/w1_therm.c 	h /= (s32)rom[7];
rom               437 drivers/w1/slaves/w1_therm.c static inline int w1_convert_temp(u8 rom[9], u8 fid)
rom               443 drivers/w1/slaves/w1_therm.c 			return w1_therm_families[i].convert(rom);
rom               493 drivers/w1/slaves/w1_therm.c 	memset(info->rom, 0, sizeof(info->rom));
rom               541 drivers/w1/slaves/w1_therm.c 				count = w1_read_block(dev, info->rom, 9);
rom               548 drivers/w1/slaves/w1_therm.c 				info->crc = w1_calc_crc8(info->rom, 8);
rom               550 drivers/w1/slaves/w1_therm.c 				if (info->rom[8] == info->crc)
rom               582 drivers/w1/slaves/w1_therm.c 		c -= snprintf(buf + PAGE_SIZE - c, c, "%02x ", info.rom[i]);
rom               586 drivers/w1/slaves/w1_therm.c 		memcpy(family_data, info.rom, sizeof(info.rom));
rom               595 drivers/w1/slaves/w1_therm.c 			w1_convert_temp(info.rom, fid));
rom               620 drivers/w1/slaves/w1_therm.c 		*val = w1_convert_temp(info.rom, fid);
rom                46 drivers/zorro/proc.c 	cd.cd_Rom = z->rom;
rom                88 drivers/zorro/proc.c 		   z->rom.er_Type);
rom                37 drivers/zorro/zorro-sysfs.c zorro_config_attr(type, rom.er_Type, "0x%02x\n");
rom                47 drivers/zorro/zorro-sysfs.c 	return sprintf(buf, "0x%08x\n", be32_to_cpu(z->rom.er_SerialNumber));
rom                92 drivers/zorro/zorro-sysfs.c 	cd.cd_Rom = z->rom;
rom               166 drivers/zorro/zorro.c 		z->rom = zi->rom;
rom               167 drivers/zorro/zorro.c 		z->id = (be16_to_cpu(z->rom.er_Manufacturer) << 16) |
rom               168 drivers/zorro/zorro.c 			(z->rom.er_Product << 8);
rom               191 drivers/zorro/zorro.c 		switch (z->rom.er_Type & ERT_TYPEMASK) {
rom               218 drivers/zorro/zorro.c 		if (z->rom.er_Type & ERTF_MEMLIST)
rom               466 include/linux/pci.h 	phys_addr_t	rom;		/* Physical address if not from BAR */
rom              1218 include/linux/pci.h void pci_unmap_rom(struct pci_dev *pdev, void __iomem *rom);
rom                30 include/linux/zorro.h     struct ExpansionRom rom;
rom                90 include/linux/zorro.h 	struct ExpansionRom rom;
rom               614 include/sound/gus.h 		      unsigned int addr, unsigned int size, int rom);
rom               490 include/uapi/linux/firewire-cdev.h 	__u64 rom;
rom                52 sound/isa/gus/gus_dram.c 			     int rom)
rom                62 sound/isa/gus/gus_dram.c 			snd_gf1_write8(gus, SNDRV_GF1_GB_MEMORY_CONTROL, rom ? 0x03 : 0x01);
rom                84 sound/isa/gus/gus_dram.c 		      int rom)
rom                86 sound/isa/gus/gus_dram.c 	return snd_gus_dram_peek(gus, buffer, address, size, rom);
rom                13 sound/isa/gus/gus_mem_proc.c 	int rom;		/* data are in ROM */
rom                28 sound/isa/gus/gus_mem_proc.c 	err = snd_gus_dram_read(gus, buf, pos, count, priv->rom);
rom                73 sound/isa/gus/gus_mem_proc.c 			priv->rom = 1;
rom                93 sound/pci/ctxfi/cthardware.h 	int (*src_set_rom)(void *blk, unsigned int rom);
rom               230 sound/pci/ctxfi/cthw20k1.c static int src_set_rom(void *blk, unsigned int rom)
rom               234 sound/pci/ctxfi/cthw20k1.c 	set_field(&ctl->ctl, SRCCTL_ROM, rom);
rom               230 sound/pci/ctxfi/cthw20k2.c static int src_set_rom(void *blk, unsigned int rom)
rom               234 sound/pci/ctxfi/cthw20k2.c 	set_field(&ctl->ctl, SRCCTL_ROM, rom);
rom                74 sound/pci/ctxfi/ctsrc.c static int src_set_rom(struct src *src, unsigned int rom)
rom                79 sound/pci/ctxfi/ctsrc.c 	hw->src_set_rom(src->rsc.ctrl_blk, rom);
rom                58 sound/pci/ctxfi/ctsrc.h 	int (*set_rom)(struct src *src, unsigned int rom);