Lines Matching refs:func_params
2734 struct bnx2x_func_state_params func_params = {NULL}; in bnx2x_afex_func_update() local
2736 &func_params.params.afex_update; in bnx2x_afex_func_update()
2738 func_params.f_obj = &bp->func_obj; in bnx2x_afex_func_update()
2739 func_params.cmd = BNX2X_F_CMD_AFEX_UPDATE; in bnx2x_afex_func_update()
2750 if (bnx2x_func_state_change(bp, &func_params) < 0) in bnx2x_afex_func_update()
2759 struct bnx2x_func_state_params func_params = {NULL}; in bnx2x_afex_handle_vif_list_cmd() local
2761 &func_params.params.afex_viflists; in bnx2x_afex_handle_vif_list_cmd()
2770 func_params.f_obj = &bp->func_obj; in bnx2x_afex_handle_vif_list_cmd()
2771 func_params.cmd = BNX2X_F_CMD_AFEX_VIFLISTS; in bnx2x_afex_handle_vif_list_cmd()
2787 rc = bnx2x_func_state_change(bp, &func_params); in bnx2x_afex_handle_vif_list_cmd()
2918 struct bnx2x_func_state_params func_params; in bnx2x_handle_update_svid_cmd() local
2920 memset(&func_params, 0, sizeof(struct bnx2x_func_state_params)); in bnx2x_handle_update_svid_cmd()
2921 switch_update_params = &func_params.params.switch_update; in bnx2x_handle_update_svid_cmd()
2922 func_params.f_obj = &bp->func_obj; in bnx2x_handle_update_svid_cmd()
2923 func_params.cmd = BNX2X_F_CMD_SWITCH_UPDATE; in bnx2x_handle_update_svid_cmd()
2926 __set_bit(RAMROD_COMP_WAIT, &func_params.ramrod_flags); in bnx2x_handle_update_svid_cmd()
2927 __set_bit(RAMROD_RETRY, &func_params.ramrod_flags); in bnx2x_handle_update_svid_cmd()
2952 if (bnx2x_func_state_change(bp, &func_params) < 0) { in bnx2x_handle_update_svid_cmd()
7811 struct bnx2x_func_state_params func_params = {NULL}; in bnx2x_func_switch_update() local
7813 &func_params.params.switch_update; in bnx2x_func_switch_update()
7816 __set_bit(RAMROD_COMP_WAIT, &func_params.ramrod_flags); in bnx2x_func_switch_update()
7817 __set_bit(RAMROD_RETRY, &func_params.ramrod_flags); in bnx2x_func_switch_update()
7819 func_params.f_obj = &bp->func_obj; in bnx2x_func_switch_update()
7820 func_params.cmd = BNX2X_F_CMD_SWITCH_UPDATE; in bnx2x_func_switch_update()
7829 rc = bnx2x_func_state_change(bp, &func_params); in bnx2x_func_switch_update()
9084 struct bnx2x_func_state_params func_params = {NULL}; in bnx2x_reset_hw() local
9087 __set_bit(RAMROD_COMP_WAIT, &func_params.ramrod_flags); in bnx2x_reset_hw()
9089 func_params.f_obj = &bp->func_obj; in bnx2x_reset_hw()
9090 func_params.cmd = BNX2X_F_CMD_HW_RESET; in bnx2x_reset_hw()
9092 func_params.params.hw_init.load_phase = load_code; in bnx2x_reset_hw()
9094 return bnx2x_func_state_change(bp, &func_params); in bnx2x_reset_hw()
9099 struct bnx2x_func_state_params func_params = {NULL}; in bnx2x_func_stop() local
9103 __set_bit(RAMROD_COMP_WAIT, &func_params.ramrod_flags); in bnx2x_func_stop()
9104 func_params.f_obj = &bp->func_obj; in bnx2x_func_stop()
9105 func_params.cmd = BNX2X_F_CMD_STOP; in bnx2x_func_stop()
9113 rc = bnx2x_func_state_change(bp, &func_params); in bnx2x_func_stop()
9119 __set_bit(RAMROD_DRV_CLR_ONLY, &func_params.ramrod_flags); in bnx2x_func_stop()
9120 return bnx2x_func_state_change(bp, &func_params); in bnx2x_func_stop()
9261 struct bnx2x_func_state_params func_params = {NULL}; in bnx2x_func_wait_started()
9266 func_params.f_obj = &bp->func_obj; in bnx2x_func_wait_started()
9268 &func_params.ramrod_flags); in bnx2x_func_wait_started()
9271 func_params.cmd = BNX2X_F_CMD_TX_STOP; in bnx2x_func_wait_started()
9272 bnx2x_func_state_change(bp, &func_params); in bnx2x_func_wait_started()
9275 func_params.cmd = BNX2X_F_CMD_TX_START; in bnx2x_func_wait_started()
9276 return bnx2x_func_state_change(bp, &func_params); in bnx2x_func_wait_started()
10153 struct bnx2x_func_state_params func_params = {NULL}; in bnx2x_udp_port_update() local
10157 switch_update_params = &func_params.params.switch_update; in bnx2x_udp_port_update()
10160 __set_bit(RAMROD_COMP_WAIT, &func_params.ramrod_flags); in bnx2x_udp_port_update()
10161 __set_bit(RAMROD_RETRY, &func_params.ramrod_flags); in bnx2x_udp_port_update()
10163 func_params.f_obj = &bp->func_obj; in bnx2x_udp_port_update()
10164 func_params.cmd = BNX2X_F_CMD_SWITCH_UPDATE; in bnx2x_udp_port_update()
10184 rc = bnx2x_func_state_change(bp, &func_params); in bnx2x_udp_port_update()
13640 struct bnx2x_func_state_params func_params = {NULL}; in bnx2x_send_update_drift_ramrod() local
13642 &func_params.params.set_timesync; in bnx2x_send_update_drift_ramrod()
13645 __set_bit(RAMROD_COMP_WAIT, &func_params.ramrod_flags); in bnx2x_send_update_drift_ramrod()
13646 __set_bit(RAMROD_RETRY, &func_params.ramrod_flags); in bnx2x_send_update_drift_ramrod()
13648 func_params.f_obj = &bp->func_obj; in bnx2x_send_update_drift_ramrod()
13649 func_params.cmd = BNX2X_F_CMD_SET_TIMESYNC; in bnx2x_send_update_drift_ramrod()
13659 return bnx2x_func_state_change(bp, &func_params); in bnx2x_send_update_drift_ramrod()
15199 struct bnx2x_func_state_params func_params = {NULL}; in bnx2x_send_reset_timesync_ramrod() local
15201 &func_params.params.set_timesync; in bnx2x_send_reset_timesync_ramrod()
15204 __set_bit(RAMROD_COMP_WAIT, &func_params.ramrod_flags); in bnx2x_send_reset_timesync_ramrod()
15205 __set_bit(RAMROD_RETRY, &func_params.ramrod_flags); in bnx2x_send_reset_timesync_ramrod()
15207 func_params.f_obj = &bp->func_obj; in bnx2x_send_reset_timesync_ramrod()
15208 func_params.cmd = BNX2X_F_CMD_SET_TIMESYNC; in bnx2x_send_reset_timesync_ramrod()
15214 return bnx2x_func_state_change(bp, &func_params); in bnx2x_send_reset_timesync_ramrod()