Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
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_cxt.c1981 u32 num_cons, num_qps; in qed_rdma_set_pf_params() local
1993 num_cons = min_t(u32, IWARP_MAX_QPS, p_params->num_qps); in qed_rdma_set_pf_params()
1998 num_cons = num_qps * 2; /* each QP requires two connections */ in qed_rdma_set_pf_params()
2005 if (num_cons && num_tasks) { in qed_rdma_set_pf_params()
2008 qed_cxt_set_proto_cid_count(p_hwfn, proto, num_cons, 0); in qed_rdma_set_pf_params()
2059 p_params->num_cons, in qed_cxt_set_pf_params()
2070 if (p_params->num_cons && p_params->num_tasks) { in qed_cxt_set_pf_params()
2073 p_params->num_cons, in qed_cxt_set_pf_params()
2091 if (p_params->num_cons && p_params->num_tasks) { in qed_cxt_set_pf_params()
2094 p_params->num_cons, in qed_cxt_set_pf_params()
Dqed_main.c1137 u16 *num_cons; in qed_update_pf_params() local
1139 num_cons = &params->eth_pf_params.num_cons; in qed_update_pf_params()
1140 *num_cons = min_t(u16, *num_cons, QED_MAX_L2_CONS); in qed_update_pf_params()
Dqed_dev.c2170 u32 n_eqes, num_cons; in qed_resc_alloc() local
2259 num_cons = qed_cxt_get_proto_cid_count(p_hwfn, in qed_resc_alloc()
2265 n_eqes += num_cons + 2 * MAX_NUM_VFS_BB + n_srq; in qed_resc_alloc()
2267 num_cons = in qed_resc_alloc()
2271 n_eqes += 2 * num_cons; in qed_resc_alloc()
Dqed_l2.c2210 cids = hwfn->pf_params.eth_pf_params.num_cons; in qed_fill_eth_dev_info()
/kernel/linux/linux-5.10/include/linux/qed/
Dqed_if.h457 u16 num_cons; member
479 u16 num_cons; member
515 u16 num_cons; member
/kernel/linux/linux-5.10/drivers/scsi/be2iscsi/
Dbe_main.h631 u8 num_cons[10]; member
641 u8 num_cons; /* DWORD 2*/ member
Dbe_main.c1782 num_cons, pdpdu_cqe); in beiscsi_hdq_process_compl()
1785 num_cons, pdpdu_cqe); in beiscsi_hdq_process_compl()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qede/
Dqede_main.c1066 u16 num_cons; in qede_update_pf_params() local
1072 num_cons = QED_MIN_L2_CONS; in qede_update_pf_params()
1074 pf_params.eth_pf_params.num_cons = (MAX_SB_PER_PF_MIMD - 1) * num_cons; in qede_update_pf_params()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/scsi/qedi/
Dqedi_main.c862 qedi->pf_params.iscsi_pf_params.num_cons = QEDI_MAX_ISCSI_CONNS_PER_HBA; in qedi_set_iscsi_pf_param()
/kernel/linux/linux-5.10/drivers/scsi/qedf/
Dqedf_main.c3205 qedf->pf_params.fcoe_pf_params.num_cons = QEDF_MAX_SESSIONS; in qedf_set_fcoe_pf_param()