Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/scsi/qla4xxx/
Dql4_nx.c1461 uint32_t drv_active; in qla4_8xxx_set_drv_active() local
1463 drv_active = qla4_8xxx_rd_32(ha, QLA82XX_CRB_DRV_ACTIVE); in qla4_8xxx_set_drv_active()
1464 drv_active |= (1 << (ha->func_num * 4)); in qla4_8xxx_set_drv_active()
1465 qla4_8xxx_wr_32(ha, QLA82XX_CRB_DRV_ACTIVE, drv_active); in qla4_8xxx_set_drv_active()
1471 uint32_t drv_active; in qla4_8xxx_clear_drv_active() local
1473 drv_active = qla4_8xxx_rd_32(ha, QLA82XX_CRB_DRV_ACTIVE); in qla4_8xxx_clear_drv_active()
1474 drv_active &= ~(1 << (ha->func_num * 4)); in qla4_8xxx_clear_drv_active()
1475 qla4_8xxx_wr_32(ha, QLA82XX_CRB_DRV_ACTIVE, drv_active); in qla4_8xxx_clear_drv_active()
1481 uint32_t drv_state, drv_active; in qla4_8xxx_need_reset() local
1484 drv_active = qla4_8xxx_rd_32(ha, QLA82XX_CRB_DRV_ACTIVE); in qla4_8xxx_need_reset()
[all …]
/linux-3.4.99/drivers/scsi/qla2xxx/
Dqla_nx.c2327 uint32_t drv_active; in qla82xx_set_drv_active() local
2330 drv_active = qla82xx_rd_32(ha, QLA82XX_CRB_DRV_ACTIVE); in qla82xx_set_drv_active()
2333 if (drv_active == 0xffffffff) { in qla82xx_set_drv_active()
2336 drv_active = qla82xx_rd_32(ha, QLA82XX_CRB_DRV_ACTIVE); in qla82xx_set_drv_active()
2338 drv_active |= (QLA82XX_DRV_ACTIVE << (ha->portnum * 4)); in qla82xx_set_drv_active()
2339 qla82xx_wr_32(ha, QLA82XX_CRB_DRV_ACTIVE, drv_active); in qla82xx_set_drv_active()
2345 uint32_t drv_active; in qla82xx_clear_drv_active() local
2347 drv_active = qla82xx_rd_32(ha, QLA82XX_CRB_DRV_ACTIVE); in qla82xx_clear_drv_active()
2348 drv_active &= ~(QLA82XX_DRV_ACTIVE << (ha->portnum * 4)); in qla82xx_clear_drv_active()
2349 qla82xx_wr_32(ha, QLA82XX_CRB_DRV_ACTIVE, drv_active); in qla82xx_clear_drv_active()
[all …]
Dqla_os.c4207 uint32_t drv_active = 0; in qla82xx_error_recovery() local
4259 drv_active = qla82xx_rd_32(ha, QLA82XX_CRB_DRV_ACTIVE); in qla82xx_error_recovery()
4261 "drv_active = 0x%x.\n", drv_active); in qla82xx_error_recovery()
4267 if (drv_active) in qla82xx_error_recovery()