Lines Matching refs:hw_lock_control_reg
1325 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()
1513 lock_status = REG_RD(bp, hw_lock_control_reg); in bnx2x_acquire_hw_lock()
1528 u32 hw_lock_control_reg; in bnx2x_release_hw_lock() local
1541 hw_lock_control_reg = (MISC_REG_DRIVER_CONTROL_1 + func*8); in bnx2x_release_hw_lock()
1543 hw_lock_control_reg = in bnx2x_release_hw_lock()
1548 lock_status = REG_RD(bp, hw_lock_control_reg); in bnx2x_release_hw_lock()
1555 REG_WR(bp, hw_lock_control_reg, resource_bit); in bnx2x_release_hw_lock()