Lines Matching refs:host_diagnostic
6556 u32 host_diagnostic; in _base_diag_reset() local
6585 host_diagnostic = ioc->base_readl(&ioc->chip->HostDiagnostic); in _base_diag_reset()
6588 count, host_diagnostic)); in _base_diag_reset()
6590 } while ((host_diagnostic & MPI2_DIAG_DIAG_WRITE_ENABLE) == 0); in _base_diag_reset()
6595 writel(host_diagnostic | MPI2_DIAG_RESET_ADAPTER, in _base_diag_reset()
6605 host_diagnostic = ioc->base_readl(&ioc->chip->HostDiagnostic); in _base_diag_reset()
6607 if (host_diagnostic == 0xFFFFFFFF) in _base_diag_reset()
6609 if (!(host_diagnostic & MPI2_DIAG_RESET_ADAPTER)) in _base_diag_reset()
6615 if (host_diagnostic & MPI2_DIAG_HCB_MODE) { in _base_diag_reset()
6619 host_diagnostic &= ~MPI2_DIAG_BOOT_DEVICE_SELECT_MASK; in _base_diag_reset()
6620 host_diagnostic |= MPI2_DIAG_BOOT_DEVICE_SELECT_HCDW; in _base_diag_reset()
6621 writel(host_diagnostic, &ioc->chip->HostDiagnostic); in _base_diag_reset()
6629 writel(host_diagnostic & ~MPI2_DIAG_HOLD_IOC_RESET, in _base_diag_reset()