Searched refs:rid (Results 201 - 225 of 471) sorted by relevance

1234567891011>>

/freebsd-9.3-release/sys/dev/sound/macio/
H A Di2s.c194 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 Dtdfx_pci.c148 /* 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 Dpckbd.c91 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 Dlbc.c357 /* 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 Di2c.c89 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 Dupa.c194 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 Dnexus.c361 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 Drule.c132 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 Dmse.c122 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 Dquicc_core.c256 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 Dxlr_pci.c518 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 Dexca.c811 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 Dsolo.c884 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 Ddataset.py176 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 Dc-common.h46 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 Dat91_st.c191 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 Decona.c517 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 Dpcf_isa.c104 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 Dx509v3.h51 struct asn1_oid rid; /* registeredID */ member in struct:x509_name
/freebsd-9.3-release/sys/arm/xscale/i80321/
H A Di80321_pci.c280 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 Dadv_isa.c114 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 Datkbdc_subr.c64 irq = bus_get_resource_start(dev, SYS_RES_IRQ, kbdcdev->rid);
/freebsd-9.3-release/sys/dev/hptrr/
H A Dhptrr_os_bsd.c94 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 Dsiba_bwn.c243 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 Dcentral.c217 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,

Completed in 236 milliseconds

1234567891011>>