Lines Matching refs:mbx_id
18 int ixgbe_read_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id) in ixgbe_read_mbx() argument
29 return mbx->ops->read(hw, msg, size, mbx_id); in ixgbe_read_mbx()
41 int ixgbe_write_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id) in ixgbe_write_mbx() argument
51 return mbx->ops->write(hw, msg, size, mbx_id); in ixgbe_write_mbx()
61 int ixgbe_check_for_msg(struct ixgbe_hw *hw, u16 mbx_id) in ixgbe_check_for_msg() argument
68 return mbx->ops->check_for_msg(hw, mbx_id); in ixgbe_check_for_msg()
78 int ixgbe_check_for_ack(struct ixgbe_hw *hw, u16 mbx_id) in ixgbe_check_for_ack() argument
85 return mbx->ops->check_for_ack(hw, mbx_id); in ixgbe_check_for_ack()
95 int ixgbe_check_for_rst(struct ixgbe_hw *hw, u16 mbx_id) in ixgbe_check_for_rst() argument
102 return mbx->ops->check_for_rst(hw, mbx_id); in ixgbe_check_for_rst()
112 static int ixgbe_poll_for_msg(struct ixgbe_hw *hw, u16 mbx_id) in ixgbe_poll_for_msg() argument
120 while (mbx->ops->check_for_msg(hw, mbx_id)) { in ixgbe_poll_for_msg()
137 static int ixgbe_poll_for_ack(struct ixgbe_hw *hw, u16 mbx_id) in ixgbe_poll_for_ack() argument
145 while (mbx->ops->check_for_ack(hw, mbx_id)) { in ixgbe_poll_for_ack()
166 u16 mbx_id) in ixgbe_read_posted_mbx() argument
174 ret_val = ixgbe_poll_for_msg(hw, mbx_id); in ixgbe_read_posted_mbx()
179 return mbx->ops->read(hw, msg, size, mbx_id); in ixgbe_read_posted_mbx()
193 u16 mbx_id) in ixgbe_write_posted_mbx() argument
203 ret_val = mbx->ops->write(hw, msg, size, mbx_id); in ixgbe_write_posted_mbx()
208 return ixgbe_poll_for_ack(hw, mbx_id); in ixgbe_write_posted_mbx()