Lines Matching refs:p_resc_num
3786 u32 *p_resc_num, u32 *p_resc_start) in qed_hw_get_dflt_resc() argument
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()
3803 *p_resc_num &= ~0x7; /* The granularity of the PQs is 8 */ 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()
3834 *p_resc_num = 0; in qed_hw_get_dflt_resc()
3836 *p_resc_num = 1; in qed_hw_get_dflt_resc()
3842 *p_resc_num = 0; in qed_hw_get_dflt_resc()
3850 if (!*p_resc_num) in qed_hw_get_dflt_resc()
3861 *p_resc_start = *p_resc_num * p_hwfn->enabled_func_idx; in qed_hw_get_dflt_resc()
3872 u32 mcp_resp, *p_resc_num, *p_resc_start; in __qed_hw_set_resc_info() local
3875 p_resc_num = &RESC_NUM(p_hwfn, res_id); in __qed_hw_set_resc_info()
3888 &mcp_resp, p_resc_num, p_resc_start); in __qed_hw_set_resc_info()
3907 *p_resc_num = dflt_resc_num; in __qed_hw_set_resc_info()
3916 if ((res_id == QED_PQ) && ((*p_resc_num % 8) || (*p_resc_start % 8))) { in __qed_hw_set_resc_info()
3919 *p_resc_num, in __qed_hw_set_resc_info()
3920 (*p_resc_num) & ~0x7, in __qed_hw_set_resc_info()
3922 *p_resc_num &= ~0x7; in __qed_hw_set_resc_info()