Home
last modified time | relevance | path

Searched refs:ctl_addr (Results 1 – 25 of 47) sorted by relevance

12

/linux-6.12.1/drivers/ata/
Dpata_isapnp.c52 void __iomem *cmd_addr, *ctl_addr; in isapnp_init_one() local
83 ctl_addr = devm_ioport_map(&idev->dev, in isapnp_init_one()
85 if (!ctl_addr) in isapnp_init_one()
88 ap->ioaddr.altstatus_addr = ctl_addr; in isapnp_init_one()
89 ap->ioaddr.ctl_addr = ctl_addr; in isapnp_init_one()
Dpata_mpiix.c157 void __iomem *cmd_addr, *ctl_addr; in mpiix_init_one() local
188 ctl_addr = devm_ioport_map(&dev->dev, ctl, 1); in mpiix_init_one()
189 if (!cmd_addr || !ctl_addr) in mpiix_init_one()
205 ap->ioaddr.ctl_addr = ctl_addr; in mpiix_init_one()
206 ap->ioaddr.altstatus_addr = ctl_addr; in mpiix_init_one()
Dpata_pcmcia.c192 void __iomem *io_addr, *ctl_addr; in pcmcia_init_one() local
227 ctl_addr = devm_ioport_map(&pdev->dev, ctl_base, 1); in pcmcia_init_one()
228 if (!io_addr || !ctl_addr) in pcmcia_init_one()
232 iowrite8(0x02, ctl_addr); in pcmcia_init_one()
234 iowrite8(0x81, ctl_addr + 0x01); in pcmcia_init_one()
259 ap->ioaddr.altstatus_addr = ctl_addr + 0x10 * p; in pcmcia_init_one()
260 ap->ioaddr.ctl_addr = ctl_addr + 0x10 * p; in pcmcia_init_one()
Dpata_platform.c158 ap->ioaddr.ctl_addr = devm_ioremap(dev, ctl_res->start, in __pata_platform_probe()
163 ap->ioaddr.ctl_addr = devm_ioport_map(dev, ctl_res->start, in __pata_platform_probe()
166 if (!ap->ioaddr.cmd_addr || !ap->ioaddr.ctl_addr) { in __pata_platform_probe()
171 ap->ioaddr.altstatus_addr = ap->ioaddr.ctl_addr; in __pata_platform_probe()
Dpata_octeon_cf.c401 if (likely(ap->ioaddr.ctl_addr)) { in octeon_cf_tf_read16()
402 iowrite8(tf->ctl | ATA_HOB, ap->ioaddr.ctl_addr); in octeon_cf_tf_read16()
415 iowrite8(tf->ctl, ap->ioaddr.ctl_addr); in octeon_cf_tf_read16()
469 iowrite8(tf->ctl, ap->ioaddr.ctl_addr); in octeon_cf_tf_load16()
916 ap->ioaddr.ctl_addr = base + 0xe; in octeon_cf_probe()
932 ap->ioaddr.ctl_addr = cs1 + (6 << 1) + 1; in octeon_cf_probe()
954 ap->ioaddr.ctl_addr = base + 0xe; in octeon_cf_probe()
957 cf_port->c0 = ap->ioaddr.ctl_addr; in octeon_cf_probe()
963 ata_port_desc(ap, "cmd %p ctl %p", base, ap->ioaddr.ctl_addr); in octeon_cf_probe()
Dsata_rcar.c273 iowrite32(ctl, ap->ioaddr.ctl_addr); in sata_rcar_set_devctl()
322 iowrite32(ap->ctl, ioaddr->ctl_addr); in sata_rcar_bus_softreset()
324 iowrite32(ap->ctl | ATA_SRST, ioaddr->ctl_addr); in sata_rcar_bus_softreset()
326 iowrite32(ap->ctl, ioaddr->ctl_addr); in sata_rcar_bus_softreset()
366 iowrite32(tf->ctl, ioaddr->ctl_addr); in sata_rcar_tf_load()
406 iowrite32(tf->ctl | ATA_HOB, ioaddr->ctl_addr); in sata_rcar_tf_read()
412 iowrite32(tf->ctl, ioaddr->ctl_addr); in sata_rcar_tf_read()
745 ioaddr->ctl_addr = base + SSDEVCON_REG; in sata_rcar_setup_port()
747 ioaddr->altstatus_addr = ioaddr->ctl_addr; in sata_rcar_setup_port()
Dsata_uli.c179 ioaddr->ctl_addr = (void __iomem *) in uli_init_one()
194 ioaddr->ctl_addr = (void __iomem *) in uli_init_one()
Dpata_cs5520.c171 ioaddr->ctl_addr = iomap[1]; in cs5520_init_one()
182 ioaddr->ctl_addr = iomap[3]; in cs5520_init_one()
Dlibata-sff.c232 if (ap->ioaddr.ctl_addr) { in ata_sff_set_devctl()
233 iowrite8(ctl, ap->ioaddr.ctl_addr); in ata_sff_set_devctl()
348 if (ioaddr->ctl_addr) in ata_sff_tf_load()
349 iowrite8(tf->ctl, ioaddr->ctl_addr); in ata_sff_tf_load()
355 WARN_ON_ONCE(!ioaddr->ctl_addr); in ata_sff_tf_load()
404 if (likely(ioaddr->ctl_addr)) { in ata_sff_tf_read()
405 iowrite8(tf->ctl | ATA_HOB, ioaddr->ctl_addr); in ata_sff_tf_read()
411 iowrite8(tf->ctl, ioaddr->ctl_addr); in ata_sff_tf_read()
1879 if (ap->ioaddr.ctl_addr) { in ata_bus_softreset()
1881 iowrite8(ap->ctl, ioaddr->ctl_addr); in ata_bus_softreset()
[all …]
Dpata_atp867x.c315 (unsigned long)ioaddr->ctl_addr, in atp867x_check_ports()
434 ioaddr->ctl_addr = ioaddr->altstatus_addr in atp867x_ata_pci_sff_init_host()
447 (unsigned long)ioaddr->ctl_addr); in atp867x_ata_pci_sff_init_host()
Dpata_imx.c166 ap->ioaddr.ctl_addr = priv->host_regs + PATA_IMX_DRIVE_CONTROL; in pata_imx_probe()
168 ap->ioaddr.altstatus_addr = ap->ioaddr.ctl_addr; in pata_imx_probe()
Dpata_ns87415.c276 iowrite8(tf->ctl | ATA_HOB, ioaddr->ctl_addr); in ns87560_tf_read()
282 iowrite8(tf->ctl, ioaddr->ctl_addr); in ns87560_tf_read()
Dpata_ixp4xx_cf.c203 ioaddr->ctl_addr = ixpp->ctl + 0x06; in ixp4xx_setup_port()
215 *(unsigned long *)&ioaddr->ctl_addr ^= 0x03; in ixp4xx_setup_port()
Dpata_pxa.c226 ap->ioaddr.ctl_addr = devm_ioremap(&pdev->dev, ctl_res->start, in pxa_ata_probe()
234 ap->ioaddr.altstatus_addr = ap->ioaddr.ctl_addr; in pxa_ata_probe()
Dpata_sil680.c383 host->ports[0]->ioaddr.ctl_addr = mmio_base + 0x8a; in sil680_init_one()
388 host->ports[1]->ioaddr.ctl_addr = mmio_base + 0xca; in sil680_init_one()
Dpdc_adma.c194 writeb(ATA_NIEN, ap->ioaddr.ctl_addr); in adma_reinit_engine()
229 writeb(ATA_NIEN, ap->ioaddr.ctl_addr); in adma_freeze()
503 port->ctl_addr = base + 0x038; in adma_ata_setup_port()
Dpata_ninja32.c141 ap->ioaddr.ctl_addr = base + 0x1E; in ninja32_init_one()
Dpata_rb532_cf.c93 ap->ioaddr.ctl_addr = info->iobase + RB500_CF_REG_CTRL; in rb532_pata_setup_ports()
Dsata_svw.c165 writeb(tf->ctl, ioaddr->ctl_addr); in k2_sata_tf_load()
405 port->ctl_addr = base + K2_SATA_TF_CTL_OFFSET; in k2_sata_setup_port()
Dpata_gayle.c179 ap->ioaddr.ctl_addr = base + GAYLE_CONTROL; in pata_gayle_init_one()
/linux-6.12.1/arch/um/drivers/
Ddaemon_user.c50 struct sockaddr_un *ctl_addr = pri->ctl_addr; in connect_to_switch() local
64 if (connect(pri->control, (struct sockaddr *) ctl_addr, in connect_to_switch()
65 sizeof(*ctl_addr)) < 0) { in connect_to_switch()
137 pri->ctl_addr = new_addr(pri->ctl_sock, in daemon_user_init()
172 kfree(pri->ctl_addr); in daemon_remove()
173 pri->ctl_addr = NULL; in daemon_remove()
Ddaemon.h16 void *ctl_addr; member
Ddaemon_kern.c33 dpri->ctl_addr = NULL; in daemon_init()
/linux-6.12.1/drivers/pmdomain/mediatek/
Dmtk-scpsys.c233 static int scpsys_sram_enable(struct scp_domain *scpd, void __iomem *ctl_addr) in scpsys_sram_enable() argument
239 val = readl(ctl_addr); in scpsys_sram_enable()
241 writel(val, ctl_addr); in scpsys_sram_enable()
253 int ret = readl_poll_timeout(ctl_addr, tmp, in scpsys_sram_enable()
263 static int scpsys_sram_disable(struct scp_domain *scpd, void __iomem *ctl_addr) in scpsys_sram_disable() argument
269 val = readl(ctl_addr); in scpsys_sram_disable()
271 writel(val, ctl_addr); in scpsys_sram_disable()
274 return readl_poll_timeout(ctl_addr, tmp, in scpsys_sram_disable()
307 void __iomem *ctl_addr = scp->base + scpd->data->ctl_offs; in scpsys_power_on() local
320 val = readl(ctl_addr); in scpsys_power_on()
[all …]
/linux-6.12.1/drivers/mmc/host/
Dsdhci-cadence.c70 void __iomem *ctl_addr; /* write control */ member
343 writel(GENMASK(7, 3), priv->ctl_addr); in elba_priv_writel()
362 writel(ELBA_BYTE_ENABLE_MASK(byte_enables), priv->ctl_addr); in elba_write_w()
376 writel(ELBA_BYTE_ENABLE_MASK(byte_enables), priv->ctl_addr); in elba_write_b()
406 priv->ctl_addr = ioaddr; in elba_drv_init()
408 writel(ELBA_BYTE_ENABLE_MASK(0xf), priv->ctl_addr); in elba_drv_init()

12