Lines Matching refs:readl

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()
162 fbs = readl(port_mmio + PORT_FBS); in xgene_ahci_restart_engine()
164 fbs = readl(port_mmio + PORT_FBS); in xgene_ahci_restart_engine()
202 port_fbs = readl(port_mmio + PORT_FBS); in xgene_ahci_qc_issue()
225 return (readl(diagcsr + CFG_MEM_RAM_SHUTDOWN) == 0 && in xgene_ahci_is_memram_inited()
226 readl(diagcsr + BLOCK_MEM_RDY) == 0xFFFFFFFF); in xgene_ahci_is_memram_inited()
273 val = readl(mmio + PORTCFG); in xgene_ahci_set_phy_cfg()
276 readl(mmio + PORTCFG); /* Force a barrier */ in xgene_ahci_set_phy_cfg()
279 readl(mmio + PORTPHY1CFG); /* Force a barrier */ in xgene_ahci_set_phy_cfg()
281 readl(mmio + PORTPHY2CFG); /* Force a barrier */ in xgene_ahci_set_phy_cfg()
283 readl(mmio + PORTPHY3CFG); /* Force a barrier */ in xgene_ahci_set_phy_cfg()
285 readl(mmio + PORTPHY4CFG); /* Force a barrier */ in xgene_ahci_set_phy_cfg()
287 val = readl(mmio + PORTPHY5CFG); in xgene_ahci_set_phy_cfg()
290 readl(mmio + PORTPHY5CFG); /* Force a barrier */ in xgene_ahci_set_phy_cfg()
291 val = readl(mmio + PORTAXICFG); in xgene_ahci_set_phy_cfg()
295 readl(mmio + PORTAXICFG); /* Force a barrier */ in xgene_ahci_set_phy_cfg()
297 val = readl(mmio + PORTRANSCFG); in xgene_ahci_set_phy_cfg()
372 val = readl(port_mmio + PORT_SCR_ERR); in xgene_ahci_do_hardreset()
383 val = readl(port_mmio + PORT_SCR_ERR); in xgene_ahci_do_hardreset()
404 portcmd_saved = readl(port_mmio + PORT_CMD); in xgene_ahci_hardreset()
405 portclb_saved = readl(port_mmio + PORT_LST_ADDR); in xgene_ahci_hardreset()
406 portclbhi_saved = readl(port_mmio + PORT_LST_ADDR_HI); in xgene_ahci_hardreset()
407 portrxfis_saved = readl(port_mmio + PORT_FIS_ADDR); in xgene_ahci_hardreset()
408 portrxfishi_saved = readl(port_mmio + PORT_FIS_ADDR_HI); in xgene_ahci_hardreset()
463 port_fbs = readl(port_mmio + PORT_FBS); in xgene_ahci_pmp_softreset()
507 port_fbs_save = readl(port_mmio + PORT_FBS); in xgene_ahci_softreset()
513 port_fbs = readl(port_mmio + PORT_FBS); in xgene_ahci_softreset()
568 if (!readl(hpriv->mmio + HOST_IRQ_STAT)) { in xgene_ahci_handle_broken_edge_irq()
574 if (readl(port_mmio + PORT_IRQ_STAT)) in xgene_ahci_handle_broken_edge_irq()
594 irq_stat = readl(mmio + HOST_IRQ_STAT); in xgene_ahci_irq_intr()
663 readl(hpriv->mmio + HOST_IRQ_STAT); /* Force a barrier */ in xgene_ahci_hw_init()
665 val = readl(ctx->csr_core + INTSTATUSMASK); /* Force a barrier */ in xgene_ahci_hw_init()
670 readl(ctx->csr_core + ERRINTSTATUSMASK); /* Force a barrier */ in xgene_ahci_hw_init()
672 readl(ctx->csr_axi + INT_SLV_TMOMASK); in xgene_ahci_hw_init()
681 val = readl(ctx->csr_core + BUSCTLREG); in xgene_ahci_hw_init()
686 val = readl(ctx->csr_core + IOFMSTRWAUX); in xgene_ahci_hw_init()
690 val = readl(ctx->csr_core + IOFMSTRWAUX); in xgene_ahci_hw_init()
705 val = readl(ctx->csr_mux + SATA_ENET_CONFIG_REG); in xgene_ahci_mux_select()
708 val = readl(ctx->csr_mux + SATA_ENET_CONFIG_REG); in xgene_ahci_mux_select()