Lines Matching refs:bnx2x
50 static inline void bnx2x_exe_queue_init(struct bnx2x *bp, in bnx2x_exe_queue_init()
81 static inline void bnx2x_exe_queue_free_elem(struct bnx2x *bp, in bnx2x_exe_queue_free_elem()
113 static inline int bnx2x_exe_queue_add(struct bnx2x *bp, in bnx2x_exe_queue_add()
152 struct bnx2x *bp, in __bnx2x_exe_queue_reset_pending()
175 static inline int bnx2x_exe_queue_step(struct bnx2x *bp, in bnx2x_exe_queue_step()
251 struct bnx2x *bp) in bnx2x_exe_queue_alloc_elem()
285 static inline int bnx2x_state_wait(struct bnx2x *bp, int state, in bnx2x_state_wait()
320 static int bnx2x_raw_wait(struct bnx2x *bp, struct bnx2x_raw_obj *raw) in bnx2x_raw_wait()
432 static int __bnx2x_vlan_mac_h_write_trylock(struct bnx2x *bp, in __bnx2x_vlan_mac_h_write_trylock()
453 static void __bnx2x_vlan_mac_h_exec_pending(struct bnx2x *bp, in __bnx2x_vlan_mac_h_exec_pending()
482 static void __bnx2x_vlan_mac_h_pend(struct bnx2x *bp, in __bnx2x_vlan_mac_h_pend()
502 static void __bnx2x_vlan_mac_h_write_unlock(struct bnx2x *bp, in __bnx2x_vlan_mac_h_write_unlock()
524 static int __bnx2x_vlan_mac_h_read_lock(struct bnx2x *bp, in __bnx2x_vlan_mac_h_read_lock()
543 int bnx2x_vlan_mac_h_read_lock(struct bnx2x *bp, in bnx2x_vlan_mac_h_read_lock()
565 static void __bnx2x_vlan_mac_h_read_unlock(struct bnx2x *bp, in __bnx2x_vlan_mac_h_read_unlock()
600 void bnx2x_vlan_mac_h_read_unlock(struct bnx2x *bp, in bnx2x_vlan_mac_h_read_unlock()
608 static int bnx2x_get_n_elements(struct bnx2x *bp, struct bnx2x_vlan_mac_obj *o, in bnx2x_get_n_elements()
641 static int bnx2x_check_mac_add(struct bnx2x *bp, in bnx2x_check_mac_add()
661 static int bnx2x_check_vlan_add(struct bnx2x *bp, in bnx2x_check_vlan_add()
676 static int bnx2x_check_vlan_mac_add(struct bnx2x *bp, in bnx2x_check_vlan_mac_add()
698 bnx2x_check_mac_del(struct bnx2x *bp, in bnx2x_check_mac_del()
715 bnx2x_check_vlan_del(struct bnx2x *bp, in bnx2x_check_vlan_del()
731 bnx2x_check_vlan_mac_del(struct bnx2x *bp, in bnx2x_check_vlan_mac_del()
752 static bool bnx2x_check_move(struct bnx2x *bp, in bnx2x_check_move()
778 struct bnx2x *bp, in bnx2x_check_move_always_err()
802 static void bnx2x_set_mac_in_nig(struct bnx2x *bp, in bnx2x_set_mac_in_nig()
843 static inline void bnx2x_vlan_mac_set_cmd_hdr_e2(struct bnx2x *bp, in bnx2x_vlan_mac_set_cmd_hdr_e2()
883 static void bnx2x_set_one_mac_e2(struct bnx2x *bp, in bnx2x_set_one_mac_e2()
979 static inline void bnx2x_vlan_mac_set_rdata_hdr_e1x(struct bnx2x *bp, in bnx2x_vlan_mac_set_rdata_hdr_e1x()
992 static inline void bnx2x_vlan_mac_set_cfg_entry_e1x(struct bnx2x *bp, in bnx2x_vlan_mac_set_cfg_entry_e1x()
1018 static inline void bnx2x_vlan_mac_set_rdata_e1x(struct bnx2x *bp, in bnx2x_vlan_mac_set_rdata_e1x()
1044 static void bnx2x_set_one_mac_e1x(struct bnx2x *bp, in bnx2x_set_one_mac_e1x()
1067 static void bnx2x_set_one_vlan_e2(struct bnx2x *bp, in bnx2x_set_one_vlan_e2()
1117 static void bnx2x_set_one_vlan_mac_e2(struct bnx2x *bp, in bnx2x_set_one_vlan_mac_e2()
1183 static void bnx2x_set_one_vlan_mac_e1h(struct bnx2x *bp, in bnx2x_set_one_vlan_mac_e1h()
1226 static int bnx2x_vlan_mac_restore(struct bnx2x *bp, in bnx2x_vlan_mac_restore()
1338 static inline int bnx2x_validate_vlan_mac_add(struct bnx2x *bp, in bnx2x_validate_vlan_mac_add()
1386 static inline int bnx2x_validate_vlan_mac_del(struct bnx2x *bp, in bnx2x_validate_vlan_mac_del()
1445 static inline int bnx2x_validate_vlan_mac_move(struct bnx2x *bp, in bnx2x_validate_vlan_mac_move()
1507 static int bnx2x_validate_vlan_mac(struct bnx2x *bp, in bnx2x_validate_vlan_mac()
1523 static int bnx2x_remove_vlan_mac(struct bnx2x *bp, in bnx2x_remove_vlan_mac()
1559 static int bnx2x_wait_vlan_mac(struct bnx2x *bp, in bnx2x_wait_vlan_mac()
1582 static int __bnx2x_vlan_mac_execute_step(struct bnx2x *bp, in __bnx2x_vlan_mac_execute_step()
1617 static int bnx2x_complete_vlan_mac(struct bnx2x *bp, in bnx2x_complete_vlan_mac()
1664 static int bnx2x_optimize_vlan_mac(struct bnx2x *bp, in bnx2x_optimize_vlan_mac()
1727 struct bnx2x *bp, in bnx2x_vlan_mac_get_registry_elem()
1779 static int bnx2x_execute_vlan_mac(struct bnx2x *bp, in bnx2x_execute_vlan_mac()
1903 struct bnx2x *bp, in bnx2x_vlan_mac_push_new_cmd()
1938 int bnx2x_config_vlan_mac(struct bnx2x *bp, in bnx2x_config_vlan_mac()
2020 static int bnx2x_vlan_mac_del_all(struct bnx2x *bp, in bnx2x_vlan_mac_del_all()
2137 void bnx2x_init_mac_obj(struct bnx2x *bp, in bnx2x_init_mac_obj()
2191 void bnx2x_init_vlan_obj(struct bnx2x *bp, in bnx2x_init_vlan_obj()
2232 void bnx2x_init_vlan_mac_obj(struct bnx2x *bp, in bnx2x_init_vlan_mac_obj()
2295 static inline void __storm_memset_mac_filters(struct bnx2x *bp, in __storm_memset_mac_filters()
2307 static int bnx2x_set_rx_mode_e1x(struct bnx2x *bp, in bnx2x_set_rx_mode_e1x()
2397 static inline void bnx2x_rx_mode_set_cmd_state_e2(struct bnx2x *bp, in bnx2x_rx_mode_set_cmd_state_e2()
2446 static int bnx2x_set_rx_mode_e2(struct bnx2x *bp, in bnx2x_set_rx_mode_e2()
2548 static int bnx2x_wait_rx_mode_comp_e2(struct bnx2x *bp, in bnx2x_wait_rx_mode_comp_e2()
2554 static int bnx2x_empty_rx_mode_wait(struct bnx2x *bp, in bnx2x_empty_rx_mode_wait()
2561 int bnx2x_config_rx_mode(struct bnx2x *bp, in bnx2x_config_rx_mode()
2581 void bnx2x_init_rx_mode_obj(struct bnx2x *bp, in bnx2x_init_rx_mode_obj()
2648 static int bnx2x_mcast_wait(struct bnx2x *bp, in bnx2x_mcast_wait()
2671 static int bnx2x_mcast_enqueue_cmd(struct bnx2x *bp, in bnx2x_mcast_enqueue_cmd()
2830 static void bnx2x_mcast_set_one_rule_e2(struct bnx2x *bp, in bnx2x_mcast_set_one_rule_e2()
2904 struct bnx2x *bp, struct bnx2x_mcast_obj *o , int start_bin, in bnx2x_mcast_handle_restore_cmd_e2()
2934 static inline void bnx2x_mcast_hdl_pending_add_e2(struct bnx2x *bp, in bnx2x_mcast_hdl_pending_add_e2()
2969 static inline void bnx2x_mcast_hdl_pending_del_e2(struct bnx2x *bp, in bnx2x_mcast_hdl_pending_del_e2()
2999 static inline void bnx2x_mcast_hdl_pending_restore_e2(struct bnx2x *bp, in bnx2x_mcast_hdl_pending_restore_e2()
3015 bnx2x_mcast_hdl_pending_set_e2_convert(struct bnx2x *bp, in bnx2x_mcast_hdl_pending_set_e2_convert()
3082 bnx2x_mcast_hdl_pending_set_e2(struct bnx2x *bp, in bnx2x_mcast_hdl_pending_set_e2()
3118 static inline int bnx2x_mcast_handle_pending_cmds_e2(struct bnx2x *bp, in bnx2x_mcast_handle_pending_cmds_e2()
3167 static inline void bnx2x_mcast_hdl_add(struct bnx2x *bp, in bnx2x_mcast_hdl_add()
3188 static inline void bnx2x_mcast_hdl_del(struct bnx2x *bp, in bnx2x_mcast_hdl_del()
3218 static inline int bnx2x_mcast_handle_current_cmd(struct bnx2x *bp, in bnx2x_mcast_handle_current_cmd()
3252 static int bnx2x_mcast_validate_e2(struct bnx2x *bp, in bnx2x_mcast_validate_e2()
3310 static void bnx2x_mcast_revert_e2(struct bnx2x *bp, in bnx2x_mcast_revert_e2()
3331 static inline void bnx2x_mcast_set_rdata_hdr_e2(struct bnx2x *bp, in bnx2x_mcast_set_rdata_hdr_e2()
3356 static inline int bnx2x_mcast_refresh_registry_e2(struct bnx2x *bp, in bnx2x_mcast_refresh_registry_e2()
3373 static int bnx2x_mcast_setup_e2(struct bnx2x *bp, in bnx2x_mcast_setup_e2()
3459 static int bnx2x_mcast_validate_e1h(struct bnx2x *bp, in bnx2x_mcast_validate_e1h()
3475 static void bnx2x_mcast_revert_e1h(struct bnx2x *bp, in bnx2x_mcast_revert_e1h()
3488 static inline void bnx2x_mcast_hdl_add_e1h(struct bnx2x *bp, in bnx2x_mcast_hdl_add_e1h()
3509 static inline void bnx2x_mcast_hdl_restore_e1h(struct bnx2x *bp, in bnx2x_mcast_hdl_restore_e1h()
3527 static int bnx2x_mcast_setup_e1h(struct bnx2x *bp, in bnx2x_mcast_setup_e1h()
3581 static int bnx2x_mcast_validate_e1(struct bnx2x *bp, in bnx2x_mcast_validate_e1()
3641 static void bnx2x_mcast_revert_e1(struct bnx2x *bp, in bnx2x_mcast_revert_e1()
3658 static void bnx2x_mcast_set_one_rule_e1(struct bnx2x *bp, in bnx2x_mcast_set_one_rule_e1()
3692 static inline void bnx2x_mcast_set_rdata_hdr_e1(struct bnx2x *bp, in bnx2x_mcast_set_rdata_hdr_e1()
3726 struct bnx2x *bp, struct bnx2x_mcast_obj *o , int start_idx, in bnx2x_mcast_handle_restore_cmd_e1()
3750 struct bnx2x *bp, struct bnx2x_mcast_ramrod_params *p) in bnx2x_mcast_handle_pending_cmds_e1()
3830 static inline int bnx2x_mcast_refresh_registry_e1(struct bnx2x *bp, in bnx2x_mcast_refresh_registry_e1()
3877 static int bnx2x_mcast_setup_e1(struct bnx2x *bp, in bnx2x_mcast_setup_e1()
3978 int bnx2x_config_mcast(struct bnx2x *bp, in bnx2x_config_mcast()
4068 void bnx2x_init_mcast_obj(struct bnx2x *bp, in bnx2x_init_mcast_obj()
4366 void bnx2x_init_mac_credit_pool(struct bnx2x *bp, in bnx2x_init_mac_credit_pool()
4421 void bnx2x_init_vlan_credit_pool(struct bnx2x *bp, in bnx2x_init_vlan_credit_pool()
4454 static inline void bnx2x_debug_print_ind_table(struct bnx2x *bp, in bnx2x_debug_print_ind_table()
4483 static int bnx2x_setup_rss(struct bnx2x *bp, in bnx2x_setup_rss()
4601 int bnx2x_config_rss(struct bnx2x *bp, in bnx2x_config_rss()
4629 void bnx2x_init_rss_config_obj(struct bnx2x *bp, in bnx2x_init_rss_config_obj()
4657 int bnx2x_queue_state_change(struct bnx2x *bp, in bnx2x_queue_state_change()
4719 static int bnx2x_queue_wait_comp(struct bnx2x *bp, in bnx2x_queue_wait_comp()
4735 static int bnx2x_queue_comp_cmd(struct bnx2x *bp, in bnx2x_queue_comp_cmd()
4778 static void bnx2x_q_fill_setup_data_e2(struct bnx2x *bp, in bnx2x_q_fill_setup_data_e2()
4791 static void bnx2x_q_fill_init_general_data(struct bnx2x *bp, in bnx2x_q_fill_init_general_data()
4947 static void bnx2x_q_fill_setup_data_cmn(struct bnx2x *bp, in bnx2x_q_fill_setup_data_cmn()
4972 static void bnx2x_q_fill_setup_tx_only(struct bnx2x *bp, in bnx2x_q_fill_setup_tx_only()
5003 static inline int bnx2x_q_init(struct bnx2x *bp, in bnx2x_q_init()
5049 static inline int bnx2x_q_send_setup_e1x(struct bnx2x *bp, in bnx2x_q_send_setup_e1x()
5075 static inline int bnx2x_q_send_setup_e2(struct bnx2x *bp, in bnx2x_q_send_setup_e2()
5102 static inline int bnx2x_q_send_setup_tx_only(struct bnx2x *bp, in bnx2x_q_send_setup_tx_only()
5145 static void bnx2x_q_fill_update_data(struct bnx2x *bp, in bnx2x_q_fill_update_data()
5217 static inline int bnx2x_q_send_update(struct bnx2x *bp, in bnx2x_q_send_update()
5259 static inline int bnx2x_q_send_deactivate(struct bnx2x *bp, in bnx2x_q_send_deactivate()
5279 static inline int bnx2x_q_send_activate(struct bnx2x *bp, in bnx2x_q_send_activate()
5292 static void bnx2x_q_fill_update_tpa_data(struct bnx2x *bp, in bnx2x_q_fill_update_tpa_data()
5314 static inline int bnx2x_q_send_update_tpa(struct bnx2x *bp, in bnx2x_q_send_update_tpa()
5350 static inline int bnx2x_q_send_halt(struct bnx2x *bp, in bnx2x_q_send_halt()
5360 static inline int bnx2x_q_send_cfc_del(struct bnx2x *bp, in bnx2x_q_send_cfc_del()
5376 static inline int bnx2x_q_send_terminate(struct bnx2x *bp, in bnx2x_q_send_terminate()
5392 static inline int bnx2x_q_send_empty(struct bnx2x *bp, in bnx2x_q_send_empty()
5402 static inline int bnx2x_queue_send_cmd_cmn(struct bnx2x *bp, in bnx2x_queue_send_cmd_cmn()
5432 static int bnx2x_queue_send_cmd_e1x(struct bnx2x *bp, in bnx2x_queue_send_cmd_e1x()
5455 static int bnx2x_queue_send_cmd_e2(struct bnx2x *bp, in bnx2x_queue_send_cmd_e2()
5494 static int bnx2x_queue_chk_transition(struct bnx2x *bp, in bnx2x_queue_chk_transition()
5660 void bnx2x_init_queue_obj(struct bnx2x *bp, in bnx2x_init_queue_obj()
5693 int bnx2x_get_q_logical_state(struct bnx2x *bp, in bnx2x_get_q_logical_state()
5714 enum bnx2x_func_state bnx2x_func_get_state(struct bnx2x *bp, in bnx2x_func_get_state()
5729 static int bnx2x_func_wait_comp(struct bnx2x *bp, in bnx2x_func_wait_comp()
5746 static inline int bnx2x_func_state_change_comp(struct bnx2x *bp, in bnx2x_func_state_change_comp()
5786 static int bnx2x_func_comp_cmd(struct bnx2x *bp, in bnx2x_func_comp_cmd()
5812 static int bnx2x_func_chk_transition(struct bnx2x *bp, in bnx2x_func_chk_transition()
5918 static inline int bnx2x_func_init_func(struct bnx2x *bp, in bnx2x_func_init_func()
5935 static inline int bnx2x_func_init_port(struct bnx2x *bp, in bnx2x_func_init_port()
5955 static inline int bnx2x_func_init_cmn_chip(struct bnx2x *bp, in bnx2x_func_init_cmn_chip()
5975 static inline int bnx2x_func_init_cmn(struct bnx2x *bp, in bnx2x_func_init_cmn()
5985 static int bnx2x_func_hw_init(struct bnx2x *bp, in bnx2x_func_hw_init()
6060 static inline void bnx2x_func_reset_func(struct bnx2x *bp, in bnx2x_func_reset_func()
6081 static inline void bnx2x_func_reset_port(struct bnx2x *bp, in bnx2x_func_reset_port()
6098 static inline void bnx2x_func_reset_cmn(struct bnx2x *bp, in bnx2x_func_reset_cmn()
6105 static inline int bnx2x_func_hw_reset(struct bnx2x *bp, in bnx2x_func_hw_reset()
6137 static inline int bnx2x_func_send_start(struct bnx2x *bp, in bnx2x_func_send_start()
6199 static inline int bnx2x_func_send_switch_update(struct bnx2x *bp, in bnx2x_func_send_switch_update()
6278 static inline int bnx2x_func_send_afex_update(struct bnx2x *bp, in bnx2x_func_send_afex_update()
6317 inline int bnx2x_func_send_afex_viflists(struct bnx2x *bp, in bnx2x_func_send_afex_viflists()
6355 static inline int bnx2x_func_send_stop(struct bnx2x *bp, in bnx2x_func_send_stop()
6362 static inline int bnx2x_func_send_tx_stop(struct bnx2x *bp, in bnx2x_func_send_tx_stop()
6368 static inline int bnx2x_func_send_tx_start(struct bnx2x *bp, in bnx2x_func_send_tx_start()
6403 int bnx2x_func_send_set_timesync(struct bnx2x *bp, in bnx2x_func_send_set_timesync()
6438 static int bnx2x_func_send_cmd(struct bnx2x *bp, in bnx2x_func_send_cmd()
6468 void bnx2x_init_func_obj(struct bnx2x *bp, in bnx2x_init_func_obj()
6503 int bnx2x_func_state_change(struct bnx2x *bp, in bnx2x_func_state_change()