Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/net/bnx2x/
Dbnx2x_main.c1323 u32 resource_bit = (1 << resource); in bnx2x_trylock_hw_lock() local
1344 REG_WR(bp, hw_lock_control_reg + 4, resource_bit); in bnx2x_trylock_hw_lock()
1346 if (lock_status & resource_bit) in bnx2x_trylock_hw_lock()
1481 u32 resource_bit = (1 << resource); in bnx2x_acquire_hw_lock() local
1503 if (lock_status & resource_bit) { in bnx2x_acquire_hw_lock()
1505 lock_status, resource_bit); in bnx2x_acquire_hw_lock()
1512 REG_WR(bp, hw_lock_control_reg + 4, resource_bit); in bnx2x_acquire_hw_lock()
1514 if (lock_status & resource_bit) in bnx2x_acquire_hw_lock()
1526 u32 resource_bit = (1 << resource); in bnx2x_release_hw_lock() local
1549 if (!(lock_status & resource_bit)) { in bnx2x_release_hw_lock()
[all …]