Home
last modified time | relevance | path

Searched refs:num_cons (Results 1 – 12 of 12) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/qlogic/qed/
Dqed_cxt.c1967 u32 num_cons, num_qps; in qed_rdma_set_pf_params() local
1979 num_cons = min_t(u32, IWARP_MAX_QPS, p_params->num_qps); in qed_rdma_set_pf_params()
1984 num_cons = num_qps * 2; /* each QP requires two connections */ in qed_rdma_set_pf_params()
1991 if (num_cons && num_tasks) { in qed_rdma_set_pf_params()
1994 qed_cxt_set_proto_cid_count(p_hwfn, proto, num_cons, 0); in qed_rdma_set_pf_params()
2045 p_params->num_cons, in qed_cxt_set_pf_params()
2056 if (p_params->num_cons && p_params->num_tasks) { in qed_cxt_set_pf_params()
2059 p_params->num_cons, in qed_cxt_set_pf_params()
2076 if (p_params->num_cons && p_params->num_tasks) { in qed_cxt_set_pf_params()
2079 p_params->num_cons, in qed_cxt_set_pf_params()
[all …]
Dqed_rdma.c141 u32 num_cons, num_tasks; in qed_rdma_alloc() local
151 num_cons = qed_cxt_get_proto_cid_count(p_hwfn, p_rdma_info->proto, in qed_rdma_alloc()
155 p_rdma_info->num_qps = num_cons; in qed_rdma_alloc()
157 p_rdma_info->num_qps = num_cons / 2; /* 2 cids per qp */ in qed_rdma_alloc()
212 rc = qed_rdma_bmap_alloc(p_hwfn, &p_rdma_info->cq_map, num_cons, "CQ"); in qed_rdma_alloc()
224 num_cons, "Toggle"); in qed_rdma_alloc()
241 rc = qed_rdma_bmap_alloc(p_hwfn, &p_rdma_info->cid_map, num_cons, in qed_rdma_alloc()
250 rc = qed_rdma_bmap_alloc(p_hwfn, &p_rdma_info->real_cid_map, num_cons, in qed_rdma_alloc()
Dqed_main.c1112 u16 *num_cons; in qed_update_pf_params() local
1114 num_cons = &params->eth_pf_params.num_cons; in qed_update_pf_params()
1115 *num_cons = min_t(u16, *num_cons, QED_MAX_L2_CONS); in qed_update_pf_params()
Dqed_dev.c2183 u32 n_eqes, num_cons; in qed_resc_alloc() local
2272 num_cons = qed_cxt_get_proto_cid_count(p_hwfn, in qed_resc_alloc()
2278 n_eqes += num_cons + 2 * MAX_NUM_VFS_BB + n_srq; in qed_resc_alloc()
2281 num_cons = in qed_resc_alloc()
2285 n_eqes += 2 * num_cons; in qed_resc_alloc()
Dqed_l2.c2211 cids = hwfn->pf_params.eth_pf_params.num_cons; in qed_fill_eth_dev_info()
/linux-6.1.9/include/linux/qed/
Dqed_if.h461 u16 num_cons; member
483 u16 num_cons; member
519 u16 num_cons; member
551 u16 num_cons; member
/linux-6.1.9/drivers/scsi/be2iscsi/
Dbe_main.h631 u8 num_cons[10]; member
641 u8 num_cons; /* DWORD 2*/ member
Dbe_main.c1799 num_cons, pdpdu_cqe); in beiscsi_hdq_process_compl()
1802 num_cons, pdpdu_cqe); in beiscsi_hdq_process_compl()
/linux-6.1.9/drivers/net/ethernet/qlogic/qede/
Dqede_main.c1126 u16 num_cons; in qede_update_pf_params() local
1132 num_cons = QED_MIN_L2_CONS; in qede_update_pf_params()
1134 pf_params.eth_pf_params.num_cons = (MAX_SB_PER_PF_MIMD - 1) * num_cons; in qede_update_pf_params()
/linux-6.1.9/sound/pci/hda/
Dpatch_sigmatel.c960 int i, num_cons; in stac_create_spdif_mux_ctls() local
965 num_cons = snd_hda_get_num_conns(codec, cfg->dig_out_pins[0]); in stac_create_spdif_mux_ctls()
966 if (num_cons <= 1) in stac_create_spdif_mux_ctls()
971 for (i = 0; i < num_cons; i++) { in stac_create_spdif_mux_ctls()
/linux-6.1.9/drivers/scsi/qedi/
Dqedi_main.c860 qedi->pf_params.iscsi_pf_params.num_cons = QEDI_MAX_ISCSI_CONNS_PER_HBA; in qedi_set_iscsi_pf_param()
/linux-6.1.9/drivers/scsi/qedf/
Dqedf_main.c3209 qedf->pf_params.fcoe_pf_params.num_cons = QEDF_MAX_SESSIONS; in qedf_set_fcoe_pf_param()