Searched refs:rid (Results 126 - 150 of 471) sorted by relevance

1234567891011>>

/freebsd-9.3-release/sys/dev/usb/controller/
H A Dehci_mv.c120 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 Datmegadci_atmelarm.c94 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 Dmusb_otg_atmelarm.c129 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 Dohci_atmelarm.c88 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 Dohci_s3c24x0.c81 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 Duss820dci_atmelarm.c104 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 Did.c227 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 Dofw_pci.c65 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 Dmacio.c430 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 Duninorth.c438 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 Daac_pci.c342 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 Ds3_pci.c471 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 Dpbio.c164 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 Ddavbus.c501 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 Dat91_rtc.c137 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 Dat91_ssc.c169 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 Dehci_ebus.c99 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 Dohci_ec.c88 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 Dsa11x0.c113 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 Dadv_eisa.c149 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 Dif_ath_pci.c96 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 Dbt_eisa.c115 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 Dar71xx_ehci.c87 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 Dar71xx_ohci.c73 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 Dxls_ehci.c91 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,

Completed in 276 milliseconds

1234567891011>>