Searched refs:port_mmio (Results 1 – 3 of 3) sorted by relevance
/drivers/ata/ |
D | ahci.c | 845 void __iomem *port_mmio = ahci_port_base(link->ap); in ahci_scr_read() local 849 *val = readl(port_mmio + offset); in ahci_scr_read() 857 void __iomem *port_mmio = ahci_port_base(link->ap); in ahci_scr_write() local 861 writel(val, port_mmio + offset); in ahci_scr_write() 869 void __iomem *port_mmio = ahci_port_base(ap); in ahci_start_engine() local 873 tmp = readl(port_mmio + PORT_CMD); in ahci_start_engine() 875 writel(tmp, port_mmio + PORT_CMD); in ahci_start_engine() 876 readl(port_mmio + PORT_CMD); /* flush */ in ahci_start_engine() 881 void __iomem *port_mmio = ahci_port_base(ap); in ahci_stop_engine() local 884 tmp = readl(port_mmio + PORT_CMD); in ahci_stop_engine() [all …]
|
D | sata_mv.c | 537 static int mv_stop_edma_engine(void __iomem *port_mmio); 797 static void mv_set_edma_ptrs(void __iomem *port_mmio, in mv_set_edma_ptrs() argument 810 writel((pp->crqb_dma >> 16) >> 16, port_mmio + EDMA_REQ_Q_BASE_HI_OFS); in mv_set_edma_ptrs() 812 port_mmio + EDMA_REQ_Q_IN_PTR_OFS); in mv_set_edma_ptrs() 813 writelfl(index, port_mmio + EDMA_REQ_Q_OUT_PTR_OFS); in mv_set_edma_ptrs() 822 writel((pp->crpb_dma >> 16) >> 16, port_mmio + EDMA_RSP_Q_BASE_HI_OFS); in mv_set_edma_ptrs() 823 writelfl(index, port_mmio + EDMA_RSP_Q_IN_PTR_OFS); in mv_set_edma_ptrs() 825 port_mmio + EDMA_RSP_Q_OUT_PTR_OFS); in mv_set_edma_ptrs() 866 static void mv_start_dma(struct ata_port *ap, void __iomem *port_mmio, in mv_start_dma() argument 884 writelfl(0, port_mmio + EDMA_ERR_IRQ_CAUSE_OFS); in mv_start_dma() [all …]
|
D | pata_pdc2027x.c | 182 static inline void __iomem *port_mmio(struct ata_port *ap, unsigned int offset) in port_mmio() function 196 return port_mmio(ap, offset) + adj; in dev_mmio() 214 cgcr = ioread32(port_mmio(ap, PDC_GLOBAL_CTL)); in pdc2027x_cable_detect() 232 return ioread8(port_mmio(ap, PDC_ATA_CTL)) & 0x02; in pdc2027x_port_enabled()
|