Lines Matching refs:writel_with_flush
80 #define writel_with_flush(a, b) do { writel(a, b); readl(b); } while (0) macro
126 writel_with_flush(tmp | SATA_HOST_GHC_HR, &host_mmio->ghc); in ahci_host_init()
141 writel_with_flush(SATA_HOST_GHC_AE, &host_mmio->ghc); in ahci_host_init()
144 writel_with_flush((1 << num_ports) - 1, &host_mmio->pi); in ahci_host_init()
181 writel_with_flush(tmp, &port_mmio->cmd); in ahci_host_init()
401 writel_with_flush(1 << cmd_slot, &port_mmio->ci); in ahci_exec_ata_cmd()
482 writel_with_flush(0x00004444, &port_mmio->dmacr); in ahci_port_start()
484 writel_with_flush((u32)pp->cmd_slot, &port_mmio->clb); in ahci_port_start()
485 writel_with_flush(pp->rx_fis, &port_mmio->fb); in ahci_port_start()
488 writel_with_flush((SATA_PORT_CMD_FRE | readl(&port_mmio->cmd)), in ahci_port_start()
502 writel_with_flush(PORT_CMD_ICC_ACTIVE | PORT_CMD_FIS_RX | in ahci_port_start()