Searched refs:resource_bit (Results 1 – 1 of 1) sorted by relevance
1713 u32 resource_bit = (1 << resource); in bnx2x_trylock_hw_lock() local1735 REG_WR(bp, hw_lock_control_reg + 4, resource_bit); in bnx2x_trylock_hw_lock()1737 if (lock_status & resource_bit) in bnx2x_trylock_hw_lock()1980 u32 resource_bit = (1 << resource); in bnx2x_acquire_hw_lock() local2001 if (lock_status & resource_bit) { in bnx2x_acquire_hw_lock()2003 lock_status, resource_bit); in bnx2x_acquire_hw_lock()2010 REG_WR(bp, hw_lock_control_reg + 4, resource_bit); in bnx2x_acquire_hw_lock()2012 if (lock_status & resource_bit) in bnx2x_acquire_hw_lock()2029 u32 resource_bit = (1 << resource); in bnx2x_release_hw_lock() local2049 if (!(lock_status & resource_bit)) { in bnx2x_release_hw_lock()[all …]