Lines Matching refs:q
28 void print_queue_properties(struct queue_properties *q) in print_queue_properties() argument
30 if (!q) in print_queue_properties()
34 pr_debug("Queue Type: %u\n", q->type); in print_queue_properties()
35 pr_debug("Queue Size: %llu\n", q->queue_size); in print_queue_properties()
36 pr_debug("Queue percent: %u\n", q->queue_percent); in print_queue_properties()
37 pr_debug("Queue Address: 0x%llX\n", q->queue_address); in print_queue_properties()
38 pr_debug("Queue Id: %u\n", q->queue_id); in print_queue_properties()
39 pr_debug("Queue Process Vmid: %u\n", q->vmid); in print_queue_properties()
40 pr_debug("Queue Read Pointer: 0x%px\n", q->read_ptr); in print_queue_properties()
41 pr_debug("Queue Write Pointer: 0x%px\n", q->write_ptr); in print_queue_properties()
42 pr_debug("Queue Doorbell Pointer: 0x%p\n", q->doorbell_ptr); in print_queue_properties()
43 pr_debug("Queue Doorbell Offset: %u\n", q->doorbell_off); in print_queue_properties()
46 void print_queue(struct queue *q) in print_queue() argument
48 if (!q) in print_queue()
51 pr_debug("Queue Type: %u\n", q->properties.type); in print_queue()
52 pr_debug("Queue Size: %llu\n", q->properties.queue_size); in print_queue()
53 pr_debug("Queue percent: %u\n", q->properties.queue_percent); in print_queue()
54 pr_debug("Queue Address: 0x%llX\n", q->properties.queue_address); in print_queue()
55 pr_debug("Queue Id: %u\n", q->properties.queue_id); in print_queue()
56 pr_debug("Queue Process Vmid: %u\n", q->properties.vmid); in print_queue()
57 pr_debug("Queue Read Pointer: 0x%px\n", q->properties.read_ptr); in print_queue()
58 pr_debug("Queue Write Pointer: 0x%px\n", q->properties.write_ptr); in print_queue()
59 pr_debug("Queue Doorbell Pointer: 0x%p\n", q->properties.doorbell_ptr); in print_queue()
60 pr_debug("Queue Doorbell Offset: %u\n", q->properties.doorbell_off); in print_queue()
61 pr_debug("Queue MQD Address: 0x%p\n", q->mqd); in print_queue()
62 pr_debug("Queue MQD Gart: 0x%llX\n", q->gart_mqd_addr); in print_queue()
63 pr_debug("Queue Process Address: 0x%p\n", q->process); in print_queue()
64 pr_debug("Queue Device Address: 0x%p\n", q->device); in print_queue()
67 int init_queue(struct queue **q, const struct queue_properties *properties) in init_queue() argument
77 *q = tmp_q; in init_queue()
81 void uninit_queue(struct queue *q) in uninit_queue() argument
83 kfree(q); in uninit_queue()