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