Lines Matching refs:ret_val

38 	s32 ret_val = -E1000_ERR_MBX;  in igb_read_mbx()  local
45 ret_val = mbx->ops.read(hw, msg, size, mbx_id); in igb_read_mbx()
47 return ret_val; in igb_read_mbx()
62 s32 ret_val = 0; in igb_write_mbx() local
65 ret_val = -E1000_ERR_MBX; in igb_write_mbx()
68 ret_val = mbx->ops.write(hw, msg, size, mbx_id); in igb_write_mbx()
70 return ret_val; in igb_write_mbx()
83 s32 ret_val = -E1000_ERR_MBX; in igb_check_for_msg() local
86 ret_val = mbx->ops.check_for_msg(hw, mbx_id); in igb_check_for_msg()
88 return ret_val; in igb_check_for_msg()
101 s32 ret_val = -E1000_ERR_MBX; in igb_check_for_ack() local
104 ret_val = mbx->ops.check_for_ack(hw, mbx_id); in igb_check_for_ack()
106 return ret_val; in igb_check_for_ack()
119 s32 ret_val = -E1000_ERR_MBX; in igb_check_for_rst() local
122 ret_val = mbx->ops.check_for_rst(hw, mbx_id); in igb_check_for_rst()
124 return ret_val; in igb_check_for_rst()
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); 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
332 ret_val = 0; in igb_obtain_mbx_lock_pf()
334 return ret_val; in igb_obtain_mbx_lock_pf()
349 s32 ret_val; in igb_write_mbx_pf() local
353 ret_val = igb_obtain_mbx_lock_pf(hw, vf_number); in igb_write_mbx_pf()
354 if (ret_val) in igb_write_mbx_pf()
372 return ret_val; in igb_write_mbx_pf()
390 s32 ret_val; in igb_read_mbx_pf() local
394 ret_val = igb_obtain_mbx_lock_pf(hw, vf_number); in igb_read_mbx_pf()
395 if (ret_val) in igb_read_mbx_pf()
409 return ret_val; in igb_read_mbx_pf()