Searched refs:rid (Results 101 - 125 of 471) sorted by relevance

1234567891011>>

/freebsd-9.3-release/sys/pc98/pc98/
H A Dcanbus.c258 int *rid, u_long start, u_long end, u_long count, u_int flags)
261 child, type, rid, start, end, count, flags));
266 device_t dev, device_t child, int type, int rid, struct resource *res)
269 device_get_parent(dev), child, type, rid, res));
274 device_t dev, device_t child, int type, int rid, struct resource *res)
277 device_get_parent(dev), child, type, rid, res));
282 device_t dev, device_t child, int type, int rid, struct resource *res)
285 device_get_parent(dev), child, type, rid, res));
290 device_t dev, device_t child, int type, int rid, u_long start, u_long count)
296 resource_list_add(rl, type, rid, star
257 canbus_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
265 canbus_activate_resource( device_t dev, device_t child, int type, int rid, struct resource *res) argument
273 canbus_deactivate_resource( device_t dev, device_t child, int type, int rid, struct resource *res) argument
281 canbus_release_resource( device_t dev, device_t child, int type, int rid, struct resource *res) argument
289 canbus_set_resource( device_t dev, device_t child, int type, int rid, u_long start, u_long count) argument
302 canbus_delete_resource(device_t dev, device_t child, int type, int rid) argument
[all...]
/freebsd-9.3-release/sys/sys/
H A Dbus.h240 int rid; /**< @brief resource identifier */ member in struct:resource_list_entry
257 int type, int rid,
263 int type, int rid);
264 int resource_list_reserved(struct resource_list *rl, int type, int rid);
267 int type, int rid);
269 int type, int rid);
273 int type, int *rid,
278 int type, int rid, struct resource *res);
282 int type, int *rid,
287 int type, int rid);
373 int rid; member in struct:resource_spec
415 bus_alloc_resource_any(device_t dev, int type, int *rid, u_int flags) argument
[all...]
/freebsd-9.3-release/sys/dev/isci/
H A Disci_interrupt.c55 interrupt_info->rid = 0;
59 &interrupt_info->rid, RF_SHAREABLE|RF_ACTIVE);
100 info->rid = base_index+msix_index+1;
103 SYS_RES_IRQ, &info->rid, RF_ACTIVE);
/freebsd-9.3-release/sys/dev/pci/
H A Dhostb_pci.c104 pci_hostb_alloc_resource(device_t dev, device_t child, int type, int *rid, argument
108 return (bus_alloc_resource(dev, type, rid, start, end, count, flags));
112 pci_hostb_release_resource(device_t dev, device_t child, int type, int rid, argument
116 return (bus_release_resource(dev, type, rid, r));
H A Dpci.c1369 * available to the driver as SYS_RES_IRQ resources starting at rid 1.
1383 /* If rid 0 is allocated, then fail. */
1526 * an associated SYS_RES_IRQ whose rid is equal to the array index +
1541 * In any case, the SYS_RES_IRQ rid X will always map to the message
2030 * available to the driver as SYS_RES_IRQ resources starting at a rid 1.
2045 /* If rid 0 is allocated, then fail. */
2093 * starting at rid 1.
2856 int rid, type, progif; local
2876 rid = PCIR_BAR(0);
2877 resource_list_add(rl, type, rid,
2960 int rid; local
2996 int rid; local
3025 int rid; local
3081 int rid; local
3491 int error, rid; local
3580 int error, rid; local
4093 pci_reserve_map(device_t dev, device_t child, int type, int *rid, u_long start, u_long end, u_long count, u_int flags) argument
4191 pci_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
4265 pci_release_resource(device_t dev, device_t child, int type, int rid, struct resource *r) argument
4300 pci_activate_resource(device_t dev, device_t child, int type, int rid, struct resource *r) argument
4328 pci_deactivate_resource(device_t dev, device_t child, int type, int rid, struct resource *r) argument
4389 pci_delete_resource(device_t dev, device_t child, int type, int rid) argument
[all...]
/freebsd-9.3-release/sys/dev/puc/
H A Dpuc_cfg.h80 int8_t rid; /* Rid of first port */ member in struct:puc_cfg
81 int8_t d_rid; /* Delta rid of next ports */
/freebsd-9.3-release/sys/dev/si/
H A Dsi_pci.c109 int rid; local
115 rid = PCIR_BAR(0);
116 plx_res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid,
127 bus_release_resource(dev, SYS_RES_MEMORY, rid, plx_res);
/freebsd-9.3-release/sys/dev/sound/isa/
H A Dgusc.c93 static struct resource *gusc_alloc_resource(device_t bus, device_t child, int type, int *rid,
95 static int gusc_release_resource(device_t bus, device_t child, int type, int rid,
183 int base, rid, rid2, s, flags; local
188 rid = 1;
189 res = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, base + 0x100,
258 bus_release_resource(dev, SYS_RES_IOPORT, rid, res);
300 bus_release_resource(dev, SYS_RES_IOPORT, rid, res);
352 gusc_alloc_resource(device_t bus, device_t child, int type, int *rid, argument
383 if (*rid > rid_max || alloced[*rid]
391 gusc_release_resource(device_t bus, device_t child, int type, int rid, struct resource *r) argument
[all...]
/freebsd-9.3-release/sys/mips/cavium/
H A Dobio.c121 obio_alloc_resource(device_t bus, device_t child, int type, int *rid, argument
163 rman_set_rid(rv, *rid);
168 if (bus_activate_resource(child, type, *rid, rv)) {
178 obio_activate_resource(device_t bus, device_t child, int type, int rid, argument
/freebsd-9.3-release/sys/sparc64/sparc64/
H A Drtc.c168 int ebus, error, rid; local
178 rid = 0;
180 SYS_RES_IOPORT, &rid, RF_ACTIVE);
226 bus_release_resource(dev, ebus ? SYS_RES_MEMORY : SYS_RES_IOPORT, rid,
/freebsd-9.3-release/sys/arm/xscale/ixp425/
H A Dixp425_pci.c107 int rid; local
112 rid = 0;
113 sc->sc_csr = bus_alloc_resource(dev, SYS_RES_MEMORY, &rid,
123 rid = 0;
124 sc->sc_mem = bus_alloc_resource(dev, SYS_RES_MEMORY, &rid,
276 ixppcib_alloc_resource(device_t bus, device_t child, int type, int *rid, argument
305 rman_set_rid(rv, *rid);
307 if (bus_activate_resource(child, type, *rid, rv)) {
317 ixppcib_activate_resource(device_t bus, device_t child, int type, int rid, argument
339 ixppcib_deactivate_resource(device_t bus, device_t child, int type, int rid, argument
349 ixppcib_release_resource(device_t bus, device_t child, int type, int rid, struct resource *r) argument
[all...]
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Dzfs_fuid.h57 #define FUID_ENCODE(idx, rid) (((uint64_t)(idx) << 32) | (rid))
70 * domain string table and the bottom half will be the rid.
/freebsd-9.3-release/sys/dev/ppc/
H A Dppc_pci.c81 int rid; member in struct:pci_id
111 return (ppc_probe(dev, id->rid));
/freebsd-9.3-release/sys/dev/siba/
H A Dsiba_pcib.c137 int rid; local
143 rid = MIPS_MEM_RID; /* XXX */
145 sc->sc_mem = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid,
251 siba_pcib_alloc_resource(device_t bus, device_t child, int type, int *rid, argument
282 rman_set_rid(rv, *rid);
297 siba_pcib_activate_resource(device_t bus, device_t child, int type, int rid, argument
308 siba_pcib_deactivate_resource(device_t bus, device_t child, int type, int rid, argument
319 siba_pcib_release_resource(device_t bus, device_t child, int type, int rid, argument
H A Dsiba.c165 int rid; local
175 rid = MIPS_MEM_RID;
176 sc->siba_mem_res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid,
252 rid = MIPS_MEM_RID;
254 result = bus_release_resource(dev, SYS_RES_MEMORY, rid,
269 sc->siba_mem_res = bus_alloc_resource(dev, SYS_RES_MEMORY, &rid,
284 bus_set_resource(dev, SYS_RES_MEMORY, rid, sc->siba_maddr,
373 siba_alloc_resource(device_t bus, device_t child, int type, int *rid, argument
392 rle = resource_list_find(rl, type, *rid);
416 rman_set_rid(rv, *rid);
445 siba_activate_resource(device_t bus, device_t child, int type, int rid, struct resource *r) argument
[all...]
/freebsd-9.3-release/sys/dev/xen/xenpci/
H A Dxenpci.c266 xenpci_alloc_resource(device_t dev, device_t child, int type, int *rid, argument
269 return (BUS_ALLOC_RESOURCE(nexus, child, type, rid, start,
275 xenpci_release_resource(device_t dev, device_t child, int type, int rid, argument
278 return (BUS_RELEASE_RESOURCE(nexus, child, type, rid, r));
282 xenpci_activate_resource(device_t dev, device_t child, int type, int rid, argument
285 return (BUS_ACTIVATE_RESOURCE(nexus, child, type, rid, r));
290 int rid, struct resource *r)
292 return (BUS_DEACTIVATE_RESOURCE(nexus, child, type, rid, r));
289 xenpci_deactivate_resource(device_t dev, device_t child, int type, int rid, struct resource *r) argument
/freebsd-9.3-release/sys/powerpc/mpc85xx/
H A Dds1553_bus_fdt.c100 sc->res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &sc->rid,
113 bus_release_resource(dev, SYS_RES_MEMORY, sc->rid, sc->res);
H A Dnexus.c130 nexus_activate_resource(device_t bus, device_t child, int type, int rid, argument
139 nexus_deactivate_resource(device_t bus, device_t child, int type, int rid, argument
/freebsd-9.3-release/sys/dev/ex/
H A Dif_ex_isa.c129 int rid; local
135 rid = 0;
136 sc.ioport = bus_alloc_resource(parent, SYS_RES_IOPORT, &rid,
143 bus_release_resource(parent, SYS_RES_IOPORT, rid,
158 bus_release_resource(parent, SYS_RES_IOPORT, rid,
181 bus_release_resource(parent, SYS_RES_IOPORT, rid, sc.ioport);
/freebsd-9.3-release/sys/dev/ips/
H A Dips_pci.c102 sc->rid = PCIR_BAR(1);
104 sc->rid = PCIR_BAR(0);
106 sc->iores = bus_alloc_resource_any(dev, sc->iotype, &sc->rid,
110 sc->rid = PCIR_BAR(0);
113 &sc->rid, RF_ACTIVE);
186 bus_release_resource(sc->dev, sc->iotype, sc->rid, sc->iores);
/freebsd-9.3-release/sys/dev/pccbb/
H A Dpccbb_isa.c129 int rid; local
133 rid = 0;
134 res = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid, RF_ACTIVE);
144 res = bus_alloc_resource(dev, SYS_RES_IRQ, &rid, i, i,
151 rid = 0;
152 res = bus_alloc_resource_any(dev, SYS_RES_IOPORT, &rid, RF_ACTIVE);
/freebsd-9.3-release/sys/mips/mips/
H A Dmainbus.c192 mainbus_alloc_resource(device_t bus, device_t child, int type, int *rid, argument
238 if (bus_activate_resource(child, type, *rid, rv)) {
248 mainbus_activate_resource(device_t bus, device_t child, int type, int rid, argument
282 mainbus_deactivate_resource(device_t bus, device_t child, int type, int rid, argument
300 mainbus_release_resource(device_t bus, device_t child, int type, int rid, argument
304 int error = bus_deactivate_resource(child, type, rid, r);
/freebsd-9.3-release/sys/sparc64/ebus/
H A Debus.c310 int i, rnum, rid; local
337 rid = PCIR_BAR(rnum);
338 res = bus_alloc_resource_any(dev, eri->eri_rtype, &rid,
416 ebus_alloc_resource(device_t bus, device_t child, int type, int *rid, argument
437 rle = resource_list_find(rl, type, *rid);
462 rman_set_rid(res, *rid);
464 child, type, *rid, res) != 0) {
483 child, type, rid, start, end,
493 return (resource_list_alloc(rl, bus, child, type, rid, start,
500 ebus_activate_resource(device_t bus, device_t child, int type, int rid, argument
542 ebus_release_resource(device_t bus, device_t child, int type, int rid, struct resource *res) argument
[all...]
/freebsd-9.3-release/sys/pc98/cbus/
H A Dolpt.c277 int rid; local
284 rid = 0;
285 res = isa_alloc_resourcev(dev, SYS_RES_IOPORT, &rid, lpt_iat, 4,
301 bus_release_resource(dev, SYS_RES_IOPORT, rid,
308 bus_release_resource(dev, SYS_RES_IOPORT, rid, res);
316 int rid, unit; local
323 rid = 0;
324 sc->res_port = isa_alloc_resourcev(dev, SYS_RES_IOPORT, &rid,
341 rid = 0;
342 sc->res_irq = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid,
[all...]
/freebsd-9.3-release/sys/dev/usb/controller/
H A Dat91dci_atmelarm.c147 int rid; local
191 rid = MEM_RID;
193 bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid, RF_ACTIVE);
203 rid = 0;
205 bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid, RF_ACTIVE);
209 rid = 1;
211 bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid, RF_ACTIVE);

Completed in 280 milliseconds

1234567891011>>