Searched refs:swfw_sync (Results 1 – 5 of 5) sorted by relevance
/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_x540.c | 596 u32 swfw_sync; in ixgbe_acquire_swfw_sync_X540() local 614 swfw_sync = IXGBE_READ_REG(hw, IXGBE_SWFW_SYNC); in ixgbe_acquire_swfw_sync_X540() 615 if (!(swfw_sync & (fwmask | swmask | hwmask))) { in ixgbe_acquire_swfw_sync_X540() 616 swfw_sync |= swmask; in ixgbe_acquire_swfw_sync_X540() 617 IXGBE_WRITE_REG(hw, IXGBE_SWFW_SYNC, swfw_sync); in ixgbe_acquire_swfw_sync_X540() 639 swfw_sync = IXGBE_READ_REG(hw, IXGBE_SWFW_SYNC); in ixgbe_acquire_swfw_sync_X540() 640 if (swfw_sync & (fwmask | hwmask)) { in ixgbe_acquire_swfw_sync_X540() 644 swfw_sync |= swmask; in ixgbe_acquire_swfw_sync_X540() 645 IXGBE_WRITE_REG(hw, IXGBE_SWFW_SYNC, swfw_sync); in ixgbe_acquire_swfw_sync_X540() 664 u32 swfw_sync; in ixgbe_release_swfw_sync_X540() local [all …]
|
/drivers/net/ethernet/intel/igb/ |
D | e1000_i210.c | 141 u32 swfw_sync; in igb_acquire_swfw_sync_i210() local 153 swfw_sync = rd32(E1000_SW_FW_SYNC); in igb_acquire_swfw_sync_i210() 154 if (!(swfw_sync & (fwmask | swmask))) in igb_acquire_swfw_sync_i210() 169 swfw_sync |= swmask; in igb_acquire_swfw_sync_i210() 170 wr32(E1000_SW_FW_SYNC, swfw_sync); in igb_acquire_swfw_sync_i210() 187 u32 swfw_sync; in igb_release_swfw_sync_i210() local 192 swfw_sync = rd32(E1000_SW_FW_SYNC); in igb_release_swfw_sync_i210() 193 swfw_sync &= ~mask; in igb_release_swfw_sync_i210() 194 wr32(E1000_SW_FW_SYNC, swfw_sync); in igb_release_swfw_sync_i210()
|
D | e1000_82575.c | 954 u32 swfw_sync; in igb_acquire_swfw_sync_82575() local 966 swfw_sync = rd32(E1000_SW_FW_SYNC); in igb_acquire_swfw_sync_82575() 967 if (!(swfw_sync & (fwmask | swmask))) in igb_acquire_swfw_sync_82575() 984 swfw_sync |= swmask; in igb_acquire_swfw_sync_82575() 985 wr32(E1000_SW_FW_SYNC, swfw_sync); in igb_acquire_swfw_sync_82575() 1003 u32 swfw_sync; in igb_release_swfw_sync_82575() local 1008 swfw_sync = rd32(E1000_SW_FW_SYNC); in igb_release_swfw_sync_82575() 1009 swfw_sync &= ~mask; in igb_release_swfw_sync_82575() 1010 wr32(E1000_SW_FW_SYNC, swfw_sync); in igb_release_swfw_sync_82575()
|
/drivers/net/ethernet/intel/e1000e/ |
D | 80003es2lan.c | 300 u32 swfw_sync; in e1000_acquire_swfw_sync_80003es2lan() local 310 swfw_sync = er32(SW_FW_SYNC); in e1000_acquire_swfw_sync_80003es2lan() 311 if (!(swfw_sync & (fwmask | swmask))) in e1000_acquire_swfw_sync_80003es2lan() 327 swfw_sync |= swmask; in e1000_acquire_swfw_sync_80003es2lan() 328 ew32(SW_FW_SYNC, swfw_sync); in e1000_acquire_swfw_sync_80003es2lan() 345 u32 swfw_sync; in e1000_release_swfw_sync_80003es2lan() local 350 swfw_sync = er32(SW_FW_SYNC); in e1000_release_swfw_sync_80003es2lan() 351 swfw_sync &= ~mask; in e1000_release_swfw_sync_80003es2lan() 352 ew32(SW_FW_SYNC, swfw_sync); in e1000_release_swfw_sync_80003es2lan()
|
/drivers/staging/silicom/ |
D | bpctl_mod.c | 2152 u32 swfw_sync; in bp75_release_phy() local 2160 swfw_sync = BPCTL_READ_REG(pbpctl_dev, SW_FW_SYNC); in bp75_release_phy() 2161 swfw_sync &= ~mask; in bp75_release_phy() 2162 BPCTL_WRITE_REG(pbpctl_dev, SW_FW_SYNC, swfw_sync); in bp75_release_phy() 2170 u32 swfw_sync; in bp75_acquire_phy() local 2188 swfw_sync = BPCTL_READ_REG(pbpctl_dev, SW_FW_SYNC); in bp75_acquire_phy() 2189 if (!(swfw_sync & (fwmask | swmask))) in bp75_acquire_phy() 2204 swfw_sync |= swmask; in bp75_acquire_phy() 2205 BPCTL_WRITE_REG(pbpctl_dev, SW_FW_SYNC, swfw_sync); in bp75_acquire_phy()
|