Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/net/bnx2x/
Dbnx2x_main.c1325 u32 hw_lock_control_reg; in bnx2x_trylock_hw_lock() local
1338 hw_lock_control_reg = (MISC_REG_DRIVER_CONTROL_1 + func*8); in bnx2x_trylock_hw_lock()
1340 hw_lock_control_reg = in bnx2x_trylock_hw_lock()
1344 REG_WR(bp, hw_lock_control_reg + 4, resource_bit); in bnx2x_trylock_hw_lock()
1345 lock_status = REG_RD(bp, hw_lock_control_reg); in bnx2x_trylock_hw_lock()
1483 u32 hw_lock_control_reg; in bnx2x_acquire_hw_lock() local
1495 hw_lock_control_reg = (MISC_REG_DRIVER_CONTROL_1 + func*8); in bnx2x_acquire_hw_lock()
1497 hw_lock_control_reg = in bnx2x_acquire_hw_lock()
1502 lock_status = REG_RD(bp, hw_lock_control_reg); in bnx2x_acquire_hw_lock()
1512 REG_WR(bp, hw_lock_control_reg + 4, resource_bit); in bnx2x_acquire_hw_lock()
[all …]