Searched refs:resource_bit (Results 1 – 1 of 1) sorted by relevance
187 uint32_t resource_bit = (1 << resource); in bnx2x_acquire_hw_lock() local216 if (lock_status & resource_bit) { in bnx2x_acquire_hw_lock()219 lock_status, resource_bit); in bnx2x_acquire_hw_lock()227 if (lock_status & resource_bit) { in bnx2x_acquire_hw_lock()234 resource, resource_bit); in bnx2x_acquire_hw_lock()241 uint32_t resource_bit = (1 << resource); in bnx2x_release_hw_lock() local269 if (!(lock_status & resource_bit)) { in bnx2x_release_hw_lock()272 lock_status, resource_bit); in bnx2x_release_hw_lock()276 REG_WR(sc, hw_lock_control_reg, resource_bit); in bnx2x_release_hw_lock()5895 uint32_t resource_bit = (1 << resource); in bnx2x_trylock_hw_lock() local[all …]