Lines Matching refs:mbx_id
16 s32 igb_read_mbx(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id, in igb_read_mbx() argument
27 ret_val = mbx->ops.read(hw, msg, size, mbx_id, unlock); in igb_read_mbx()
41 s32 igb_write_mbx(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id) in igb_write_mbx() argument
50 ret_val = mbx->ops.write(hw, msg, size, mbx_id); in igb_write_mbx()
62 s32 igb_check_for_msg(struct e1000_hw *hw, u16 mbx_id) in igb_check_for_msg() argument
68 ret_val = mbx->ops.check_for_msg(hw, mbx_id); in igb_check_for_msg()
80 s32 igb_check_for_ack(struct e1000_hw *hw, u16 mbx_id) in igb_check_for_ack() argument
86 ret_val = mbx->ops.check_for_ack(hw, mbx_id); in igb_check_for_ack()
98 s32 igb_check_for_rst(struct e1000_hw *hw, u16 mbx_id) in igb_check_for_rst() argument
104 ret_val = mbx->ops.check_for_rst(hw, mbx_id); in igb_check_for_rst()
116 s32 igb_unlock_mbx(struct e1000_hw *hw, u16 mbx_id) in igb_unlock_mbx() argument
122 ret_val = mbx->ops.unlock(hw, mbx_id); in igb_unlock_mbx()
134 static s32 igb_poll_for_msg(struct e1000_hw *hw, u16 mbx_id) in igb_poll_for_msg() argument
142 while (countdown && mbx->ops.check_for_msg(hw, mbx_id)) { in igb_poll_for_msg()
163 static s32 igb_poll_for_ack(struct e1000_hw *hw, u16 mbx_id) in igb_poll_for_ack() argument
171 while (countdown && mbx->ops.check_for_ack(hw, mbx_id)) { in igb_poll_for_ack()
196 u16 mbx_id) in igb_read_posted_mbx() argument
204 ret_val = igb_poll_for_msg(hw, mbx_id); in igb_read_posted_mbx()
207 ret_val = mbx->ops.read(hw, msg, size, mbx_id, true); in igb_read_posted_mbx()
223 u16 mbx_id) in igb_write_posted_mbx() argument
233 ret_val = mbx->ops.write(hw, msg, size, mbx_id); in igb_write_posted_mbx()
237 ret_val = igb_poll_for_ack(hw, mbx_id); in igb_write_posted_mbx()