/kernel/linux/linux-5.10/arch/um/drivers/ |
D | daemon_user.c | 50 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()
|
D | daemon.h | 16 void *ctl_addr; member
|
D | daemon_kern.c | 33 dpri->ctl_addr = NULL; in daemon_init()
|
/kernel/linux/linux-5.10/drivers/ata/ |
D | pata_isapnp.c | 52 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()
|
D | pata_mpiix.c | 157 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()
|
D | pata_pcmcia.c | 192 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()
|
D | pata_platform.c | 154 ap->ioaddr.ctl_addr = devm_ioremap(dev, ctl_res->start, in __pata_platform_probe() 159 ap->ioaddr.ctl_addr = devm_ioport_map(dev, ctl_res->start, in __pata_platform_probe() 162 if (!ap->ioaddr.cmd_addr || !ap->ioaddr.ctl_addr) { in __pata_platform_probe() 167 ap->ioaddr.altstatus_addr = ap->ioaddr.ctl_addr; in __pata_platform_probe()
|
D | pata_samsung_cf.c | 182 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() 367 ata_outb(ap->host, ap->ctl, ioaddr->ctl_addr); in pata_s3c_bus_softreset() 369 ata_outb(ap->host, ap->ctl | ATA_SRST, ioaddr->ctl_addr); in pata_s3c_bus_softreset() 371 ata_outb(ap->host, ap->ctl, ioaddr->ctl_addr); in pata_s3c_bus_softreset() 415 ata_outb(ap->host, ctl, ap->ioaddr.ctl_addr); in pata_s3c_set_devctl() 568 ap->ioaddr.ctl_addr = info->ide_addr + S3C_ATA_PIO_DAD; in pata_s3c_probe()
|
D | sata_rcar.c | 277 iowrite32(ctl, ap->ioaddr.ctl_addr); in sata_rcar_set_devctl() 329 iowrite32(ap->ctl, ioaddr->ctl_addr); in sata_rcar_bus_softreset() 331 iowrite32(ap->ctl | ATA_SRST, ioaddr->ctl_addr); in sata_rcar_bus_softreset() 333 iowrite32(ap->ctl, ioaddr->ctl_addr); in sata_rcar_bus_softreset() 375 iowrite32(tf->ctl, ioaddr->ctl_addr); in sata_rcar_tf_load() 429 iowrite32(tf->ctl | ATA_HOB, ioaddr->ctl_addr); in sata_rcar_tf_read() 435 iowrite32(tf->ctl, ioaddr->ctl_addr); in sata_rcar_tf_read() 772 ioaddr->ctl_addr = base + SSDEVCON_REG; in sata_rcar_setup_port() 774 ioaddr->altstatus_addr = ioaddr->ctl_addr; in sata_rcar_setup_port()
|
D | pata_octeon_cf.c | 404 if (likely(ap->ioaddr.ctl_addr)) { in octeon_cf_tf_read16() 405 iowrite8(tf->ctl | ATA_HOB, ap->ioaddr.ctl_addr); in octeon_cf_tf_read16() 418 iowrite8(tf->ctl, ap->ioaddr.ctl_addr); in octeon_cf_tf_read16() 474 iowrite8(tf->ctl, ap->ioaddr.ctl_addr); in octeon_cf_tf_load16() 953 ap->ioaddr.ctl_addr = base + 0xe; in octeon_cf_probe() 969 ap->ioaddr.ctl_addr = cs1 + (6 << 1) + 1; in octeon_cf_probe() 991 ap->ioaddr.ctl_addr = base + 0xe; in octeon_cf_probe() 994 cf_port->c0 = ap->ioaddr.ctl_addr; in octeon_cf_probe() 1000 ata_port_desc(ap, "cmd %p ctl %p", base, ap->ioaddr.ctl_addr); in octeon_cf_probe()
|
D | pata_ixp4xx_cf.c | 105 ioaddr->ctl_addr = data->cs1 + 0x06; in ixp4xx_setup_port() 118 *(unsigned long *)&ioaddr->ctl_addr ^= 0x03; in ixp4xx_setup_port()
|
D | libata-sff.c | 281 iowrite8(ctl, ap->ioaddr.ctl_addr); in ata_sff_set_devctl() 374 if (ap->ops->sff_set_devctl || ioaddr->ctl_addr) in ata_sff_irq_on() 399 if (ioaddr->ctl_addr) in ata_sff_tf_load() 400 iowrite8(tf->ctl, ioaddr->ctl_addr); in ata_sff_tf_load() 406 WARN_ON_ONCE(!ioaddr->ctl_addr); in ata_sff_tf_load() 469 if (likely(ioaddr->ctl_addr)) { in ata_sff_tf_read() 470 iowrite8(tf->ctl | ATA_HOB, ioaddr->ctl_addr); in ata_sff_tf_read() 476 iowrite8(tf->ctl, ioaddr->ctl_addr); in ata_sff_tf_read() 1688 if (ap->ops->sff_set_devctl || ap->ioaddr.ctl_addr) in ata_sff_freeze() 1961 if (ap->ioaddr.ctl_addr) { in ata_bus_softreset() [all …]
|
D | sata_uli.c | 179 ioaddr->ctl_addr = (void __iomem *) in uli_init_one() 194 ioaddr->ctl_addr = (void __iomem *) in uli_init_one()
|
D | pata_cs5520.c | 175 ioaddr->ctl_addr = iomap[1]; in cs5520_init_one() 186 ioaddr->ctl_addr = iomap[3]; in cs5520_init_one()
|
D | pata_atp867x.c | 315 (unsigned long long)ioaddr->ctl_addr, in atp867x_check_ports() 438 ioaddr->ctl_addr = ioaddr->altstatus_addr in atp867x_ata_pci_sff_init_host() 452 (unsigned long)ioaddr->ctl_addr); in atp867x_ata_pci_sff_init_host()
|
D | pata_ns87415.c | 276 iowrite8(tf->ctl | ATA_HOB, ioaddr->ctl_addr); in ns87560_tf_read() 282 iowrite8(tf->ctl, ioaddr->ctl_addr); in ns87560_tf_read()
|
D | pata_imx.c | 175 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()
|
D | pata_pxa.c | 226 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()
|
/kernel/linux/linux-5.10/drivers/soc/mediatek/ |
D | mtk-scpsys.c | 233 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 …]
|
/kernel/linux/linux-5.10/drivers/tty/ |
D | cyclades.c | 312 static inline bool __cyz_fpga_loaded(struct RUNTIME_9060 __iomem *ctl_addr) in __cyz_fpga_loaded() argument 314 return readl(&ctl_addr->init_ctrl) & (1 << 17); in __cyz_fpga_loaded() 319 return __cyz_fpga_loaded(card->ctl_addr.p9060); in cyz_fpga_loaded() 882 loc_doorbell = readl(&cinfo->ctl_addr.p9060->loc_doorbell); in cyz_fetch_msg() 887 cy_writel(&cinfo->ctl_addr.p9060->loc_doorbell, 0xffffffff); in cyz_fetch_msg() 905 pci_doorbell = &cinfo->ctl_addr.p9060->pci_doorbell; in cyz_issue_cmd() 1539 intr = readw(&cinfo->ctl_addr.p9060-> in cy_open() 1541 cy_writew(&cinfo->ctl_addr.p9060-> in cy_open() 3320 card->ctl_addr.p9050 = NULL; in cy_detect_isa() 3475 struct RUNTIME_9060 __iomem *ctl_addr, int irq) in cyz_load_fw() argument [all …]
|
/kernel/linux/linux-5.10/drivers/ide/ |
D | ide-cs.c | 259 unsigned long data_addr, ctl_addr; in ide_release() local 262 ctl_addr = hwif->io_ports.ctl_addr; in ide_release() 267 release_region(ctl_addr, 1); in ide_release()
|
D | ide-io-std.c | 63 return readb((void __iomem *)hwif->io_ports.ctl_addr); in ide_read_altstatus() 65 return inb(hwif->io_ports.ctl_addr); in ide_read_altstatus() 72 writeb(ctl, (void __iomem *)hwif->io_ports.ctl_addr); in ide_write_devctl() 74 outb(ctl, hwif->io_ports.ctl_addr); in ide_write_devctl()
|
D | ns87415.c | 251 outb(12, hwif->io_ports.ctl_addr); in init_hwif_ns87415() 253 outb(8, hwif->io_ports.ctl_addr); in init_hwif_ns87415()
|
D | rapide.c | 29 hw->io_ports.ctl_addr = (unsigned long)ctrl; in rapide_setup_ports()
|
D | macide.c | 80 hw->io_ports.ctl_addr = base + IDE_CONTROL; in macide_setup_ports()
|