Home
last modified time | relevance | path

Searched refs:resource_bit (Results 1 – 1 of 1) sorted by relevance

/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_hw_access.c1494 u32_t const resource_bit = (1 << resource); in lm_hw_lock() local
1511 if (lock_status & resource_bit) in lm_hw_lock()
1513 …_lock: LM_STATUS_EXISTING_OBJECT lock_status=0x%x resource_bit=0x%x\n", lock_status, resource_bit); in lm_hw_lock()
1521 REG_WR(pdev, hw_lock_cntr_reg + 4, resource_bit); in lm_hw_lock()
1523 if (lock_status & resource_bit) in lm_hw_lock()
1552 u32_t const resource_bit = (1 << resource); in lm_hw_unlock_ex() local
1569 if (!(lock_status & resource_bit)) in lm_hw_unlock_ex()
1572 …lock: LM_STATUS_OBJECT_NOT_FOUND lock_status=0x%x resource_bit=0x%x\n", lock_status, resource_bit); in lm_hw_unlock_ex()
1580 REG_WR(pdev, hw_lock_cntr_reg, resource_bit); in lm_hw_unlock_ex()