Lines Matching refs:ret_val
70 s32 ret_val = -E1000_ERR_MBX; in e1000_read_posted_mbx() local
75 ret_val = e1000_poll_for_msg(hw); in e1000_read_posted_mbx()
78 if (!ret_val) in e1000_read_posted_mbx()
79 ret_val = mbx->ops.read(hw, msg, size); in e1000_read_posted_mbx()
81 return ret_val; in e1000_read_posted_mbx()
96 s32 ret_val = -E1000_ERR_MBX; in e1000_write_posted_mbx() local
103 ret_val = mbx->ops.write(hw, msg, size); in e1000_write_posted_mbx()
106 if (!ret_val) in e1000_write_posted_mbx()
107 ret_val = e1000_poll_for_ack(hw); in e1000_write_posted_mbx()
109 return ret_val; in e1000_write_posted_mbx()
140 s32 ret_val = -E1000_ERR_MBX; in e1000_check_for_bit_vf() local
143 ret_val = E1000_SUCCESS; in e1000_check_for_bit_vf()
147 return ret_val; in e1000_check_for_bit_vf()
158 s32 ret_val = -E1000_ERR_MBX; in e1000_check_for_msg_vf() local
161 ret_val = E1000_SUCCESS; in e1000_check_for_msg_vf()
165 return ret_val; in e1000_check_for_msg_vf()
176 s32 ret_val = -E1000_ERR_MBX; in e1000_check_for_ack_vf() local
179 ret_val = E1000_SUCCESS; in e1000_check_for_ack_vf()
183 return ret_val; in e1000_check_for_ack_vf()
194 s32 ret_val = -E1000_ERR_MBX; in e1000_check_for_rst_vf() local
198 ret_val = E1000_SUCCESS; in e1000_check_for_rst_vf()
202 return ret_val; in e1000_check_for_rst_vf()
213 s32 ret_val = -E1000_ERR_MBX; in e1000_obtain_mbx_lock_vf() local
222 ret_val = 0; in e1000_obtain_mbx_lock_vf()
228 return ret_val; in e1000_obtain_mbx_lock_vf()