Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c1734 u32 resource_bit = (1 << resource); in bnx2x_trylock_hw_lock() local
1756 REG_WR(bp, hw_lock_control_reg + 4, resource_bit); in bnx2x_trylock_hw_lock()
1758 if (lock_status & resource_bit) in bnx2x_trylock_hw_lock()
2001 u32 resource_bit = (1 << resource); in bnx2x_acquire_hw_lock() local
2022 if (lock_status & resource_bit) { in bnx2x_acquire_hw_lock()
2024 lock_status, resource_bit); in bnx2x_acquire_hw_lock()
2031 REG_WR(bp, hw_lock_control_reg + 4, resource_bit); in bnx2x_acquire_hw_lock()
2033 if (lock_status & resource_bit) in bnx2x_acquire_hw_lock()
2050 u32 resource_bit = (1 << resource); in bnx2x_release_hw_lock() local
2070 if (!(lock_status & resource_bit)) { in bnx2x_release_hw_lock()
[all …]