Lines Matching defs:p_hwfn

92 static u32 ecore_hw_bar_size(struct ecore_hwfn *p_hwfn, enum BAR_ID bar_id)  in ecore_hw_bar_size()
136 struct ecore_hwfn *p_hwfn = &p_dev->hwfns[i]; in ecore_init_dp() local
149 struct ecore_hwfn *p_hwfn = &p_dev->hwfns[i]; in ecore_init_struct() local
166 static void ecore_qm_info_free(struct ecore_hwfn *p_hwfn) in ecore_qm_info_free()
197 struct ecore_hwfn *p_hwfn = &p_dev->hwfns[i]; in ecore_resc_free() local
237 static u32 ecore_get_pq_flags(struct ecore_hwfn *p_hwfn) in ecore_get_pq_flags()
277 u8 ecore_init_qm_get_num_tcs(struct ecore_hwfn *p_hwfn) in ecore_init_qm_get_num_tcs()
282 u16 ecore_init_qm_get_num_vfs(struct ecore_hwfn *p_hwfn) in ecore_init_qm_get_num_vfs()
289 u16 ecore_init_qm_get_num_pf_rls(struct ecore_hwfn *p_hwfn) in ecore_init_qm_get_num_pf_rls()
311 u16 ecore_init_qm_get_num_vports(struct ecore_hwfn *p_hwfn) in ecore_init_qm_get_num_vports()
321 u16 ecore_init_qm_get_num_pqs(struct ecore_hwfn *p_hwfn) in ecore_init_qm_get_num_pqs()
336 static void ecore_init_qm_params(struct ecore_hwfn *p_hwfn) in ecore_init_qm_params()
361 static void ecore_init_qm_vport_params(struct ecore_hwfn *p_hwfn) in ecore_init_qm_vport_params()
372 static void ecore_init_qm_port_params(struct ecore_hwfn *p_hwfn) in ecore_init_qm_port_params()
398 static void ecore_init_qm_reset_params(struct ecore_hwfn *p_hwfn) in ecore_init_qm_reset_params()
411 static void ecore_init_qm_advance_vport(struct ecore_hwfn *p_hwfn) in ecore_init_qm_advance_vport()
436 static void ecore_init_qm_pq(struct ecore_hwfn *p_hwfn, in ecore_init_qm_pq()
468 static u16 *ecore_init_qm_get_idx_from_flags(struct ecore_hwfn *p_hwfn, in ecore_init_qm_get_idx_from_flags()
504 static void ecore_init_qm_set_idx(struct ecore_hwfn *p_hwfn, in ecore_init_qm_set_idx()
513 u16 ecore_get_cm_pq_idx(struct ecore_hwfn *p_hwfn, u32 pq_flags) in ecore_get_cm_pq_idx()
520 u16 ecore_get_cm_pq_idx_mcos(struct ecore_hwfn *p_hwfn, u8 tc) in ecore_get_cm_pq_idx_mcos()
530 u16 ecore_get_cm_pq_idx_vf(struct ecore_hwfn *p_hwfn, u16 vf) in ecore_get_cm_pq_idx_vf()
540 u16 ecore_get_cm_pq_idx_rl(struct ecore_hwfn *p_hwfn, u8 rl) in ecore_get_cm_pq_idx_rl()
551 static void ecore_init_qm_lb_pq(struct ecore_hwfn *p_hwfn) in ecore_init_qm_lb_pq()
562 static void ecore_init_qm_ooo_pq(struct ecore_hwfn *p_hwfn) in ecore_init_qm_ooo_pq()
573 static void ecore_init_qm_pure_ack_pq(struct ecore_hwfn *p_hwfn) in ecore_init_qm_pure_ack_pq()
584 static void ecore_init_qm_offload_pq(struct ecore_hwfn *p_hwfn) in ecore_init_qm_offload_pq()
595 static void ecore_init_qm_low_latency_pq(struct ecore_hwfn *p_hwfn) in ecore_init_qm_low_latency_pq()
606 static void ecore_init_qm_mcos_pqs(struct ecore_hwfn *p_hwfn) in ecore_init_qm_mcos_pqs()
619 static void ecore_init_qm_vf_pqs(struct ecore_hwfn *p_hwfn) in ecore_init_qm_vf_pqs()
633 static void ecore_init_qm_rl_pqs(struct ecore_hwfn *p_hwfn) in ecore_init_qm_rl_pqs()
646 static void ecore_init_qm_pq_params(struct ecore_hwfn *p_hwfn) in ecore_init_qm_pq_params()
677 static enum _ecore_status_t ecore_init_qm_sanity(struct ecore_hwfn *p_hwfn) in ecore_init_qm_sanity()
695 static void ecore_dp_init_qm_params(struct ecore_hwfn *p_hwfn) in ecore_dp_init_qm_params()
736 static void ecore_init_qm_info(struct ecore_hwfn *p_hwfn) in ecore_init_qm_info()
765 enum _ecore_status_t ecore_qm_reconf(struct ecore_hwfn *p_hwfn, in ecore_qm_reconf()
806 static enum _ecore_status_t ecore_alloc_qm_data(struct ecore_hwfn *p_hwfn) in ecore_alloc_qm_data()
870 struct ecore_hwfn *p_hwfn = &p_dev->hwfns[i]; in ecore_resc_alloc() local
1079 struct ecore_hwfn *p_hwfn = &p_dev->hwfns[i]; in ecore_resc_setup() local
1115 enum _ecore_status_t ecore_final_cleanup(struct ecore_hwfn *p_hwfn, in ecore_final_cleanup()
1170 static enum _ecore_status_t ecore_calc_hw_mode(struct ecore_hwfn *p_hwfn) in ecore_calc_hw_mode()
1242 static enum _ecore_status_t ecore_hw_init_chip(struct ecore_hwfn *p_hwfn, in ecore_hw_init_chip()
1305 struct ecore_hwfn *p_hwfn = &p_dev->hwfns[i]; in ecore_init_cau_rt_data() local
1329 static void ecore_init_cache_line_size(struct ecore_hwfn *p_hwfn, in ecore_init_cache_line_size()
1380 static enum _ecore_status_t ecore_hw_init_common(struct ecore_hwfn *p_hwfn, in ecore_hw_init_common()
1473 static void ecore_wr_nw_port(struct ecore_hwfn *p_hwfn, in ecore_wr_nw_port()
1511 static void ecore_emul_link_init_bb(struct ecore_hwfn *p_hwfn, in ecore_emul_link_init_bb()
1544 static void ecore_emul_link_init_ah_e5(struct ecore_hwfn *p_hwfn, in ecore_emul_link_init_ah_e5()
1580 static void ecore_emul_link_init(struct ecore_hwfn *p_hwfn, in ecore_emul_link_init()
1591 static void ecore_link_init_bb(struct ecore_hwfn *p_hwfn, in ecore_link_init_bb()
1638 ecore_hw_init_dpi_size(struct ecore_hwfn *p_hwfn, in ecore_hw_init_dpi_size()
1699 ecore_hw_init_pf_doorbell_bar(struct ecore_hwfn *p_hwfn, in ecore_hw_init_pf_doorbell_bar()
1810 static enum _ecore_status_t ecore_hw_init_port(struct ecore_hwfn *p_hwfn, in ecore_hw_init_port()
1891 static enum _ecore_status_t ecore_hw_init_pf(struct ecore_hwfn *p_hwfn, in ecore_hw_init_pf()
2052 enum _ecore_status_t ecore_change_pci_hwfn(struct ecore_hwfn *p_hwfn, in ecore_change_pci_hwfn()
2081 static void ecore_reset_mb_shadow(struct ecore_hwfn *p_hwfn, in ecore_reset_mb_shadow()
2091 enum _ecore_status_t ecore_vf_start(struct ecore_hwfn *p_hwfn, in ecore_vf_start()
2133 struct ecore_hwfn *p_hwfn; in ecore_hw_init() local
2150 struct ecore_hwfn *p_hwfn = &p_dev->hwfns[i]; in ecore_hw_init() local
2318 struct ecore_hwfn *p_hwfn, in ecore_hw_timers_stop()
2355 struct ecore_hwfn *p_hwfn = &p_dev->hwfns[j]; in ecore_hw_timers_stop_all() local
2362 static enum _ecore_status_t ecore_verify_reg_val(struct ecore_hwfn *p_hwfn, in ecore_verify_reg_val()
2380 struct ecore_hwfn *p_hwfn; in ecore_hw_stop() local
2515 struct ecore_hwfn *p_hwfn = &p_dev->hwfns[j]; in ecore_hw_stop_fastpath() local
2545 void ecore_hw_start_fastpath(struct ecore_hwfn *p_hwfn) in ecore_hw_start_fastpath()
2722 static void ecore_hw_hwfn_free(struct ecore_hwfn *p_hwfn) in ecore_hw_hwfn_free()
2730 static void ecore_hw_hwfn_prepare(struct ecore_hwfn *p_hwfn) in ecore_hw_hwfn_prepare()
2763 static void get_function_id(struct ecore_hwfn *p_hwfn) in get_function_id()
2783 void ecore_hw_set_feat(struct ecore_hwfn *p_hwfn) in ecore_hw_set_feat()
2891 __ecore_hw_set_soft_resc_size(struct ecore_hwfn *p_hwfn, in __ecore_hw_set_soft_resc_size()
2915 ecore_hw_set_soft_resc_size(struct ecore_hwfn *p_hwfn) in ecore_hw_set_soft_resc_size()
2963 enum _ecore_status_t ecore_hw_get_dflt_resc(struct ecore_hwfn *p_hwfn, in ecore_hw_get_dflt_resc()
3050 __ecore_hw_set_resc_info(struct ecore_hwfn *p_hwfn, enum ecore_resources res_id, in __ecore_hw_set_resc_info()
3131 static enum _ecore_status_t ecore_hw_set_resc_info(struct ecore_hwfn *p_hwfn, in ecore_hw_set_resc_info()
3149 static enum _ecore_status_t ecore_hw_get_resc(struct ecore_hwfn *p_hwfn, in ecore_hw_get_resc()
3288 ecore_hw_get_nvm_info(struct ecore_hwfn *p_hwfn, in ecore_hw_get_nvm_info()
3530 static void ecore_get_num_funcs(struct ecore_hwfn *p_hwfn, in ecore_get_num_funcs()
3604 static void ecore_hw_info_port_num_bb(struct ecore_hwfn *p_hwfn, in ecore_hw_info_port_num_bb()
3634 static void ecore_hw_info_port_num_ah_e5(struct ecore_hwfn *p_hwfn, in ecore_hw_info_port_num_ah_e5()
3677 static void ecore_hw_info_port_num(struct ecore_hwfn *p_hwfn, in ecore_hw_info_port_num()
3687 ecore_get_hw_info(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, in ecore_get_hw_info()
3811 struct ecore_hwfn *p_hwfn = ECORE_LEADING_HWFN(p_dev); in ecore_get_dev_info() local
3912 struct ecore_hwfn *p_hwfn = &p_dev->hwfns[j]; in ecore_hw_hibernate_prepare() local
3931 struct ecore_hwfn *p_hwfn = &p_dev->hwfns[j]; in ecore_hw_hibernate_resume() local
3948 static enum _ecore_status_t ecore_hw_prepare_single(struct ecore_hwfn *p_hwfn, in ecore_hw_prepare_single()
4084 struct ecore_hwfn *p_hwfn = ECORE_LEADING_HWFN(p_dev); in ecore_hw_prepare() local
4148 struct ecore_hwfn *p_hwfn = ECORE_LEADING_HWFN(p_dev); in ecore_hw_remove() local
4156 struct ecore_hwfn *p_hwfn = &p_dev->hwfns[i]; in ecore_hw_remove() local
4460 enum _ecore_status_t ecore_fw_l2_queue(struct ecore_hwfn *p_hwfn, in ecore_fw_l2_queue()
4479 enum _ecore_status_t ecore_fw_vport(struct ecore_hwfn *p_hwfn, in ecore_fw_vport()
4498 enum _ecore_status_t ecore_fw_rss_eng(struct ecore_hwfn *p_hwfn, in ecore_fw_rss_eng()
4518 ecore_llh_add_mac_filter_bb_ah(struct ecore_hwfn *p_hwfn, in ecore_llh_add_mac_filter_bb_ah()
4559 ecore_llh_add_mac_filter_e5(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, in ecore_llh_add_mac_filter_e5()
4567 enum _ecore_status_t ecore_llh_add_mac_filter(struct ecore_hwfn *p_hwfn, in ecore_llh_add_mac_filter()
4601 ecore_llh_remove_mac_filter_bb_ah(struct ecore_hwfn *p_hwfn, in ecore_llh_remove_mac_filter_bb_ah()
4638 ecore_llh_remove_mac_filter_e5(struct ecore_hwfn *p_hwfn, in ecore_llh_remove_mac_filter_e5()
4647 void ecore_llh_remove_mac_filter(struct ecore_hwfn *p_hwfn, in ecore_llh_remove_mac_filter()
4681 ecore_llh_add_protocol_filter_bb_ah(struct ecore_hwfn *p_hwfn, in ecore_llh_add_protocol_filter_bb_ah()
4722 ecore_llh_add_protocol_filter_e5(struct ecore_hwfn *p_hwfn, in ecore_llh_add_protocol_filter_e5()
4733 ecore_llh_add_protocol_filter(struct ecore_hwfn *p_hwfn, in ecore_llh_add_protocol_filter()
4823 ecore_llh_remove_protocol_filter_bb_ah(struct ecore_hwfn *p_hwfn, in ecore_llh_remove_protocol_filter_bb_ah()
4879 ecore_llh_remove_protocol_filter_e5(struct ecore_hwfn *p_hwfn, in ecore_llh_remove_protocol_filter_e5()
4890 ecore_llh_remove_protocol_filter(struct ecore_hwfn *p_hwfn, in ecore_llh_remove_protocol_filter()
4945 static void ecore_llh_clear_all_filters_bb_ah(struct ecore_hwfn *p_hwfn, in ecore_llh_clear_all_filters_bb_ah()
4963 static void ecore_llh_clear_all_filters_e5(struct ecore_hwfn *p_hwfn, in ecore_llh_clear_all_filters_e5()
4969 void ecore_llh_clear_all_filters(struct ecore_hwfn *p_hwfn, in ecore_llh_clear_all_filters()
4982 ecore_llh_set_function_as_default(struct ecore_hwfn *p_hwfn, in ecore_llh_set_function_as_default()
4998 static enum _ecore_status_t ecore_set_coalesce(struct ecore_hwfn *p_hwfn, in ecore_set_coalesce()
5021 enum _ecore_status_t ecore_set_queue_coalesce(struct ecore_hwfn *p_hwfn, in ecore_set_queue_coalesce()
5061 enum _ecore_status_t ecore_set_rxq_coalesce(struct ecore_hwfn *p_hwfn, in ecore_set_rxq_coalesce()
5101 enum _ecore_status_t ecore_set_txq_coalesce(struct ecore_hwfn *p_hwfn, in ecore_set_txq_coalesce()
5142 static void ecore_configure_wfq_for_all_vports(struct ecore_hwfn *p_hwfn, in ecore_configure_wfq_for_all_vports()
5163 ecore_init_wfq_default_param(struct ecore_hwfn *p_hwfn, u32 min_pf_rate) in ecore_init_wfq_default_param()
5172 static void ecore_disable_wfq_for_all_vports(struct ecore_hwfn *p_hwfn, in ecore_disable_wfq_for_all_vports()
5196 static enum _ecore_status_t ecore_init_wfq_param(struct ecore_hwfn *p_hwfn, in ecore_init_wfq_param()
5279 static int __ecore_configure_vport_wfq(struct ecore_hwfn *p_hwfn, in __ecore_configure_vport_wfq()
5306 static int __ecore_configure_vp_wfq_on_link_change(struct ecore_hwfn *p_hwfn, in __ecore_configure_vp_wfq_on_link_change()
5356 struct ecore_hwfn *p_hwfn = &p_dev->hwfns[i]; in ecore_configure_vport_wfq() local
5391 struct ecore_hwfn *p_hwfn = &p_dev->hwfns[i]; in ecore_configure_vp_wfq_on_link_change() local
5398 int __ecore_configure_pf_max_bandwidth(struct ecore_hwfn *p_hwfn, in __ecore_configure_pf_max_bandwidth()
5441 struct ecore_hwfn *p_hwfn = &p_dev->hwfns[i]; in ecore_configure_pf_max_bandwidth() local
5464 int __ecore_configure_pf_min_bandwidth(struct ecore_hwfn *p_hwfn, in __ecore_configure_pf_min_bandwidth()
5499 struct ecore_hwfn *p_hwfn = &p_dev->hwfns[i]; in ecore_configure_pf_min_bandwidth() local
5531 void ecore_clean_wfq_db(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt) in ecore_clean_wfq_db()