Searched refs:rid (Results 76 - 100 of 471) sorted by relevance

1234567891011>>

/freebsd-9.3-release/sys/dev/acpica/
H A Dacpi_timer.c123 int rid, rtype; local
147 rid = 0;
150 if (bus_set_resource(dev, rtype, rid, rstart, rlen))
160 int i, j, rid, rtype; local
177 rid = 0;
178 acpi_timer_reg = bus_alloc_resource_any(dev, rtype, &rid, RF_ACTIVE);
224 bus_release_resource(dev, rtype, rid, acpi_timer_reg);
231 int rid, rtype; local
245 rid = 0;
246 acpi_timer_reg = bus_alloc_resource_any(dev, rtype, &rid, RF_ACTIV
[all...]
/freebsd-9.3-release/sys/dev/pccard/
H A Dpccard.c102 int rid, u_long start, u_long count);
104 int rid, u_long *startp, u_long *countp);
106 int rid);
108 int rid, u_long flags);
109 static int pccard_set_memory_offset(device_t dev, device_t child, int rid,
118 device_t child, int type, int *rid, u_long start,
121 int rid, struct resource *r);
478 int i, rid, spaces; local
509 DEVPRINTF((bus, "I/O rid %d start %#lx end %#lx\n",
511 rid
917 pccard_set_resource(device_t dev, device_t child, int type, int rid, u_long start, u_long count) argument
946 pccard_get_resource(device_t dev, device_t child, int type, int rid, u_long *startp, u_long *countp) argument
966 pccard_delete_resource(device_t dev, device_t child, int type, int rid) argument
974 pccard_set_res_flags(device_t dev, device_t child, int type, int rid, u_long flags) argument
982 pccard_set_memory_offset(device_t dev, device_t child, int rid, uint32_t offset, uint32_t *deltap) argument
1126 pccard_alloc_resource(device_t dev, device_t child, int type, int *rid, u_long start, u_long end, u_long count, u_int flags) argument
1175 pccard_release_resource(device_t dev, device_t child, int type, int rid, struct resource *r) argument
1318 pccard_activate_resource(device_t brdev, device_t child, int type, int rid, struct resource *r) argument
1341 pccard_deactivate_resource(device_t brdev, device_t child, int type, int rid, struct resource *r) argument
[all...]
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dzfs_fuid.c431 zfs_fuid_node_add(zfs_fuid_info_t **fuidpp, const char *domain, uint32_t rid, argument
477 fuid->z_logfuid = FUID_ENCODE(fuididx, rid);
483 fuidp->z_fuid_owner = FUID_ENCODE(fuididx, rid);
485 fuidp->z_fuid_group = FUID_ENCODE(fuididx, rid);
503 uint32_t rid; local
532 rid = ksid_getrid(ksid);
537 zfs_fuid_node_add(fuidp, kdomain, rid, idx, id, type);
539 return (FUID_ENCODE(idx, rid));
546 * we can't find the domain + rid information in the
548 * domain and rid
561 uint32_t rid; local
717 uint32_t rid = FUID_RID(id); local
[all...]
/freebsd-9.3-release/sys/mips/idt/
H A Dobio.c118 int rid, irq; local
137 &rid, irq, irq, 1, RF_SHAREABLE | RF_ACTIVE)) == NULL) {
158 obio_alloc_resource(device_t bus, device_t child, int type, int *rid, argument
175 rid, start, end, count, flags));
183 rle = resource_list_find(&ivar->resources, type, *rid);
212 rman_set_rid(rv, *rid);
215 if (bus_activate_resource(child, type, *rid, rv)) {
226 obio_activate_resource(device_t bus, device_t child, int type, int rid, argument
232 type, rid, r));
236 obio_deactivate_resource(device_t bus, device_t child, int type, int rid, argument
246 obio_release_resource(device_t dev, device_t child, int type, int rid, struct resource *r) argument
[all...]
/freebsd-9.3-release/sys/fs/devfs/
H A Ddevfs_rule.c101 static devfs_rid devfs_rid_input(devfs_rid rid, struct devfs_mount *dm);
107 static struct devfs_krule *devfs_rule_byid(devfs_rid rid);
167 devfs_rid rid; local
232 rid = *(devfs_rid *)data;
233 rid = devfs_rid_input(rid, dm);
234 dk = devfs_rule_byid(rid);
242 rid = *(devfs_rid *)data;
243 rid = devfs_rid_input(rid, d
325 devfs_rid_input(devfs_rid rid, struct devfs_mount *dm) argument
391 devfs_rule_byid(devfs_rid rid) argument
[all...]
/freebsd-9.3-release/sys/arm/xscale/i80321/
H A Di80321_timer.c359 int rid = 0; local
386 irq = bus_alloc_resource(dev, SYS_RES_IRQ, &rid,
409 rid = 0;
412 __asm __volatile("mrc p14, 0, %0, c0, c0, 0\n" : "=r" (rid));
413 rid &= ~(1 << 3);
414 rid |= (1 << 2) | 1;
416 : : "r" (rid));
H A Dobio.c96 obio_alloc_resource(device_t bus, device_t child, int type, int *rid, argument
127 rman_set_rid(rv, *rid);
136 obio_activate_resource(device_t bus, device_t child, int type, int rid, argument
/freebsd-9.3-release/sys/dev/aic/
H A Daic_cbus.c86 int rid; local
97 rid = 0;
98 sc->sc_port = isa_alloc_resourcev(dev, SYS_RES_IOPORT, &rid,
107 rid = 0;
108 sc->sc_irq = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid,
118 rid = 0;
119 sc->sc_drq = bus_alloc_resource_any(dev, SYS_RES_DRQ, &rid,
H A Daic_isa.c70 int rid; local
74 rid = 0;
75 sc->sc_port = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid,
83 rid = 0;
84 sc->sc_irq = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid,
94 rid = 0;
95 sc->sc_drq = bus_alloc_resource_any(dev, SYS_RES_DRQ, &rid,
/freebsd-9.3-release/sys/dev/ath/
H A Dif_ath_ahb.c104 int rid; local
110 rid = 0;
111 psc->sc_sr = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid, RF_ACTIVE);
122 rid = 0;
124 psc->sc_eeprom = bus_alloc_resource(dev, SYS_RES_MEMORY, &rid, (uintptr_t) eepromaddr,
160 rid = 0;
161 psc->sc_irq = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid, RF_SHAREABLE|RF_ACTIVE);
/freebsd-9.3-release/sys/dev/buslogic/
H A Dbt_isa.c57 int rid; local
62 rid = 0;
63 port = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid,
69 rid = 0;
70 irq = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid, RF_ACTIVE);
81 rid = 0;
82 drq = bus_alloc_resource_any(dev, SYS_RES_DRQ, &rid, RF_ACTIVE);
H A Dbt_mca.c122 int rid; local
124 rid = 0;
125 io = 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, RF_ACTIVE);
140 rid = 0;
141 drq = bus_alloc_resource_any(dev, SYS_RES_DRQ, &rid, RF_ACTIVE);
/freebsd-9.3-release/sys/dev/fdc/
H A Dfdc_isa.c81 int i, j, rid, newrid, nport; local
85 rid = 0;
90 for (rid = 0; ; rid++) {
91 newrid = rid;
93 0ul, ~0ul, rid == 0 ? nport : 1, RF_ACTIVE);
119 newrid = rid;
/freebsd-9.3-release/sys/dev/mwl/
H A Dif_mwl_pci.c128 int rid, error = ENXIO; local
137 rid = BS_BAR0;
138 psc->sc_sr0 = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid,
144 rid = BS_BAR1;
145 psc->sc_sr1 = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid,
156 rid = 0;
157 psc->sc_irq = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid,
/freebsd-9.3-release/sys/dev/pci/
H A Dpci_subr.c184 int rid; local
190 rid = resource_list_add_next(&hr->hr_rl, type, start, end,
195 rle = resource_list_find(&hr->hr_rl, type, rid);
203 int *rid, u_long start, u_long end, u_long count, u_int flags)
219 return (bus_generic_alloc_resource(hr->hr_pcib, dev, type, rid,
237 r = bus_generic_alloc_resource(hr->hr_pcib, dev, type, rid,
242 "allocated type %d (%#lx-%#lx) for rid %x of %s\n",
244 *rid, pcib_child_name(dev));
202 pcib_host_res_alloc(struct pcib_host_resources *hr, device_t dev, int type, int *rid, u_long start, u_long end, u_long count, u_int flags) argument
/freebsd-9.3-release/sys/dev/ral/
H A Dif_ral_pci.c197 int count, error, rid; local
215 rid = PCIR_BAR(0);
216 psc->mem = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid,
227 rid = 0;
231 rid = 1;
233 psc->irq = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid, RF_ACTIVE |
234 (rid != 0 ? 0 : RF_SHAREABLE));
/freebsd-9.3-release/crypto/openssl/crypto/ocsp/
H A Docsp_srv.c223 OCSP_RESPID *rid; local
241 rid = brsp->tbsResponseData->responderId;
245 if (!(rid->value.byKey = ASN1_OCTET_STRING_new()))
247 if (!(ASN1_OCTET_STRING_set(rid->value.byKey, md, SHA_DIGEST_LENGTH)))
249 rid->type = V_OCSP_RESPID_KEY;
251 if (!X509_NAME_set(&rid->value.byName, X509_get_subject_name(signer)))
253 rid->type = V_OCSP_RESPID_NAME;
/freebsd-9.3-release/contrib/binutils/binutils/
H A Dmclex.c209 mc_add_keyword_ascii (const char *sz, int rid, const char *grp, rc_uint_type nv, const char *sv) argument
217 mc_add_keyword (usz, rid, grp, nv, usv);
221 mc_add_keyword (unichar *usz, int rid, const char *grp, rc_uint_type nv, unichar *sv) argument
242 c->rid = rid;
263 n->rid = rid;
317 if (k->rid == MCTOKEN)
319 return k->rid;
/freebsd-9.3-release/sys/powerpc/psim/
H A Diobus.c307 iobus_alloc_resource(device_t bus, device_t child, int type, int *rid, argument
326 return (bus_alloc_resource(bus, type, rid, start, end, count,
341 rman_set_rid(rv, *rid);
344 if (bus_activate_resource(child, type, *rid, rv) != 0) {
358 iobus_release_resource(device_t bus, device_t child, int type, int rid, argument
362 int error = bus_deactivate_resource(child, type, rid, res);
372 iobus_activate_resource(device_t bus, device_t child, int type, int rid, argument
381 return (bus_activate_resource(bus, type, rid, res));
398 iobus_deactivate_resource(device_t bus, device_t child, int type, int rid, argument
/freebsd-9.3-release/sys/arm/xscale/i8134x/
H A Dobio.c91 obio_alloc_resource(device_t bus, device_t child, int type, int *rid, argument
134 rman_set_rid(rv, *rid);
143 obio_activate_resource(device_t bus, device_t child, int type, int rid, argument
/freebsd-9.3-release/sys/arm/xscale/pxa/
H A Dpxa_obio.c224 pxa_alloc_resource(device_t dev, device_t child, int type, int *rid, argument
239 rle = resource_list_find(rl, type, *rid);
243 return (pxa_alloc_gpio_irq(dev, child, type, rid,
270 rman_set_rid(rv, *rid);
277 if (bus_activate_resource(child, type, *rid, rv)) {
287 pxa_release_resource(device_t dev, device_t child, int type, int rid, argument
300 rle = resource_list_find(rl, type, rid);
314 pxa_activate_resource(device_t dev, device_t child, int type, int rid, argument
351 pxa_alloc_gpio_irq(device_t dev, device_t child, int type, int *rid, argument
373 resource_list_add(rl, type, *rid, star
[all...]
/freebsd-9.3-release/sys/dev/sio/
H A Dsio_pci.c66 int rid; member in struct:pci_ids
104 return (sioattach(dev, id->rid, 0UL));
124 return (sioprobe(dev, id->rid, 0UL, 0));
/freebsd-9.3-release/sys/mips/adm5120/
H A Dobio.c167 int rid; local
184 if ((sc->sc_irq = bus_alloc_resource(dev, SYS_RES_IRQ, &rid,
199 if ((sc->sc_fast_irq = bus_alloc_resource(dev, SYS_RES_IRQ, &rid,
224 obio_alloc_resource(device_t bus, device_t child, int type, int *rid, argument
241 rid, start, end, count, flags));
249 rle = resource_list_find(&ivar->resources, type, *rid);
278 rman_set_rid(rv, *rid);
281 if (bus_activate_resource(child, type, *rid, rv)) {
292 obio_activate_resource(device_t bus, device_t child, int type, int rid, argument
313 obio_deactivate_resource(device_t bus, device_t child, int type, int rid, argument
321 obio_release_resource(device_t dev, device_t child, int type, int rid, struct resource *r) argument
[all...]
/freebsd-9.3-release/sys/mips/alchemy/
H A Dobio.c168 int rid; local
185 if ((sc->sc_irq = bus_alloc_resource(dev, SYS_RES_IRQ, &rid,
200 if ((sc->sc_fast_irq = bus_alloc_resource(dev, SYS_RES_IRQ, &rid,
225 obio_alloc_resource(device_t bus, device_t child, int type, int *rid, argument
242 rid, start, end, count, flags));
250 rle = resource_list_find(&ivar->resources, type, *rid);
279 rman_set_rid(rv, *rid);
282 if (bus_activate_resource(child, type, *rid, rv)) {
293 obio_activate_resource(device_t bus, device_t child, int type, int rid, argument
314 obio_deactivate_resource(device_t bus, device_t child, int type, int rid, argument
322 obio_release_resource(device_t dev, device_t child, int type, int rid, struct resource *r) argument
[all...]
/freebsd-9.3-release/sys/mips/sibyte/
H A Data_zbbus.c59 int i, rid, regshift, regoffset; local
69 rid = 0;
70 io = bus_alloc_resource(dev, SYS_RES_MEMORY, &rid, 0, ~0, 1, RF_ACTIVE);

Completed in 168 milliseconds

1234567891011>>