Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/intel/igc/
Digc_i225.c115 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-6.6.21/drivers/net/ethernet/intel/ixgbe/
Dixgbe_x540.c561 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-6.6.21/drivers/net/ethernet/intel/igb/
De1000_i210.c119 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()
De1000_82575.c1159 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-6.6.21/drivers/net/ethernet/intel/e1000e/
D80003es2lan.c275 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()