Home
last modified time | relevance | path

Searched refs:feat_num (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/net/dccp/
Dfeat.c129 u8 feat_num; /* DCCPF_xxx */ member
172 static int dccp_feat_index(u8 feat_num) in dccp_feat_index() argument
175 if (feat_num > DCCPF_RESERVED && feat_num <= DCCPF_DATA_CHECKSUM) in dccp_feat_index()
176 return feat_num - 1; in dccp_feat_index()
182 switch (feat_num) { in dccp_feat_index()
189 static u8 dccp_feat_type(u8 feat_num) in dccp_feat_type() argument
191 int idx = dccp_feat_index(feat_num); in dccp_feat_type()
198 static int dccp_feat_default_value(u8 feat_num) in dccp_feat_default_value() argument
200 int idx = dccp_feat_index(feat_num); in dccp_feat_default_value()
254 static void dccp_feat_printval(u8 feat_num, dccp_feat_val const *val) in dccp_feat_printval() argument
[all …]
Dfeat.h69 u8 feat_num; member
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
Dqed.h296 u32 feat_num[QED_MAX_FEATURES]; member
297 #define FEAT_NUM(_p_hwfn, resc) ((_p_hwfn)->hw_info.feat_num[resc])
Dqed_rdma.c896 int feat_num; in qed_rdma_get_sb_start() local
899 feat_num = FEAT_NUM(QED_AFFIN_HWFN(cdev), QED_PF_L2_QUE); in qed_rdma_get_sb_start()
901 feat_num = FEAT_NUM(QED_AFFIN_HWFN(cdev), QED_PF_L2_QUE) * in qed_rdma_get_sb_start()
904 return feat_num; in qed_rdma_get_sb_start()
Dqed_dev.c3497 u32 *feat_num = p_hwfn->hw_info.feat_num; in qed_hw_set_feat() local
3510 feat_num[QED_RDMA_CNQ] = in qed_hw_set_feat()
3514 non_l2_sbs = feat_num[QED_RDMA_CNQ]; in qed_hw_set_feat()
3518 feat_num[QED_VF_L2_QUE] = min_t(u32, in qed_hw_set_feat()
3521 feat_num[QED_PF_L2_QUE] = min_t(u32, in qed_hw_set_feat()
3530 feat_num[QED_FCOE_CQ] = min_t(u32, sb_cnt.cnt, in qed_hw_set_feat()
3535 feat_num[QED_ISCSI_CQ] = min_t(u32, sb_cnt.cnt, in qed_hw_set_feat()
Dqed_fcoe.c119 if (fcoe_pf_params->num_cqs > p_hwfn->hw_info.feat_num[QED_FCOE_CQ]) { in qed_sp_fcoe_func_start()
123 p_hwfn->hw_info.feat_num[QED_FCOE_CQ]); in qed_sp_fcoe_func_start()
Dqed_iscsi.c171 if (p_params->num_queues > p_hwfn->hw_info.feat_num[QED_ISCSI_CQ]) { in qed_sp_iscsi_func_start()
175 p_hwfn->hw_info.feat_num[QED_ISCSI_CQ]); in qed_sp_iscsi_func_start()