Lines Matching refs:resource_bit
1015 uint32_t resource_bit = (1 << resource); in bxe_acquire_hw_lock() local
1023 " resource_bit 0x%x\n", resource, resource_bit); in bxe_acquire_hw_lock()
1036 if (lock_status & resource_bit) { in bxe_acquire_hw_lock()
1038 resource, lock_status, resource_bit); in bxe_acquire_hw_lock()
1044 REG_WR(sc, (hw_lock_control_reg + 4), resource_bit); in bxe_acquire_hw_lock()
1046 if (lock_status & resource_bit) { in bxe_acquire_hw_lock()
1053 resource, resource_bit); in bxe_acquire_hw_lock()
1062 uint32_t resource_bit = (1 << resource); in bxe_release_hw_lock() local
1069 " resource_bit 0x%x\n", resource, resource_bit); in bxe_release_hw_lock()
1082 if (!(lock_status & resource_bit)) { in bxe_release_hw_lock()
1084 resource, lock_status, resource_bit); in bxe_release_hw_lock()
1088 REG_WR(sc, hw_lock_control_reg, resource_bit); in bxe_release_hw_lock()
10661 uint32_t resource_bit = (1 << resource); in bxe_trylock_hw_lock() local
10682 REG_WR(sc, hw_lock_control_reg + 4, resource_bit); in bxe_trylock_hw_lock()
10684 if (lock_status & resource_bit) { in bxe_trylock_hw_lock()
10690 lock_status, resource_bit); in bxe_trylock_hw_lock()