Lines Matching refs:ctrl_status
4629 uint32_t ctrl_status; in qla4xxx_hw_reset() local
4643 ctrl_status = readw(&ha->reg->ctrl_status); in qla4xxx_hw_reset()
4644 if ((ctrl_status & CSR_SCSI_RESET_INTR) != 0) in qla4xxx_hw_reset()
4645 writel(set_rmask(CSR_SCSI_RESET_INTR), &ha->reg->ctrl_status); in qla4xxx_hw_reset()
4648 writel(set_rmask(CSR_SOFT_RESET), &ha->reg->ctrl_status); in qla4xxx_hw_reset()
4649 readl(&ha->reg->ctrl_status); in qla4xxx_hw_reset()
4664 uint32_t ctrl_status; in qla4xxx_soft_reset() local
4675 ctrl_status = readw(&ha->reg->ctrl_status); in qla4xxx_soft_reset()
4678 if ((ctrl_status & CSR_NET_RESET_INTR) == 0) in qla4xxx_soft_reset()
4684 if ((ctrl_status & CSR_NET_RESET_INTR) != 0) { in qla4xxx_soft_reset()
4690 writel(set_rmask(CSR_NET_RESET_INTR), &ha->reg->ctrl_status); in qla4xxx_soft_reset()
4691 readl(&ha->reg->ctrl_status); in qla4xxx_soft_reset()
4699 ctrl_status = readw(&ha->reg->ctrl_status); in qla4xxx_soft_reset()
4702 if ((ctrl_status & CSR_SOFT_RESET) == 0) { in qla4xxx_soft_reset()
4715 ctrl_status = readw(&ha->reg->ctrl_status); in qla4xxx_soft_reset()
4716 if ((ctrl_status & CSR_SCSI_RESET_INTR) != 0) { in qla4xxx_soft_reset()
4717 writel(set_rmask(CSR_SCSI_RESET_INTR), &ha->reg->ctrl_status); in qla4xxx_soft_reset()
4718 readl(&ha->reg->ctrl_status); in qla4xxx_soft_reset()
4731 writel(set_rmask(CSR_FORCE_SOFT_RESET), &ha->reg->ctrl_status); in qla4xxx_soft_reset()
4732 readl(&ha->reg->ctrl_status); in qla4xxx_soft_reset()
4738 ctrl_status = readw(&ha->reg->ctrl_status); in qla4xxx_soft_reset()
4741 if ((ctrl_status & CSR_FORCE_SOFT_RESET) == 0) { in qla4xxx_soft_reset()
5368 while ((readw(&ha->reg->ctrl_status) & in qla4xxx_do_dpc()
5445 &ha->reg->ctrl_status); in qla4xxx_free_adapter()
5446 readl(&ha->reg->ctrl_status); in qla4xxx_free_adapter()