Lines Matching full:rom
38 struct qxl_rom *rom = qdev->rom; in qxl_check_device() local
40 if (rom->magic != 0x4f525851) { in qxl_check_device()
41 DRM_ERROR("bad rom signature %x\n", rom->magic); in qxl_check_device()
45 DRM_INFO("Device Version %d.%d\n", rom->id, rom->update_id); in qxl_check_device()
46 DRM_INFO("Compression level %d log level %d\n", rom->compression_level, in qxl_check_device()
47 rom->log_level); in qxl_check_device()
49 rom->num_io_pages, rom->pages_offset); in qxl_check_device()
51 rom->surface0_area_size, rom->draw_area_offset); in qxl_check_device()
53 qdev->vram_size = rom->surface0_area_size; in qxl_check_device()
54 DRM_INFO("RAM header offset: 0x%x\n", rom->ram_header_offset); in qxl_check_device()
62 qxl_io_memslot_add(qdev, qdev->rom->slots_start + slot->index); in setup_hw_slot()
81 slot->generation = qdev->rom->slot_generation; in setup_slot()
82 high_bits = (qdev->rom->slots_start + slot->index) in setup_slot()
83 << qdev->rom->slot_gen_bits; in setup_slot()
85 high_bits <<= (64 - (qdev->rom->slot_gen_bits + qdev->rom->slot_id_bits)); in setup_slot()
166 qdev->rom = ioremap_wc(qdev->rom_base, qdev->rom_size); in qxl_device_init()
167 if (!qdev->rom) { in qxl_device_init()
168 pr_err("Unable to ioremap ROM\n"); in qxl_device_init()
185 qdev->rom->ram_header_offset, in qxl_device_init()
255 (unsigned long)qdev->rom->ram_header_offset); in qxl_device_init()
275 iounmap(qdev->rom); in qxl_device_init()
320 iounmap(qdev->rom); in qxl_device_fini()
321 qdev->rom = NULL; in qxl_device_fini()