Lines Matching refs:ret_val
93 s32 ret_val = -E1000_ERR_MBX; in e1000_read_posted_mbx() local
98 ret_val = e1000_poll_for_msg(hw); in e1000_read_posted_mbx()
101 if (!ret_val) in e1000_read_posted_mbx()
102 ret_val = mbx->ops.read(hw, msg, size); in e1000_read_posted_mbx()
104 return ret_val; in e1000_read_posted_mbx()
119 s32 ret_val = -E1000_ERR_MBX; in e1000_write_posted_mbx() local
126 ret_val = mbx->ops.write(hw, msg, size); in e1000_write_posted_mbx()
129 if (!ret_val) in e1000_write_posted_mbx()
130 ret_val = e1000_poll_for_ack(hw); in e1000_write_posted_mbx()
132 return ret_val; in e1000_write_posted_mbx()
163 s32 ret_val = -E1000_ERR_MBX; in e1000_check_for_bit_vf() local
166 ret_val = E1000_SUCCESS; in e1000_check_for_bit_vf()
170 return ret_val; in e1000_check_for_bit_vf()
181 s32 ret_val = -E1000_ERR_MBX; in e1000_check_for_msg_vf() local
184 ret_val = E1000_SUCCESS; in e1000_check_for_msg_vf()
188 return ret_val; in e1000_check_for_msg_vf()
199 s32 ret_val = -E1000_ERR_MBX; in e1000_check_for_ack_vf() local
202 ret_val = E1000_SUCCESS; in e1000_check_for_ack_vf()
206 return ret_val; in e1000_check_for_ack_vf()
217 s32 ret_val = -E1000_ERR_MBX; in e1000_check_for_rst_vf() local
221 ret_val = E1000_SUCCESS; in e1000_check_for_rst_vf()
225 return ret_val; in e1000_check_for_rst_vf()
236 s32 ret_val = -E1000_ERR_MBX; in e1000_obtain_mbx_lock_vf() local
243 ret_val = E1000_SUCCESS; in e1000_obtain_mbx_lock_vf()
245 return ret_val; in e1000_obtain_mbx_lock_vf()