Lines Matching defs:slot
64 static void setup_hw_slot(struct qxl_device *qdev, struct qxl_memslot *slot)
66 qdev->ram_header->mem_slot.mem_start = slot->start_phys_addr;
67 qdev->ram_header->mem_slot.mem_end = slot->start_phys_addr + slot->size;
68 qxl_io_memslot_add(qdev, qdev->rom->slots_start + slot->index);
72 struct qxl_memslot *slot,
80 slot->index = slot_index;
81 slot->name = slot_name;
82 slot->start_phys_addr = start_phys_addr;
83 slot->size = size;
85 setup_hw_slot(qdev, slot);
87 slot->generation = qdev->rom->slot_generation;
88 high_bits = (qdev->rom->slots_start + slot->index)
90 high_bits |= slot->generation;
92 slot->high_bits = high_bits;
94 DRM_INFO("slot %d (%s): base 0x%08lx, size 0x%08lx, gpu_offset 0x%lx\n",
95 slot->index, slot->name,
96 (unsigned long)slot->start_phys_addr,
97 (unsigned long)slot->size,
98 (unsigned long)slot->gpu_offset);
261 /* must initialize irq before first async io - slot creation */