Lines Matching refs:bxe_softc

49 static inline void ecore_exe_queue_init(struct bxe_softc *sc,  in ecore_exe_queue_init()
80 static inline void ecore_exe_queue_free_elem(struct bxe_softc *sc, in ecore_exe_queue_free_elem()
113 static inline int ecore_exe_queue_add(struct bxe_softc *sc, in ecore_exe_queue_add()
152 struct bxe_softc *sc, in __ecore_exe_queue_reset_pending()
176 static inline int ecore_exe_queue_step(struct bxe_softc *sc, in ecore_exe_queue_step()
254 struct bxe_softc *sc) in ecore_exe_queue_alloc_elem()
298 static inline int ecore_state_wait(struct bxe_softc *sc, int state, in ecore_state_wait()
334 static int ecore_raw_wait(struct bxe_softc *sc, struct ecore_raw_obj *raw) in ecore_raw_wait()
447 static int __ecore_vlan_mac_h_write_trylock(struct bxe_softc *sc, in __ecore_vlan_mac_h_write_trylock()
469 static void __ecore_vlan_mac_h_exec_pending(struct bxe_softc *sc, in __ecore_vlan_mac_h_exec_pending()
499 static void __ecore_vlan_mac_h_pend(struct bxe_softc *sc, in __ecore_vlan_mac_h_pend()
519 static void __ecore_vlan_mac_h_write_unlock(struct bxe_softc *sc, in __ecore_vlan_mac_h_write_unlock()
540 void ecore_vlan_mac_h_write_unlock(struct bxe_softc *sc, in ecore_vlan_mac_h_write_unlock()
557 static int __ecore_vlan_mac_h_read_lock(struct bxe_softc *sc, in __ecore_vlan_mac_h_read_lock()
576 int ecore_vlan_mac_h_read_lock(struct bxe_softc *sc, in ecore_vlan_mac_h_read_lock()
598 static void __ecore_vlan_mac_h_read_unlock(struct bxe_softc *sc, in __ecore_vlan_mac_h_read_unlock()
633 void ecore_vlan_mac_h_read_unlock(struct bxe_softc *sc, in ecore_vlan_mac_h_read_unlock()
650 static int ecore_get_n_elements(struct bxe_softc *sc, struct ecore_vlan_mac_obj *o, in ecore_get_n_elements()
684 static int ecore_check_mac_add(struct bxe_softc *sc, in ecore_check_mac_add()
705 static int ecore_check_vlan_add(struct bxe_softc *sc, in ecore_check_vlan_add()
721 static int ecore_check_vlan_mac_add(struct bxe_softc *sc, in ecore_check_vlan_mac_add()
742 static int ecore_check_vxlan_fltr_add(struct bxe_softc *sc, in ecore_check_vxlan_fltr_add()
764 ecore_check_mac_del(struct bxe_softc *sc, in ecore_check_mac_del()
782 ecore_check_vlan_del(struct bxe_softc *sc, in ecore_check_vlan_del()
799 ecore_check_vlan_mac_del(struct bxe_softc *sc, in ecore_check_vlan_mac_del()
822 (struct bxe_softc *sc, in ecore_check_vxlan_fltr_del()
843 static bool ecore_check_move(struct bxe_softc *sc, in ecore_check_move()
869 struct bxe_softc *sc, in ecore_check_move_always_err()
893 void ecore_set_mac_in_nig(struct bxe_softc *sc, in ecore_set_mac_in_nig()
934 static inline void ecore_vlan_mac_set_cmd_hdr_e2(struct bxe_softc *sc, in ecore_vlan_mac_set_cmd_hdr_e2()
974 static void ecore_set_one_mac_e2(struct bxe_softc *sc, in ecore_set_one_mac_e2()
1070 static inline void ecore_vlan_mac_set_rdata_hdr_e1x(struct bxe_softc *sc, in ecore_vlan_mac_set_rdata_hdr_e1x()
1083 static inline void ecore_vlan_mac_set_cfg_entry_e1x(struct bxe_softc *sc, in ecore_vlan_mac_set_cfg_entry_e1x()
1112 static inline void ecore_vlan_mac_set_rdata_e1x(struct bxe_softc *sc, in ecore_vlan_mac_set_rdata_e1x()
1138 static void ecore_set_one_mac_e1x(struct bxe_softc *sc, in ecore_set_one_mac_e1x()
1161 static void ecore_set_one_vlan_e2(struct bxe_softc *sc, in ecore_set_one_vlan_e2()
1211 static void ecore_set_one_vlan_mac_e2(struct bxe_softc *sc, in ecore_set_one_vlan_mac_e2()
1268 static void ecore_set_one_vxlan_fltr_e2(struct bxe_softc *sc, in ecore_set_one_vxlan_fltr_e2()
1333 static void ecore_set_one_vlan_mac_e1h(struct bxe_softc *sc, in ecore_set_one_vlan_mac_e1h()
1379 static int ecore_vlan_mac_restore(struct bxe_softc *sc, in ecore_vlan_mac_restore()
1514 static inline int ecore_validate_vlan_mac_add(struct bxe_softc *sc, in ecore_validate_vlan_mac_add()
1562 static inline int ecore_validate_vlan_mac_del(struct bxe_softc *sc, in ecore_validate_vlan_mac_del()
1621 static inline int ecore_validate_vlan_mac_move(struct bxe_softc *sc, in ecore_validate_vlan_mac_move()
1683 static int ecore_validate_vlan_mac(struct bxe_softc *sc, in ecore_validate_vlan_mac()
1699 static int ecore_remove_vlan_mac(struct bxe_softc *sc, in ecore_remove_vlan_mac()
1735 static int ecore_wait_vlan_mac(struct bxe_softc *sc, in ecore_wait_vlan_mac()
1758 static int __ecore_vlan_mac_execute_step(struct bxe_softc *sc, in __ecore_vlan_mac_execute_step()
1793 static int ecore_complete_vlan_mac(struct bxe_softc *sc, in ecore_complete_vlan_mac()
1839 static int ecore_optimize_vlan_mac(struct bxe_softc *sc, in ecore_optimize_vlan_mac()
1902 struct bxe_softc *sc, in ecore_vlan_mac_get_registry_elem()
1954 static int ecore_execute_vlan_mac(struct bxe_softc *sc, in ecore_execute_vlan_mac()
2081 struct bxe_softc *sc, in ecore_vlan_mac_push_new_cmd()
2116 int ecore_config_vlan_mac(struct bxe_softc *sc, in ecore_config_vlan_mac()
2198 static int ecore_vlan_mac_del_all(struct bxe_softc *sc, in ecore_vlan_mac_del_all()
2319 void ecore_init_mac_obj(struct bxe_softc *sc, in ecore_init_mac_obj()
2373 void ecore_init_vlan_obj(struct bxe_softc *sc, in ecore_init_vlan_obj()
2414 void ecore_init_vlan_mac_obj(struct bxe_softc *sc, in ecore_init_vlan_mac_obj()
2477 void ecore_init_vxlan_fltr_obj(struct bxe_softc *sc, in ecore_init_vxlan_fltr_obj()
2526 static inline void __storm_memset_mac_filters(struct bxe_softc *sc, in __storm_memset_mac_filters()
2538 static int ecore_set_rx_mode_e1x(struct bxe_softc *sc, in ecore_set_rx_mode_e1x()
2628 static inline void ecore_rx_mode_set_cmd_state_e2(struct bxe_softc *sc, in ecore_rx_mode_set_cmd_state_e2()
2675 static int ecore_set_rx_mode_e2(struct bxe_softc *sc, in ecore_set_rx_mode_e2()
2778 static int ecore_wait_rx_mode_comp_e2(struct bxe_softc *sc, in ecore_wait_rx_mode_comp_e2()
2784 static int ecore_empty_rx_mode_wait(struct bxe_softc *sc, in ecore_empty_rx_mode_wait()
2791 int ecore_config_rx_mode(struct bxe_softc *sc, in ecore_config_rx_mode()
2811 void ecore_init_rx_mode_obj(struct bxe_softc *sc, in ecore_init_rx_mode_obj()
2852 static int ecore_mcast_wait(struct bxe_softc *sc, in ecore_mcast_wait()
2862 static int ecore_mcast_enqueue_cmd(struct bxe_softc *sc, in ecore_mcast_enqueue_cmd()
2996 static void ecore_mcast_set_one_rule_e2(struct bxe_softc *sc, in ecore_mcast_set_one_rule_e2()
3059 struct bxe_softc *sc, struct ecore_mcast_obj *o , int start_bin, in ecore_mcast_handle_restore_cmd_e2()
3089 static inline void ecore_mcast_hdl_pending_add_e2(struct bxe_softc *sc, in ecore_mcast_hdl_pending_add_e2()
3125 static inline void ecore_mcast_hdl_pending_del_e2(struct bxe_softc *sc, in ecore_mcast_hdl_pending_del_e2()
3155 static inline void ecore_mcast_hdl_pending_restore_e2(struct bxe_softc *sc, in ecore_mcast_hdl_pending_restore_e2()
3170 static inline int ecore_mcast_handle_pending_cmds_e2(struct bxe_softc *sc, in ecore_mcast_handle_pending_cmds_e2()
3215 static inline void ecore_mcast_hdl_add(struct bxe_softc *sc, in ecore_mcast_hdl_add()
3237 static inline void ecore_mcast_hdl_del(struct bxe_softc *sc, in ecore_mcast_hdl_del()
3267 static inline int ecore_mcast_handle_current_cmd(struct bxe_softc *sc, in ecore_mcast_handle_current_cmd()
3301 static int ecore_mcast_validate_e2(struct bxe_softc *sc, in ecore_mcast_validate_e2()
3346 static void ecore_mcast_revert_e2(struct bxe_softc *sc, in ecore_mcast_revert_e2()
3363 static inline void ecore_mcast_set_rdata_hdr_e2(struct bxe_softc *sc, in ecore_mcast_set_rdata_hdr_e2()
3388 static inline int ecore_mcast_refresh_registry_e2(struct bxe_softc *sc, in ecore_mcast_refresh_registry_e2()
3405 static int ecore_mcast_setup_e2(struct bxe_softc *sc, in ecore_mcast_setup_e2()
3490 static int ecore_mcast_validate_e1h(struct bxe_softc *sc, in ecore_mcast_validate_e1h()
3501 static void ecore_mcast_revert_e1h(struct bxe_softc *sc, in ecore_mcast_revert_e1h()
3513 static inline void ecore_mcast_hdl_add_e1h(struct bxe_softc *sc, in ecore_mcast_hdl_add_e1h()
3535 static inline void ecore_mcast_hdl_restore_e1h(struct bxe_softc *sc, in ecore_mcast_hdl_restore_e1h()
3553 static int ecore_mcast_setup_e1h(struct bxe_softc *sc, in ecore_mcast_setup_e1h()
3607 static int ecore_mcast_validate_e1(struct bxe_softc *sc, in ecore_mcast_validate_e1()
3662 static void ecore_mcast_revert_e1(struct bxe_softc *sc, in ecore_mcast_revert_e1()
3678 static void ecore_mcast_set_one_rule_e1(struct bxe_softc *sc, in ecore_mcast_set_one_rule_e1()
3712 static inline void ecore_mcast_set_rdata_hdr_e1(struct bxe_softc *sc, in ecore_mcast_set_rdata_hdr_e1()
3746 struct bxe_softc *sc, struct ecore_mcast_obj *o , int start_idx, in ecore_mcast_handle_restore_cmd_e1()
3771 struct bxe_softc *sc, struct ecore_mcast_ramrod_params *p) in ecore_mcast_handle_pending_cmds_e1()
3851 static inline int ecore_mcast_refresh_registry_e1(struct bxe_softc *sc, in ecore_mcast_refresh_registry_e1()
3899 static int ecore_mcast_setup_e1(struct bxe_softc *sc, in ecore_mcast_setup_e1()
4001 int ecore_config_mcast(struct bxe_softc *sc, in ecore_config_mcast()
4091 void ecore_init_mcast_obj(struct bxe_softc *sc, in ecore_init_mcast_obj()
4389 void ecore_init_mac_credit_pool(struct bxe_softc *sc, in ecore_init_mac_credit_pool()
4443 void ecore_init_vlan_credit_pool(struct bxe_softc *sc, in ecore_init_vlan_credit_pool()
4477 static int ecore_setup_rss(struct bxe_softc *sc, in ecore_setup_rss()
4585 int ecore_config_rss(struct bxe_softc *sc, in ecore_config_rss()
4613 void ecore_init_rss_config_obj(struct bxe_softc *sc, in ecore_init_rss_config_obj()
4642 int ecore_queue_state_change(struct bxe_softc *sc, in ecore_queue_state_change()
4704 static int ecore_queue_wait_comp(struct bxe_softc *sc, in ecore_queue_wait_comp()
4720 static int ecore_queue_comp_cmd(struct bxe_softc *sc, in ecore_queue_comp_cmd()
4763 static void ecore_q_fill_setup_data_e2(struct bxe_softc *sc, in ecore_q_fill_setup_data_e2()
4777 static void ecore_q_fill_init_general_data(struct bxe_softc *sc, in ecore_q_fill_init_general_data()
4938 static void ecore_q_fill_setup_data_cmn(struct bxe_softc *sc, in ecore_q_fill_setup_data_cmn()
4963 static void ecore_q_fill_setup_tx_only(struct bxe_softc *sc, in ecore_q_fill_setup_tx_only()
4994 static inline int ecore_q_init(struct bxe_softc *sc, in ecore_q_init()
5041 static inline int ecore_q_send_setup_e1x(struct bxe_softc *sc, in ecore_q_send_setup_e1x()
5069 static inline int ecore_q_send_setup_e2(struct bxe_softc *sc, in ecore_q_send_setup_e2()
5098 static inline int ecore_q_send_setup_tx_only(struct bxe_softc *sc, in ecore_q_send_setup_tx_only()
5144 static void ecore_q_fill_update_data(struct bxe_softc *sc, in ecore_q_fill_update_data()
5226 static inline int ecore_q_send_update(struct bxe_softc *sc, in ecore_q_send_update()
5268 static inline int ecore_q_send_deactivate(struct bxe_softc *sc, in ecore_q_send_deactivate()
5288 static inline int ecore_q_send_activate(struct bxe_softc *sc, in ecore_q_send_activate()
5301 static void ecore_q_fill_update_tpa_data(struct bxe_softc *sc, in ecore_q_fill_update_tpa_data()
5323 static inline int ecore_q_send_update_tpa(struct bxe_softc *sc, in ecore_q_send_update_tpa()
5358 static inline int ecore_q_send_halt(struct bxe_softc *sc, in ecore_q_send_halt()
5380 static inline int ecore_q_send_cfc_del(struct bxe_softc *sc, in ecore_q_send_cfc_del()
5397 static inline int ecore_q_send_terminate(struct bxe_softc *sc, in ecore_q_send_terminate()
5414 static inline int ecore_q_send_empty(struct bxe_softc *sc, in ecore_q_send_empty()
5424 static inline int ecore_queue_send_cmd_cmn(struct bxe_softc *sc, in ecore_queue_send_cmd_cmn()
5454 static int ecore_queue_send_cmd_e1x(struct bxe_softc *sc, in ecore_queue_send_cmd_e1x()
5477 static int ecore_queue_send_cmd_e2(struct bxe_softc *sc, in ecore_queue_send_cmd_e2()
5516 static int ecore_queue_chk_transition(struct bxe_softc *sc, in ecore_queue_chk_transition()
5697 static int ecore_queue_chk_fwd_transition(struct bxe_softc *sc, in ecore_queue_chk_fwd_transition()
5742 void ecore_init_queue_obj(struct bxe_softc *sc, in ecore_init_queue_obj()
5778 int ecore_get_q_logical_state(struct bxe_softc *sc, in ecore_get_q_logical_state()
5799 enum ecore_func_state ecore_func_get_state(struct bxe_softc *sc, in ecore_func_get_state()
5814 static int ecore_func_wait_comp(struct bxe_softc *sc, in ecore_func_wait_comp()
5831 static inline int ecore_func_state_change_comp(struct bxe_softc *sc, in ecore_func_state_change_comp()
5871 static int ecore_func_comp_cmd(struct bxe_softc *sc, in ecore_func_comp_cmd()
5897 static int ecore_func_chk_transition(struct bxe_softc *sc, in ecore_func_chk_transition()
6003 static inline int ecore_func_init_func(struct bxe_softc *sc, in ecore_func_init_func()
6020 static inline int ecore_func_init_port(struct bxe_softc *sc, in ecore_func_init_port()
6040 static inline int ecore_func_init_cmn_chip(struct bxe_softc *sc, in ecore_func_init_cmn_chip()
6060 static inline int ecore_func_init_cmn(struct bxe_softc *sc, in ecore_func_init_cmn()
6070 static int ecore_func_hw_init(struct bxe_softc *sc, in ecore_func_hw_init()
6145 static inline void ecore_func_reset_func(struct bxe_softc *sc, in ecore_func_reset_func()
6166 static inline void ecore_func_reset_port(struct bxe_softc *sc, in ecore_func_reset_port()
6183 static inline void ecore_func_reset_cmn(struct bxe_softc *sc, in ecore_func_reset_cmn()
6190 static inline int ecore_func_hw_reset(struct bxe_softc *sc, in ecore_func_hw_reset()
6222 static inline int ecore_func_send_start(struct bxe_softc *sc, in ecore_func_send_start()
6287 static inline int ecore_func_send_switch_update(struct bxe_softc *sc, in ecore_func_send_switch_update()
6366 static inline int ecore_func_send_afex_update(struct bxe_softc *sc, in ecore_func_send_afex_update()
6404 inline int ecore_func_send_afex_viflists(struct bxe_softc *sc, in ecore_func_send_afex_viflists()
6441 static inline int ecore_func_send_stop(struct bxe_softc *sc, in ecore_func_send_stop()
6448 static inline int ecore_func_send_tx_stop(struct bxe_softc *sc, in ecore_func_send_tx_stop()
6454 static inline int ecore_func_send_tx_start(struct bxe_softc *sc, in ecore_func_send_tx_start()
6488 static inline int ecore_func_send_set_timesync(struct bxe_softc *sc, in ecore_func_send_set_timesync()
6522 static int ecore_func_send_cmd(struct bxe_softc *sc, in ecore_func_send_cmd()
6552 void ecore_init_func_obj(struct bxe_softc *sc, in ecore_init_func_obj()
6586 int ecore_func_state_change(struct bxe_softc *sc, in ecore_func_state_change()