/src/sys/dev/pci/ixgbe/ |
ixgbe_x540.c | 784 u32 swfw_sync; local in function:ixgbe_acquire_swfw_sync_X540 810 swfw_sync = IXGBE_READ_REG(hw, IXGBE_SWFW_SYNC_BY_MAC(hw)); 811 if (!(swfw_sync & (fwmask | swmask | hwmask))) { 812 swfw_sync |= swmask; 814 swfw_sync); 835 swfw_sync = IXGBE_READ_REG(hw, IXGBE_SWFW_SYNC_BY_MAC(hw)); 836 if (swfw_sync & (fwmask | hwmask)) { 837 swfw_sync |= swmask; 838 IXGBE_WRITE_REG(hw, IXGBE_SWFW_SYNC_BY_MAC(hw), swfw_sync); 848 if (swfw_sync & swmask) 877 u32 swfw_sync; local in function:ixgbe_release_swfw_sync_X540 [all...] |
/src/sys/dev/pci/igc/ |
igc_i225.c | 276 uint32_t swfw_sync; local in function:igc_acquire_swfw_sync_i225 290 swfw_sync = IGC_READ_REG(hw, IGC_SW_FW_SYNC); 291 if (!(swfw_sync & (fwmask | swmask))) 308 swfw_sync |= swmask; 309 IGC_WRITE_REG(hw, IGC_SW_FW_SYNC, swfw_sync); 327 uint32_t swfw_sync; local in function:igc_release_swfw_sync_i225 334 swfw_sync = IGC_READ_REG(hw, IGC_SW_FW_SYNC); 335 swfw_sync &= ~mask; 336 IGC_WRITE_REG(hw, IGC_SW_FW_SYNC, swfw_sync);
|
/src/sys/dev/pci/ |
if_wm.c | 15612 uint32_t swfw_sync; local in function:wm_get_swfw_semaphore 15632 swfw_sync = CSR_READ(sc, WMREG_SW_FW_SYNC); 15633 if ((swfw_sync & (swmask | fwmask)) == 0) { 15634 swfw_sync |= swmask; 15635 CSR_WRITE(sc, WMREG_SW_FW_SYNC, swfw_sync); 15645 mask, swfw_sync); 15652 uint32_t swfw_sync; local in function:wm_put_swfw_semaphore 15660 swfw_sync = CSR_READ(sc, WMREG_SW_FW_SYNC); 15661 swfw_sync &= ~(mask << SWFW_SOFT_SHIFT); 15662 CSR_WRITE(sc, WMREG_SW_FW_SYNC, swfw_sync); [all...] |