Home
last modified time | relevance | path

Searched refs:mbx_id (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/dev/ixgbe/
H A Dixgbe_mbx.c38 static s32 ixgbe_poll_for_msg(struct ixgbe_hw *hw, u16 mbx_id);
39 static s32 ixgbe_poll_for_ack(struct ixgbe_hw *hw, u16 mbx_id);
50 s32 ixgbe_read_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id) in ixgbe_read_mbx() argument
64 if (mbx->ops[mbx_id].read) in ixgbe_read_mbx()
65 return mbx->ops[mbx_id].read(hw, msg, size, mbx_id); in ixgbe_read_mbx()
79 s32 ixgbe_poll_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id) in ixgbe_poll_mbx() argument
86 if (!mbx->ops[mbx_id].read || !mbx->ops[mbx_id].check_for_msg || in ixgbe_poll_mbx()
98 ret_val = ixgbe_poll_for_msg(hw, mbx_id); in ixgbe_poll_mbx()
101 return mbx->ops[mbx_id].read(hw, msg, size, mbx_id); in ixgbe_poll_mbx()
116 s32 ixgbe_write_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id) in ixgbe_write_mbx() argument
[all …]
H A Dixgbe_mbx.h42 void (*release)(struct ixgbe_hw *hw, u16 mbx_id);
43 s32 (*read)(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id);
44 s32 (*write)(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id);
192 s32 ixgbe_read_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id);
193 s32 ixgbe_poll_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id);
194 s32 ixgbe_write_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id);
195 s32 ixgbe_check_for_msg(struct ixgbe_hw *hw, u16 mbx_id);
196 s32 ixgbe_check_for_ack(struct ixgbe_hw *hw, u16 mbx_id);
197 s32 ixgbe_check_for_rst(struct ixgbe_hw *hw, u16 mbx_id);
/freebsd/sys/dev/e1000/
H A De1000_mbx.c43 u16 E1000_UNUSEDARG mbx_id) in e1000_null_mbx_check_for_flag() argument
60 u16 E1000_UNUSEDARG mbx_id) in e1000_null_mbx_transact() argument
76 s32 e1000_read_mbx(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id) in e1000_read_mbx() argument
88 ret_val = mbx->ops.read(hw, msg, size, mbx_id); in e1000_read_mbx()
102 s32 e1000_write_mbx(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id) in e1000_write_mbx() argument
113 ret_val = mbx->ops.write(hw, msg, size, mbx_id); in e1000_write_mbx()
125 s32 e1000_check_for_msg(struct e1000_hw *hw, u16 mbx_id) in e1000_check_for_msg() argument
133 ret_val = mbx->ops.check_for_msg(hw, mbx_id); in e1000_check_for_msg()
145 s32 e1000_check_for_ack(struct e1000_hw *hw, u16 mbx_id) in e1000_check_for_ack() argument
153 ret_val = mbx->ops.check_for_ack(hw, mbx_id); in e1000_check_for_ack()
[all …]