Home
last modified time | relevance | path

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

/freebsd/sys/dev/ixgbe/
H A Dixgbe_mbx.c859 u32 pf_mailbox; in ixgbe_obtain_mbx_lock_pf() local
868 pf_mailbox = IXGBE_READ_REG(hw, IXGBE_PFMAILBOX(vf_id)); in ixgbe_obtain_mbx_lock_pf()
869 pf_mailbox |= IXGBE_PFMAILBOX_PFU; in ixgbe_obtain_mbx_lock_pf()
870 IXGBE_WRITE_REG(hw, IXGBE_PFMAILBOX(vf_id), pf_mailbox); in ixgbe_obtain_mbx_lock_pf()
873 pf_mailbox = IXGBE_READ_REG(hw, IXGBE_PFMAILBOX(vf_id)); in ixgbe_obtain_mbx_lock_pf()
874 if (pf_mailbox & IXGBE_PFMAILBOX_PFU) { in ixgbe_obtain_mbx_lock_pf()
899 u32 pf_mailbox; in ixgbe_release_mbx_lock_pf() local
904 pf_mailbox = IXGBE_READ_REG(hw, IXGBE_PFMAILBOX(vf_id)); in ixgbe_release_mbx_lock_pf()
905 pf_mailbox &= ~IXGBE_PFMAILBOX_PFU; in ixgbe_release_mbx_lock_pf()
906 IXGBE_WRITE_REG(hw, IXGBE_PFMAILBOX(vf_id), pf_mailbox); in ixgbe_release_mbx_lock_pf()
[all …]