Home
last modified time | relevance | path

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

/openbmc/linux/drivers/ata/
H A Dahci_xgene.c86 void __iomem *csr_diag; /* Diag CSR address of IP */ member
94 writel(0x0, ctx->csr_diag + CFG_MEM_RAM_SHUTDOWN); in xgene_ahci_init_memram()
95 readl(ctx->csr_diag + CFG_MEM_RAM_SHUTDOWN); /* Force a barrier */ in xgene_ahci_init_memram()
97 if (readl(ctx->csr_diag + BLOCK_MEM_RDY) != 0xFFFFFFFF) { in xgene_ahci_init_memram()
223 void __iomem *diagcsr = ctx->csr_diag; in xgene_ahci_is_memram_inited()
762 ctx->csr_diag = devm_platform_ioremap_resource(pdev, 2); in xgene_ahci_probe()
763 if (IS_ERR(ctx->csr_diag)) in xgene_ahci_probe()
764 return PTR_ERR(ctx->csr_diag); in xgene_ahci_probe()