Lines Matching refs:queue
71 * 0x034 R QueueNumMax Maximum size of the currently selected queue
72 * 0x038 W QueueNum Queue size for the currently selected queue
73 * 0x03c W QueueAlign Used Ring alignment for the current queue
74 * 0x040 RW QueuePFN PFN for the currently selected queue
131 /* the number of entries in the queue */
134 /* the virtual address of the ring queue */
135 void *queue;
221 /* the notify function used when creating a virt queue */
226 /* We write the queue's selector into the notification register to
275 /* Select and deactivate the queue */
280 free_pages_exact(info->queue, size);
310 /* Select the queue we're interested in */
319 /* Allocate and fill out our active queue description */
326 /* Allocate pages for the queue - start with a queue as big as
333 /* If the device reports a 0 entry queue, we won't be able to
345 /* Did the last iter shrink the queue below minimum size? */
351 info->queue = alloc_pages_exact(size, GFP_KERNEL | __GFP_ZERO);
352 if (info->queue)
358 /* Activate the queue */
362 writel(virt_to_phys(info->queue) >> PAGE_SHIFT,
367 true, info->queue, vm_notify, callback, name);
384 free_pages_exact(info->queue, size);