Lines Matching defs:slot
58 static void setup_hw_slot(struct qxl_device *qdev, struct qxl_memslot *slot)
60 qdev->ram_header->mem_slot.mem_start = slot->start_phys_addr;
61 qdev->ram_header->mem_slot.mem_end = slot->start_phys_addr + slot->size;
62 qxl_io_memslot_add(qdev, qdev->rom->slots_start + slot->index);
66 struct qxl_memslot *slot,
74 slot->index = slot_index;
75 slot->name = slot_name;
76 slot->start_phys_addr = start_phys_addr;
77 slot->size = size;
79 setup_hw_slot(qdev, slot);
81 slot->generation = qdev->rom->slot_generation;
82 high_bits = (qdev->rom->slots_start + slot->index)
84 high_bits |= slot->generation;
86 slot->high_bits = high_bits;
88 DRM_INFO("slot %d (%s): base 0x%08lx, size 0x%08lx\n",
89 slot->index, slot->name,
90 (unsigned long)slot->start_phys_addr,
91 (unsigned long)slot->size);
242 /* must initialize irq before first async io - slot creation */