Lines Matching refs:ret_val

79 	s32 ret_val = -E1000_ERR_MBX;  in e1000_read_mbx()  local
88 ret_val = mbx->ops.read(hw, msg, size, mbx_id); in e1000_read_mbx()
90 return ret_val; in e1000_read_mbx()
105 s32 ret_val = E1000_SUCCESS; in e1000_write_mbx() local
110 ret_val = -E1000_ERR_MBX; in e1000_write_mbx()
113 ret_val = mbx->ops.write(hw, msg, size, mbx_id); in e1000_write_mbx()
115 return ret_val; in e1000_write_mbx()
128 s32 ret_val = -E1000_ERR_MBX; in e1000_check_for_msg() local
133 ret_val = mbx->ops.check_for_msg(hw, mbx_id); in e1000_check_for_msg()
135 return ret_val; in e1000_check_for_msg()
148 s32 ret_val = -E1000_ERR_MBX; in e1000_check_for_ack() local
153 ret_val = mbx->ops.check_for_ack(hw, mbx_id); in e1000_check_for_ack()
155 return ret_val; in e1000_check_for_ack()
168 s32 ret_val = -E1000_ERR_MBX; in e1000_check_for_rst() local
173 ret_val = mbx->ops.check_for_rst(hw, mbx_id); in e1000_check_for_rst()
175 return ret_val; in e1000_check_for_rst()
253 s32 ret_val = -E1000_ERR_MBX; in e1000_read_posted_mbx() local
260 ret_val = e1000_poll_for_msg(hw, mbx_id); in e1000_read_posted_mbx()
263 if (!ret_val) in e1000_read_posted_mbx()
264 ret_val = mbx->ops.read(hw, msg, size, mbx_id); in e1000_read_posted_mbx()
266 return ret_val; in e1000_read_posted_mbx()
282 s32 ret_val = -E1000_ERR_MBX; in e1000_write_posted_mbx() local
291 ret_val = mbx->ops.write(hw, msg, size, mbx_id); in e1000_write_posted_mbx()
294 if (!ret_val) in e1000_write_posted_mbx()
295 ret_val = e1000_poll_for_ack(hw, mbx_id); in e1000_write_posted_mbx()
297 return ret_val; in e1000_write_posted_mbx()
347 s32 ret_val = -E1000_ERR_MBX; in e1000_check_for_bit_vf() local
350 ret_val = E1000_SUCCESS; in e1000_check_for_bit_vf()
354 return ret_val; in e1000_check_for_bit_vf()
367 s32 ret_val = -E1000_ERR_MBX; in e1000_check_for_msg_vf() local
372 ret_val = E1000_SUCCESS; in e1000_check_for_msg_vf()
376 return ret_val; in e1000_check_for_msg_vf()
389 s32 ret_val = -E1000_ERR_MBX; in e1000_check_for_ack_vf() local
394 ret_val = E1000_SUCCESS; in e1000_check_for_ack_vf()
398 return ret_val; in e1000_check_for_ack_vf()
411 s32 ret_val = -E1000_ERR_MBX; in e1000_check_for_rst_vf() local
417 ret_val = E1000_SUCCESS; in e1000_check_for_rst_vf()
421 return ret_val; in e1000_check_for_rst_vf()
432 s32 ret_val = -E1000_ERR_MBX; in e1000_obtain_mbx_lock_vf() local
443 ret_val = E1000_SUCCESS; in e1000_obtain_mbx_lock_vf()
449 return ret_val; in e1000_obtain_mbx_lock_vf()
464 s32 ret_val; in e1000_write_mbx_vf() local
471 ret_val = e1000_obtain_mbx_lock_vf(hw); in e1000_write_mbx_vf()
472 if (ret_val) in e1000_write_mbx_vf()
490 return ret_val; in e1000_write_mbx_vf()
505 s32 ret_val = E1000_SUCCESS; in e1000_read_mbx_vf() local
511 ret_val = e1000_obtain_mbx_lock_vf(hw); in e1000_read_mbx_vf()
512 if (ret_val) in e1000_read_mbx_vf()
526 return ret_val; in e1000_read_mbx_vf()
566 s32 ret_val = -E1000_ERR_MBX; in e1000_check_for_bit_pf() local
569 ret_val = E1000_SUCCESS; in e1000_check_for_bit_pf()
573 return ret_val; in e1000_check_for_bit_pf()
585 s32 ret_val = -E1000_ERR_MBX; in e1000_check_for_msg_pf() local
590 ret_val = E1000_SUCCESS; in e1000_check_for_msg_pf()
594 return ret_val; in e1000_check_for_msg_pf()
606 s32 ret_val = -E1000_ERR_MBX; in e1000_check_for_ack_pf() local
611 ret_val = E1000_SUCCESS; in e1000_check_for_ack_pf()
615 return ret_val; in e1000_check_for_ack_pf()
628 s32 ret_val = -E1000_ERR_MBX; in e1000_check_for_rst_pf() local
633 ret_val = E1000_SUCCESS; in e1000_check_for_rst_pf()
638 return ret_val; in e1000_check_for_rst_pf()
650 s32 ret_val = -E1000_ERR_MBX; in e1000_obtain_mbx_lock_pf() local
664 ret_val = E1000_SUCCESS; in e1000_obtain_mbx_lock_pf()
670 return ret_val; in e1000_obtain_mbx_lock_pf()
686 s32 ret_val; in e1000_write_mbx_pf() local
692 ret_val = e1000_obtain_mbx_lock_pf(hw, vf_number); in e1000_write_mbx_pf()
693 if (ret_val) in e1000_write_mbx_pf()
711 return ret_val; in e1000_write_mbx_pf()
729 s32 ret_val; in e1000_read_mbx_pf() local
735 ret_val = e1000_obtain_mbx_lock_pf(hw, vf_number); in e1000_read_mbx_pf()
736 if (ret_val) in e1000_read_mbx_pf()
750 return ret_val; in e1000_read_mbx_pf()