Lines Matching refs:num_funcs
3788 u8 num_funcs = p_hwfn->num_funcs_on_engine; in qed_hw_get_dflt_resc() local
3793 *p_resc_num = NUM_OF_L2_QUEUES(cdev) / num_funcs; in qed_hw_get_dflt_resc()
3796 *p_resc_num = NUM_OF_VPORTS(cdev) / num_funcs; in qed_hw_get_dflt_resc()
3799 *p_resc_num = NUM_OF_RSS_ENGINES(cdev) / num_funcs; in qed_hw_get_dflt_resc()
3802 *p_resc_num = NUM_OF_QM_TX_QUEUES(cdev) / num_funcs; in qed_hw_get_dflt_resc()
3806 *p_resc_num = NUM_OF_QM_GLOBAL_RLS(cdev) / num_funcs; in qed_hw_get_dflt_resc()
3811 *p_resc_num = ETH_NUM_MAC_FILTERS / num_funcs; in qed_hw_get_dflt_resc()
3814 *p_resc_num = NUM_OF_PXP_ILT_RECORDS(cdev) / num_funcs; in qed_hw_get_dflt_resc()
3817 *p_resc_num = MAX_NUM_LL2_RX_RAM_QUEUES / num_funcs; in qed_hw_get_dflt_resc()
3820 *p_resc_num = MAX_NUM_LL2_RX_CTX_QUEUES / num_funcs; in qed_hw_get_dflt_resc()
3825 *p_resc_num = NUM_OF_GLOBAL_QUEUES / num_funcs; in qed_hw_get_dflt_resc()
3828 *p_resc_num = NUM_OF_RDMA_STATISTIC_COUNTERS(cdev) / num_funcs; in qed_hw_get_dflt_resc()
4413 u8 num_funcs, enabled_func_idx = p_hwfn->rel_pf_id; in qed_get_num_funcs() local
4417 num_funcs = QED_IS_AH(cdev) ? MAX_NUM_PFS_K2 : MAX_NUM_PFS_BB; in qed_get_num_funcs()
4432 num_funcs = 0; in qed_get_num_funcs()
4435 num_funcs = 1; in qed_get_num_funcs()
4439 num_funcs = 1; in qed_get_num_funcs()
4447 num_funcs++; in qed_get_num_funcs()
4461 p_hwfn->num_funcs_on_engine = num_funcs; in qed_get_num_funcs()