Lines Matching refs:swfw_sync
561 u32 swfw_sync; in ixgbe_acquire_swfw_sync_X540() local
580 swfw_sync = IXGBE_READ_REG(hw, IXGBE_SWFW_SYNC(hw)); in ixgbe_acquire_swfw_sync_X540()
581 if (!(swfw_sync & (fwmask | swmask | hwmask))) { in ixgbe_acquire_swfw_sync_X540()
582 swfw_sync |= swmask; in ixgbe_acquire_swfw_sync_X540()
583 IXGBE_WRITE_REG(hw, IXGBE_SWFW_SYNC(hw), swfw_sync); in ixgbe_acquire_swfw_sync_X540()
603 swfw_sync = IXGBE_READ_REG(hw, IXGBE_SWFW_SYNC(hw)); in ixgbe_acquire_swfw_sync_X540()
604 if (swfw_sync & (fwmask | hwmask)) { in ixgbe_acquire_swfw_sync_X540()
605 swfw_sync |= swmask; in ixgbe_acquire_swfw_sync_X540()
606 IXGBE_WRITE_REG(hw, IXGBE_SWFW_SYNC(hw), swfw_sync); in ixgbe_acquire_swfw_sync_X540()
616 if (swfw_sync & swmask) { in ixgbe_acquire_swfw_sync_X540()
643 u32 swfw_sync; in ixgbe_release_swfw_sync_X540() local
649 swfw_sync = IXGBE_READ_REG(hw, IXGBE_SWFW_SYNC(hw)); in ixgbe_release_swfw_sync_X540()
650 swfw_sync &= ~swmask; in ixgbe_release_swfw_sync_X540()
651 IXGBE_WRITE_REG(hw, IXGBE_SWFW_SYNC(hw), swfw_sync); in ixgbe_release_swfw_sync_X540()