Home
last modified time | relevance | path

Searched refs:num_rqs (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_hw_qp_ctxt.h129 #define HINIC_RQ_CTXT_SIZE(num_rqs) (sizeof(struct hinic_qp_ctxt_header) \ argument
130 + (num_rqs) * sizeof(struct hinic_rq_ctxt))
H A Dhinic_hw_io.c150 u16 num_rqs) in write_rq_ctxts() argument
171 num_rqs, func_to_io->max_qps); in write_rq_ctxts()
172 for (i = 0; i < num_rqs; i++) { in write_rq_ctxts()
179 cmdq_buf.size = HINIC_RQ_CTXT_SIZE(num_rqs); in write_rq_ctxts()
H A Dhinic_port.h316 u32 num_rqs; member
795 int hinic_set_max_qnum(struct hinic_dev *nic_dev, u8 num_rqs);
H A Dhinic_port.c480 int hinic_set_max_qnum(struct hinic_dev *nic_dev, u8 num_rqs) in hinic_set_max_qnum() argument
490 rq_num.num_rqs = num_rqs; in hinic_set_max_qnum()
/openbmc/linux/drivers/scsi/elx/libefc_sli/
H A Dsli4.c427 sli_cmd_rq_create_v2(struct sli4 *sli4, u32 num_rqs, in sli_cmd_rq_create_v2() argument
439 page_count = sli_page_count(qs[0]->dma.size, SLI_PAGE_SIZE) * num_rqs; in sli_cmd_rq_create_v2()
468 req->rq_count = num_rqs; in sli_cmd_rq_create_v2()
473 for (i = 0; i < num_rqs; i++) { in sli_cmd_rq_create_v2()
590 u32 num_rqs = num_rq_pairs * 2; in sli_fc_rq_set_alloc() local
592 for (i = 0; i < num_rqs; i++) { in sli_fc_rq_set_alloc()
600 if (sli_cmd_rq_create_v2(sli4, num_rqs, qs, base_cq_id, in sli_fc_rq_set_alloc()
623 for (i = 0; i < num_rqs; i++) { in sli_fc_rq_set_alloc()
638 for (i = 0; i < num_rqs; i++) in sli_fc_rq_set_alloc()