Lines Matching refs:ret_val

20 	s32 ret_val = -E1000_ERR_MBX;  in igb_read_mbx()  local
27 ret_val = mbx->ops.read(hw, msg, size, mbx_id, unlock); in igb_read_mbx()
29 return ret_val; in igb_read_mbx()
44 s32 ret_val = 0; in igb_write_mbx() local
47 ret_val = -E1000_ERR_MBX; in igb_write_mbx()
50 ret_val = mbx->ops.write(hw, msg, size, mbx_id); in igb_write_mbx()
52 return ret_val; in igb_write_mbx()
65 s32 ret_val = -E1000_ERR_MBX; in igb_check_for_msg() local
68 ret_val = mbx->ops.check_for_msg(hw, mbx_id); in igb_check_for_msg()
70 return ret_val; in igb_check_for_msg()
83 s32 ret_val = -E1000_ERR_MBX; in igb_check_for_ack() local
86 ret_val = mbx->ops.check_for_ack(hw, mbx_id); in igb_check_for_ack()
88 return ret_val; in igb_check_for_ack()
101 s32 ret_val = -E1000_ERR_MBX; in igb_check_for_rst() local
104 ret_val = mbx->ops.check_for_rst(hw, mbx_id); in igb_check_for_rst()
106 return ret_val; in igb_check_for_rst()
119 s32 ret_val = -E1000_ERR_MBX; in igb_unlock_mbx() local
122 ret_val = mbx->ops.unlock(hw, mbx_id); in igb_unlock_mbx()
124 return ret_val; in igb_unlock_mbx()
199 s32 ret_val = -E1000_ERR_MBX; in igb_read_posted_mbx() local
204 ret_val = igb_poll_for_msg(hw, mbx_id); in igb_read_posted_mbx()
206 if (!ret_val) in igb_read_posted_mbx()
207 ret_val = mbx->ops.read(hw, msg, size, mbx_id, true); in igb_read_posted_mbx()
209 return ret_val; in igb_read_posted_mbx()
226 s32 ret_val = -E1000_ERR_MBX; in igb_write_posted_mbx() local
233 ret_val = mbx->ops.write(hw, msg, size, mbx_id); in igb_write_posted_mbx()
236 if (!ret_val) in igb_write_posted_mbx()
237 ret_val = igb_poll_for_ack(hw, mbx_id); in igb_write_posted_mbx()
239 return ret_val; in igb_write_posted_mbx()
245 s32 ret_val = -E1000_ERR_MBX; in igb_check_for_bit_pf() local
248 ret_val = 0; in igb_check_for_bit_pf()
252 return ret_val; in igb_check_for_bit_pf()
264 s32 ret_val = -E1000_ERR_MBX; in igb_check_for_msg_pf() local
267 ret_val = 0; in igb_check_for_msg_pf()
271 return ret_val; in igb_check_for_msg_pf()
283 s32 ret_val = -E1000_ERR_MBX; in igb_check_for_ack_pf() local
286 ret_val = 0; in igb_check_for_ack_pf()
290 return ret_val; in igb_check_for_ack_pf()
303 s32 ret_val = -E1000_ERR_MBX; in igb_check_for_rst_pf() local
306 ret_val = 0; in igb_check_for_rst_pf()
311 return ret_val; in igb_check_for_rst_pf()
323 s32 ret_val = -E1000_ERR_MBX; in igb_obtain_mbx_lock_pf() local
334 ret_val = 0; in igb_obtain_mbx_lock_pf()
340 return ret_val; in igb_obtain_mbx_lock_pf()
375 s32 ret_val; in igb_write_mbx_pf() local
379 ret_val = igb_obtain_mbx_lock_pf(hw, vf_number); in igb_write_mbx_pf()
380 if (ret_val) in igb_write_mbx_pf()
398 return ret_val; in igb_write_mbx_pf()
417 s32 ret_val; in igb_read_mbx_pf() local
421 ret_val = igb_obtain_mbx_lock_pf(hw, vf_number); in igb_read_mbx_pf()
422 if (ret_val) in igb_read_mbx_pf()
440 return ret_val; in igb_read_mbx_pf()