Lines Matching refs:vf_mailbox
60 u32 vf_mailbox = IXGBE_READ_REG(hw, IXGBE_VFMAILBOX); in ixgbevf_read_mailbox_vf() local
62 vf_mailbox |= hw->mbx.vf_mailbox; in ixgbevf_read_mailbox_vf()
63 hw->mbx.vf_mailbox |= vf_mailbox & IXGBE_VFMAILBOX_R2C_BITS; in ixgbevf_read_mailbox_vf()
65 return vf_mailbox; in ixgbevf_read_mailbox_vf()
76 u32 vf_mailbox = ixgbevf_read_mailbox_vf(hw); in ixgbevf_clear_msg_vf() local
78 if (vf_mailbox & IXGBE_VFMAILBOX_PFSTS) { in ixgbevf_clear_msg_vf()
80 hw->mbx.vf_mailbox &= ~IXGBE_VFMAILBOX_PFSTS; in ixgbevf_clear_msg_vf()
92 u32 vf_mailbox = ixgbevf_read_mailbox_vf(hw); in ixgbevf_clear_ack_vf() local
94 if (vf_mailbox & IXGBE_VFMAILBOX_PFACK) { in ixgbevf_clear_ack_vf()
96 hw->mbx.vf_mailbox &= ~IXGBE_VFMAILBOX_PFACK; in ixgbevf_clear_ack_vf()
109 u32 vf_mailbox = ixgbevf_read_mailbox_vf(hw); in ixgbevf_clear_rst_vf() local
111 if (vf_mailbox & (IXGBE_VFMAILBOX_RSTI | IXGBE_VFMAILBOX_RSTD)) { in ixgbevf_clear_rst_vf()
113 hw->mbx.vf_mailbox &= ~(IXGBE_VFMAILBOX_RSTI | in ixgbevf_clear_rst_vf()
128 u32 vf_mailbox = ixgbevf_read_mailbox_vf(hw); in ixgbevf_check_for_bit_vf() local
131 if (vf_mailbox & mask) in ixgbevf_check_for_bit_vf()
205 u32 vf_mailbox; in ixgbevf_obtain_mbx_lock_vf() local
212 vf_mailbox = ixgbevf_read_mailbox_vf(hw); in ixgbevf_obtain_mbx_lock_vf()
213 vf_mailbox |= IXGBE_VFMAILBOX_VFU; in ixgbevf_obtain_mbx_lock_vf()
214 IXGBE_WRITE_REG(hw, IXGBE_VFMAILBOX, vf_mailbox); in ixgbevf_obtain_mbx_lock_vf()
238 u32 vf_mailbox; in ixgbevf_release_mbx_lock_vf() local
241 vf_mailbox = ixgbevf_read_mailbox_vf(hw); in ixgbevf_release_mbx_lock_vf()
242 vf_mailbox &= ~IXGBE_VFMAILBOX_VFU; in ixgbevf_release_mbx_lock_vf()
243 IXGBE_WRITE_REG(hw, IXGBE_VFMAILBOX, vf_mailbox); in ixgbevf_release_mbx_lock_vf()
264 u32 vf_mailbox; in ixgbevf_write_mbx_vf() local
285 vf_mailbox = ixgbevf_read_mailbox_vf(hw); in ixgbevf_write_mbx_vf()
286 vf_mailbox |= IXGBE_VFMAILBOX_REQ; in ixgbevf_write_mbx_vf()
287 IXGBE_WRITE_REG(hw, IXGBE_VFMAILBOX, vf_mailbox); in ixgbevf_write_mbx_vf()
346 u32 vf_mailbox; in ixgbevf_read_mbx_vf() local
362 vf_mailbox = ixgbevf_read_mailbox_vf(hw); in ixgbevf_read_mbx_vf()
363 vf_mailbox |= IXGBE_VFMAILBOX_ACK; in ixgbevf_read_mbx_vf()
364 IXGBE_WRITE_REG(hw, IXGBE_VFMAILBOX, vf_mailbox); in ixgbevf_read_mbx_vf()