Home
last modified time | relevance | path

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

/f-stack/dpdk/drivers/net/bnx2x/
H A Dbnx2x.c187 uint32_t resource_bit = (1 << resource); in bnx2x_acquire_hw_lock() local
216 if (lock_status & resource_bit) { in bnx2x_acquire_hw_lock()
219 lock_status, resource_bit); in bnx2x_acquire_hw_lock()
227 if (lock_status & resource_bit) { in bnx2x_acquire_hw_lock()
234 resource, resource_bit); in bnx2x_acquire_hw_lock()
241 uint32_t resource_bit = (1 << resource); in bnx2x_release_hw_lock() local
269 if (!(lock_status & resource_bit)) { in bnx2x_release_hw_lock()
272 lock_status, resource_bit); in bnx2x_release_hw_lock()
276 REG_WR(sc, hw_lock_control_reg, resource_bit); in bnx2x_release_hw_lock()
5895 uint32_t resource_bit = (1 << resource); in bnx2x_trylock_hw_lock() local
[all …]