Home
last modified time | relevance | path

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

12

/linux-5.19.10/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-5.19.10/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 ap->ioaddr.altstatus_addr = ctl_addr; in isapnp_init_one()
86 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_samsung_cf.c182 ata_outb(ap->host, tf->ctl, ioaddr->ctl_addr); in pata_s3c_tf_load()
224 ata_outb(ap->host, tf->ctl | ATA_HOB, ioaddr->ctl_addr); in pata_s3c_tf_read()
230 ata_outb(ap->host, tf->ctl, ioaddr->ctl_addr); in pata_s3c_tf_read()
366 ata_outb(ap->host, ap->ctl, ioaddr->ctl_addr); in pata_s3c_bus_softreset()
368 ata_outb(ap->host, ap->ctl | ATA_SRST, ioaddr->ctl_addr); in pata_s3c_bus_softreset()
370 ata_outb(ap->host, ap->ctl, ioaddr->ctl_addr); in pata_s3c_bus_softreset()
414 ata_outb(ap->host, ctl, ap->ioaddr.ctl_addr); in pata_s3c_set_devctl()
567 ap->ioaddr.ctl_addr = info->ide_addr + S3C_ATA_PIO_DAD; in pata_s3c_probe()
Dpata_octeon_cf.c400 if (likely(ap->ioaddr.ctl_addr)) { in octeon_cf_tf_read16()
401 iowrite8(tf->ctl | ATA_HOB, ap->ioaddr.ctl_addr); in octeon_cf_tf_read16()
414 iowrite8(tf->ctl, ap->ioaddr.ctl_addr); in octeon_cf_tf_read16()
468 iowrite8(tf->ctl, ap->ioaddr.ctl_addr); in octeon_cf_tf_load16()
924 ap->ioaddr.ctl_addr = base + 0xe; in octeon_cf_probe()
940 ap->ioaddr.ctl_addr = cs1 + (6 << 1) + 1; in octeon_cf_probe()
962 ap->ioaddr.ctl_addr = base + 0xe; in octeon_cf_probe()
965 cf_port->c0 = ap->ioaddr.ctl_addr; in octeon_cf_probe()
971 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.c177 ioaddr->ctl_addr = iomap[1]; in cs5520_init_one()
188 ioaddr->ctl_addr = iomap[3]; in cs5520_init_one()
Dlibata-sff.c289 if (ap->ioaddr.ctl_addr) { in ata_sff_set_devctl()
290 iowrite8(ctl, ap->ioaddr.ctl_addr); in ata_sff_set_devctl()
405 if (ioaddr->ctl_addr) in ata_sff_tf_load()
406 iowrite8(tf->ctl, ioaddr->ctl_addr); in ata_sff_tf_load()
412 WARN_ON_ONCE(!ioaddr->ctl_addr); in ata_sff_tf_load()
461 if (likely(ioaddr->ctl_addr)) { in ata_sff_tf_read()
462 iowrite8(tf->ctl | ATA_HOB, ioaddr->ctl_addr); in ata_sff_tf_read()
468 iowrite8(tf->ctl, ioaddr->ctl_addr); in ata_sff_tf_read()
1950 if (ap->ioaddr.ctl_addr) { in ata_bus_softreset()
1952 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_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_imx.c175 ap->ioaddr.ctl_addr = priv->host_regs + PATA_IMX_DRIVE_CONTROL; in pata_imx_probe()
177 ap->ioaddr.altstatus_addr = ap->ioaddr.ctl_addr; in pata_imx_probe()
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_ixp4xx_cf.c202 ioaddr->ctl_addr = ixpp->ctl + 0x06; in ixp4xx_setup_port()
214 *(unsigned long *)&ioaddr->ctl_addr ^= 0x03; in ixp4xx_setup_port()
Dpata_palmld.c94 ap->ioaddr.ctl_addr = mem + 0xe; in palmld_pata_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.c164 writeb(tf->ctl, ioaddr->ctl_addr); in k2_sata_tf_load()
403 port->ctl_addr = base + K2_SATA_TF_CTL_OFFSET; in k2_sata_setup_port()
/linux-5.19.10/drivers/soc/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 …]

12