/freebsd-9.3-release/sys/dev/sound/macio/ |
H A D | i2s.c | 194 int rid, oirq, err; local 212 rid = 0; 213 sc->reg = bus_alloc_resource_any(self, SYS_RES_MEMORY, &rid, RF_ACTIVE); 218 rid = 1; 219 sc->aoa.sc_odma = bus_alloc_resource_any(self, SYS_RES_MEMORY, &rid, 225 rid = 1; 227 &rid, RF_SHAREABLE | RF_ACTIVE); 367 int irq, rid = 0; local 372 r = bus_alloc_resource_any(gpio, SYS_RES_IRQ, &rid, RF_ACTIVE);
|
/freebsd-9.3-release/sys/dev/tdfx/ |
H A D | tdfx_pci.c | 148 /* rid value tells bus_alloc_resource where to find the addresses of ports or 150 int rid = PCIR_BAR(0); local 175 &rid, RF_ACTIVE | RF_SHAREABLE); 183 tdfx_info->memrid = rid; 193 rid = 0x14; /* 2nd mem map */ 199 SYS_RES_MEMORY, &rid, RF_ACTIVE | RF_SHAREABLE); 207 tdfx_info->memrid2 = rid; 210 rid = PCIR_IOBASE0_2; 214 SYS_RES_IOPORT, &rid, RF_ACTIVE | RF_SHAREABLE); 222 tdfx_info->piorid = rid; [all...] |
/freebsd-9.3-release/sys/pc98/cbus/ |
H A D | pckbd.c | 91 int error, rid; local 99 rid = 0; 100 res = isa_alloc_resourcev(dev, SYS_RES_IOPORT, &rid, pckbd_iat, 2, 111 bus_release_resource(dev, SYS_RES_IOPORT, rid, res); 122 int error, rid; local 124 rid = 0; 125 res = isa_alloc_resourcev(dev, SYS_RES_IOPORT, &rid, pckbd_iat, 2, 136 rid = 0; 137 res = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid, RF_ACTIVE);
|
/freebsd-9.3-release/sys/powerpc/mpc85xx/ |
H A D | lbc.c | 357 /* Use bank (CS) cell as rid. */ 568 lbc_alloc_resource(device_t bus, device_t child, int type, int *rid, argument 584 return (bus_alloc_resource(bus, type, rid, start, end, count, 588 * Request for the default allocation with a given rid: use resource 597 rid = &di->di_bank; 599 rle = resource_list_find(&di->di_res, type, *rid); 602 "rid = %d, type = %d\n", *rid, type); 623 rman_set_rid(res, *rid); 628 if (bus_activate_resource(child, type, *rid, re 657 lbc_release_resource(device_t dev, device_t child, int type, int rid, struct resource *res) argument [all...] |
H A D | i2c.c | 89 int rid; member in struct:i2c_softc 197 sc->rid = 0; 199 sc->res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &sc->rid, 211 bus_release_resource(dev, SYS_RES_MEMORY, sc->rid, sc->res); 224 sc->rid = 0; 228 sc->res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &sc->rid,
|
/freebsd-9.3-release/sys/sparc64/sparc64/ |
H A D | upa.c | 194 int i, imr, j, rid; local 204 rid = i; 211 &rid, ((i == UPA_IMR1 || i == UPA_IMR2) ? RF_SHAREABLE : 263 &rid, sstart, sstart + scount - 1, scount, 267 SYS_RES_MEMORY, &rid, RF_ACTIVE); 405 upa_alloc_resource(device_t dev, device_t child, int type, int *rid, argument 422 return (resource_list_alloc(rl, dev, child, type, rid, start, 426 rle = resource_list_find(rl, type, *rid); 446 rv = bus_generic_alloc_resource(dev, child, type, rid,
|
H A D | nexus.c | 361 nexus_alloc_resource(device_t bus, device_t child, int type, int *rid, argument 381 type, *rid); 408 rman_set_rid(rv, *rid); 411 *rid, rv) != 0) { 428 int type, int rid __unused, struct resource *r) 440 int type __unused, int rid __unused, struct resource *r) 477 int rid, struct resource *r) 482 error = bus_deactivate_resource(child, type, rid, r); 476 nexus_release_resource(device_t bus __unused, device_t child, int type, int rid, struct resource *r) argument
|
/freebsd-9.3-release/sbin/devfs/ |
H A D | rule.c | 132 devfs_rid rid; local 147 rid = mkrid(in_rsnum, rnum); 148 rv = ioctl(mpfd, DEVFSIO_RAPPLYID, &rid); 171 devfs_rid rid; local 176 rid = mkrid(in_rsnum, eatoi(av[1])); 177 rv = ioctl(mpfd, DEVFSIO_RDEL, &rid);
|
/freebsd-9.3-release/sys/dev/mse/ |
H A D | mse.c | 122 int unit, flags, rid; local 127 rid = 0; 128 sc->sc_intr = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid, 131 bus_release_resource(dev, SYS_RES_IOPORT, rid, sc->sc_port); 137 bus_release_resource(dev, SYS_RES_IOPORT, rid, sc->sc_port); 138 bus_release_resource(dev, SYS_RES_IRQ, rid, sc->sc_intr);
|
/freebsd-9.3-release/sys/dev/quicc/ |
H A D | quicc_core.c | 256 quicc_bus_alloc_resource(device_t dev, device_t child, int type, int *rid, argument 270 rle = resource_list_find(&qd->qd_rlist, type, *rid); 286 quicc_bus_get_resource(device_t dev, device_t child, int type, int rid, argument 296 rle = resource_list_find(&qd->qd_rlist, type, rid); 338 quicc_bus_release_resource(device_t dev, device_t child, int type, int rid, argument 348 rle = resource_list_find(&qd->qd_rlist, type, rid);
|
/freebsd-9.3-release/sys/mips/rmi/ |
H A D | xlr_pci.c | 518 xlr_pci_alloc_resource(device_t bus, device_t child, int type, int *rid, argument 547 rman_set_rid(rv, *rid); 558 if (bus_activate_resource(child, type, *rid, rv)) { 567 xlr_pci_release_resource(device_t bus, device_t child, int type, int rid, argument 584 xlr_pci_activate_resource(device_t bus, device_t child, int type, int rid, argument 592 xlr_pci_deactivate_resource(device_t bus, device_t child, int type, int rid, argument
|
/freebsd-9.3-release/sys/dev/exca/ |
H A D | exca.c | 811 int rid, struct resource *res) 818 type, rid, res); 831 type, rid, res); 837 int rid, struct resource *res) 852 type, rid, res)); 857 exca_alloc_resource(struct exca_softc *sc, device_t child, int type, int *rid, 890 res = BUS_ALLOC_RESOURCE(up, child, type, rid, 894 cbb_insert_res(sc, res, type, *rid); 896 if (bus_activate_resource(child, type, *rid, res) != 0) { 897 bus_release_resource(child, type, *rid, re 808 exca_activate_resource(struct exca_softc *exca, device_t child, int type, int rid, struct resource *res) argument 834 exca_deactivate_resource(struct exca_softc *exca, device_t child, int type, int rid, struct resource *res) argument [all...] |
/freebsd-9.3-release/sys/dev/sound/pci/ |
H A D | solo.c | 884 int rid; local 886 rid = PCIR_BAR(0); 887 sc->io = bus_alloc_resource_any(dev, SYS_RES_IOPORT, &rid, RF_ACTIVE); 889 rid = PCIR_BAR(1); 890 sc->sb = bus_alloc_resource_any(dev, SYS_RES_IOPORT, &rid, RF_ACTIVE); 892 rid = PCIR_BAR(2); 893 sc->vc = bus_alloc_resource_any(dev, SYS_RES_IOPORT, &rid, RF_ACTIVE); 895 rid = PCIR_BAR(3); 896 sc->mpu = bus_alloc_resource_any(dev, SYS_RES_IOPORT, &rid, RF_ACTIVE); 898 rid [all...] |
/freebsd-9.3-release/cddl/contrib/opensolaris/lib/pyzfs/common/ |
H A D | dataset.py | 176 returns 3-tuple of domain (string), rid (int), and space (int). 180 for ((domain, rid), space) in d.iteritems(): 181 yield (domain, rid, space)
|
/freebsd-9.3-release/contrib/gcc/ |
H A D | c-common.h | 46 enum rid enum 114 #define OBJC_IS_AT_KEYWORD(rid) \ 115 ((unsigned int) (rid) >= (unsigned int) RID_FIRST_AT && \ 116 (unsigned int) (rid) <= (unsigned int) RID_LAST_AT) 118 #define OBJC_IS_PQ_KEYWORD(rid) \ 119 ((unsigned int) (rid) >= (unsigned int) RID_FIRST_PQ && \ 120 (unsigned int) (rid) <= (unsigned int) RID_LAST_PQ) 627 extern void record_builtin_type (enum rid, const char *, tree);
|
/freebsd-9.3-release/sys/arm/at91/ |
H A D | at91_st.c | 191 int rid = 0; local 206 irq = bus_alloc_resource(dev, SYS_RES_IRQ, &rid, 1, 1, 1,
|
/freebsd-9.3-release/sys/arm/econa/ |
H A D | econa.c | 517 econa_alloc_resource(device_t dev, device_t child, int type, int *rid, argument 527 type, rid, start, end, count, flags)); 529 rle = resource_list_find(rl, type, *rid); 534 panic("Resource rid %d type %d already in use", *rid, type); 559 rman_set_rid(rle->res, *rid); 574 int rid, struct resource *r) 582 rle = resource_list_find(rl, type, rid); 616 econa_activate_resource(device_t bus, device_t child, int type, int rid, argument 573 econa_release_resource(device_t dev, device_t child, int type, int rid, struct resource *r) argument
|
/freebsd-9.3-release/sys/dev/pcf/ |
H A D | pcf_isa.c | 104 u_int rid = 0, port, error; local 111 bus_get_resource(dev, SYS_RES_IOPORT, rid, &start, &count);
|
/freebsd-9.3-release/contrib/wpa/src/tls/ |
H A D | x509v3.h | 51 struct asn1_oid rid; /* registeredID */ member in struct:x509_name
|
/freebsd-9.3-release/sys/arm/xscale/i80321/ |
H A D | i80321_pci.c | 280 i80321_pci_alloc_resource(device_t bus, device_t child, int type, int *rid, argument 317 rman_set_rid(rv, *rid); 324 if (bus_activate_resource(child, type, *rid, rv)) { 334 i80321_pci_activate_resource(device_t bus, device_t child, int type, int rid, argument
|
/freebsd-9.3-release/sys/dev/advansys/ |
H A D | adv_isa.c | 114 int rid = 0; local 168 iores = bus_alloc_resource_any(dev, SYS_RES_IOPORT, &rid, 334 irqres = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid, 340 bus_release_resource(dev, SYS_RES_IRQ, rid,
|
/freebsd-9.3-release/sys/dev/atkbdc/ |
H A D | atkbdc_subr.c | 64 irq = bus_get_resource_start(dev, SYS_RES_IRQ, kbdcdev->rid);
|
/freebsd-9.3-release/sys/dev/hptrr/ |
H A D | hptrr_os_bsd.c | 94 hba->pcibar[index].rid = 0x10 + index * 4; 96 if (pci_read_config(hba->pcidev, hba->pcibar[index].rid, 4) & 1) 102 hba->pcibar[index].type, &hba->pcibar[index].rid, 0, ~0, length, RF_ACTIVE); 116 hba->pcibar[index].rid, hba->pcibar[index].res);
|
/freebsd-9.3-release/sys/dev/siba/ |
H A D | siba_bwn.c | 243 siba_bwn_alloc_resource(device_t dev, device_t child, int type, int *rid, argument 248 type, rid, start, end, count, flags)); 254 int rid, struct resource *r) 258 rid, r)); 253 siba_bwn_release_resource(device_t dev, device_t child, int type, int rid, struct resource *r) argument
|
/freebsd-9.3-release/sys/sparc64/central/ |
H A D | central.c | 217 central_alloc_resource(device_t bus, device_t child, int type, int *rid, argument 239 return (resource_list_alloc(rl, bus, child, type, rid, start, 243 rle = resource_list_find(rl, type, *rid); 263 type, rid, phys + start, phys + end,
|