Searched refs:swsm (Results 1 – 6 of 6) sorted by relevance
/titanic_41/usr/src/uts/common/io/ixgbe/ |
H A D | ixgbe_x540.c | 836 u32 swsm; in ixgbe_get_swfw_sync_semaphore() local 846 swsm = IXGBE_READ_REG(hw, IXGBE_SWSM); in ixgbe_get_swfw_sync_semaphore() 847 if (!(swsm & IXGBE_SWSM_SMBI)) { in ixgbe_get_swfw_sync_semaphore() 857 swsm = IXGBE_READ_REG(hw, IXGBE_SWFW_SYNC); in ixgbe_get_swfw_sync_semaphore() 858 if (!(swsm & IXGBE_SWFW_REGSMP)) in ixgbe_get_swfw_sync_semaphore() 890 u32 swsm; in ixgbe_release_swfw_sync_semaphore() local 896 swsm = IXGBE_READ_REG(hw, IXGBE_SWSM); in ixgbe_release_swfw_sync_semaphore() 897 swsm &= ~IXGBE_SWSM_SMBI; in ixgbe_release_swfw_sync_semaphore() 898 IXGBE_WRITE_REG(hw, IXGBE_SWSM, swsm); in ixgbe_release_swfw_sync_semaphore() 900 swsm = IXGBE_READ_REG(hw, IXGBE_SWFW_SYNC); in ixgbe_release_swfw_sync_semaphore() [all …]
|
H A D | ixgbe_common.c | 1511 u32 swsm; in ixgbe_get_eeprom_semaphore() local 1522 swsm = IXGBE_READ_REG(hw, IXGBE_SWSM); in ixgbe_get_eeprom_semaphore() 1523 if (!(swsm & IXGBE_SWSM_SMBI)) { in ixgbe_get_eeprom_semaphore() 1547 swsm = IXGBE_READ_REG(hw, IXGBE_SWSM); in ixgbe_get_eeprom_semaphore() 1548 if (!(swsm & IXGBE_SWSM_SMBI)) in ixgbe_get_eeprom_semaphore() 1555 swsm = IXGBE_READ_REG(hw, IXGBE_SWSM); in ixgbe_get_eeprom_semaphore() 1558 swsm |= IXGBE_SWSM_SWESMBI; in ixgbe_get_eeprom_semaphore() 1559 IXGBE_WRITE_REG(hw, IXGBE_SWSM, swsm); in ixgbe_get_eeprom_semaphore() 1565 swsm = IXGBE_READ_REG(hw, IXGBE_SWSM); in ixgbe_get_eeprom_semaphore() 1566 if (swsm & IXGBE_SWSM_SWESMBI) in ixgbe_get_eeprom_semaphore() [all …]
|
/titanic_41/usr/src/uts/common/io/e1000api/ |
H A D | e1000_i210.c | 164 u32 swsm; in e1000_get_hw_semaphore_i210() local 172 swsm = E1000_READ_REG(hw, E1000_SWSM); in e1000_get_hw_semaphore_i210() 173 if (!(swsm & E1000_SWSM_SMBI)) in e1000_get_hw_semaphore_i210() 188 swsm = E1000_READ_REG(hw, E1000_SWSM); in e1000_get_hw_semaphore_i210() 189 if (!(swsm & E1000_SWSM_SMBI)) in e1000_get_hw_semaphore_i210() 205 swsm = E1000_READ_REG(hw, E1000_SWSM); in e1000_get_hw_semaphore_i210() 206 E1000_WRITE_REG(hw, E1000_SWSM, swsm | E1000_SWSM_SWESMBI); in e1000_get_hw_semaphore_i210()
|
H A D | e1000_82571.c | 289 u32 swsm = 0; in e1000_init_mac_params_82571() local 425 swsm = E1000_READ_REG(hw, E1000_SWSM); in e1000_init_mac_params_82571() 426 if (swsm & E1000_SWSM_SMBI) { in e1000_init_mac_params_82571() 433 E1000_WRITE_REG(hw, E1000_SWSM, swsm & ~E1000_SWSM_SMBI); in e1000_init_mac_params_82571() 516 u32 swsm; in e1000_get_hw_semaphore_82571() local 535 swsm = E1000_READ_REG(hw, E1000_SWSM); in e1000_get_hw_semaphore_82571() 536 if (!(swsm & E1000_SWSM_SMBI)) in e1000_get_hw_semaphore_82571() 549 swsm = E1000_READ_REG(hw, E1000_SWSM); in e1000_get_hw_semaphore_82571() 550 E1000_WRITE_REG(hw, E1000_SWSM, swsm | E1000_SWSM_SWESMBI); in e1000_get_hw_semaphore_82571() 577 u32 swsm; in e1000_put_hw_semaphore_82571() local [all …]
|
H A D | e1000_mac.c | 1717 u32 swsm; in e1000_get_hw_semaphore_generic() local 1725 swsm = E1000_READ_REG(hw, E1000_SWSM); in e1000_get_hw_semaphore_generic() 1726 if (!(swsm & E1000_SWSM_SMBI)) in e1000_get_hw_semaphore_generic() 1740 swsm = E1000_READ_REG(hw, E1000_SWSM); in e1000_get_hw_semaphore_generic() 1741 E1000_WRITE_REG(hw, E1000_SWSM, swsm | E1000_SWSM_SWESMBI); in e1000_get_hw_semaphore_generic() 1768 u32 swsm; in e1000_put_hw_semaphore_generic() local 1772 swsm = E1000_READ_REG(hw, E1000_SWSM); in e1000_put_hw_semaphore_generic() 1774 swsm &= ~(E1000_SWSM_SMBI | E1000_SWSM_SWESMBI); in e1000_put_hw_semaphore_generic() 1776 E1000_WRITE_REG(hw, E1000_SWSM, swsm); in e1000_put_hw_semaphore_generic()
|
/titanic_41/usr/src/uts/common/io/e1000g/ |
H A D | e1000g_main.c | 6442 uint32_t swsm; in e1000g_get_driver_control() local 6447 swsm = E1000_READ_REG(hw, E1000_SWSM); in e1000g_get_driver_control() 6448 E1000_WRITE_REG(hw, E1000_SWSM, swsm | E1000_SWSM_DRV_LOAD); in e1000g_get_driver_control() 6477 uint32_t swsm; in e1000g_release_driver_control() local 6482 swsm = E1000_READ_REG(hw, E1000_SWSM); in e1000g_release_driver_control() 6483 E1000_WRITE_REG(hw, E1000_SWSM, swsm & ~E1000_SWSM_DRV_LOAD); in e1000g_release_driver_control()
|