Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/ata/
Dlibahci.c273 void __iomem *port_mmio = ahci_port_base(ap); in ahci_show_port_cmd() local
277 ret = sprintf(buf, "%x\n", readl(port_mmio + PORT_CMD)); in ahci_show_port_cmd()
600 void __iomem *port_mmio = ahci_port_base(link->ap); in ahci_scr_read() local
604 *val = readl(port_mmio + offset); in ahci_scr_read()
612 void __iomem *port_mmio = ahci_port_base(link->ap); in ahci_scr_write() local
616 writel(val, port_mmio + offset); in ahci_scr_write()
624 void __iomem *port_mmio = ahci_port_base(ap); in ahci_start_engine() local
628 tmp = readl(port_mmio + PORT_CMD); in ahci_start_engine()
630 writel(tmp, port_mmio + PORT_CMD); in ahci_start_engine()
631 readl(port_mmio + PORT_CMD); /* flush */ in ahci_start_engine()
[all …]
Dahci_xgene.c142 void __iomem *port_mmio = ahci_port_base(ap); in xgene_ahci_restart_engine() local
151 if (xgene_ahci_poll_reg_val(ap, port_mmio + in xgene_ahci_restart_engine()
163 fbs = readl(port_mmio + PORT_FBS); in xgene_ahci_restart_engine()
164 writel(fbs | PORT_FBS_EN, port_mmio + PORT_FBS); in xgene_ahci_restart_engine()
165 fbs = readl(port_mmio + PORT_FBS); in xgene_ahci_restart_engine()
196 void *port_mmio = ahci_port_base(ap); in xgene_ahci_qc_issue() local
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()
359 void __iomem *port_mmio = ahci_port_base(ap); in xgene_ahci_do_hardreset() local
373 val = readl(port_mmio + PORT_SCR_ERR); in xgene_ahci_do_hardreset()
[all …]
Dsata_mv.c637 static int mv_stop_edma_engine(void __iomem *port_mmio);
944 void __iomem *port_mmio = mv_ap_base(ap); in mv_save_cached_regs() local
947 pp->cached.fiscfg = readl(port_mmio + FISCFG); in mv_save_cached_regs()
948 pp->cached.ltmode = readl(port_mmio + LTMODE); in mv_save_cached_regs()
949 pp->cached.haltcond = readl(port_mmio + EDMA_HALTCOND); in mv_save_cached_regs()
950 pp->cached.unknown_rsvd = readl(port_mmio + EDMA_UNKNOWN_RSVD); in mv_save_cached_regs()
988 static void mv_set_edma_ptrs(void __iomem *port_mmio, in mv_set_edma_ptrs() argument
1001 writel((pp->crqb_dma >> 16) >> 16, port_mmio + EDMA_REQ_Q_BASE_HI); in mv_set_edma_ptrs()
1003 port_mmio + EDMA_REQ_Q_IN_PTR); in mv_set_edma_ptrs()
1004 writelfl(index, port_mmio + EDMA_REQ_Q_OUT_PTR); in mv_set_edma_ptrs()
[all …]
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()
Dahci_qoriq.c94 void __iomem *port_mmio = ahci_port_base(link->ap); in ahci_qoriq_hardreset() local
122 px_cmd = readl(port_mmio + PORT_CMD); in ahci_qoriq_hardreset()
123 px_is = readl(port_mmio + PORT_IRQ_STAT); in ahci_qoriq_hardreset()
136 px_val = readl(port_mmio + PORT_CMD); in ahci_qoriq_hardreset()
138 writel(px_cmd, port_mmio + PORT_CMD); in ahci_qoriq_hardreset()
140 px_val = readl(port_mmio + PORT_IRQ_STAT); in ahci_qoriq_hardreset()
142 writel(px_is, port_mmio + PORT_IRQ_STAT); in ahci_qoriq_hardreset()
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()
Dpata_pdc2027x.c181 static inline void __iomem *port_mmio(struct ata_port *ap, unsigned int offset) in port_mmio() function
195 return port_mmio(ap, offset) + adj; in dev_mmio()
213 cgcr = ioread32(port_mmio(ap, PDC_GLOBAL_CTL)); in pdc2027x_cable_detect()
231 return ioread8(port_mmio(ap, PDC_ATA_CTL)) & 0x02; in pdc2027x_port_enabled()
Dacard-ahci.c292 void __iomem *port_mmio = ahci_port_base(ap); in acard_ahci_port_start() local
293 u32 cmd = readl(port_mmio + PORT_CMD); in acard_ahci_port_start()
Dahci.c691 void __iomem *port_mmio; in ahci_pci_init_controller() local
700 port_mmio = __ahci_port_base(host, mv); in ahci_pci_init_controller()
702 writel(0, port_mmio + PORT_IRQ_MASK); in ahci_pci_init_controller()
705 tmp = readl(port_mmio + PORT_IRQ_STAT); in ahci_pci_init_controller()
708 writel(tmp, port_mmio + PORT_IRQ_STAT); in ahci_pci_init_controller()
/kernel/linux/patches/linux-5.10/hispark_taurus_patch/
Dhispark_taurus.patch12879 + void __iomem *port_mmio = ahci_port_base(ap);
12892 + while (readl(port_mmio + PORT_SCR_ACT)
12893 + || readl(port_mmio
12895 + || readl(port_mmio
12918 + while (readl(port_mmio + PORT_SCR_ACT)
12919 + || readl(port_mmio
12921 + || readl(port_mmio
12968 writel(fbs | PORT_FBS_EN, port_mmio + PORT_FBS);
12969 fbs = readl(port_mmio + PORT_FBS);
12982 + hisi_sata_set_fifoth(port_mmio);
[all …]
/kernel/linux/patches/linux-4.19/hispark_taurus_patch/
Dhispark_taurus.patch289348 + void __iomem *port_mmio = ahci_port_base(ap);
289361 + while (readl(port_mmio + PORT_SCR_ACT)
289362 + || readl(port_mmio
289364 + || readl(port_mmio
289387 + while (readl(port_mmio + PORT_SCR_ACT)
289388 + || readl(port_mmio
289390 + || readl(port_mmio
289437 writel(fbs | PORT_FBS_EN, port_mmio + PORT_FBS);
289438 fbs = readl(port_mmio + PORT_FBS);
289451 + hisi_sata_set_fifoth(port_mmio);
[all …]