Home
last modified time | relevance | path

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

/freebsd-14.2/sys/dev/ata/
H A Data-isa.c62 struct resource *io = NULL, *ctlio = NULL; in ata_isa_probe() local
84 if (!(ctlio = bus_alloc_resource_anywhere(dev, SYS_RES_IOPORT, &rid, 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_anywhere(dev, SYS_RES_IOPORT, &rid, in ata_isa_attach()
135 ch->r_io[ATA_CONTROL].res = ctlio; in ata_isa_attach()
H A Data-pci.c393 struct resource *io = NULL, *ctlio = NULL; in ata_pci_ch_attach() local
401 if (!(ctlio = bus_alloc_resource_any(dev, SYS_RES_IOPORT, &rid,RF_ACTIVE))){ in ata_pci_ch_attach()
412 ch->r_io[ATA_CONTROL].res = ctlio; in ata_pci_ch_attach()
/freebsd-14.2/sys/dev/ata/chipsets/
H A Data-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()