Searched refs:hw_lock_control_reg (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_main.c1719 u32 hw_lock_control_reg; bnx2x_trylock_hw_lock() local
1733 hw_lock_control_reg = (MISC_REG_DRIVER_CONTROL_1 + func*8); bnx2x_trylock_hw_lock()
1735 hw_lock_control_reg = bnx2x_trylock_hw_lock()
1739 REG_WR(bp, hw_lock_control_reg + 4, resource_bit); bnx2x_trylock_hw_lock()
1740 lock_status = REG_RD(bp, hw_lock_control_reg); bnx2x_trylock_hw_lock()
1986 u32 hw_lock_control_reg; bnx2x_acquire_hw_lock() local
1997 hw_lock_control_reg = (MISC_REG_DRIVER_CONTROL_1 + func*8); bnx2x_acquire_hw_lock()
1999 hw_lock_control_reg = bnx2x_acquire_hw_lock()
2004 lock_status = REG_RD(bp, hw_lock_control_reg); bnx2x_acquire_hw_lock()
2014 REG_WR(bp, hw_lock_control_reg + 4, resource_bit); bnx2x_acquire_hw_lock()
2015 lock_status = REG_RD(bp, hw_lock_control_reg); bnx2x_acquire_hw_lock()
2035 u32 hw_lock_control_reg; bnx2x_release_hw_lock() local
2045 hw_lock_control_reg = (MISC_REG_DRIVER_CONTROL_1 + func*8); bnx2x_release_hw_lock()
2047 hw_lock_control_reg = bnx2x_release_hw_lock()
2052 lock_status = REG_RD(bp, hw_lock_control_reg); bnx2x_release_hw_lock()
2059 REG_WR(bp, hw_lock_control_reg, resource_bit); bnx2x_release_hw_lock()

Completed in 97 milliseconds