Searched refs:qmem (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.10/drivers/net/ethernet/marvell/octeontx2/af/ |
D | common.h | 42 struct qmem { struct 51 static inline int qmem_alloc(struct device *dev, struct qmem **q, in qmem_alloc() argument 54 struct qmem *qmem; in qmem_alloc() local 60 *q = devm_kzalloc(dev, sizeof(*qmem), GFP_KERNEL); in qmem_alloc() 63 qmem = *q; in qmem_alloc() 65 qmem->entry_sz = entry_sz; in qmem_alloc() 66 qmem->alloc_sz = (qsize * entry_sz) + OTX2_ALIGN; in qmem_alloc() 67 qmem->base = dma_alloc_coherent(dev, qmem->alloc_sz, in qmem_alloc() 68 &qmem->iova, GFP_KERNEL); in qmem_alloc() 69 if (!qmem->base) in qmem_alloc() [all …]
|
D | rvu.h | 94 struct qmem *mce_ctx; 95 struct qmem *mcast_buf; 148 struct qmem *aura_ctx; 149 struct qmem *pool_ctx; 150 struct qmem *npa_qints_ctx; 155 struct qmem *rq_ctx; 156 struct qmem *sq_ctx; 157 struct qmem *cq_ctx; 158 struct qmem *rss_ctx; 159 struct qmem *cq_ints_ctx; [all …]
|
/Linux-v5.10/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_txrx.h | 91 struct qmem *sqe; 92 struct qmem *tso_hdrs; 94 struct qmem *timestamps; 115 struct qmem *stack; 116 struct qmem *fc_addr; 130 struct qmem *cqe;
|
/Linux-v5.10/drivers/media/platform/qcom/venus/ |
D | hfi_venus.c | 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() [all …]
|