Searched refs:swfw_sync (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.6/drivers/net/ethernet/intel/igc/ |
D | igc_i225.c | 115 u32 swfw_sync; in igc_acquire_swfw_sync_i225() local 123 swfw_sync = rd32(IGC_SW_FW_SYNC); in igc_acquire_swfw_sync_i225() 124 if (!(swfw_sync & (fwmask | swmask))) in igc_acquire_swfw_sync_i225() 139 swfw_sync |= swmask; in igc_acquire_swfw_sync_i225() 140 wr32(IGC_SW_FW_SYNC, swfw_sync); in igc_acquire_swfw_sync_i225() 157 u32 swfw_sync; in igc_release_swfw_sync_i225() local 169 swfw_sync = rd32(IGC_SW_FW_SYNC); in igc_release_swfw_sync_i225() 170 swfw_sync &= ~mask; in igc_release_swfw_sync_i225() 171 wr32(IGC_SW_FW_SYNC, swfw_sync); in igc_release_swfw_sync_i225()
|
/Linux-v6.6/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_x540.c | 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() [all …]
|
/Linux-v6.6/drivers/net/ethernet/intel/igb/ |
D | e1000_i210.c | 119 u32 swfw_sync; in igb_acquire_swfw_sync_i210() local 131 swfw_sync = rd32(E1000_SW_FW_SYNC); in igb_acquire_swfw_sync_i210() 132 if (!(swfw_sync & (fwmask | swmask))) in igb_acquire_swfw_sync_i210() 147 swfw_sync |= swmask; in igb_acquire_swfw_sync_i210() 148 wr32(E1000_SW_FW_SYNC, swfw_sync); in igb_acquire_swfw_sync_i210() 165 u32 swfw_sync; in igb_release_swfw_sync_i210() local 170 swfw_sync = rd32(E1000_SW_FW_SYNC); in igb_release_swfw_sync_i210() 171 swfw_sync &= ~mask; in igb_release_swfw_sync_i210() 172 wr32(E1000_SW_FW_SYNC, swfw_sync); in igb_release_swfw_sync_i210()
|
D | e1000_82575.c | 1159 u32 swfw_sync; in igb_acquire_swfw_sync_82575() local 1171 swfw_sync = rd32(E1000_SW_FW_SYNC); in igb_acquire_swfw_sync_82575() 1172 if (!(swfw_sync & (fwmask | swmask))) in igb_acquire_swfw_sync_82575() 1189 swfw_sync |= swmask; in igb_acquire_swfw_sync_82575() 1190 wr32(E1000_SW_FW_SYNC, swfw_sync); in igb_acquire_swfw_sync_82575() 1208 u32 swfw_sync; in igb_release_swfw_sync_82575() local 1213 swfw_sync = rd32(E1000_SW_FW_SYNC); in igb_release_swfw_sync_82575() 1214 swfw_sync &= ~mask; in igb_release_swfw_sync_82575() 1215 wr32(E1000_SW_FW_SYNC, swfw_sync); in igb_release_swfw_sync_82575()
|
/Linux-v6.6/drivers/net/ethernet/intel/e1000e/ |
D | 80003es2lan.c | 275 u32 swfw_sync; in e1000_acquire_swfw_sync_80003es2lan() local 285 swfw_sync = er32(SW_FW_SYNC); in e1000_acquire_swfw_sync_80003es2lan() 286 if (!(swfw_sync & (fwmask | swmask))) in e1000_acquire_swfw_sync_80003es2lan() 302 swfw_sync |= swmask; in e1000_acquire_swfw_sync_80003es2lan() 303 ew32(SW_FW_SYNC, swfw_sync); in e1000_acquire_swfw_sync_80003es2lan() 320 u32 swfw_sync; in e1000_release_swfw_sync_80003es2lan() local 325 swfw_sync = er32(SW_FW_SYNC); in e1000_release_swfw_sync_80003es2lan() 326 swfw_sync &= ~mask; in e1000_release_swfw_sync_80003es2lan() 327 ew32(SW_FW_SYNC, swfw_sync); in e1000_release_swfw_sync_80003es2lan()
|