Lines Matching refs:ret_val

65 	s32 ret_val = IXGBE_ERR_MBX;  in ixgbevf_read_posted_mbx()  local
70 ret_val = ixgbevf_poll_for_msg(hw); in ixgbevf_read_posted_mbx()
73 if (!ret_val) in ixgbevf_read_posted_mbx()
74 ret_val = mbx->ops.read(hw, msg, size); in ixgbevf_read_posted_mbx()
76 return ret_val; in ixgbevf_read_posted_mbx()
91 s32 ret_val = IXGBE_ERR_MBX; in ixgbevf_write_posted_mbx() local
98 ret_val = mbx->ops.write(hw, msg, size); in ixgbevf_write_posted_mbx()
101 if (!ret_val) in ixgbevf_write_posted_mbx()
102 ret_val = ixgbevf_poll_for_ack(hw); in ixgbevf_write_posted_mbx()
104 return ret_val; in ixgbevf_write_posted_mbx()
135 s32 ret_val = IXGBE_ERR_MBX; in ixgbevf_check_for_bit_vf() local
138 ret_val = 0; in ixgbevf_check_for_bit_vf()
142 return ret_val; in ixgbevf_check_for_bit_vf()
153 s32 ret_val = IXGBE_ERR_MBX; in ixgbevf_check_for_msg_vf() local
156 ret_val = 0; in ixgbevf_check_for_msg_vf()
160 return ret_val; in ixgbevf_check_for_msg_vf()
171 s32 ret_val = IXGBE_ERR_MBX; in ixgbevf_check_for_ack_vf() local
174 ret_val = 0; in ixgbevf_check_for_ack_vf()
178 return ret_val; in ixgbevf_check_for_ack_vf()
189 s32 ret_val = IXGBE_ERR_MBX; in ixgbevf_check_for_rst_vf() local
193 ret_val = 0; in ixgbevf_check_for_rst_vf()
197 return ret_val; in ixgbevf_check_for_rst_vf()
208 s32 ret_val = IXGBE_ERR_MBX; in ixgbevf_obtain_mbx_lock_vf() local
215 ret_val = 0; in ixgbevf_obtain_mbx_lock_vf()
217 return ret_val; in ixgbevf_obtain_mbx_lock_vf()
230 s32 ret_val; in ixgbevf_write_mbx_vf() local
234 ret_val = ixgbevf_obtain_mbx_lock_vf(hw); in ixgbevf_write_mbx_vf()
235 if (ret_val) in ixgbevf_write_mbx_vf()
253 return ret_val; in ixgbevf_write_mbx_vf()
266 s32 ret_val = 0; in ixgbevf_read_mbx_vf() local
270 ret_val = ixgbevf_obtain_mbx_lock_vf(hw); in ixgbevf_read_mbx_vf()
271 if (ret_val) in ixgbevf_read_mbx_vf()
285 return ret_val; in ixgbevf_read_mbx_vf()