Searched refs:swfw_sync (Results 1 – 3 of 3) sorted by relevance
/linux-2.6.39/drivers/net/ixgbe/ |
D | ixgbe_x540.c | 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 [all …]
|
/linux-2.6.39/drivers/net/e1000e/ |
D | es2lan.c | 381 u32 swfw_sync; in e1000_acquire_swfw_sync_80003es2lan() local 391 swfw_sync = er32(SW_FW_SYNC); in e1000_acquire_swfw_sync_80003es2lan() 392 if (!(swfw_sync & (fwmask | swmask))) in e1000_acquire_swfw_sync_80003es2lan() 409 swfw_sync |= swmask; in e1000_acquire_swfw_sync_80003es2lan() 410 ew32(SW_FW_SYNC, swfw_sync); in e1000_acquire_swfw_sync_80003es2lan() 427 u32 swfw_sync; in e1000_release_swfw_sync_80003es2lan() local 432 swfw_sync = er32(SW_FW_SYNC); in e1000_release_swfw_sync_80003es2lan() 433 swfw_sync &= ~mask; in e1000_release_swfw_sync_80003es2lan() 434 ew32(SW_FW_SYNC, swfw_sync); in e1000_release_swfw_sync_80003es2lan()
|
/linux-2.6.39/drivers/net/igb/ |
D | e1000_82575.c | 720 u32 swfw_sync; in igb_acquire_swfw_sync_82575() local 732 swfw_sync = rd32(E1000_SW_FW_SYNC); in igb_acquire_swfw_sync_82575() 733 if (!(swfw_sync & (fwmask | swmask))) in igb_acquire_swfw_sync_82575() 751 swfw_sync |= swmask; in igb_acquire_swfw_sync_82575() 752 wr32(E1000_SW_FW_SYNC, swfw_sync); in igb_acquire_swfw_sync_82575() 770 u32 swfw_sync; in igb_release_swfw_sync_82575() local 775 swfw_sync = rd32(E1000_SW_FW_SYNC); in igb_release_swfw_sync_82575() 776 swfw_sync &= ~mask; in igb_release_swfw_sync_82575() 777 wr32(E1000_SW_FW_SYNC, swfw_sync); in igb_release_swfw_sync_82575()
|