Lines Matching refs:bxe_softc

51 static inline void ecore_exe_queue_init(struct bxe_softc *sc,  in ecore_exe_queue_init()
82 static inline void ecore_exe_queue_free_elem(struct bxe_softc *sc, in ecore_exe_queue_free_elem()
115 static inline int ecore_exe_queue_add(struct bxe_softc *sc, in ecore_exe_queue_add()
154 struct bxe_softc *sc, in __ecore_exe_queue_reset_pending()
178 static inline int ecore_exe_queue_step(struct bxe_softc *sc, in ecore_exe_queue_step()
256 struct bxe_softc *sc) in ecore_exe_queue_alloc_elem()
300 static inline int ecore_state_wait(struct bxe_softc *sc, int state, in ecore_state_wait()
336 static int ecore_raw_wait(struct bxe_softc *sc, struct ecore_raw_obj *raw) in ecore_raw_wait()
449 static int __ecore_vlan_mac_h_write_trylock(struct bxe_softc *sc, in __ecore_vlan_mac_h_write_trylock()
471 static void __ecore_vlan_mac_h_exec_pending(struct bxe_softc *sc, in __ecore_vlan_mac_h_exec_pending()
501 static void __ecore_vlan_mac_h_pend(struct bxe_softc *sc, in __ecore_vlan_mac_h_pend()
521 static void __ecore_vlan_mac_h_write_unlock(struct bxe_softc *sc, in __ecore_vlan_mac_h_write_unlock()
542 void ecore_vlan_mac_h_write_unlock(struct bxe_softc *sc, in ecore_vlan_mac_h_write_unlock()
559 static int __ecore_vlan_mac_h_read_lock(struct bxe_softc *sc, in __ecore_vlan_mac_h_read_lock()
578 int ecore_vlan_mac_h_read_lock(struct bxe_softc *sc, in ecore_vlan_mac_h_read_lock()
600 static void __ecore_vlan_mac_h_read_unlock(struct bxe_softc *sc, in __ecore_vlan_mac_h_read_unlock()
635 void ecore_vlan_mac_h_read_unlock(struct bxe_softc *sc, in ecore_vlan_mac_h_read_unlock()
652 static int ecore_get_n_elements(struct bxe_softc *sc, struct ecore_vlan_mac_obj *o, in ecore_get_n_elements()
686 static int ecore_check_mac_add(struct bxe_softc *sc, in ecore_check_mac_add()
707 static int ecore_check_vlan_add(struct bxe_softc *sc, in ecore_check_vlan_add()
723 static int ecore_check_vlan_mac_add(struct bxe_softc *sc, in ecore_check_vlan_mac_add()
744 static int ecore_check_vxlan_fltr_add(struct bxe_softc *sc, in ecore_check_vxlan_fltr_add()
766 ecore_check_mac_del(struct bxe_softc *sc, in ecore_check_mac_del()
784 ecore_check_vlan_del(struct bxe_softc *sc, in ecore_check_vlan_del()
801 ecore_check_vlan_mac_del(struct bxe_softc *sc, in ecore_check_vlan_mac_del()
824 (struct bxe_softc *sc, in ecore_check_vxlan_fltr_del()
845 static bool ecore_check_move(struct bxe_softc *sc, in ecore_check_move()
871 struct bxe_softc *sc, in ecore_check_move_always_err()
895 void ecore_set_mac_in_nig(struct bxe_softc *sc, in ecore_set_mac_in_nig()
936 static inline void ecore_vlan_mac_set_cmd_hdr_e2(struct bxe_softc *sc, in ecore_vlan_mac_set_cmd_hdr_e2()
976 static void ecore_set_one_mac_e2(struct bxe_softc *sc, in ecore_set_one_mac_e2()
1072 static inline void ecore_vlan_mac_set_rdata_hdr_e1x(struct bxe_softc *sc, in ecore_vlan_mac_set_rdata_hdr_e1x()
1085 static inline void ecore_vlan_mac_set_cfg_entry_e1x(struct bxe_softc *sc, in ecore_vlan_mac_set_cfg_entry_e1x()
1114 static inline void ecore_vlan_mac_set_rdata_e1x(struct bxe_softc *sc, in ecore_vlan_mac_set_rdata_e1x()
1140 static void ecore_set_one_mac_e1x(struct bxe_softc *sc, in ecore_set_one_mac_e1x()
1163 static void ecore_set_one_vlan_e2(struct bxe_softc *sc, in ecore_set_one_vlan_e2()
1213 static void ecore_set_one_vlan_mac_e2(struct bxe_softc *sc, in ecore_set_one_vlan_mac_e2()
1270 static void ecore_set_one_vxlan_fltr_e2(struct bxe_softc *sc, in ecore_set_one_vxlan_fltr_e2()
1335 static void ecore_set_one_vlan_mac_e1h(struct bxe_softc *sc, in ecore_set_one_vlan_mac_e1h()
1381 static int ecore_vlan_mac_restore(struct bxe_softc *sc, in ecore_vlan_mac_restore()
1516 static inline int ecore_validate_vlan_mac_add(struct bxe_softc *sc, in ecore_validate_vlan_mac_add()
1564 static inline int ecore_validate_vlan_mac_del(struct bxe_softc *sc, in ecore_validate_vlan_mac_del()
1623 static inline int ecore_validate_vlan_mac_move(struct bxe_softc *sc, in ecore_validate_vlan_mac_move()
1685 static int ecore_validate_vlan_mac(struct bxe_softc *sc, in ecore_validate_vlan_mac()
1701 static int ecore_remove_vlan_mac(struct bxe_softc *sc, in ecore_remove_vlan_mac()
1737 static int ecore_wait_vlan_mac(struct bxe_softc *sc, in ecore_wait_vlan_mac()
1760 static int __ecore_vlan_mac_execute_step(struct bxe_softc *sc, in __ecore_vlan_mac_execute_step()
1795 static int ecore_complete_vlan_mac(struct bxe_softc *sc, in ecore_complete_vlan_mac()
1841 static int ecore_optimize_vlan_mac(struct bxe_softc *sc, in ecore_optimize_vlan_mac()
1904 struct bxe_softc *sc, in ecore_vlan_mac_get_registry_elem()
1956 static int ecore_execute_vlan_mac(struct bxe_softc *sc, in ecore_execute_vlan_mac()
2083 struct bxe_softc *sc, in ecore_vlan_mac_push_new_cmd()
2118 int ecore_config_vlan_mac(struct bxe_softc *sc, in ecore_config_vlan_mac()
2200 static int ecore_vlan_mac_del_all(struct bxe_softc *sc, in ecore_vlan_mac_del_all()
2321 void ecore_init_mac_obj(struct bxe_softc *sc, in ecore_init_mac_obj()
2375 void ecore_init_vlan_obj(struct bxe_softc *sc, in ecore_init_vlan_obj()
2416 void ecore_init_vlan_mac_obj(struct bxe_softc *sc, in ecore_init_vlan_mac_obj()
2479 void ecore_init_vxlan_fltr_obj(struct bxe_softc *sc, in ecore_init_vxlan_fltr_obj()
2528 static inline void __storm_memset_mac_filters(struct bxe_softc *sc, in __storm_memset_mac_filters()
2540 static int ecore_set_rx_mode_e1x(struct bxe_softc *sc, in ecore_set_rx_mode_e1x()
2630 static inline void ecore_rx_mode_set_cmd_state_e2(struct bxe_softc *sc, in ecore_rx_mode_set_cmd_state_e2()
2677 static int ecore_set_rx_mode_e2(struct bxe_softc *sc, in ecore_set_rx_mode_e2()
2780 static int ecore_wait_rx_mode_comp_e2(struct bxe_softc *sc, in ecore_wait_rx_mode_comp_e2()
2786 static int ecore_empty_rx_mode_wait(struct bxe_softc *sc, in ecore_empty_rx_mode_wait()
2793 int ecore_config_rx_mode(struct bxe_softc *sc, in ecore_config_rx_mode()
2813 void ecore_init_rx_mode_obj(struct bxe_softc *sc, in ecore_init_rx_mode_obj()
2854 static int ecore_mcast_wait(struct bxe_softc *sc, in ecore_mcast_wait()
2864 static int ecore_mcast_enqueue_cmd(struct bxe_softc *sc, in ecore_mcast_enqueue_cmd()
2998 static void ecore_mcast_set_one_rule_e2(struct bxe_softc *sc, in ecore_mcast_set_one_rule_e2()
3061 struct bxe_softc *sc, struct ecore_mcast_obj *o , int start_bin, in ecore_mcast_handle_restore_cmd_e2()
3091 static inline void ecore_mcast_hdl_pending_add_e2(struct bxe_softc *sc, in ecore_mcast_hdl_pending_add_e2()
3127 static inline void ecore_mcast_hdl_pending_del_e2(struct bxe_softc *sc, in ecore_mcast_hdl_pending_del_e2()
3157 static inline void ecore_mcast_hdl_pending_restore_e2(struct bxe_softc *sc, in ecore_mcast_hdl_pending_restore_e2()
3172 static inline int ecore_mcast_handle_pending_cmds_e2(struct bxe_softc *sc, in ecore_mcast_handle_pending_cmds_e2()
3217 static inline void ecore_mcast_hdl_add(struct bxe_softc *sc, in ecore_mcast_hdl_add()
3239 static inline void ecore_mcast_hdl_del(struct bxe_softc *sc, in ecore_mcast_hdl_del()
3269 static inline int ecore_mcast_handle_current_cmd(struct bxe_softc *sc, in ecore_mcast_handle_current_cmd()
3303 static int ecore_mcast_validate_e2(struct bxe_softc *sc, in ecore_mcast_validate_e2()
3348 static void ecore_mcast_revert_e2(struct bxe_softc *sc, in ecore_mcast_revert_e2()
3365 static inline void ecore_mcast_set_rdata_hdr_e2(struct bxe_softc *sc, in ecore_mcast_set_rdata_hdr_e2()
3390 static inline int ecore_mcast_refresh_registry_e2(struct bxe_softc *sc, in ecore_mcast_refresh_registry_e2()
3407 static int ecore_mcast_setup_e2(struct bxe_softc *sc, in ecore_mcast_setup_e2()
3492 static int ecore_mcast_validate_e1h(struct bxe_softc *sc, in ecore_mcast_validate_e1h()
3503 static void ecore_mcast_revert_e1h(struct bxe_softc *sc, in ecore_mcast_revert_e1h()
3515 static inline void ecore_mcast_hdl_add_e1h(struct bxe_softc *sc, in ecore_mcast_hdl_add_e1h()
3537 static inline void ecore_mcast_hdl_restore_e1h(struct bxe_softc *sc, in ecore_mcast_hdl_restore_e1h()
3555 static int ecore_mcast_setup_e1h(struct bxe_softc *sc, in ecore_mcast_setup_e1h()
3609 static int ecore_mcast_validate_e1(struct bxe_softc *sc, in ecore_mcast_validate_e1()
3664 static void ecore_mcast_revert_e1(struct bxe_softc *sc, in ecore_mcast_revert_e1()
3680 static void ecore_mcast_set_one_rule_e1(struct bxe_softc *sc, in ecore_mcast_set_one_rule_e1()
3714 static inline void ecore_mcast_set_rdata_hdr_e1(struct bxe_softc *sc, in ecore_mcast_set_rdata_hdr_e1()
3748 struct bxe_softc *sc, struct ecore_mcast_obj *o , int start_idx, in ecore_mcast_handle_restore_cmd_e1()
3773 struct bxe_softc *sc, struct ecore_mcast_ramrod_params *p) in ecore_mcast_handle_pending_cmds_e1()
3853 static inline int ecore_mcast_refresh_registry_e1(struct bxe_softc *sc, in ecore_mcast_refresh_registry_e1()
3901 static int ecore_mcast_setup_e1(struct bxe_softc *sc, in ecore_mcast_setup_e1()
4003 int ecore_config_mcast(struct bxe_softc *sc, in ecore_config_mcast()
4093 void ecore_init_mcast_obj(struct bxe_softc *sc, in ecore_init_mcast_obj()
4391 void ecore_init_mac_credit_pool(struct bxe_softc *sc, in ecore_init_mac_credit_pool()
4445 void ecore_init_vlan_credit_pool(struct bxe_softc *sc, in ecore_init_vlan_credit_pool()
4479 static int ecore_setup_rss(struct bxe_softc *sc, in ecore_setup_rss()
4587 int ecore_config_rss(struct bxe_softc *sc, in ecore_config_rss()
4615 void ecore_init_rss_config_obj(struct bxe_softc *sc, in ecore_init_rss_config_obj()
4644 int ecore_queue_state_change(struct bxe_softc *sc, in ecore_queue_state_change()
4706 static int ecore_queue_wait_comp(struct bxe_softc *sc, in ecore_queue_wait_comp()
4722 static int ecore_queue_comp_cmd(struct bxe_softc *sc, in ecore_queue_comp_cmd()
4765 static void ecore_q_fill_setup_data_e2(struct bxe_softc *sc, in ecore_q_fill_setup_data_e2()
4779 static void ecore_q_fill_init_general_data(struct bxe_softc *sc, in ecore_q_fill_init_general_data()
4940 static void ecore_q_fill_setup_data_cmn(struct bxe_softc *sc, in ecore_q_fill_setup_data_cmn()
4965 static void ecore_q_fill_setup_tx_only(struct bxe_softc *sc, in ecore_q_fill_setup_tx_only()
4996 static inline int ecore_q_init(struct bxe_softc *sc, in ecore_q_init()
5043 static inline int ecore_q_send_setup_e1x(struct bxe_softc *sc, in ecore_q_send_setup_e1x()
5071 static inline int ecore_q_send_setup_e2(struct bxe_softc *sc, in ecore_q_send_setup_e2()
5100 static inline int ecore_q_send_setup_tx_only(struct bxe_softc *sc, in ecore_q_send_setup_tx_only()
5146 static void ecore_q_fill_update_data(struct bxe_softc *sc, in ecore_q_fill_update_data()
5228 static inline int ecore_q_send_update(struct bxe_softc *sc, in ecore_q_send_update()
5270 static inline int ecore_q_send_deactivate(struct bxe_softc *sc, in ecore_q_send_deactivate()
5290 static inline int ecore_q_send_activate(struct bxe_softc *sc, in ecore_q_send_activate()
5303 static void ecore_q_fill_update_tpa_data(struct bxe_softc *sc, in ecore_q_fill_update_tpa_data()
5325 static inline int ecore_q_send_update_tpa(struct bxe_softc *sc, in ecore_q_send_update_tpa()
5360 static inline int ecore_q_send_halt(struct bxe_softc *sc, in ecore_q_send_halt()
5382 static inline int ecore_q_send_cfc_del(struct bxe_softc *sc, in ecore_q_send_cfc_del()
5399 static inline int ecore_q_send_terminate(struct bxe_softc *sc, in ecore_q_send_terminate()
5416 static inline int ecore_q_send_empty(struct bxe_softc *sc, in ecore_q_send_empty()
5426 static inline int ecore_queue_send_cmd_cmn(struct bxe_softc *sc, in ecore_queue_send_cmd_cmn()
5456 static int ecore_queue_send_cmd_e1x(struct bxe_softc *sc, in ecore_queue_send_cmd_e1x()
5479 static int ecore_queue_send_cmd_e2(struct bxe_softc *sc, in ecore_queue_send_cmd_e2()
5518 static int ecore_queue_chk_transition(struct bxe_softc *sc, in ecore_queue_chk_transition()
5699 static int ecore_queue_chk_fwd_transition(struct bxe_softc *sc, in ecore_queue_chk_fwd_transition()
5744 void ecore_init_queue_obj(struct bxe_softc *sc, in ecore_init_queue_obj()
5780 int ecore_get_q_logical_state(struct bxe_softc *sc, in ecore_get_q_logical_state()
5801 enum ecore_func_state ecore_func_get_state(struct bxe_softc *sc, in ecore_func_get_state()
5816 static int ecore_func_wait_comp(struct bxe_softc *sc, in ecore_func_wait_comp()
5833 static inline int ecore_func_state_change_comp(struct bxe_softc *sc, in ecore_func_state_change_comp()
5873 static int ecore_func_comp_cmd(struct bxe_softc *sc, in ecore_func_comp_cmd()
5899 static int ecore_func_chk_transition(struct bxe_softc *sc, in ecore_func_chk_transition()
6005 static inline int ecore_func_init_func(struct bxe_softc *sc, in ecore_func_init_func()
6022 static inline int ecore_func_init_port(struct bxe_softc *sc, in ecore_func_init_port()
6042 static inline int ecore_func_init_cmn_chip(struct bxe_softc *sc, in ecore_func_init_cmn_chip()
6062 static inline int ecore_func_init_cmn(struct bxe_softc *sc, in ecore_func_init_cmn()
6072 static int ecore_func_hw_init(struct bxe_softc *sc, in ecore_func_hw_init()
6147 static inline void ecore_func_reset_func(struct bxe_softc *sc, in ecore_func_reset_func()
6168 static inline void ecore_func_reset_port(struct bxe_softc *sc, in ecore_func_reset_port()
6185 static inline void ecore_func_reset_cmn(struct bxe_softc *sc, in ecore_func_reset_cmn()
6192 static inline int ecore_func_hw_reset(struct bxe_softc *sc, in ecore_func_hw_reset()
6224 static inline int ecore_func_send_start(struct bxe_softc *sc, in ecore_func_send_start()
6289 static inline int ecore_func_send_switch_update(struct bxe_softc *sc, in ecore_func_send_switch_update()
6368 static inline int ecore_func_send_afex_update(struct bxe_softc *sc, in ecore_func_send_afex_update()
6406 inline int ecore_func_send_afex_viflists(struct bxe_softc *sc, in ecore_func_send_afex_viflists()
6443 static inline int ecore_func_send_stop(struct bxe_softc *sc, in ecore_func_send_stop()
6450 static inline int ecore_func_send_tx_stop(struct bxe_softc *sc, in ecore_func_send_tx_stop()
6456 static inline int ecore_func_send_tx_start(struct bxe_softc *sc, in ecore_func_send_tx_start()
6490 static inline int ecore_func_send_set_timesync(struct bxe_softc *sc, in ecore_func_send_set_timesync()
6524 static int ecore_func_send_cmd(struct bxe_softc *sc, in ecore_func_send_cmd()
6554 void ecore_init_func_obj(struct bxe_softc *sc, in ecore_init_func_obj()
6588 int ecore_func_state_change(struct bxe_softc *sc, in ecore_func_state_change()