Searched refs:rid (Results 276 - 300 of 683) sorted by relevance

<<11121314151617181920>>

/freebsd-11-stable/sys/dev/scc/
H A Dscc_core.c350 scc_bfe_probe(device_t dev, u_int regshft, u_int rclk, u_int rid) argument
379 sc->sc_rrid = rid;
384 sc->sc_rrid = rid;
409 scc_bus_alloc_resource(device_t dev, device_t child, int type, int *rid, argument
428 *rid = 0;
433 scc_bus_get_resource(device_t dev, device_t child, int type, int rid, argument
445 rle = resource_list_find(&ch->ch_rlist, type, rid);
498 scc_bus_release_resource(device_t dev, device_t child, int type, int rid, argument
510 rle = resource_list_find(&ch->ch_rlist, type, rid);
/freebsd-11-stable/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-11-stable/contrib/wpa/src/crypto/
H A Dtls_openssl_ocsp.c269 static char * responderid_str(ResponderID *rid) argument
277 switch (rid->type) {
279 X509_NAME_print_ex(out, rid->value.byName, 0, XN_FLAG_ONELINE);
282 i2a_ASN1_STRING(out, rid->value.byKey, V_ASN1_OCTET_STRING);
460 static X509 * ocsp_find_signer(STACK_OF(X509) *certs, ResponderID *rid)
465 if (rid->type == 0) {
467 return X509_find_by_subject(certs, rid->value.byName);
471 if (rid->value.byKey->length != SHA_DIGEST_LENGTH)
477 if (os_memcmp(rid->value.byKey->data, hash,
/freebsd-11-stable/sys/dev/nctgpio/
H A Dnctgpio.c103 int rid; member in struct:nct_softc
463 sc->rid = 0;
464 sc->portres = bus_alloc_resource(dev, SYS_RES_IOPORT, &sc->rid,
480 bus_release_resource(dev, SYS_RES_IOPORT, sc->rid, sc->portres);
481 bus_delete_resource(dev, SYS_RES_IOPORT, sc->rid);
506 sc->rid = 0;
507 sc->portres = bus_alloc_resource(dev, SYS_RES_IOPORT, &sc->rid,
556 bus_release_resource(dev, SYS_RES_IOPORT, sc->rid, sc->portres);
579 bus_release_resource(dev, SYS_RES_IOPORT, sc->rid, sc->portres);
/freebsd-11-stable/sys/dev/ofw/
H A Dofw_bus_subr.c427 uint32_t masked_rid, rid; local
444 rid = 0;
477 ssize_t i, j, rid, nreg, ret; local
499 for (i = 0, rid = 0; i < nreg; i += acells + scells, rid++) {
511 resource_list_add(rl, SYS_RES_MEMORY, rid,
547 int err, i, irqnum, nintr, rid; local
580 rid = 0;
599 resource_list_add(rl, SYS_RES_IRQ, rid++, irqnum, irqnum, 1);
602 *rlen = rid;
613 int err, i, nintr, rid; local
[all...]
/freebsd-11-stable/sys/powerpc/mpc85xx/
H A Di2c.c86 int rid; member in struct:i2c_softc
196 sc->rid = 0;
198 sc->res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &sc->rid,
210 bus_release_resource(dev, SYS_RES_MEMORY, sc->rid, sc->res);
223 sc->rid = 0;
227 sc->res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &sc->rid,
H A Dlbc.c74 int type, int rid __unused, struct resource *r);
76 device_t child __unused, int type __unused, int rid __unused,
408 /* Use bank (CS) cell as rid. */
682 lbc_alloc_resource(device_t bus, device_t child, int type, int *rid, argument
698 return (bus_alloc_resource(bus, type, rid, start, end, count,
702 * Request for the default allocation with a given rid: use resource
711 rid = &di->di_bank;
713 rle = resource_list_find(&di->di_res, type, *rid);
716 "rid = %d, type = %d\n", *rid, typ
771 lbc_release_resource(device_t dev, device_t child, int type, int rid, struct resource *res) argument
[all...]
/freebsd-11-stable/sys/sparc64/pci/
H A Dofw_pci.c289 ofw_pci_alloc_resource(device_t bus, device_t child, int type, int *rid, argument
308 return (bus_generic_alloc_resource(bus, child, type, rid,
324 rman_set_rid(rv, *rid);
327 *rid, rv) != 0) {
335 ofw_pci_activate_resource(device_t bus, device_t child, int type, int rid, argument
344 return (bus_generic_activate_resource(bus, child, type, rid,
/freebsd-11-stable/sys/mips/rmi/
H A Dxlr_pci.c514 xlr_pci_alloc_resource(device_t bus, device_t child, int type, int *rid, argument
543 rman_set_rid(rv, *rid);
554 if (bus_activate_resource(child, type, *rid, rv)) {
563 xlr_pci_release_resource(device_t bus, device_t child, int type, int rid, argument
580 xlr_pci_activate_resource(device_t bus, device_t child, int type, int rid, argument
588 xlr_pci_deactivate_resource(device_t bus, device_t child, int type, int rid, argument
/freebsd-11-stable/sys/dev/iir/
H A Diir_pci.c187 int retries, rid, error = 0; local
195 rid = PCI_DPMEM;
196 gdt->sc_dpmem = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid, RF_ACTIVE);
204 rid = 0;
205 irq = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid,
344 bus_release_resource( dev, SYS_RES_MEMORY, rid, gdt->sc_dpmem );
/freebsd-11-stable/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-11-stable/sys/arm/versatile/
H A Dversatile_pci.c308 versatile_pci_alloc_resource(device_t bus, device_t child, int type, int *rid, argument
334 child, type, rid, start, end, count, flags));
340 rman_set_rid(rv, *rid);
343 if (bus_activate_resource(child, type, *rid, rv)) {
352 versatile_pci_activate_resource(device_t bus, device_t child, int type, int rid, argument
369 child, type, rid, r));
/freebsd-11-stable/sbin/devfs/
H A Drule.c134 devfs_rid rid; local
149 rid = mkrid(in_rsnum, rnum);
150 rv = ioctl(mpfd, DEVFSIO_RAPPLYID, &rid);
173 devfs_rid rid; local
178 rid = mkrid(in_rsnum, eatoi(av[1]));
179 rv = ioctl(mpfd, DEVFSIO_RDEL, &rid);
/freebsd-11-stable/sys/mips/mediatek/
H A Dmtk_pcie.c235 int i, rid; local
242 rid = 0;
243 sc->pci_res[0] = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid,
261 rid = i - 1;
262 sc->pci_res[i] = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid,
266 "resource %d\n", rid);
413 mtk_pci_alloc_resource(device_t bus, device_t child, int type, int *rid, argument
422 return pci_domain_alloc_bus(0, child, rid, start, end, count,
442 rman_set_rid(rv, *rid);
445 if (bus_activate_resource(child, type, *rid, r
455 mtk_pci_release_resource(device_t bus, device_t child, int type, int rid, struct resource *res) argument
[all...]
/freebsd-11-stable/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-11-stable/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-11-stable/sys/dev/pci/
H A Dpci_iov.c339 int rid; local
344 rid = iov->iov_pos + PCIR_SRIOV_BAR(bar);
347 res = pci_alloc_multi_resource(bus, dev, SYS_RES_MEMORY, &rid, 0,
975 pci_vf_alloc_mem_resource(device_t dev, device_t child, int *rid, argument
990 map = pci_find_bar(child, *rid);
1014 rle = resource_list_add(&dinfo->resources, SYS_RES_MEMORY, *rid,
1021 rman_set_rid(res, *rid);
1024 error = bus_activate_resource(child, SYS_RES_MEMORY, *rid, res);
1027 *rid);
1038 pci_vf_release_mem_resource(device_t dev, device_t child, int rid, argument
[all...]
/freebsd-11-stable/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-11-stable/contrib/gcc/
H A Dc-common.h46 enum rid enum
122 #define OBJC_IS_AT_KEYWORD(rid) \
123 ((unsigned int) (rid) >= (unsigned int) RID_FIRST_AT && \
124 (unsigned int) (rid) <= (unsigned int) RID_LAST_AT)
126 #define OBJC_IS_PQ_KEYWORD(rid) \
127 ((unsigned int) (rid) >= (unsigned int) RID_FIRST_PQ && \
128 (unsigned int) (rid) <= (unsigned int) RID_LAST_PQ)
635 extern void record_builtin_type (enum rid, const char *, tree);
/freebsd-11-stable/sys/arm/cavium/cns11xx/
H A Decona.c410 econa_alloc_resource(device_t dev, device_t child, int type, int *rid, argument
420 type, rid, start, end, count, flags));
422 rle = resource_list_find(rl, type, *rid);
427 panic("Resource rid %d type %d already in use", *rid, type);
452 rman_set_rid(rle->res, *rid);
467 int rid, struct resource *r)
475 rle = resource_list_find(rl, type, rid);
510 econa_activate_resource(device_t bus, device_t child, int type, int rid, argument
466 econa_release_resource(device_t dev, device_t child, int type, int rid, struct resource *r) argument
/freebsd-11-stable/sys/sparc64/sparc64/
H A Dnexus.c363 nexus_alloc_resource(device_t bus, device_t child, int type, int *rid, argument
383 type, *rid);
410 rman_set_rid(rv, *rid);
413 *rid, rv) != 0) {
430 int type, int rid __unused, struct resource *r)
442 int type __unused, int rid __unused, struct resource *r)
479 int rid, struct resource *r)
484 error = bus_deactivate_resource(child, type, rid, r);
478 nexus_release_resource(device_t bus __unused, device_t child, int type, int rid, struct resource *r) argument
/freebsd-11-stable/sys/arm/lpc/
H A Dlpc_intc.c85 int rid = 0; local
90 sc->li_res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid,
/freebsd-11-stable/sys/arm/nvidia/drm2/
H A Dtegra_host1x.c450 int rv, rid; local
467 rid = 0;
468 sc->syncpt_irq_res = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid,
475 rid = 1;
476 sc->gen_irq_res = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid,
555 int rv, rid; local
572 rid = 0;
573 sc->mem_res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid,
/freebsd-11-stable/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-11-stable/sys/dev/acpica/
H A Dacpi_package.c119 acpi_PkgGas(device_t dev, ACPI_OBJECT *res, int idx, int *type, int *rid, argument
132 return (acpi_bus_alloc_gas(dev, type, rid, &gas, dst, flags));

Completed in 386 milliseconds

<<11121314151617181920>>