Lines Matching refs:drv_active
1461 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()
1487 if ((test_bit(AF_EEH_BUSY, &ha->flags)) && drv_active) in qla4_8xxx_need_reset()
1688 uint32_t dev_state, drv_state, drv_active; in qla4_8xxx_need_reset_handler() local
1706 drv_active = qla4_8xxx_rd_32(ha, QLA82XX_CRB_DRV_ACTIVE); in qla4_8xxx_need_reset_handler()
1710 __func__, ha->host_no, drv_state, drv_active); in qla4_8xxx_need_reset_handler()
1712 while (drv_state != drv_active) { in qla4_8xxx_need_reset_handler()
1723 drv_active = qla4_8xxx_rd_32(ha, QLA82XX_CRB_DRV_ACTIVE); in qla4_8xxx_need_reset_handler()