Home
last modified time | relevance | path

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

/drivers/scsi/qla4xxx/
Dql4_83xx.c258 uint32_t lock = 0, lockid; in qla4_83xx_lock_recovery() local
261 lockid = ha->isp_ops->rd_reg_direct(ha, QLA83XX_DRV_LOCKRECOVERY); in qla4_83xx_lock_recovery()
264 if ((lockid & 0x3) != 0) in qla4_83xx_lock_recovery()
274 lockid = ha->isp_ops->rd_reg_direct(ha, QLA83XX_DRV_LOCKRECOVERY); in qla4_83xx_lock_recovery()
275 if ((lockid & 0x3C) != (ha->func_num << 2)) in qla4_83xx_lock_recovery()
295 lockid = ha->isp_ops->rd_reg_direct(ha, QLA83XX_DRV_LOCK_ID); in qla4_83xx_lock_recovery()
296 lockid = ((lockid + (1 << 8)) & ~0xFF) | ha->func_num; in qla4_83xx_lock_recovery()
297 ha->isp_ops->wr_reg_direct(ha, QLA83XX_DRV_LOCK_ID, lockid); in qla4_83xx_lock_recovery()
/drivers/scsi/qla2xxx/
Dqla_nx2.c296 uint32_t lock = 0, lockid; in qla8044_lock_recovery() local
299 lockid = qla8044_rd_reg(ha, QLA8044_DRV_LOCKRECOVERY); in qla8044_lock_recovery()
302 if ((lockid & IDC_LOCK_RECOVERY_STATE_MASK) != 0) in qla8044_lock_recovery()
312 lockid = qla8044_rd_reg(ha, QLA8044_DRV_LOCKRECOVERY); in qla8044_lock_recovery()
313 if ((lockid & IDC_LOCK_RECOVERY_OWNER_MASK) != (ha->portnum << in qla8044_lock_recovery()
335 lockid = qla8044_rd_reg(ha, QLA8044_DRV_LOCK_ID); in qla8044_lock_recovery()
336 lockid = ((lockid + (1 << 8)) & ~0xFF) | ha->portnum; in qla8044_lock_recovery()
337 qla8044_wr_reg(ha, QLA8044_DRV_LOCK_ID, lockid); in qla8044_lock_recovery()