Lines Matching refs:swfw_sync
513 u32 swfw_sync; in ixgbe_acquire_swfw_sync_X540() local
531 swfw_sync = IXGBE_READ_REG(hw, IXGBE_SWFW_SYNC); in ixgbe_acquire_swfw_sync_X540()
532 if (!(swfw_sync & (fwmask | swmask | hwmask))) { in ixgbe_acquire_swfw_sync_X540()
533 swfw_sync |= swmask; in ixgbe_acquire_swfw_sync_X540()
534 IXGBE_WRITE_REG(hw, IXGBE_SWFW_SYNC, swfw_sync); in ixgbe_acquire_swfw_sync_X540()
556 swfw_sync = IXGBE_READ_REG(hw, IXGBE_SWFW_SYNC); in ixgbe_acquire_swfw_sync_X540()
557 if (swfw_sync & (fwmask | hwmask)) { in ixgbe_acquire_swfw_sync_X540()
561 swfw_sync |= swmask; in ixgbe_acquire_swfw_sync_X540()
562 IXGBE_WRITE_REG(hw, IXGBE_SWFW_SYNC, swfw_sync); in ixgbe_acquire_swfw_sync_X540()
581 u32 swfw_sync; in ixgbe_release_swfw_sync_X540() local
586 swfw_sync = IXGBE_READ_REG(hw, IXGBE_SWFW_SYNC); in ixgbe_release_swfw_sync_X540()
587 swfw_sync &= ~swmask; in ixgbe_release_swfw_sync_X540()
588 IXGBE_WRITE_REG(hw, IXGBE_SWFW_SYNC, swfw_sync); in ixgbe_release_swfw_sync_X540()