Lines Matching refs:resource_bit
1022 uint32_t resource_bit = (1 << resource); in bxe_acquire_hw_lock() local
1030 " resource_bit 0x%x\n", resource, resource_bit); in bxe_acquire_hw_lock()
1043 if (lock_status & resource_bit) { in bxe_acquire_hw_lock()
1045 resource, lock_status, resource_bit); in bxe_acquire_hw_lock()
1051 REG_WR(sc, (hw_lock_control_reg + 4), resource_bit); in bxe_acquire_hw_lock()
1053 if (lock_status & resource_bit) { in bxe_acquire_hw_lock()
1060 resource, resource_bit); in bxe_acquire_hw_lock()
1069 uint32_t resource_bit = (1 << resource); in bxe_release_hw_lock() local
1076 " resource_bit 0x%x\n", resource, resource_bit); in bxe_release_hw_lock()
1089 if (!(lock_status & resource_bit)) { in bxe_release_hw_lock()
1091 resource, lock_status, resource_bit); in bxe_release_hw_lock()
1095 REG_WR(sc, hw_lock_control_reg, resource_bit); in bxe_release_hw_lock()
10701 uint32_t resource_bit = (1 << resource); in bxe_trylock_hw_lock() local
10722 REG_WR(sc, hw_lock_control_reg + 4, resource_bit); in bxe_trylock_hw_lock()
10724 if (lock_status & resource_bit) { in bxe_trylock_hw_lock()
10730 lock_status, resource_bit); in bxe_trylock_hw_lock()