Home
last modified time | relevance | path

Searched refs:host_diagnostic (Results 1 – 3 of 3) sorted by relevance

/linux-4.4.14/drivers/scsi/mpt3sas/
Dmpt3sas_base.c4767 u32 host_diagnostic; in _base_diag_reset() local
4801 host_diagnostic = readl(&ioc->chip->HostDiagnostic); in _base_diag_reset()
4804 ioc->name, count, host_diagnostic)); in _base_diag_reset()
4806 } while ((host_diagnostic & MPI2_DIAG_DIAG_WRITE_ENABLE) == 0); in _base_diag_reset()
4812 writel(host_diagnostic | MPI2_DIAG_RESET_ADAPTER, in _base_diag_reset()
4825 host_diagnostic = readl(&ioc->chip->HostDiagnostic); in _base_diag_reset()
4827 if (host_diagnostic == 0xFFFFFFFF) in _base_diag_reset()
4829 if (!(host_diagnostic & MPI2_DIAG_RESET_ADAPTER)) in _base_diag_reset()
4841 if (host_diagnostic & MPI2_DIAG_HCB_MODE) { in _base_diag_reset()
4846 host_diagnostic &= ~MPI2_DIAG_BOOT_DEVICE_SELECT_MASK; in _base_diag_reset()
[all …]
/linux-4.4.14/drivers/scsi/arcmsr/
Darcmsr.h544 uint32_t host_diagnostic; /*00F8 00FB*/ member
Darcmsr_hba.c3672 } while (((readl(&pmuC->host_diagnostic) & ARCMSR_ARC1880_DiagWrite_ENABLE) == 0) && (count < 5)); in arcmsr_hardware_reset()
3673 writel(ARCMSR_ARC1880_RESET_ADAPTER, &pmuC->host_diagnostic); in arcmsr_hardware_reset()
3836 if ((readl(&reg->host_diagnostic) & 0x04) != 0) { in arcmsr_bus_reset()