Lines Matching refs:resource_bit
1724 u32 resource_bit = (1 << resource); in bnx2x_trylock_hw_lock() local
1746 REG_WR(bp, hw_lock_control_reg + 4, resource_bit); in bnx2x_trylock_hw_lock()
1748 if (lock_status & resource_bit) in bnx2x_trylock_hw_lock()
1991 u32 resource_bit = (1 << resource); in bnx2x_acquire_hw_lock() local
2012 if (lock_status & resource_bit) { in bnx2x_acquire_hw_lock()
2014 lock_status, resource_bit); in bnx2x_acquire_hw_lock()
2021 REG_WR(bp, hw_lock_control_reg + 4, resource_bit); in bnx2x_acquire_hw_lock()
2023 if (lock_status & resource_bit) in bnx2x_acquire_hw_lock()
2040 u32 resource_bit = (1 << resource); in bnx2x_release_hw_lock() local
2060 if (!(lock_status & resource_bit)) { in bnx2x_release_hw_lock()
2062 lock_status, resource_bit); in bnx2x_release_hw_lock()
2066 REG_WR(bp, hw_lock_control_reg, resource_bit); in bnx2x_release_hw_lock()