Lines Matching refs:writel_with_flush
35 #define writel_with_flush(a,b) do { writel(a,b); readl(b); } while (0) macro
154 writel_with_flush(tmp | HOST_RESET, host_ctl_reg); in ahci_reset()
202 writel_with_flush(HOST_AHCI_EN, mmio + HOST_CTL); in ahci_host_init()
204 writel_with_flush(0xf, mmio + HOST_PORTS_IMPL); in ahci_host_init()
252 writel_with_flush(tmp, port_mmio + PORT_CMD); in ahci_host_init()
269 writel_with_flush(cmd, port_mmio + PORT_CMD); in ahci_host_init()
611 writel_with_flush((unsigned long)pp->cmd_slot, in ahci_port_start()
614 writel_with_flush(pp->rx_fis, port_mmio + PORT_FIS_ADDR); in ahci_port_start()
620 writel_with_flush(PORT_CMD_ICC_ACTIVE | PORT_CMD_FIS_RX | in ahci_port_start()
666 writel_with_flush(1, port_mmio + PORT_CMD_ISSUE); in ahci_device_data_io()
1130 writel_with_flush(1, port_mmio + PORT_CMD_ISSUE); in ata_io_flush()