Home
last modified time | relevance | path

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

/freebsd/sys/dev/ata/
H A Data-isa.c61 struct resource *io = NULL, *ctlio = NULL; in ata_isa_probe() local
83 if (!(ctlio = bus_alloc_resource_anywhere(dev, SYS_RES_IOPORT, &rid, in ata_isa_probe()
90 bus_release_resource(dev, SYS_RES_IOPORT, ATA_CTLADDR_RID, ctlio); in ata_isa_probe()
101 struct resource *io = NULL, *ctlio = NULL; in ata_isa_attach() local
123 if (!(ctlio = bus_alloc_resource_anywhere(dev, SYS_RES_IOPORT, &rid, in ata_isa_attach()
134 ch->r_io[ATA_CONTROL].res = ctlio; in ata_isa_attach()
H A Data-pci.c390 struct resource *io = NULL, *ctlio = NULL; in ata_pci_ch_attach() local
398 if (!(ctlio = bus_alloc_resource_any(dev, SYS_RES_IOPORT, &rid,RF_ACTIVE))){ in ata_pci_ch_attach()
409 ch->r_io[ATA_CONTROL].res = ctlio; in ata_pci_ch_attach()
/freebsd/sys/dev/ata/chipsets/
H A Data-acerlabs.c222 struct resource *io = NULL, *ctlio = NULL; in ata_ali_sata_ch_attach() local
229 ctlio = res->bars[3]; in ata_ali_sata_ch_attach()
232 ctlio = res->bars[1]; in ata_ali_sata_ch_attach()
239 ch->r_io[ATA_CONTROL].res = ctlio; in ata_ali_sata_ch_attach()