hcr_base 280 drivers/ata/sata_fsl.c void __iomem *hcr_base; hcr_base 293 drivers/ata/sata_fsl.c void __iomem *hcr_base = host_priv->hcr_base; hcr_base 308 drivers/ata/sata_fsl.c iowrite32((count << 24 | ticks), hcr_base + ICC); hcr_base 317 drivers/ata/sata_fsl.c hcr_base, ioread32(hcr_base + ICC)); hcr_base 389 drivers/ata/sata_fsl.c void __iomem *hcr_base) hcr_base 398 drivers/ata/sata_fsl.c if (unlikely((ioread32(hcr_base + CQ)) & (1 << tag))) { hcr_base 510 drivers/ata/sata_fsl.c void __iomem *hcr_base = host_priv->hcr_base; hcr_base 511 drivers/ata/sata_fsl.c unsigned int tag = sata_fsl_tag(qc->hw_tag, hcr_base); hcr_base 557 drivers/ata/sata_fsl.c void __iomem *hcr_base = host_priv->hcr_base; hcr_base 558 drivers/ata/sata_fsl.c unsigned int tag = sata_fsl_tag(qc->hw_tag, hcr_base); hcr_base 561 drivers/ata/sata_fsl.c ioread32(CQ + hcr_base), hcr_base 562 drivers/ata/sata_fsl.c ioread32(CA + hcr_base), hcr_base 563 drivers/ata/sata_fsl.c ioread32(CE + hcr_base), ioread32(CC + hcr_base)); hcr_base 565 drivers/ata/sata_fsl.c iowrite32(qc->dev->link->pmp, CQPMP + hcr_base); hcr_base 568 drivers/ata/sata_fsl.c iowrite32(1 << tag, CQ + hcr_base); hcr_base 571 drivers/ata/sata_fsl.c tag, ioread32(CQ + hcr_base), ioread32(CA + hcr_base)); hcr_base 574 drivers/ata/sata_fsl.c ioread32(CE + hcr_base), hcr_base 575 drivers/ata/sata_fsl.c ioread32(DE + hcr_base), hcr_base 576 drivers/ata/sata_fsl.c ioread32(CC + hcr_base), hcr_base 586 drivers/ata/sata_fsl.c void __iomem *hcr_base = host_priv->hcr_base; hcr_base 587 drivers/ata/sata_fsl.c unsigned int tag = sata_fsl_tag(qc->hw_tag, hcr_base); hcr_base 647 drivers/ata/sata_fsl.c void __iomem *hcr_base = host_priv->hcr_base; hcr_base 651 drivers/ata/sata_fsl.c ioread32(CQ + hcr_base), hcr_base 652 drivers/ata/sata_fsl.c ioread32(CA + hcr_base), hcr_base 653 drivers/ata/sata_fsl.c ioread32(CE + hcr_base), ioread32(DE + hcr_base)); hcr_base 658 drivers/ata/sata_fsl.c temp = ioread32(hcr_base + HCONTROL); hcr_base 659 drivers/ata/sata_fsl.c iowrite32((temp & ~0x3F), hcr_base + HCONTROL); hcr_base 662 drivers/ata/sata_fsl.c ioread32(hcr_base + HCONTROL), ioread32(hcr_base + HSTATUS)); hcr_base 668 drivers/ata/sata_fsl.c void __iomem *hcr_base = host_priv->hcr_base; hcr_base 672 drivers/ata/sata_fsl.c temp = ioread32(hcr_base + HSTATUS); hcr_base 677 drivers/ata/sata_fsl.c iowrite32((temp & 0x3F), hcr_base + HSTATUS); hcr_base 680 drivers/ata/sata_fsl.c temp = ioread32(hcr_base + HCONTROL); hcr_base 681 drivers/ata/sata_fsl.c iowrite32((temp | DEFAULT_PORT_IRQ_ENABLE_MASK), hcr_base + HCONTROL); hcr_base 684 drivers/ata/sata_fsl.c ioread32(hcr_base + HCONTROL), ioread32(hcr_base + HSTATUS)); hcr_base 690 drivers/ata/sata_fsl.c void __iomem *hcr_base = host_priv->hcr_base; hcr_base 693 drivers/ata/sata_fsl.c temp = ioread32(hcr_base + HCONTROL); hcr_base 694 drivers/ata/sata_fsl.c iowrite32((temp | HCONTROL_PMP_ATTACHED), hcr_base + HCONTROL); hcr_base 700 drivers/ata/sata_fsl.c void __iomem *hcr_base = host_priv->hcr_base; hcr_base 703 drivers/ata/sata_fsl.c temp = ioread32(hcr_base + HCONTROL); hcr_base 705 drivers/ata/sata_fsl.c iowrite32(temp, hcr_base + HCONTROL); hcr_base 708 drivers/ata/sata_fsl.c temp = ioread32(hcr_base + HCONTROL); hcr_base 709 drivers/ata/sata_fsl.c iowrite32((temp | DEFAULT_PORT_IRQ_ENABLE_MASK), hcr_base + HCONTROL); hcr_base 720 drivers/ata/sata_fsl.c void __iomem *hcr_base = host_priv->hcr_base; hcr_base 749 drivers/ata/sata_fsl.c iowrite32(pp->cmdslot_paddr & 0xffffffff, hcr_base + CHBA); hcr_base 759 drivers/ata/sata_fsl.c temp = ioread32(hcr_base + HCONTROL); hcr_base 760 drivers/ata/sata_fsl.c iowrite32((temp | HCONTROL_ONLINE_PHY_RST), hcr_base + HCONTROL); hcr_base 762 drivers/ata/sata_fsl.c VPRINTK("HStatus = 0x%x\n", ioread32(hcr_base + HSTATUS)); hcr_base 763 drivers/ata/sata_fsl.c VPRINTK("HControl = 0x%x\n", ioread32(hcr_base + HCONTROL)); hcr_base 764 drivers/ata/sata_fsl.c VPRINTK("CHBA = 0x%x\n", ioread32(hcr_base + CHBA)); hcr_base 774 drivers/ata/sata_fsl.c void __iomem *hcr_base = host_priv->hcr_base; hcr_base 780 drivers/ata/sata_fsl.c temp = ioread32(hcr_base + HCONTROL); hcr_base 783 drivers/ata/sata_fsl.c iowrite32(temp, hcr_base + HCONTROL); hcr_base 786 drivers/ata/sata_fsl.c ata_wait_register(ap, hcr_base + HSTATUS, ONLINE, ONLINE, 1, 1); hcr_base 798 drivers/ata/sata_fsl.c void __iomem *hcr_base = host_priv->hcr_base; hcr_base 802 drivers/ata/sata_fsl.c temp = ioread32(hcr_base + SIGNATURE); hcr_base 805 drivers/ata/sata_fsl.c VPRINTK("HStatus = 0x%x\n", ioread32(hcr_base + HSTATUS)); hcr_base 806 drivers/ata/sata_fsl.c VPRINTK("HControl = 0x%x\n", ioread32(hcr_base + HCONTROL)); hcr_base 821 drivers/ata/sata_fsl.c void __iomem *hcr_base = host_priv->hcr_base; hcr_base 832 drivers/ata/sata_fsl.c temp = ioread32(hcr_base + HCONTROL); hcr_base 834 drivers/ata/sata_fsl.c iowrite32(temp, hcr_base + HCONTROL); hcr_base 837 drivers/ata/sata_fsl.c temp = ata_wait_register(ap, hcr_base + HSTATUS, ONLINE, ONLINE, hcr_base 854 drivers/ata/sata_fsl.c VPRINTK("HStatus = 0x%x\n", ioread32(hcr_base + HSTATUS)); hcr_base 855 drivers/ata/sata_fsl.c VPRINTK("HControl = 0x%x\n", ioread32(hcr_base + HCONTROL)); hcr_base 871 drivers/ata/sata_fsl.c temp = ioread32(hcr_base + HCONTROL); hcr_base 874 drivers/ata/sata_fsl.c iowrite32(temp, hcr_base + HCONTROL); hcr_base 876 drivers/ata/sata_fsl.c temp = ata_wait_register(ap, hcr_base + HSTATUS, ONLINE, 0, 1, 500); hcr_base 884 drivers/ata/sata_fsl.c VPRINTK("HStatus = 0x%x\n", ioread32(hcr_base + HSTATUS)); hcr_base 885 drivers/ata/sata_fsl.c VPRINTK("HControl = 0x%x\n", ioread32(hcr_base + HCONTROL)); hcr_base 893 drivers/ata/sata_fsl.c temp = ata_wait_register(ap, hcr_base + HSTATUS, 0xFF, 0, 1, 500); hcr_base 896 drivers/ata/sata_fsl.c ioread32(hcr_base + HSTATUS)); hcr_base 905 drivers/ata/sata_fsl.c temp = ata_wait_register(ap, hcr_base + HSTATUS, 0xFF, 0x10, hcr_base 935 drivers/ata/sata_fsl.c void __iomem *hcr_base = host_priv->hcr_base; hcr_base 979 drivers/ata/sata_fsl.c ioread32(CQ + hcr_base), hcr_base 980 drivers/ata/sata_fsl.c ioread32(CA + hcr_base), ioread32(CC + hcr_base)); hcr_base 982 drivers/ata/sata_fsl.c iowrite32(0xFFFF, CC + hcr_base); hcr_base 984 drivers/ata/sata_fsl.c iowrite32(pmp, CQPMP + hcr_base); hcr_base 985 drivers/ata/sata_fsl.c iowrite32(1, CQ + hcr_base); hcr_base 987 drivers/ata/sata_fsl.c temp = ata_wait_register(ap, CQ + hcr_base, 0x1, 0x1, 1, 5000); hcr_base 992 drivers/ata/sata_fsl.c ioread32(CQ + hcr_base), hcr_base 993 drivers/ata/sata_fsl.c ioread32(CA + hcr_base), ioread32(CC + hcr_base)); hcr_base 997 drivers/ata/sata_fsl.c DPRINTK("HStatus = 0x%x\n", ioread32(hcr_base + HSTATUS)); hcr_base 998 drivers/ata/sata_fsl.c DPRINTK("HControl = 0x%x\n", ioread32(hcr_base + HCONTROL)); hcr_base 1020 drivers/ata/sata_fsl.c iowrite32(pmp, CQPMP + hcr_base); hcr_base 1021 drivers/ata/sata_fsl.c iowrite32(1, CQ + hcr_base); hcr_base 1029 drivers/ata/sata_fsl.c iowrite32(0x01, CC + hcr_base); /* We know it will be cmd#0 always */ hcr_base 1047 drivers/ata/sata_fsl.c VPRINTK("ccreg = 0x%x\n", ioread32(hcr_base + CC)); hcr_base 1048 drivers/ata/sata_fsl.c VPRINTK("cereg = 0x%x\n", ioread32(hcr_base + CE)); hcr_base 1079 drivers/ata/sata_fsl.c void __iomem *hcr_base = host_priv->hcr_base; hcr_base 1087 drivers/ata/sata_fsl.c hstatus = ioread32(hcr_base + HSTATUS); hcr_base 1088 drivers/ata/sata_fsl.c cereg = ioread32(hcr_base + CE); hcr_base 1104 drivers/ata/sata_fsl.c hstatus, cereg, ioread32(hcr_base + DE), SError); hcr_base 1142 drivers/ata/sata_fsl.c ioread32(hcr_base + CE), ioread32(hcr_base + DE)); hcr_base 1148 drivers/ata/sata_fsl.c dereg = ioread32(hcr_base + DE); hcr_base 1149 drivers/ata/sata_fsl.c iowrite32(dereg, hcr_base + DE); hcr_base 1150 drivers/ata/sata_fsl.c iowrite32(cereg, hcr_base + CE); hcr_base 1170 drivers/ata/sata_fsl.c dereg = ioread32(hcr_base + DE); hcr_base 1171 drivers/ata/sata_fsl.c iowrite32(dereg, hcr_base + DE); hcr_base 1172 drivers/ata/sata_fsl.c iowrite32(cereg, hcr_base + CE); hcr_base 1205 drivers/ata/sata_fsl.c void __iomem *hcr_base = host_priv->hcr_base; hcr_base 1212 drivers/ata/sata_fsl.c hstatus = ioread32(hcr_base + HSTATUS); hcr_base 1217 drivers/ata/sata_fsl.c done_mask = ioread32(hcr_base + CC); hcr_base 1225 drivers/ata/sata_fsl.c hcontrol = ioread32(hcr_base + HCONTROL); hcr_base 1227 drivers/ata/sata_fsl.c hcr_base + HCONTROL); hcr_base 1231 drivers/ata/sata_fsl.c hcr_base + HCONTROL); hcr_base 1259 drivers/ata/sata_fsl.c ioread32(hcr_base + CA), hcr_base 1260 drivers/ata/sata_fsl.c ioread32(hcr_base + CE), hcr_base 1261 drivers/ata/sata_fsl.c ioread32(hcr_base + CQ), hcr_base 1267 drivers/ata/sata_fsl.c iowrite32(done_mask, hcr_base + CC); hcr_base 1271 drivers/ata/sata_fsl.c done_mask, ioread32(hcr_base + CA), hcr_base 1272 drivers/ata/sata_fsl.c ioread32(hcr_base + CE)); hcr_base 1278 drivers/ata/sata_fsl.c i, ioread32(hcr_base + CC), hcr_base 1279 drivers/ata/sata_fsl.c ioread32(hcr_base + CA)); hcr_base 1285 drivers/ata/sata_fsl.c iowrite32(1, hcr_base + CC); hcr_base 1289 drivers/ata/sata_fsl.c ioread32(hcr_base + CC)); hcr_base 1297 drivers/ata/sata_fsl.c ioread32(hcr_base + CC)); hcr_base 1298 drivers/ata/sata_fsl.c iowrite32(done_mask, hcr_base + CC); hcr_base 1307 drivers/ata/sata_fsl.c void __iomem *hcr_base = host_priv->hcr_base; hcr_base 1313 drivers/ata/sata_fsl.c interrupt_enables = ioread32(hcr_base + HSTATUS); hcr_base 1332 drivers/ata/sata_fsl.c iowrite32(interrupt_enables, hcr_base + HSTATUS); hcr_base 1347 drivers/ata/sata_fsl.c void __iomem *hcr_base = host_priv->hcr_base; hcr_base 1357 drivers/ata/sata_fsl.c temp = ioread32(hcr_base + HCONTROL); hcr_base 1358 drivers/ata/sata_fsl.c iowrite32(temp & ~HCONTROL_LEGACY, hcr_base + HCONTROL); hcr_base 1361 drivers/ata/sata_fsl.c temp = ioread32(hcr_base + HSTATUS); hcr_base 1363 drivers/ata/sata_fsl.c iowrite32((temp & 0x3F), hcr_base + HSTATUS); hcr_base 1366 drivers/ata/sata_fsl.c temp = ioread32(hcr_base + HCONTROL); hcr_base 1367 drivers/ata/sata_fsl.c iowrite32((temp & ~0x3F), hcr_base + HCONTROL); hcr_base 1370 drivers/ata/sata_fsl.c DPRINTK("icc = 0x%x\n", ioread32(hcr_base + ICC)); hcr_base 1371 drivers/ata/sata_fsl.c iowrite32(0x01000000, hcr_base + ICC); hcr_base 1374 drivers/ata/sata_fsl.c iowrite32(0x00000FFFF, hcr_base + CE); hcr_base 1375 drivers/ata/sata_fsl.c iowrite32(0x00000FFFF, hcr_base + DE); hcr_base 1389 drivers/ata/sata_fsl.c DPRINTK("HStatus = 0x%x\n", ioread32(hcr_base + HSTATUS)); hcr_base 1390 drivers/ata/sata_fsl.c DPRINTK("HControl = 0x%x\n", ioread32(hcr_base + HCONTROL)); hcr_base 1443 drivers/ata/sata_fsl.c void __iomem *hcr_base = NULL; hcr_base 1456 drivers/ata/sata_fsl.c hcr_base = of_iomap(ofdev->dev.of_node, 0); hcr_base 1457 drivers/ata/sata_fsl.c if (!hcr_base) hcr_base 1460 drivers/ata/sata_fsl.c ssr_base = hcr_base + 0x100; hcr_base 1461 drivers/ata/sata_fsl.c csr_base = hcr_base + 0x140; hcr_base 1477 drivers/ata/sata_fsl.c host_priv->hcr_base = hcr_base; hcr_base 1541 drivers/ata/sata_fsl.c if (hcr_base) hcr_base 1542 drivers/ata/sata_fsl.c iounmap(hcr_base); hcr_base 1559 drivers/ata/sata_fsl.c iounmap(host_priv->hcr_base); hcr_base 1577 drivers/ata/sata_fsl.c void __iomem *hcr_base = host_priv->hcr_base; hcr_base 1588 drivers/ata/sata_fsl.c iowrite32(pp->cmdslot_paddr & 0xffffffff, hcr_base + CHBA); hcr_base 1590 drivers/ata/sata_fsl.c iowrite32((ioread32(hcr_base + HCONTROL) hcr_base 1594 drivers/ata/sata_fsl.c hcr_base + HCONTROL);