Lines Matching refs:qmem

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()
301 sli_cmd_wq_create(struct sli4 *sli4, void *buf, struct efc_dma *qmem, u16 cq_id) in sli_cmd_wq_create() argument
317 n_wqe = qmem->size / sli4->wqe_size; in sli_cmd_wq_create()
319 switch (qmem->size) { in sli_cmd_wq_create()
343 num_pages = sli_page_count(qmem->size, page_size); in sli_cmd_wq_create()
359 for (p = 0, addr = qmem->phys; p < num_pages; p++, addr += page_size) { in sli_cmd_wq_create()
368 sli_cmd_rq_create_v1(struct sli4 *sli4, void *buf, struct efc_dma *qmem, in sli_cmd_rq_create_v1() argument
387 num_pages = sli_page_count(qmem->size, SLI_PAGE_SIZE); in sli_cmd_rq_create_v1()
399 rq->rqe_count = cpu_to_le16(qmem->size / SLI4_RQE_SIZE); in sli_cmd_rq_create_v1()
416 for (p = 0, addr = qmem->phys; in sli_cmd_rq_create_v1()