Lines Matching refs:ctrl_status
4628 uint32_t ctrl_status; in qla4xxx_hw_reset() local
4642 ctrl_status = readw(&ha->reg->ctrl_status); in qla4xxx_hw_reset()
4643 if ((ctrl_status & CSR_SCSI_RESET_INTR) != 0) in qla4xxx_hw_reset()
4644 writel(set_rmask(CSR_SCSI_RESET_INTR), &ha->reg->ctrl_status); in qla4xxx_hw_reset()
4647 writel(set_rmask(CSR_SOFT_RESET), &ha->reg->ctrl_status); in qla4xxx_hw_reset()
4648 readl(&ha->reg->ctrl_status); in qla4xxx_hw_reset()
4663 uint32_t ctrl_status; in qla4xxx_soft_reset() local
4674 ctrl_status = readw(&ha->reg->ctrl_status); in qla4xxx_soft_reset()
4677 if ((ctrl_status & CSR_NET_RESET_INTR) == 0) in qla4xxx_soft_reset()
4683 if ((ctrl_status & CSR_NET_RESET_INTR) != 0) { in qla4xxx_soft_reset()
4689 writel(set_rmask(CSR_NET_RESET_INTR), &ha->reg->ctrl_status); in qla4xxx_soft_reset()
4690 readl(&ha->reg->ctrl_status); in qla4xxx_soft_reset()
4698 ctrl_status = readw(&ha->reg->ctrl_status); in qla4xxx_soft_reset()
4701 if ((ctrl_status & CSR_SOFT_RESET) == 0) { in qla4xxx_soft_reset()
4714 ctrl_status = readw(&ha->reg->ctrl_status); in qla4xxx_soft_reset()
4715 if ((ctrl_status & CSR_SCSI_RESET_INTR) != 0) { in qla4xxx_soft_reset()
4716 writel(set_rmask(CSR_SCSI_RESET_INTR), &ha->reg->ctrl_status); in qla4xxx_soft_reset()
4717 readl(&ha->reg->ctrl_status); in qla4xxx_soft_reset()
4730 writel(set_rmask(CSR_FORCE_SOFT_RESET), &ha->reg->ctrl_status); in qla4xxx_soft_reset()
4731 readl(&ha->reg->ctrl_status); in qla4xxx_soft_reset()
4737 ctrl_status = readw(&ha->reg->ctrl_status); in qla4xxx_soft_reset()
4740 if ((ctrl_status & CSR_FORCE_SOFT_RESET) == 0) { in qla4xxx_soft_reset()
5367 while ((readw(&ha->reg->ctrl_status) & in qla4xxx_do_dpc()
5444 &ha->reg->ctrl_status); in qla4xxx_free_adapter()
5445 readl(&ha->reg->ctrl_status); in qla4xxx_free_adapter()