Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/intel/igc/
Digc_i225.c116 u32 swfw_sync; in igc_acquire_swfw_sync_i225() local
124 swfw_sync = rd32(IGC_SW_FW_SYNC); in igc_acquire_swfw_sync_i225()
125 if (!(swfw_sync & (fwmask | swmask))) in igc_acquire_swfw_sync_i225()
140 swfw_sync |= swmask; in igc_acquire_swfw_sync_i225()
141 wr32(IGC_SW_FW_SYNC, swfw_sync); in igc_acquire_swfw_sync_i225()
158 u32 swfw_sync; in igc_release_swfw_sync_i225() local
170 swfw_sync = rd32(IGC_SW_FW_SYNC); in igc_release_swfw_sync_i225()
171 swfw_sync &= ~mask; in igc_release_swfw_sync_i225()
172 wr32(IGC_SW_FW_SYNC, swfw_sync); in igc_release_swfw_sync_i225()
/linux-6.12.1/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.12.1/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.c1157 u32 swfw_sync; in igb_acquire_swfw_sync_82575() local
1169 swfw_sync = rd32(E1000_SW_FW_SYNC); in igb_acquire_swfw_sync_82575()
1170 if (!(swfw_sync & (fwmask | swmask))) in igb_acquire_swfw_sync_82575()
1187 swfw_sync |= swmask; in igb_acquire_swfw_sync_82575()
1188 wr32(E1000_SW_FW_SYNC, swfw_sync); in igb_acquire_swfw_sync_82575()
1206 u32 swfw_sync; in igb_release_swfw_sync_82575() local
1211 swfw_sync = rd32(E1000_SW_FW_SYNC); in igb_release_swfw_sync_82575()
1212 swfw_sync &= ~mask; in igb_release_swfw_sync_82575()
1213 wr32(E1000_SW_FW_SYNC, swfw_sync); in igb_release_swfw_sync_82575()
/linux-6.12.1/drivers/net/ethernet/intel/e1000e/
D80003es2lan.c274 u32 swfw_sync; in e1000_acquire_swfw_sync_80003es2lan() local
284 swfw_sync = er32(SW_FW_SYNC); in e1000_acquire_swfw_sync_80003es2lan()
285 if (!(swfw_sync & (fwmask | swmask))) in e1000_acquire_swfw_sync_80003es2lan()
301 swfw_sync |= swmask; in e1000_acquire_swfw_sync_80003es2lan()
302 ew32(SW_FW_SYNC, swfw_sync); in e1000_acquire_swfw_sync_80003es2lan()
319 u32 swfw_sync; in e1000_release_swfw_sync_80003es2lan() local
324 swfw_sync = er32(SW_FW_SYNC); in e1000_release_swfw_sync_80003es2lan()
325 swfw_sync &= ~mask; in e1000_release_swfw_sync_80003es2lan()
326 ew32(SW_FW_SYNC, swfw_sync); in e1000_release_swfw_sync_80003es2lan()