Searched refs:qmem (Results 1 – 7 of 7) sorted by relevance
/Linux-v6.6/drivers/net/ethernet/marvell/octeontx2/af/ |
D | common.h | 38 struct qmem { struct 47 static inline int qmem_alloc(struct device *dev, struct qmem **q, in qmem_alloc() argument 50 struct qmem *qmem; in qmem_alloc() local 56 *q = devm_kzalloc(dev, sizeof(*qmem), GFP_KERNEL); in qmem_alloc() 59 qmem = *q; in qmem_alloc() 61 qmem->entry_sz = entry_sz; in qmem_alloc() 62 qmem->alloc_sz = (qsize * entry_sz) + OTX2_ALIGN; in qmem_alloc() 63 qmem->base = dma_alloc_attrs(dev, qmem->alloc_sz, &qmem->iova, in qmem_alloc() 65 if (!qmem->base) in qmem_alloc() 68 qmem->qsize = qsize; in qmem_alloc() [all …]
|
D | rvu.h | 119 struct qmem *mce_ctx; 120 struct qmem *mcast_buf; 211 struct qmem *aura_ctx; 212 struct qmem *pool_ctx; 213 struct qmem *npa_qints_ctx; 218 struct qmem *rq_ctx; 219 struct qmem *sq_ctx; 220 struct qmem *cq_ctx; 221 struct qmem *rss_ctx; 222 struct qmem *cq_ints_ctx; [all …]
|
/Linux-v6.6/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_txrx.h | 94 struct qmem *sqe; 95 struct qmem *tso_hdrs; 97 struct qmem *timestamps; 121 struct qmem *stack; 122 struct qmem *fc_addr; 139 struct qmem *cqe;
|
D | otx2_common.h | 507 struct qmem *dync_lmt;
|
/Linux-v6.6/drivers/media/platform/qcom/venus/ |
D | hfi_venus.c | 106 struct mem_desc qmem; member 171 if (!queue->qmem.kva) in venus_write_queue() 207 wr_ptr = (u32 *)(queue->qmem.kva + (wr_idx << 2)); in venus_write_queue() 216 memcpy(queue->qmem.kva, packet + len, new_wr_idx << 2); in venus_write_queue() 241 if (!queue->qmem.kva) in venus_read_queue() 274 rd_ptr = (u32 *)(queue->qmem.kva + (rd_idx << 2)); in venus_read_queue() 289 memcpy(pkt + len, queue->qmem.kva, new_rd_idx << 2); in venus_read_queue() 786 queue->qmem.da = desc.da + offset; in venus_interface_queues_init() 787 queue->qmem.kva = desc.kva + offset; in venus_interface_queues_init() 788 queue->qmem.size = IFACEQ_QUEUE_SIZE; in venus_interface_queues_init() [all …]
|
/Linux-v6.6/drivers/scsi/elx/libefc_sli/ |
D | sli4.c | 92 sli_cmd_common_create_cq(struct sli4 *sli4, void *buf, struct efc_dma *qmem, in sli_cmd_common_create_cq() argument 107 n_cqe = qmem->size / SLI4_CQE_BYTES; in sli_cmd_common_create_cq() 121 num_pages = sli_page_count(qmem->size, page_size); in sli_cmd_common_create_cq() 169 for (p = 0, addr = qmem->phys; p < num_pages; p++, addr += page_size) { in sli_cmd_common_create_cq() 178 sli_cmd_common_create_eq(struct sli4 *sli4, void *buf, struct efc_dma *qmem) in sli_cmd_common_create_eq() argument 201 num_pages = qmem->size / SLI_PAGE_SIZE; in sli_cmd_common_create_eq() 231 for (p = 0, addr = qmem->phys; p < num_pages; in sli_cmd_common_create_eq() 241 sli_cmd_common_create_mq_ext(struct sli4 *sli4, void *buf, struct efc_dma *qmem, in sli_cmd_common_create_mq_ext() argument 260 num_pages = qmem->size / SLI_PAGE_SIZE; in sli_cmd_common_create_mq_ext() 291 for (p = 0, addr = qmem->phys; p < num_pages; in sli_cmd_common_create_mq_ext() [all …]
|
D | sli4.h | 4048 struct efc_dma *qmem, u16 cq_id);
|