• Home
  • Raw
  • Download

Lines Matching refs:drv_active

579 	uint32_t drv_state, drv_active;  in qla8044_need_reset()  local
583 drv_active = qla8044_rd_direct(vha, QLA8044_CRB_DRV_ACTIVE_INDEX); in qla8044_need_reset()
588 if (ha->flags.eeh_busy && drv_active) in qla8044_need_reset()
1366 uint32_t drv_active; in qla8044_clear_drv_active() local
1369 drv_active = qla8044_rd_direct(vha, QLA8044_CRB_DRV_ACTIVE_INDEX); in qla8044_clear_drv_active()
1370 drv_active &= ~(1 << (ha->portnum)); in qla8044_clear_drv_active()
1374 __func__, vha->host_no, drv_active); in qla8044_clear_drv_active()
1376 qla8044_wr_direct(vha, QLA8044_CRB_DRV_ACTIVE_INDEX, drv_active); in qla8044_clear_drv_active()
1647 uint32_t dev_state = 0, drv_state, drv_active; in qla8044_need_reset_handler() local
1666 drv_active = qla8044_rd_direct(vha, in qla8044_need_reset_handler()
1671 __func__, vha->host_no, drv_state, drv_active, dev_state); in qla8044_need_reset_handler()
1682 __func__, ha->portnum, drv_state, drv_active); in qla8044_need_reset_handler()
1694 drv_active = qla8044_rd_direct(vha, in qla8044_need_reset_handler()
1696 } while (((drv_state & drv_active) != drv_active) && in qla8044_need_reset_handler()
1700 if (drv_state != drv_active) { in qla8044_need_reset_handler()
1704 (drv_active ^ drv_state)); in qla8044_need_reset_handler()
1705 drv_active = drv_active & drv_state; in qla8044_need_reset_handler()
1707 drv_active); in qla8044_need_reset_handler()
1722 if (!(drv_active & (1 << ha->portnum))) { in qla8044_need_reset_handler()
1732 ((drv_state & drv_active) == QLA8044_FUN7_ACTIVE_INDEX)) { in qla8044_need_reset_handler()
1741 uint32_t drv_active; in qla8044_set_drv_active() local
1744 drv_active = qla8044_rd_direct(vha, QLA8044_CRB_DRV_ACTIVE_INDEX); in qla8044_set_drv_active()
1748 drv_active |= (1 << ha->portnum); in qla8044_set_drv_active()
1752 __func__, vha->host_no, drv_active); in qla8044_set_drv_active()
1753 qla8044_wr_direct(vha, QLA8044_CRB_DRV_ACTIVE_INDEX, drv_active); in qla8044_set_drv_active()
1759 uint32_t drv_active; in qla8044_check_drv_active() local
1762 drv_active = qla8044_rd_direct(vha, QLA8044_CRB_DRV_ACTIVE_INDEX); in qla8044_check_drv_active()
1763 if (drv_active & (1 << ha->portnum)) in qla8044_check_drv_active()
1787 uint32_t drv_active; in qla8044_set_idc_ver() local
1791 drv_active = qla8044_rd_direct(vha, QLA8044_CRB_DRV_ACTIVE_INDEX); in qla8044_set_idc_ver()
1792 if (drv_active == (1 << ha->portnum)) { in qla8044_set_idc_ver()
1831 uint32_t drv_active; in qla8044_update_idc_reg() local
1841 drv_active = qla8044_rd_direct(vha, in qla8044_update_idc_reg()
1846 if ((drv_active == (1 << ha->portnum)) && !ql2xdontresethba) in qla8044_update_idc_reg()
1866 uint32_t drv_state, drv_active, dev_state; in qla8044_need_qsnt_handler() local
1879 drv_active = qla8044_rd_direct(vha, QLA8044_CRB_DRV_ACTIVE_INDEX); in qla8044_need_qsnt_handler()
1883 drv_active = drv_active << 1; in qla8044_need_qsnt_handler()
1885 while (drv_state != drv_active) { in qla8044_need_qsnt_handler()
1904 drv_active = qla8044_rd_direct(vha, in qla8044_need_qsnt_handler()
1906 drv_active = drv_active << 1; in qla8044_need_qsnt_handler()