Searched refs:HostDiag (Results 1 – 1 of 1) sorted by relevance
1022 u32 HostDiag; in megasas_adp_reset_gen2() local1040 HostDiag = (u32)readl(hostdiag_offset); in megasas_adp_reset_gen2()1042 while (!(HostDiag & DIAG_WRITE_ENABLE)) { in megasas_adp_reset_gen2()1044 HostDiag = (u32)readl(hostdiag_offset); in megasas_adp_reset_gen2()1046 retry, HostDiag); in megasas_adp_reset_gen2()1053 dev_notice(&instance->pdev->dev, "ADP_RESET_GEN2: HostDiag=%x\n", HostDiag); in megasas_adp_reset_gen2()1055 writel((HostDiag | DIAG_RESET_ADAPTER), hostdiag_offset); in megasas_adp_reset_gen2()1059 HostDiag = (u32)readl(hostdiag_offset); in megasas_adp_reset_gen2()1060 while (HostDiag & DIAG_RESET_ADAPTER) { in megasas_adp_reset_gen2()1062 HostDiag = (u32)readl(hostdiag_offset); in megasas_adp_reset_gen2()[all …]