Lines Matching refs:PORT_CMD
297 ret = sprintf(buf, "%x\n", readl(port_mmio + PORT_CMD)); in ahci_show_port_cmd()
588 readl(port_mmio + PORT_CMD) & PORT_CMD_CAP; in ahci_save_initial_config()
633 writel(hpriv->saved_port_cap[i], port_mmio + PORT_CMD); in ahci_restore_initial_config()
684 tmp = readl(port_mmio + PORT_CMD); in ahci_start_engine()
686 writel(tmp, port_mmio + PORT_CMD); in ahci_start_engine()
687 readl(port_mmio + PORT_CMD); /* flush */ in ahci_start_engine()
710 tmp = readl(port_mmio + PORT_CMD); in ahci_stop_engine()
728 writel(tmp, port_mmio + PORT_CMD); in ahci_stop_engine()
731 tmp = ata_wait_register(ap, port_mmio + PORT_CMD, in ahci_stop_engine()
759 tmp = readl(port_mmio + PORT_CMD); in ahci_start_fis_rx()
761 writel(tmp, port_mmio + PORT_CMD); in ahci_start_fis_rx()
764 readl(port_mmio + PORT_CMD); in ahci_start_fis_rx()
774 tmp = readl(port_mmio + PORT_CMD); in ahci_stop_fis_rx()
776 writel(tmp, port_mmio + PORT_CMD); in ahci_stop_fis_rx()
779 tmp = ata_wait_register(ap, port_mmio + PORT_CMD, PORT_CMD_FIS_ON, in ahci_stop_fis_rx()
793 cmd = readl(port_mmio + PORT_CMD) & ~PORT_CMD_ICC_MASK; in ahci_power_up()
798 writel(cmd, port_mmio + PORT_CMD); in ahci_power_up()
802 writel(cmd | PORT_CMD_ICC_ACTIVE, port_mmio + PORT_CMD); in ahci_power_up()
829 u32 cmd = readl(port_mmio + PORT_CMD); in ahci_set_lpm()
836 writel(cmd, port_mmio + PORT_CMD); in ahci_set_lpm()
837 readl(port_mmio + PORT_CMD); in ahci_set_lpm()
852 writel(cmd, port_mmio + PORT_CMD); in ahci_set_lpm()
894 cmd = readl(port_mmio + PORT_CMD) & ~PORT_CMD_ICC_MASK; in ahci_power_down()
896 writel(cmd, port_mmio + PORT_CMD); in ahci_power_down()
1286 tmp = readl(port_mmio + PORT_CMD); in ahci_port_init()
1386 tmp = readl(port_mmio + PORT_CMD); in ahci_kick_engine()
1388 writel(tmp, port_mmio + PORT_CMD); in ahci_kick_engine()
1391 tmp = ata_wait_register(ap, port_mmio + PORT_CMD, in ahci_kick_engine()
1633 new_tmp = tmp = readl(port_mmio + PORT_CMD); in ahci_postreset()
1639 writel(new_tmp, port_mmio + PORT_CMD); in ahci_postreset()
1640 readl(port_mmio + PORT_CMD); /* flush */ in ahci_postreset()
2284 cmd = readl(port_mmio + PORT_CMD); in ahci_pmp_attach()
2286 writel(cmd, port_mmio + PORT_CMD); in ahci_pmp_attach()
2312 cmd = readl(port_mmio + PORT_CMD); in ahci_pmp_detach()
2314 writel(cmd, port_mmio + PORT_CMD); in ahci_pmp_detach()
2399 u32 cmd = readl(port_mmio + PORT_CMD); in ahci_port_start()