Home
last modified time | relevance | path

Searched refs:swsm (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/drivers/net/e1000/
De1000_hw.c8092 uint32_t swsm; in e1000_get_hw_eeprom_semaphore() local
8108 swsm = E1000_READ_REG(hw, SWSM); in e1000_get_hw_eeprom_semaphore()
8109 swsm |= E1000_SWSM_SWESMBI; in e1000_get_hw_eeprom_semaphore()
8110 E1000_WRITE_REG(hw, SWSM, swsm); in e1000_get_hw_eeprom_semaphore()
8112 swsm = E1000_READ_REG(hw, SWSM); in e1000_get_hw_eeprom_semaphore()
8113 if (swsm & E1000_SWSM_SWESMBI) in e1000_get_hw_eeprom_semaphore()
8141 uint32_t swsm; in e1000_put_hw_eeprom_semaphore() local
8148 swsm = E1000_READ_REG(hw, SWSM); in e1000_put_hw_eeprom_semaphore()
8151 swsm &= ~(E1000_SWSM_SMBI | E1000_SWSM_SWESMBI); in e1000_put_hw_eeprom_semaphore()
8153 swsm &= ~(E1000_SWSM_SWESMBI); in e1000_put_hw_eeprom_semaphore()
[all …]
De1000_main.c404 uint32_t swsm; in e1000_release_hw_control() local
417 swsm = E1000_READ_REG(&adapter->hw, SWSM); in e1000_release_hw_control()
419 swsm & ~E1000_SWSM_DRV_LOAD); in e1000_release_hw_control()
445 uint32_t swsm; in e1000_get_hw_control() local
458 swsm = E1000_READ_REG(&adapter->hw, SWSM); in e1000_get_hw_control()
460 swsm | E1000_SWSM_DRV_LOAD); in e1000_get_hw_control()