drv_active       2322 drivers/scsi/qla2xxx/qla_nx.c 	uint32_t drv_active;
drv_active       2325 drivers/scsi/qla2xxx/qla_nx.c 	drv_active = qla82xx_rd_32(ha, QLA82XX_CRB_DRV_ACTIVE);
drv_active       2326 drivers/scsi/qla2xxx/qla_nx.c 	if (drv_active == (QLA82XX_DRV_ACTIVE << (ha->portnum * 4))) {
drv_active       2344 drivers/scsi/qla2xxx/qla_nx.c 	uint32_t drv_active;
drv_active       2347 drivers/scsi/qla2xxx/qla_nx.c 	drv_active = qla82xx_rd_32(ha, QLA82XX_CRB_DRV_ACTIVE);
drv_active       2350 drivers/scsi/qla2xxx/qla_nx.c 	if (drv_active == 0xffffffff) {
drv_active       2353 drivers/scsi/qla2xxx/qla_nx.c 		drv_active = qla82xx_rd_32(ha, QLA82XX_CRB_DRV_ACTIVE);
drv_active       2355 drivers/scsi/qla2xxx/qla_nx.c 	drv_active |= (QLA82XX_DRV_ACTIVE << (ha->portnum * 4));
drv_active       2356 drivers/scsi/qla2xxx/qla_nx.c 	qla82xx_wr_32(ha, QLA82XX_CRB_DRV_ACTIVE, drv_active);
drv_active       2362 drivers/scsi/qla2xxx/qla_nx.c 	uint32_t drv_active;
drv_active       2364 drivers/scsi/qla2xxx/qla_nx.c 	drv_active = qla82xx_rd_32(ha, QLA82XX_CRB_DRV_ACTIVE);
drv_active       2365 drivers/scsi/qla2xxx/qla_nx.c 	drv_active &= ~(QLA82XX_DRV_ACTIVE << (ha->portnum * 4));
drv_active       2366 drivers/scsi/qla2xxx/qla_nx.c 	qla82xx_wr_32(ha, QLA82XX_CRB_DRV_ACTIVE, drv_active);
drv_active       2928 drivers/scsi/qla2xxx/qla_nx.c 	uint32_t dev_state, drv_state, drv_active;
drv_active       2943 drivers/scsi/qla2xxx/qla_nx.c 	drv_active = qla82xx_rd_32(ha, QLA82XX_CRB_DRV_ACTIVE);
drv_active       2945 drivers/scsi/qla2xxx/qla_nx.c 	drv_active = drv_active << 0x01;
drv_active       2947 drivers/scsi/qla2xxx/qla_nx.c 	while (drv_state != drv_active) {
drv_active       2956 drivers/scsi/qla2xxx/qla_nx.c 			    drv_active, drv_state);
drv_active       2974 drivers/scsi/qla2xxx/qla_nx.c 		drv_active = qla82xx_rd_32(ha, QLA82XX_CRB_DRV_ACTIVE);
drv_active       2975 drivers/scsi/qla2xxx/qla_nx.c 		drv_active = drv_active << 0x01;
drv_active       3051 drivers/scsi/qla2xxx/qla_nx.c 	uint32_t dev_state, drv_state, drv_active;
drv_active       3065 drivers/scsi/qla2xxx/qla_nx.c 	drv_active = qla82xx_rd_32(ha, QLA82XX_CRB_DRV_ACTIVE);
drv_active       3072 drivers/scsi/qla2xxx/qla_nx.c 		drv_active &= active_mask;
drv_active       3081 drivers/scsi/qla2xxx/qla_nx.c 	drv_active = qla82xx_rd_32(ha, QLA82XX_CRB_DRV_ACTIVE);
drv_active       3087 drivers/scsi/qla2xxx/qla_nx.c 	    drv_state, drv_active, dev_state, active_mask);
drv_active       3089 drivers/scsi/qla2xxx/qla_nx.c 	while (drv_state != drv_active &&
drv_active       3100 drivers/scsi/qla2xxx/qla_nx.c 		drv_active = qla82xx_rd_32(ha, QLA82XX_CRB_DRV_ACTIVE);
drv_active       3102 drivers/scsi/qla2xxx/qla_nx.c 			drv_active &= active_mask;
drv_active       3109 drivers/scsi/qla2xxx/qla_nx.c 	    drv_state, drv_active, dev_state, active_mask);
drv_active        580 drivers/scsi/qla2xxx/qla_nx2.c 	uint32_t drv_state, drv_active;
drv_active        584 drivers/scsi/qla2xxx/qla_nx2.c 	drv_active = qla8044_rd_direct(vha, QLA8044_CRB_DRV_ACTIVE_INDEX);
drv_active        589 drivers/scsi/qla2xxx/qla_nx2.c 	if (ha->flags.eeh_busy && drv_active)
drv_active       1367 drivers/scsi/qla2xxx/qla_nx2.c 	uint32_t drv_active;
drv_active       1370 drivers/scsi/qla2xxx/qla_nx2.c 	drv_active = qla8044_rd_direct(vha, QLA8044_CRB_DRV_ACTIVE_INDEX);
drv_active       1371 drivers/scsi/qla2xxx/qla_nx2.c 	drv_active &= ~(1 << (ha->portnum));
drv_active       1375 drivers/scsi/qla2xxx/qla_nx2.c 	    __func__, vha->host_no, drv_active);
drv_active       1377 drivers/scsi/qla2xxx/qla_nx2.c 	qla8044_wr_direct(vha, QLA8044_CRB_DRV_ACTIVE_INDEX, drv_active);
drv_active       1648 drivers/scsi/qla2xxx/qla_nx2.c 	uint32_t dev_state = 0, drv_state, drv_active;
drv_active       1667 drivers/scsi/qla2xxx/qla_nx2.c 	drv_active = qla8044_rd_direct(vha,
drv_active       1672 drivers/scsi/qla2xxx/qla_nx2.c 	    __func__, vha->host_no, drv_state, drv_active, dev_state);
drv_active       1683 drivers/scsi/qla2xxx/qla_nx2.c 			    __func__, ha->portnum, drv_state, drv_active);
drv_active       1695 drivers/scsi/qla2xxx/qla_nx2.c 		drv_active = qla8044_rd_direct(vha,
drv_active       1697 drivers/scsi/qla2xxx/qla_nx2.c 	} while (((drv_state & drv_active) != drv_active) &&
drv_active       1701 drivers/scsi/qla2xxx/qla_nx2.c 	if (drv_state != drv_active) {
drv_active       1705 drivers/scsi/qla2xxx/qla_nx2.c 		    (drv_active ^ drv_state));
drv_active       1706 drivers/scsi/qla2xxx/qla_nx2.c 		drv_active = drv_active & drv_state;
drv_active       1708 drivers/scsi/qla2xxx/qla_nx2.c 		    drv_active);
drv_active       1723 drivers/scsi/qla2xxx/qla_nx2.c 	if (!(drv_active & (1 << ha->portnum))) {
drv_active       1733 drivers/scsi/qla2xxx/qla_nx2.c 	    ((drv_state & drv_active) == QLA8044_FUN7_ACTIVE_INDEX)) {
drv_active       1742 drivers/scsi/qla2xxx/qla_nx2.c 	uint32_t drv_active;
drv_active       1745 drivers/scsi/qla2xxx/qla_nx2.c 	drv_active = qla8044_rd_direct(vha, QLA8044_CRB_DRV_ACTIVE_INDEX);
drv_active       1749 drivers/scsi/qla2xxx/qla_nx2.c 	drv_active |= (1 << ha->portnum);
drv_active       1753 drivers/scsi/qla2xxx/qla_nx2.c 	    __func__, vha->host_no, drv_active);
drv_active       1754 drivers/scsi/qla2xxx/qla_nx2.c 	qla8044_wr_direct(vha, QLA8044_CRB_DRV_ACTIVE_INDEX, drv_active);
drv_active       1760 drivers/scsi/qla2xxx/qla_nx2.c 	uint32_t drv_active;
drv_active       1763 drivers/scsi/qla2xxx/qla_nx2.c 	drv_active = qla8044_rd_direct(vha, QLA8044_CRB_DRV_ACTIVE_INDEX);
drv_active       1764 drivers/scsi/qla2xxx/qla_nx2.c 	if (drv_active & (1 << ha->portnum))
drv_active       1788 drivers/scsi/qla2xxx/qla_nx2.c 	uint32_t drv_active;
drv_active       1792 drivers/scsi/qla2xxx/qla_nx2.c 	drv_active = qla8044_rd_direct(vha, QLA8044_CRB_DRV_ACTIVE_INDEX);
drv_active       1793 drivers/scsi/qla2xxx/qla_nx2.c 	if (drv_active == (1 << ha->portnum)) {
drv_active       1832 drivers/scsi/qla2xxx/qla_nx2.c 	uint32_t drv_active;
drv_active       1842 drivers/scsi/qla2xxx/qla_nx2.c 	drv_active = qla8044_rd_direct(vha,
drv_active       1847 drivers/scsi/qla2xxx/qla_nx2.c 	if ((drv_active == (1 << ha->portnum)) && !ql2xdontresethba)
drv_active       1867 drivers/scsi/qla2xxx/qla_nx2.c 	uint32_t drv_state, drv_active, dev_state;
drv_active       1880 drivers/scsi/qla2xxx/qla_nx2.c 	drv_active = qla8044_rd_direct(vha, QLA8044_CRB_DRV_ACTIVE_INDEX);
drv_active       1884 drivers/scsi/qla2xxx/qla_nx2.c 	drv_active = drv_active << 1;
drv_active       1886 drivers/scsi/qla2xxx/qla_nx2.c 	while (drv_state != drv_active) {
drv_active       1905 drivers/scsi/qla2xxx/qla_nx2.c 		drv_active = qla8044_rd_direct(vha,
drv_active       1907 drivers/scsi/qla2xxx/qla_nx2.c 		drv_active = drv_active << 1;
drv_active        441 drivers/scsi/qla4xxx/ql4_83xx.c 	uint32_t drv_active;
drv_active        456 drivers/scsi/qla4xxx/ql4_83xx.c 	drv_active = qla4_83xx_rd_reg(ha, ha->reg_tbl[QLA8XXX_CRB_DRV_ACTIVE]);
drv_active        469 drivers/scsi/qla4xxx/ql4_83xx.c 			if (drv_active & (1 << device_map[i].func_num)) {
drv_active        474 drivers/scsi/qla4xxx/ql4_83xx.c 			if (drv_active & (1 << device_map[i].func_num)) {
drv_active        512 drivers/scsi/qla4xxx/ql4_83xx.c 	uint32_t dev_state, drv_state, drv_active;
drv_active        545 drivers/scsi/qla4xxx/ql4_83xx.c 		drv_active = qla4_8xxx_rd_direct(ha, QLA8XXX_CRB_DRV_ACTIVE);
drv_active        548 drivers/scsi/qla4xxx/ql4_83xx.c 			   __func__, drv_state, drv_active);
drv_active        550 drivers/scsi/qla4xxx/ql4_83xx.c 		while (drv_state != drv_active) {
drv_active        554 drivers/scsi/qla4xxx/ql4_83xx.c 					   drv_active);
drv_active        564 drivers/scsi/qla4xxx/ql4_83xx.c 			drv_active = qla4_8xxx_rd_direct(ha,
drv_active        568 drivers/scsi/qla4xxx/ql4_83xx.c 		if (drv_state != drv_active) {
drv_active        570 drivers/scsi/qla4xxx/ql4_83xx.c 				   __func__, (drv_active ^ drv_state));
drv_active        571 drivers/scsi/qla4xxx/ql4_83xx.c 			drv_active = drv_active & drv_state;
drv_active        573 drivers/scsi/qla4xxx/ql4_83xx.c 					    drv_active);
drv_active       1584 drivers/scsi/qla4xxx/ql4_83xx.c 	uint32_t drv_active;
drv_active       1586 drivers/scsi/qla4xxx/ql4_83xx.c 	drv_active = qla4_8xxx_rd_direct(ha, QLA8XXX_CRB_DRV_ACTIVE);
drv_active       1589 drivers/scsi/qla4xxx/ql4_83xx.c 	    !(drv_active & (1 << ha->func_num))) {
drv_active       1591 drivers/scsi/qla4xxx/ql4_83xx.c 				  __func__, drv_active));
drv_active       1621 drivers/scsi/qla4xxx/ql4_nx.c 	uint32_t drv_active;
drv_active       1623 drivers/scsi/qla4xxx/ql4_nx.c 	drv_active = qla4_8xxx_rd_direct(ha, QLA8XXX_CRB_DRV_ACTIVE);
drv_active       1631 drivers/scsi/qla4xxx/ql4_nx.c 		drv_active |= (1 << ha->func_num);
drv_active       1633 drivers/scsi/qla4xxx/ql4_nx.c 		drv_active |= (1 << (ha->func_num * 4));
drv_active       1636 drivers/scsi/qla4xxx/ql4_nx.c 		   __func__, ha->host_no, drv_active);
drv_active       1637 drivers/scsi/qla4xxx/ql4_nx.c 	qla4_8xxx_wr_direct(ha, QLA8XXX_CRB_DRV_ACTIVE, drv_active);
drv_active       1643 drivers/scsi/qla4xxx/ql4_nx.c 	uint32_t drv_active;
drv_active       1645 drivers/scsi/qla4xxx/ql4_nx.c 	drv_active = qla4_8xxx_rd_direct(ha, QLA8XXX_CRB_DRV_ACTIVE);
drv_active       1653 drivers/scsi/qla4xxx/ql4_nx.c 		drv_active &= ~(1 << (ha->func_num));
drv_active       1655 drivers/scsi/qla4xxx/ql4_nx.c 		drv_active &= ~(1 << (ha->func_num * 4));
drv_active       1658 drivers/scsi/qla4xxx/ql4_nx.c 		   __func__, ha->host_no, drv_active);
drv_active       1659 drivers/scsi/qla4xxx/ql4_nx.c 	qla4_8xxx_wr_direct(ha, QLA8XXX_CRB_DRV_ACTIVE, drv_active);
drv_active       1664 drivers/scsi/qla4xxx/ql4_nx.c 	uint32_t drv_state, drv_active;
drv_active       1667 drivers/scsi/qla4xxx/ql4_nx.c 	drv_active = qla4_8xxx_rd_direct(ha, QLA8XXX_CRB_DRV_ACTIVE);
drv_active       1680 drivers/scsi/qla4xxx/ql4_nx.c 	if ((test_bit(AF_EEH_BUSY, &ha->flags)) && drv_active)
drv_active       3326 drivers/scsi/qla4xxx/ql4_nx.c 	uint32_t dev_state, drv_state, drv_active;
drv_active       3352 drivers/scsi/qla4xxx/ql4_nx.c 	drv_active = qla4_82xx_rd_32(ha, QLA82XX_CRB_DRV_ACTIVE);
drv_active       3356 drivers/scsi/qla4xxx/ql4_nx.c 		__func__, ha->host_no, drv_state, drv_active);
drv_active       3358 drivers/scsi/qla4xxx/ql4_nx.c 	while (drv_state != (drv_active & active_mask)) {
drv_active       3362 drivers/scsi/qla4xxx/ql4_nx.c 				   DRIVER_NAME, drv_state, drv_active);
drv_active       3374 drivers/scsi/qla4xxx/ql4_nx.c 				   drv_active);
drv_active       3381 drivers/scsi/qla4xxx/ql4_nx.c 		drv_active = qla4_82xx_rd_32(ha, QLA82XX_CRB_DRV_ACTIVE);
drv_active       3414 drivers/scsi/qla4xxx/ql4_nx.c 	uint32_t drv_active;
drv_active       3416 drivers/scsi/qla4xxx/ql4_nx.c 	drv_active = qla4_8xxx_rd_direct(ha, QLA8XXX_CRB_DRV_ACTIVE);
drv_active       3417 drivers/scsi/qla4xxx/ql4_nx.c 	if (drv_active == (1 << (ha->func_num * 4))) {
drv_active       3436 drivers/scsi/qla4xxx/ql4_nx.c 	uint32_t drv_active;
drv_active       3439 drivers/scsi/qla4xxx/ql4_nx.c 	drv_active = qla4_8xxx_rd_direct(ha, QLA8XXX_CRB_DRV_ACTIVE);
drv_active       3440 drivers/scsi/qla4xxx/ql4_nx.c 	if (drv_active == (1 << ha->func_num)) {
drv_active       3473 drivers/scsi/qla4xxx/ql4_nx.c 	uint32_t drv_active;
drv_active       3487 drivers/scsi/qla4xxx/ql4_nx.c 		drv_active = qla4_8xxx_rd_direct(ha, QLA8XXX_CRB_DRV_ACTIVE);
drv_active       3488 drivers/scsi/qla4xxx/ql4_nx.c 		if ((drv_active == (1 << ha->func_num)) && !ql4xdontresethba)