Lines Matching refs:desc
71 struct vring_desc *desc = virtio_alloc_desc_chain(gdev->dev, 0, 2, &i); in send_command_response() local
72 DEBUG_ASSERT(desc); in send_command_response()
76 desc->addr = gdev->gpu_request_phys; in send_command_response()
77 desc->len = cmd_len; in send_command_response()
78 desc->flags |= VRING_DESC_F_NEXT; in send_command_response()
81 desc = virtio_desc_index_to_desc(gdev->dev, 0, desc->next); in send_command_response()
82 DEBUG_ASSERT(desc); in send_command_response()
89 desc->addr = res_phys; in send_command_response()
90 desc->len = res_len; in send_command_response()
91 desc->flags = VRING_DESC_F_WRITE; in send_command_response()
478 struct vring_desc *desc = virtio_desc_index_to_desc(dev, ring, i); in virtio_gpu_irq_driver_callback() local
482 if (desc->flags & VRING_DESC_F_NEXT) { in virtio_gpu_irq_driver_callback()
483 next = desc->next; in virtio_gpu_irq_driver_callback()