Searched refs:SYS_RES_IOPORT (Results 1 - 25 of 188) sorted by relevance

12345678

/freebsd-13-stable/sys/i386/include/
H A Dresource.h42 #define SYS_RES_IOPORT 4 /* i/o ports */ macro
/freebsd-13-stable/sys/mips/include/
H A Dresource.h44 #define SYS_RES_IOPORT 4 /* i/o ports */ macro
/freebsd-13-stable/sys/amd64/include/
H A Dresource.h42 #define SYS_RES_IOPORT 4 /* i/o ports */ macro
/freebsd-13-stable/sys/powerpc/include/
H A Dresource.h42 #define SYS_RES_IOPORT 4 /* i/o ports */ macro
/freebsd-13-stable/sys/riscv/include/
H A Dresource.h43 #define SYS_RES_IOPORT 4 /* i/o ports */ macro
/freebsd-13-stable/sys/arm/include/
H A Dresource.h43 #define SYS_RES_IOPORT 4 /* i/o ports */ macro
/freebsd-13-stable/sys/arm64/include/
H A Dresource.h43 #define SYS_RES_IOPORT 4 /* i/o ports */ macro
/freebsd-13-stable/sys/dev/ata/
H A Data-isa.c74 if (!(io = bus_alloc_resource_anywhere(dev, SYS_RES_IOPORT, &rid,
79 if (bus_get_resource(dev, SYS_RES_IOPORT, ATA_CTLADDR_RID, &tmp, &tmp)) {
80 bus_set_resource(dev, SYS_RES_IOPORT, ATA_CTLADDR_RID,
86 if (!(ctlio = bus_alloc_resource_anywhere(dev, SYS_RES_IOPORT, &rid,
88 bus_release_resource(dev, SYS_RES_IOPORT, ATA_IOADDR_RID, io);
93 bus_release_resource(dev, SYS_RES_IOPORT, ATA_CTLADDR_RID, ctlio);
94 bus_release_resource(dev, SYS_RES_IOPORT, ATA_IOADDR_RID, io);
114 if (!(io = bus_alloc_resource_anywhere(dev, SYS_RES_IOPORT, &rid,
119 if (bus_get_resource(dev, SYS_RES_IOPORT, ATA_CTLADDR_RID, &tmp, &tmp)) {
120 bus_set_resource(dev, SYS_RES_IOPORT, ATA_CTLADDR_RI
[all...]
H A Data-pci.c108 ctlr->r_type1 = SYS_RES_IOPORT;
228 if (type == SYS_RES_IOPORT) {
238 SYS_RES_IOPORT, &myrid,
250 SYS_RES_IOPORT, &myrid,
286 if (type == SYS_RES_IOPORT) {
290 SYS_RES_IOPORT,
294 SYS_RES_IOPORT,
400 if (!(io = bus_alloc_resource_any(dev, SYS_RES_IOPORT, &rid, RF_ACTIVE)))
404 if (!(ctlio = bus_alloc_resource_any(dev, SYS_RES_IOPORT, &rid,RF_ACTIVE))){
405 bus_release_resource(dev, SYS_RES_IOPORT, ATA_IOADDR_RI
[all...]
/freebsd-13-stable/sys/dev/atkbdc/
H A Datkbdc_isa.c131 if (bus_get_resource(dev, SYS_RES_IOPORT, rid, &start, &count) != 0)
138 bus_set_resource(dev, SYS_RES_IOPORT, rid, start, 1);
139 port0 = bus_alloc_resource_any(dev, SYS_RES_IOPORT, &rid, RF_ACTIVE);
143 if (bus_get_resource(dev, SYS_RES_IOPORT, rid, NULL, NULL) != 0)
144 bus_set_resource(dev, SYS_RES_IOPORT, 1,
146 port1 = bus_alloc_resource_any(dev, SYS_RES_IOPORT, &rid, RF_ACTIVE);
148 bus_release_resource(dev, SYS_RES_IOPORT, 0, port0);
170 bus_release_resource(dev, SYS_RES_IOPORT, 0, port0);
171 bus_release_resource(dev, SYS_RES_IOPORT, 1, port1);
182 bus_release_resource(dev, SYS_RES_IOPORT,
[all...]
/freebsd-13-stable/sys/dev/aic7xxx/
H A Dahc_isa.c97 regs = bus_alloc_resource(parent, SYS_RES_IOPORT, &rid,
118 bus_set_resource(child, SYS_RES_IOPORT,
122 bus_release_resource(parent, SYS_RES_IOPORT, rid, regs);
150 regs = bus_alloc_resource_any(dev, SYS_RES_IOPORT, &zero, RF_ACTIVE);
205 bus_release_resource(dev, SYS_RES_IOPORT, zero, regs);
230 regs = bus_alloc_resource_any(dev, SYS_RES_IOPORT, &zero, RF_ACTIVE);
237 bus_release_resource(dev, SYS_RES_IOPORT, zero, regs);
/freebsd-13-stable/sys/dev/pcf/
H A Dpcf_isa.c113 bus_get_resource(dev, SYS_RES_IOPORT, rid, &start, &count);
136 sc->res_ioport = bus_alloc_resource_any(dev, SYS_RES_IOPORT,
181 bus_release_resource(dev, SYS_RES_IOPORT, sc->rid_ioport,
207 bus_release_resource(dev, SYS_RES_IOPORT, sc->rid_ioport, sc->res_ioport);
/freebsd-13-stable/sys/dev/sound/isa/
H A Dgusc.c191 res = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, base + 0x100,
240 res2 = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid2, base, base, 1,
259 bus_release_resource(dev, SYS_RES_IOPORT, rid2, res2);
260 bus_release_resource(dev, SYS_RES_IOPORT, rid, res);
267 bus_set_resource(dev, SYS_RES_IOPORT, 2, base + 0x10c, 8);
301 bus_release_resource(dev, SYS_RES_IOPORT, rid, res);
362 case SYS_RES_IOPORT:
400 case SYS_RES_IOPORT:
501 SYS_RES_IOPORT,
506 scp->io[i] = bus_alloc_resource(scp->dev, SYS_RES_IOPORT,
[all...]
/freebsd-13-stable/sys/dev/ipmi/
H A Dipmi_acpi.c118 if (bus_get_resource(dev, SYS_RES_IOPORT, 0, NULL, NULL) == 0)
119 type = SYS_RES_IOPORT;
155 mode, type == SYS_RES_IOPORT ? "io" : "mem",
/freebsd-13-stable/sys/powerpc/mpc85xx/
H A Datpic.c158 bus_set_resource(child, SYS_RES_IOPORT, ATPIC_MASTER, IO_ICU1, 2);
159 bus_set_resource(child, SYS_RES_IOPORT, ATPIC_SLAVE, IO_ICU2, 2);
204 sc->sc_res[ATPIC_MASTER] = bus_alloc_resource_any(dev, SYS_RES_IOPORT,
210 sc->sc_res[ATPIC_SLAVE] = bus_alloc_resource_any(dev, SYS_RES_IOPORT,
237 bus_release_resource(dev, SYS_RES_IOPORT,
240 bus_release_resource(dev, SYS_RES_IOPORT,
H A Disa.c63 case SYS_RES_IOPORT: rids = ISA_PNP_NPORT; break;
/freebsd-13-stable/sys/dev/proto/
H A Dproto_bus_isa.c73 type = SYS_RES_IOPORT;
118 proto_isa_alloc(dev, SYS_RES_IOPORT, ISA_NPORT);
H A Dproto_bus_pci.c98 type = (PCI_BAR_IO(val)) ? SYS_RES_IOPORT : SYS_RES_MEMORY;
103 if (type == SYS_RES_IOPORT)
/freebsd-13-stable/sys/isa/
H A Disahint.c67 bus_set_resource(child, SYS_RES_IOPORT, 0, start, count);
147 if (isa_match_resource_hint(child, SYS_RES_IOPORT,
/freebsd-13-stable/sys/dev/acpica/
H A Dacpi_timer.c146 rtype = SYS_RES_IOPORT;
156 (rtype == SYS_RES_IOPORT) ? "port" : "mem", rstart, rlen);
176 rtype = SYS_RES_IOPORT;
185 (rtype == SYS_RES_IOPORT) ? "port" : "mem",
245 rtype = SYS_RES_IOPORT;
/freebsd-13-stable/sys/dev/cpufreq/
H A Dichss.c206 bus_set_resource(child, SYS_RES_IOPORT, 0, pmbase + ICHSS_BM_OFFSET,
208 bus_set_resource(child, SYS_RES_IOPORT, 1, pmbase + ICHSS_CTRL_OFFSET,
247 sc->bm_reg = bus_alloc_resource_any(dev, SYS_RES_IOPORT, &sc->bm_rid,
254 sc->ctrl_reg = bus_alloc_resource_any(dev, SYS_RES_IOPORT,
258 bus_release_resource(dev, SYS_RES_IOPORT, sc->bm_rid,
/freebsd-13-stable/sys/dev/fb/
H A Ds3_pci.c455 bus_set_resource(dev, SYS_RES_IOPORT, 0,
457 bus_set_resource(dev, SYS_RES_IOPORT, 1,
483 if (!(sc->port_res = bus_alloc_resource_any(dev, SYS_RES_IOPORT, &rid,
492 if (!(sc->enh_res = bus_alloc_resource_any(dev, SYS_RES_IOPORT, &rid,
546 bus_release_resource(dev, SYS_RES_IOPORT, 1, sc->enh_res);
549 bus_release_resource(dev, SYS_RES_IOPORT, 0, sc->port_res);
/freebsd-13-stable/sys/dev/le/
H A Dif_le_isa.c210 lesc->sc_rres = bus_alloc_resource_anywhere(dev, SYS_RES_IOPORT, &i,
228 bus_release_resource(dev, SYS_RES_IOPORT,
271 lesc->sc_rres = bus_alloc_resource_any(dev, SYS_RES_IOPORT,
282 SYS_RES_IOPORT, &j,
439 bus_release_resource(dev, SYS_RES_IOPORT,
465 bus_release_resource(dev, SYS_RES_IOPORT,
/freebsd-13-stable/sys/powerpc/powerpc/
H A Dnexus.c271 if ((type == SYS_RES_MEMORY) || (type == SYS_RES_IOPORT)) {
296 case SYS_RES_IOPORT:
324 case SYS_RES_IOPORT:
325 panic("%s:%d SYS_RES_IOPORT handling not implemented", __func__, __LINE__);
357 case SYS_RES_IOPORT:
/freebsd-13-stable/sys/x86/isa/
H A Disa.c119 case SYS_RES_IOPORT:

Completed in 146 milliseconds

12345678