Home
last modified time | relevance | path

Searched refs:port_mmio (Results 1 – 10 of 10) sorted by relevance

/linux-6.3-rc2/drivers/ata/
A Dlibahci.c449 void __iomem *port_mmio; in ahci_save_initial_config() local
624 void __iomem *port_mmio; in ahci_restore_initial_config() local
662 *val = readl(port_mmio + offset); in ahci_scr_read()
674 writel(val, port_mmio + offset); in ahci_scr_write()
686 tmp = readl(port_mmio + PORT_CMD); in ahci_start_engine()
766 readl(port_mmio + PORT_CMD); in ahci_start_fis_rx()
839 readl(port_mmio + PORT_CMD); in ahci_set_lpm()
1262 void __iomem *port_mmio) in ahci_port_init() argument
1298 void __iomem *port_mmio; in ahci_init_controller() local
1304 port_mmio = ahci_port_base(ap); in ahci_init_controller()
[all …]
A Dahci_xgene.c163 fbs = readl(port_mmio + PORT_FBS); in xgene_ahci_restart_engine()
165 fbs = readl(port_mmio + PORT_FBS); in xgene_ahci_restart_engine()
203 port_fbs = readl(port_mmio + PORT_FBS); in xgene_ahci_qc_issue()
206 writel(port_fbs, port_mmio + PORT_FBS); in xgene_ahci_qc_issue()
384 val = readl(port_mmio + PORT_SCR_ERR); in xgene_ahci_do_hardreset()
385 writel(val, port_mmio + PORT_SCR_ERR); in xgene_ahci_do_hardreset()
464 port_fbs = readl(port_mmio + PORT_FBS); in xgene_ahci_pmp_softreset()
467 writel(port_fbs, port_mmio + PORT_FBS); in xgene_ahci_pmp_softreset()
514 port_fbs = readl(port_mmio + PORT_FBS); in xgene_ahci_softreset()
517 writel(port_fbs, port_mmio + PORT_FBS); in xgene_ahci_softreset()
[all …]
A Dsata_mv.c1007 port_mmio + EDMA_REQ_Q_IN_PTR); in mv_set_edma_ptrs()
1068 void __iomem *port_mmio, in mv_clear_and_enable_port_irqs() argument
1477 void __iomem *port_mmio; in mv_config_fbs() local
1497 port_mmio = mv_ap_base(ap); in mv_config_fbs()
1886 writel(0, port_mmio + BMDMA_CMD); in mv_bmdma_setup()
1890 port_mmio + BMDMA_PRD_HIGH); in mv_bmdma_setup()
1892 port_mmio + BMDMA_PRD_LOW); in mv_bmdma_setup()
3317 void __iomem *port_mmio; in mv6_read_preamp() local
3426 void __iomem *port_mmio; in mv_soc_read_preamp() local
3568 mv_stop_edma_engine(port_mmio); in mv_reset_channel()
[all …]
A Dahci_mvebu.c121 void __iomem *port_mmio = ahci_port_base(ap); in ahci_mvebu_stop_engine() local
124 tmp = readl(port_mmio + PORT_CMD); in ahci_mvebu_stop_engine()
131 port_fbs = readl(port_mmio + PORT_FBS); in ahci_mvebu_stop_engine()
135 writel(tmp, port_mmio + PORT_CMD); in ahci_mvebu_stop_engine()
142 writel(port_fbs, port_mmio + PORT_FBS); in ahci_mvebu_stop_engine()
145 tmp = ata_wait_register(ap, port_mmio + PORT_CMD, in ahci_mvebu_stop_engine()
A Dahci_qoriq.c94 void __iomem *port_mmio = ahci_port_base(link->ap); in ahci_qoriq_hardreset() local
120 px_cmd = readl(port_mmio + PORT_CMD); in ahci_qoriq_hardreset()
121 px_is = readl(port_mmio + PORT_IRQ_STAT); in ahci_qoriq_hardreset()
134 px_val = readl(port_mmio + PORT_CMD); in ahci_qoriq_hardreset()
136 writel(px_cmd, port_mmio + PORT_CMD); in ahci_qoriq_hardreset()
138 px_val = readl(port_mmio + PORT_IRQ_STAT); in ahci_qoriq_hardreset()
140 writel(px_is, port_mmio + PORT_IRQ_STAT); in ahci_qoriq_hardreset()
A Dahci_dwc.c264 void __iomem *port_mmio; in ahci_dwc_init_dmacr() local
283 port_mmio = __ahci_port_base(hpriv, port); in ahci_dwc_init_dmacr()
284 dmacr = readl(port_mmio + AHCI_DWC_PORT_DMACR); in ahci_dwc_init_dmacr()
298 writel(dmacr, port_mmio + AHCI_DWC_PORT_DMACR); in ahci_dwc_init_dmacr()
344 void __iomem *port_mmio; in ahci_dwc_reinit_host() local
360 port_mmio = __ahci_port_base(hpriv, i); in ahci_dwc_reinit_host()
361 writel(dpriv->dmacr[i], port_mmio + AHCI_DWC_PORT_DMACR); in ahci_dwc_reinit_host()
A Dahci_sunxi.c149 void __iomem *port_mmio = ahci_port_base(ap); in ahci_sunxi_start_engine() local
199 sunxi_setbits(port_mmio + PORT_CMD, PORT_CMD_START); in ahci_sunxi_start_engine()
A Dpata_pdc2027x.c174 static inline void __iomem *port_mmio(struct ata_port *ap, unsigned int offset) in port_mmio() function
188 return port_mmio(ap, offset) + adj; in dev_mmio()
206 cgcr = ioread32(port_mmio(ap, PDC_GLOBAL_CTL)); in pdc2027x_cable_detect()
224 return ioread8(port_mmio(ap, PDC_ATA_CTL)) & 0x02; in pdc2027x_port_enabled()
A Dacard-ahci.c288 void __iomem *port_mmio = ahci_port_base(ap); in acard_ahci_port_start() local
289 u32 cmd = readl(port_mmio + PORT_CMD); in acard_ahci_port_start()
A Dahci.c703 void __iomem *port_mmio; in ahci_pci_init_controller() local
712 port_mmio = __ahci_port_base(hpriv, mv); in ahci_pci_init_controller()
714 writel(0, port_mmio + PORT_IRQ_MASK); in ahci_pci_init_controller()
717 tmp = readl(port_mmio + PORT_IRQ_STAT); in ahci_pci_init_controller()
720 writel(tmp, port_mmio + PORT_IRQ_STAT); in ahci_pci_init_controller()

Completed in 35 milliseconds