/freebsd-9.3-release/sys/dev/usb/controller/ |
H A D | ehci_mv.c | 120 int rid; local 133 rid = 0; 134 sc->sc_io_res = bus_alloc_resource_any(self, SYS_RES_MEMORY, &rid, RF_ACTIVE); 154 rid = 0; 155 irq_err = bus_alloc_resource_any(self, SYS_RES_IRQ, &rid, 165 * sure to use the correct rid for the main one (controller interrupt) 168 rid = 1; 169 sc->sc_irq_res = bus_alloc_resource_any(self, SYS_RES_IRQ, &rid,
|
H A D | atmegadci_atmelarm.c | 94 int rid; local 110 rid = 0; 112 bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid, RF_ACTIVE); 121 rid = 0; 123 bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid, RF_ACTIVE);
|
H A D | musb_otg_atmelarm.c | 129 int rid; local 146 rid = 0; 148 bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid, RF_ACTIVE); 158 rid = 0; 160 bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid, RF_ACTIVE);
|
H A D | ohci_atmelarm.c | 88 int rid; local 105 rid = MEM_RID; 107 &rid, RF_ACTIVE); 117 rid = 0; 118 sc->sc_ohci.sc_irq_res = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid,
|
H A D | ohci_s3c24x0.c | 81 int rid; local 96 rid = 0; 98 &rid, RF_ACTIVE); 108 rid = 0; 109 sc->sc_irq_res = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid,
|
H A D | uss820dci_atmelarm.c | 104 int rid; local 116 rid = 0; 118 bus_alloc_resource_any(dev, SYS_RES_IOPORT, &rid, RF_ACTIVE); 127 rid = 0; 128 sc->sc_irq_res = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid,
|
/freebsd-9.3-release/usr.bin/id/ |
H A D | id.c | 227 u_int eid, rid; local 238 pw = getpwuid(rid = getuid()); 244 (void)printf("uid\t%u\n", rid); 246 if ((eid = geteuid()) != rid) { 252 if ((rid = getgid()) != (eid = getegid())) { 253 if ((gr = getgrgid(rid))) 256 (void)printf("rgid\t%u\n", rid);
|
/freebsd-9.3-release/sys/powerpc/ofw/ |
H A D | ofw_pci.c | 65 device_t child, int type, int *rid, u_long start, 68 int type, int rid, struct resource *res); 70 int type, int rid, struct resource *res); 72 device_t child, int type, int rid, 283 ofw_pci_alloc_resource(device_t bus, device_t child, int type, int *rid, argument 306 return (bus_alloc_resource(bus, type, rid, start, end, count, 322 rman_set_rid(rv, *rid); 325 if (bus_activate_resource(child, type, *rid, rv) != 0) { 338 ofw_pci_release_resource(device_t bus, device_t child, int type, int rid, argument 342 int error = bus_deactivate_resource(child, type, rid, re 351 ofw_pci_activate_resource(device_t bus, device_t child, int type, int rid, struct resource *res) argument 412 ofw_pci_deactivate_resource(device_t bus, device_t child, int type, int rid, struct resource *res) argument [all...] |
/freebsd-9.3-release/sys/powerpc/powermac/ |
H A D | macio.c | 430 macio_alloc_resource(device_t bus, device_t child, int type, int *rid, argument 451 *rid); 454 device_get_nameunit(child), *rid); 481 type, rid, start, end, count, flags); 484 *rid); 500 type, rid, start, end, count, flags)); 517 rman_set_rid(rv, *rid); 520 if (bus_activate_resource(child, type, *rid, rv) != 0) { 534 macio_release_resource(device_t bus, device_t child, int type, int rid, argument 538 int error = bus_deactivate_resource(child, type, rid, re 548 macio_activate_resource(device_t bus, device_t child, int type, int rid, struct resource *res) argument 574 macio_deactivate_resource(device_t bus, device_t child, int type, int rid, struct resource *res) argument [all...] |
H A D | uninorth.c | 438 unin_chip_alloc_resource(device_t bus, device_t child, int type, int *rid, argument 459 *rid); 462 device_get_nameunit(child), *rid); 491 type, rid, start, end, count, 495 *rid); 512 type, rid, start, end, count, 530 rman_set_rid(rv, *rid); 533 if (bus_activate_resource(child, type, *rid, rv) != 0) { 546 unin_chip_release_resource(device_t bus, device_t child, int type, int rid, argument 550 int error = bus_deactivate_resource(child, type, rid, re 559 unin_chip_activate_resource(device_t bus, device_t child, int type, int rid, struct resource *res) argument 589 unin_chip_deactivate_resource(device_t bus, device_t child, int type, int rid, struct resource *res) argument [all...] |
/freebsd-9.3-release/sys/dev/aac/ |
H A D | aac_pci.c | 342 int count, error, rid; local 399 rid = PCIR_BAR(0); 401 SYS_RES_MEMORY, &rid, RF_ACTIVE)) == NULL) { 409 rid = PCIR_BAR(1); 411 SYS_RES_MEMORY, &rid, RF_ACTIVE)) == NULL) { 427 rid = 0; 431 rid = 1; 434 &rid, RF_ACTIVE | (rid != 0 ? 0 : RF_SHAREABLE))) == NULL) {
|
/freebsd-9.3-release/sys/dev/fb/ |
H A D | s3_pci.c | 471 int rid, i; local 480 rid = 0; 481 if (!(sc->port_res = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, 489 rid = 1; 490 if (!(sc->enh_res = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, 499 rid = PCI_BASE_MEMORY; 500 if (!(sc->mem_res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid, 510 sc->mem_base = bus_get_resource_start(dev, SYS_RES_MEMORY, rid); 511 sc->mem_size = bus_get_resource_count(dev, SYS_RES_MEMORY, rid);
|
/freebsd-9.3-release/sys/dev/pbio/ |
H A D | pbio.c | 164 int rid; local 172 rid = 0; 173 scp->res = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, 194 bus_release_resource(dev, SYS_RES_IOPORT, rid, sc->res); 201 bus_release_resource(dev, SYS_RES_IOPORT, rid, sc->res); 208 bus_release_resource(dev, SYS_RES_IOPORT, rid, scp->res); 222 int rid; local 227 rid = 0; 228 sc->res = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid,
|
/freebsd-9.3-release/sys/dev/sound/macio/ |
H A D | davbus.c | 501 int rid, oirq, err; local 510 rid = 0; 511 sc->reg = bus_alloc_resource_any(self, SYS_RES_MEMORY, &rid, RF_ACTIVE); 516 rid = 1; 518 &rid, RF_ACTIVE); 523 rid = 1; 525 &rid, RF_SHAREABLE | RF_ACTIVE); 551 rid = 0; 553 &rid, RF_SHAREABLE | RF_ACTIVE);
|
/freebsd-9.3-release/sys/arm/at91/ |
H A D | at91_rtc.c | 137 int rid; local 140 rid = 0; 141 sc->mem_res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid, 145 rid = 0; 146 sc->irq_res = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid,
|
H A D | at91_ssc.c | 169 int rid; local 172 rid = 0; 173 sc->mem_res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid, 177 rid = 0; 178 sc->irq_res = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid,
|
/freebsd-9.3-release/sys/arm/econa/ |
H A D | ehci_ebus.c | 99 int rid; local 114 rid = 0; 116 &rid, RF_ACTIVE); 138 rid = 0; 139 sc->sc_irq_res = bus_alloc_resource_any(self, SYS_RES_IRQ, &rid,
|
H A D | ohci_ec.c | 88 int rid; local 102 rid = MEM_RID; 105 &rid, RF_ACTIVE); 127 rid = 0; 128 sc->sc_ohci.sc_irq_res = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid,
|
/freebsd-9.3-release/sys/arm/sa11x0/ |
H A D | sa11x0.c | 113 sa1110_alloc_resource(device_t bus, device_t child, int type, int *rid, argument 118 res = rman_reserve_resource(&sa11x0_softc->sa11x0_rman, *rid, *rid, 121 rman_set_rid(res, *rid); 126 sa1110_activate_resource(device_t bus, device_t child, int type, int rid, argument
|
/freebsd-9.3-release/sys/dev/advansys/ |
H A D | adv_eisa.c | 149 int rid, error; local 156 rid = 0; 157 io = bus_alloc_resource_any(dev, SYS_RES_IOPORT, &rid, RF_ACTIVE); 163 rid = 0; 164 irq = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid,
|
/freebsd-9.3-release/sys/dev/ath/ |
H A D | if_ath_pci.c | 96 int rid; local 114 rid = BS_BAR; 115 psc->sc_sr = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid, 133 rid = 0; 134 psc->sc_irq = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid,
|
/freebsd-9.3-release/sys/dev/buslogic/ |
H A D | bt_eisa.c | 115 int rid; local 124 rid = 0; 125 port = bus_alloc_resource_any(dev, SYS_RES_IOPORT, &rid, RF_ACTIVE); 133 rid = 0; 134 irq = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid,
|
/freebsd-9.3-release/sys/mips/atheros/ |
H A D | ar71xx_ehci.c | 87 int rid; local 104 rid = 0; 105 sc->sc_io_res = bus_alloc_resource_any(self, SYS_RES_MEMORY, &rid, RF_ACTIVE); 119 rid = 0; 120 sc->sc_irq_res = bus_alloc_resource_any(self, SYS_RES_IRQ, &rid,
|
H A D | ar71xx_ohci.c | 73 int rid; local 88 rid = 0; 89 sc->sc_ohci.sc_io_res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid, 99 rid = 0; 100 sc->sc_ohci.sc_irq_res = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid,
|
/freebsd-9.3-release/sys/mips/rmi/ |
H A D | xls_ehci.c | 91 int rid; local 103 rid = 0; 104 sc->sc_io_res = bus_alloc_resource_any(self, SYS_RES_MEMORY, &rid, 116 rid = 0; 117 sc->sc_irq_res = bus_alloc_resource(self, SYS_RES_IRQ, &rid,
|