Lines Matching refs:kva
99 void *kva; /* kernel virtual address */ 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()
333 desc->kva = dma_alloc_attrs(dev, desc->size, &desc->da, GFP_KERNEL, in venus_alloc()
335 if (!desc->kva) in venus_alloc()
345 dma_free_attrs(dev, mem->size, mem->kva, mem->da, mem->attrs); in venus_free()
786 queue->qmem.kva = desc.kva + offset; in venus_interface_queues_init()
790 IFACEQ_GET_QHDR_START_ADDR(hdev->ifaceq_table.kva, i); in venus_interface_queues_init()
804 tbl_hdr = hdev->ifaceq_table.kva; in venus_interface_queues_init()
824 sfr = hdev->sfr.kva; in venus_interface_queues_init()
1025 struct hfi_sfr *sfr = hdev->sfr.kva; in venus_sfr_print()
1711 IFACEQ_GET_QHDR_START_ADDR(hdev->ifaceq_table.kva, i); in venus_hfi_queues_reinit()
1725 tbl_hdr = hdev->ifaceq_table.kva; in venus_hfi_queues_reinit()
1740 sfr = hdev->sfr.kva; in venus_hfi_queues_reinit()