Lines Matching refs:port_mmio

142 	void __iomem *port_mmio = ahci_port_base(ap);  in xgene_ahci_restart_engine()  local
151 if (xgene_ahci_poll_reg_val(ap, port_mmio + in xgene_ahci_restart_engine()
163 fbs = readl(port_mmio + PORT_FBS); in xgene_ahci_restart_engine()
164 writel(fbs | PORT_FBS_EN, port_mmio + PORT_FBS); in xgene_ahci_restart_engine()
165 fbs = readl(port_mmio + PORT_FBS); in xgene_ahci_restart_engine()
196 void __iomem *port_mmio = ahci_port_base(ap); in xgene_ahci_qc_issue() local
203 port_fbs = readl(port_mmio + PORT_FBS); in xgene_ahci_qc_issue()
206 writel(port_fbs, port_mmio + PORT_FBS); in xgene_ahci_qc_issue()
359 void __iomem *port_mmio = ahci_port_base(ap); in xgene_ahci_do_hardreset() local
373 val = readl(port_mmio + PORT_SCR_ERR); in xgene_ahci_do_hardreset()
384 val = readl(port_mmio + PORT_SCR_ERR); in xgene_ahci_do_hardreset()
385 writel(val, port_mmio + PORT_SCR_ERR); in xgene_ahci_do_hardreset()
395 void __iomem *port_mmio = ahci_port_base(ap); in xgene_ahci_hardreset() local
405 portcmd_saved = readl(port_mmio + PORT_CMD); in xgene_ahci_hardreset()
406 portclb_saved = readl(port_mmio + PORT_LST_ADDR); in xgene_ahci_hardreset()
407 portclbhi_saved = readl(port_mmio + PORT_LST_ADDR_HI); in xgene_ahci_hardreset()
408 portrxfis_saved = readl(port_mmio + PORT_FIS_ADDR); in xgene_ahci_hardreset()
409 portrxfishi_saved = readl(port_mmio + PORT_FIS_ADDR_HI); in xgene_ahci_hardreset()
416 writel(portcmd_saved, port_mmio + PORT_CMD); in xgene_ahci_hardreset()
417 writel(portclb_saved, port_mmio + PORT_LST_ADDR); in xgene_ahci_hardreset()
418 writel(portclbhi_saved, port_mmio + PORT_LST_ADDR_HI); in xgene_ahci_hardreset()
419 writel(portrxfis_saved, port_mmio + PORT_FIS_ADDR); in xgene_ahci_hardreset()
420 writel(portrxfishi_saved, port_mmio + PORT_FIS_ADDR_HI); in xgene_ahci_hardreset()
457 void __iomem *port_mmio = ahci_port_base(ap); in xgene_ahci_pmp_softreset() local
464 port_fbs = readl(port_mmio + PORT_FBS); in xgene_ahci_pmp_softreset()
467 writel(port_fbs, port_mmio + PORT_FBS); in xgene_ahci_pmp_softreset()
502 void __iomem *port_mmio = ahci_port_base(ap); in xgene_ahci_softreset() local
508 port_fbs_save = readl(port_mmio + PORT_FBS); in xgene_ahci_softreset()
514 port_fbs = readl(port_mmio + PORT_FBS); in xgene_ahci_softreset()
517 writel(port_fbs, port_mmio + PORT_FBS); in xgene_ahci_softreset()
530 writel(port_fbs_save, port_mmio + PORT_FBS); in xgene_ahci_softreset()
566 void __iomem *port_mmio; in xgene_ahci_handle_broken_edge_irq() local
574 port_mmio = ahci_port_base(host->ports[i]); in xgene_ahci_handle_broken_edge_irq()
575 if (readl(port_mmio + PORT_IRQ_STAT)) in xgene_ahci_handle_broken_edge_irq()