Home
last modified time | relevance | path

Searched refs:ctlio (Results 1 – 5 of 5) sorted by relevance

/NextBSD/sys/dev/ata/
HData-isa.c62 struct resource *io = NULL, *ctlio = NULL; in ata_isa_probe() local
84 if (!(ctlio = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, 0, ~0, in ata_isa_probe()
91 bus_release_resource(dev, SYS_RES_IOPORT, ATA_CTLADDR_RID, ctlio); in ata_isa_probe()
102 struct resource *io = NULL, *ctlio = NULL; in ata_isa_attach() local
124 if (!(ctlio = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, 0, ~0, in ata_isa_attach()
135 ch->r_io[ATA_CONTROL].res = ctlio; in ata_isa_attach()
HData-cbus.c51 struct resource *ctlio; member
114 if (!(ctlr->ctlio = in ata_cbus_attach()
127 bus_release_resource(dev, SYS_RES_IOPORT, ATA_CTLADDR_RID, ctlr->ctlio); in ata_cbus_attach()
136 bus_release_resource(dev, SYS_RES_IOPORT, ATA_CTLADDR_RID, ctlr->ctlio); in ata_cbus_attach()
146 bus_release_resource(dev, SYS_RES_IOPORT, ATA_CTLADDR_RID, ctlr->ctlio); in ata_cbus_attach()
180 return ctlr->ctlio; in ata_cbus_alloc_resource()
285 ch->r_io[ATA_CONTROL].res = ctlr->ctlio; in ata_cbuschannel_attach()
HData-card.c91 struct resource *io, *ctlio; in ata_pccard_attach() local
122 if (!(ctlio = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, 0, ~0, in ata_pccard_attach()
129 ch->r_io[ATA_CONTROL].res = ctlio; in ata_pccard_attach()
HData-pci.c397 struct resource *io = NULL, *ctlio = NULL; in ata_pci_ch_attach() local
405 if (!(ctlio = bus_alloc_resource_any(dev, SYS_RES_IOPORT, &rid,RF_ACTIVE))){ in ata_pci_ch_attach()
416 ch->r_io[ATA_CONTROL].res = ctlio; in ata_pci_ch_attach()
/NextBSD/sys/dev/ata/chipsets/
HData-acerlabs.c223 struct resource *io = NULL, *ctlio = NULL; in ata_ali_sata_ch_attach() local
230 ctlio = res->bars[3]; in ata_ali_sata_ch_attach()
233 ctlio = res->bars[1]; in ata_ali_sata_ch_attach()
240 ch->r_io[ATA_CONTROL].res = ctlio; in ata_ali_sata_ch_attach()