Searched refs:drv_active (Results 1 – 5 of 5) sorted by relevance
/drivers/scsi/qla2xxx/ |
D | qla_nx2.c | 566 uint32_t drv_state, drv_active; in qla8044_need_reset() local 570 drv_active = qla8044_rd_direct(vha, QLA8044_CRB_DRV_ACTIVE_INDEX); in qla8044_need_reset() 575 if (ha->flags.eeh_busy && drv_active) in qla8044_need_reset() 1353 uint32_t drv_active; in qla8044_clear_drv_active() local 1356 drv_active = qla8044_rd_direct(vha, QLA8044_CRB_DRV_ACTIVE_INDEX); in qla8044_clear_drv_active() 1357 drv_active &= ~(1 << (ha->portnum)); in qla8044_clear_drv_active() 1361 __func__, vha->host_no, drv_active); in qla8044_clear_drv_active() 1363 qla8044_wr_direct(vha, QLA8044_CRB_DRV_ACTIVE_INDEX, drv_active); in qla8044_clear_drv_active() 1634 uint32_t dev_state = 0, drv_state, drv_active; in qla8044_need_reset_handler() local 1653 drv_active = qla8044_rd_direct(vha, in qla8044_need_reset_handler() [all …]
|
D | qla_nx.c | 2307 uint32_t drv_active; in qla82xx_set_idc_version() local 2310 drv_active = qla82xx_rd_32(ha, QLA82XX_CRB_DRV_ACTIVE); in qla82xx_set_idc_version() 2311 if (drv_active == (QLA82XX_DRV_ACTIVE << (ha->portnum * 4))) { in qla82xx_set_idc_version() 2329 uint32_t drv_active; in qla82xx_set_drv_active() local 2332 drv_active = qla82xx_rd_32(ha, QLA82XX_CRB_DRV_ACTIVE); in qla82xx_set_drv_active() 2335 if (drv_active == 0xffffffff) { in qla82xx_set_drv_active() 2338 drv_active = qla82xx_rd_32(ha, QLA82XX_CRB_DRV_ACTIVE); in qla82xx_set_drv_active() 2340 drv_active |= (QLA82XX_DRV_ACTIVE << (ha->portnum * 4)); in qla82xx_set_drv_active() 2341 qla82xx_wr_32(ha, QLA82XX_CRB_DRV_ACTIVE, drv_active); in qla82xx_set_drv_active() 2347 uint32_t drv_active; in qla82xx_clear_drv_active() local [all …]
|
D | qla_os.c | 5478 uint32_t drv_active = 0; in qla82xx_error_recovery() local 5530 drv_active = qla82xx_rd_32(ha, QLA82XX_CRB_DRV_ACTIVE); in qla82xx_error_recovery() 5532 "drv_active = 0x%x.\n", drv_active); in qla82xx_error_recovery() 5538 if (drv_active) in qla82xx_error_recovery()
|
/drivers/scsi/qla4xxx/ |
D | ql4_83xx.c | 439 uint32_t drv_active; in qla4_83xx_can_perform_reset() local 454 drv_active = qla4_83xx_rd_reg(ha, ha->reg_tbl[QLA8XXX_CRB_DRV_ACTIVE]); in qla4_83xx_can_perform_reset() 467 if (drv_active & (1 << device_map[i].func_num)) { in qla4_83xx_can_perform_reset() 472 if (drv_active & (1 << device_map[i].func_num)) { in qla4_83xx_can_perform_reset() 510 uint32_t dev_state, drv_state, drv_active; in qla4_83xx_need_reset_handler() local 543 drv_active = qla4_8xxx_rd_direct(ha, QLA8XXX_CRB_DRV_ACTIVE); in qla4_83xx_need_reset_handler() 546 __func__, drv_state, drv_active); in qla4_83xx_need_reset_handler() 548 while (drv_state != drv_active) { in qla4_83xx_need_reset_handler() 552 drv_active); in qla4_83xx_need_reset_handler() 562 drv_active = qla4_8xxx_rd_direct(ha, in qla4_83xx_need_reset_handler() [all …]
|
D | ql4_nx.c | 1619 uint32_t drv_active; in qla4_8xxx_set_drv_active() local 1621 drv_active = qla4_8xxx_rd_direct(ha, QLA8XXX_CRB_DRV_ACTIVE); in qla4_8xxx_set_drv_active() 1629 drv_active |= (1 << ha->func_num); in qla4_8xxx_set_drv_active() 1631 drv_active |= (1 << (ha->func_num * 4)); in qla4_8xxx_set_drv_active() 1634 __func__, ha->host_no, drv_active); in qla4_8xxx_set_drv_active() 1635 qla4_8xxx_wr_direct(ha, QLA8XXX_CRB_DRV_ACTIVE, drv_active); in qla4_8xxx_set_drv_active() 1641 uint32_t drv_active; in qla4_8xxx_clear_drv_active() local 1643 drv_active = qla4_8xxx_rd_direct(ha, QLA8XXX_CRB_DRV_ACTIVE); in qla4_8xxx_clear_drv_active() 1651 drv_active &= ~(1 << (ha->func_num)); in qla4_8xxx_clear_drv_active() 1653 drv_active &= ~(1 << (ha->func_num * 4)); in qla4_8xxx_clear_drv_active() [all …]
|