Lines Matching refs:resource_bit
1007 uint32_t resource_bit = (1 << resource); in bxe_acquire_hw_lock() local
1015 " resource_bit 0x%x\n", resource, resource_bit); in bxe_acquire_hw_lock()
1028 if (lock_status & resource_bit) { in bxe_acquire_hw_lock()
1030 resource, lock_status, resource_bit); in bxe_acquire_hw_lock()
1036 REG_WR(sc, (hw_lock_control_reg + 4), resource_bit); in bxe_acquire_hw_lock()
1038 if (lock_status & resource_bit) { in bxe_acquire_hw_lock()
1045 resource, resource_bit); in bxe_acquire_hw_lock()
1054 uint32_t resource_bit = (1 << resource); in bxe_release_hw_lock() local
1061 " resource_bit 0x%x\n", resource, resource_bit); in bxe_release_hw_lock()
1074 if (!(lock_status & resource_bit)) { in bxe_release_hw_lock()
1076 resource, lock_status, resource_bit); in bxe_release_hw_lock()
1080 REG_WR(sc, hw_lock_control_reg, resource_bit); in bxe_release_hw_lock()
10636 uint32_t resource_bit = (1 << resource); in bxe_trylock_hw_lock() local
10657 REG_WR(sc, hw_lock_control_reg + 4, resource_bit); in bxe_trylock_hw_lock()
10659 if (lock_status & resource_bit) { in bxe_trylock_hw_lock()
10665 lock_status, resource_bit); in bxe_trylock_hw_lock()