Lines Matching refs:HCONTROL
113 HCONTROL = 0x2C, enumerator
644 temp = ioread32(hcr_base + HCONTROL); in sata_fsl_freeze()
645 iowrite32((temp & ~0x3F), hcr_base + HCONTROL); in sata_fsl_freeze()
648 ioread32(hcr_base + HCONTROL), ioread32(hcr_base + HSTATUS)); in sata_fsl_freeze()
666 temp = ioread32(hcr_base + HCONTROL); in sata_fsl_thaw()
667 iowrite32((temp | DEFAULT_PORT_IRQ_ENABLE_MASK), hcr_base + HCONTROL); in sata_fsl_thaw()
670 ioread32(hcr_base + HCONTROL), ioread32(hcr_base + HSTATUS)); in sata_fsl_thaw()
679 temp = ioread32(hcr_base + HCONTROL); in sata_fsl_pmp_attach()
680 iowrite32((temp | HCONTROL_PMP_ATTACHED), hcr_base + HCONTROL); in sata_fsl_pmp_attach()
689 temp = ioread32(hcr_base + HCONTROL); in sata_fsl_pmp_detach()
691 iowrite32(temp, hcr_base + HCONTROL); in sata_fsl_pmp_detach()
694 temp = ioread32(hcr_base + HCONTROL); in sata_fsl_pmp_detach()
695 iowrite32((temp | DEFAULT_PORT_IRQ_ENABLE_MASK), hcr_base + HCONTROL); in sata_fsl_pmp_detach()
746 temp = ioread32(hcr_base + HCONTROL); in sata_fsl_port_start()
747 iowrite32((temp | HCONTROL_ONLINE_PHY_RST), hcr_base + HCONTROL); in sata_fsl_port_start()
750 ata_port_dbg(ap, "HControl = 0x%x\n", ioread32(hcr_base + HCONTROL)); in sata_fsl_port_start()
767 temp = ioread32(hcr_base + HCONTROL); in sata_fsl_port_stop()
770 iowrite32(temp, hcr_base + HCONTROL); in sata_fsl_port_stop()
792 ata_port_dbg(ap, "HControl = 0x%x\n", ioread32(hcr_base + HCONTROL)); in sata_fsl_dev_classify()
816 temp = ioread32(hcr_base + HCONTROL); in sata_fsl_hardreset()
818 iowrite32(temp, hcr_base + HCONTROL); in sata_fsl_hardreset()
840 ioread32(hcr_base + HCONTROL)); in sata_fsl_hardreset()
856 temp = ioread32(hcr_base + HCONTROL); in sata_fsl_hardreset()
859 iowrite32(temp, hcr_base + HCONTROL); in sata_fsl_hardreset()
871 ioread32(hcr_base + HCONTROL)); in sata_fsl_hardreset()
980 ioread32(hcr_base + HCONTROL), in sata_fsl_softreset()
1202 hcontrol = ioread32(hcr_base + HCONTROL); in sata_fsl_host_intr()
1204 hcr_base + HCONTROL); in sata_fsl_host_intr()
1208 hcr_base + HCONTROL); in sata_fsl_host_intr()
1330 temp = ioread32(hcr_base + HCONTROL); in sata_fsl_init_controller()
1331 iowrite32(temp & ~HCONTROL_LEGACY, hcr_base + HCONTROL); in sata_fsl_init_controller()
1339 temp = ioread32(hcr_base + HCONTROL); in sata_fsl_init_controller()
1340 iowrite32((temp & ~0x3F), hcr_base + HCONTROL); in sata_fsl_init_controller()
1363 ioread32(hcr_base + HSTATUS), ioread32(hcr_base + HCONTROL)); in sata_fsl_init_controller()
1567 iowrite32((ioread32(hcr_base + HCONTROL) in sata_fsl_resume()
1571 hcr_base + HCONTROL); in sata_fsl_resume()