Lines Matching refs:qmem
106 struct mem_desc qmem; member
172 if (!queue->qmem.kva) in venus_write_queue()
208 wr_ptr = (u32 *)(queue->qmem.kva + (wr_idx << 2)); in venus_write_queue()
217 memcpy(queue->qmem.kva, packet + len, new_wr_idx << 2); in venus_write_queue()
242 if (!queue->qmem.kva) in venus_read_queue()
275 rd_ptr = (u32 *)(queue->qmem.kva + (rd_idx << 2)); in venus_read_queue()
290 memcpy(pkt + len, queue->qmem.kva, new_rd_idx << 2); in venus_read_queue()
722 queue->qmem.da = desc.da + offset; in venus_interface_queues_init()
723 queue->qmem.kva = desc.kva + offset; in venus_interface_queues_init()
724 queue->qmem.size = IFACEQ_QUEUE_SIZE; in venus_interface_queues_init()
725 offset += queue->qmem.size; in venus_interface_queues_init()
731 queue->qhdr->start_addr = queue->qmem.da; in venus_interface_queues_init()
1628 queue->qhdr->start_addr = queue->qmem.da; in venus_hfi_queues_reinit()