/freebsd-9.3-release/sys/dev/agp/ |
H A D | agppriv.h | 89 void agp_set_aperture_resource(device_t dev, int rid);
|
/freebsd-9.3-release/sys/dev/aha/ |
H A D | aha_isa.c | 309 int rid; local 323 rid = 0; 324 aha.port = bus_alloc_resource(parent, SYS_RES_IOPORT, &rid, 339 bus_release_resource(parent, SYS_RES_IOPORT, rid, aha.port);
|
/freebsd-9.3-release/sys/dev/aic7xxx/ |
H A D | ahc_isa.c | 92 int rid; local 94 rid = 0; 96 regs = bus_alloc_resource(parent, SYS_RES_IOPORT, &rid, 121 bus_release_resource(parent, SYS_RES_IOPORT, rid, regs);
|
/freebsd-9.3-release/sys/dev/puc/ |
H A D | puc_bfe.h | 79 struct puc_bar *puc_get_bar(struct puc_softc *sc, int rid);
|
/freebsd-9.3-release/sys/i386/include/ |
H A D | legacyvar.h | 59 int type, int *rid, u_long start, u_long end, u_long count, u_int flags);
|
/freebsd-9.3-release/sys/powerpc/mpc85xx/ |
H A D | ds1553_reg.h | 90 int rid; /* resource id */ member in struct:ds1553_softc
|
/freebsd-9.3-release/sys/x86/x86/ |
H A D | mptable_pci.c | 124 mptable_hostb_alloc_resource(device_t dev, device_t child, int type, int *rid, argument 137 type, rid, start, end, count, flags)); 148 type, rid, start, end, count, flags)); 155 return (pcib_host_res_alloc(&sc->sc_host_res, child, type, rid, start,
|
/freebsd-9.3-release/lib/libusbhid/ |
H A D | parse.c | 49 int32_t rid; member in struct:hid_pos_data 111 if (s->last_pos[i].rid == c->report_ID) 113 if (s->last_pos[i].rid == 0) 118 s->last_pos[i].rid = c->report_ID; 133 if (s->last_pos[i].rid == next_rID) 135 if (s->last_pos[i].rid == 0) 140 s->last_pos[i].rid = next_rID;
|
/freebsd-9.3-release/sys/dev/firewire/ |
H A D | fwohci_pci.c | 288 int rid; local 309 rid = PCI_CBMEM; 311 sc->bsr = bus_alloc_resource_any(self, SYS_RES_MEMORY, &rid, RF_ACTIVE); 313 sc->bsr = bus_alloc_resource(self, SYS_RES_MEMORY, &rid, 324 rid = 0; 326 sc->irq_res = bus_alloc_resource_any(self, SYS_RES_IRQ, &rid, 329 sc->irq_res = bus_alloc_resource(self, SYS_RES_IRQ, &rid, 0, ~0, 1,
|
/freebsd-9.3-release/sys/dev/pci/ |
H A D | pci_pci.c | 312 int rid; local 319 rid = w->reg; 324 &rid, start, end, end - start + 1, 0); 369 int error, rid; local 395 rid = w->reg; 396 res = bus_alloc_resource(sc->dev, type, &rid, w->base, w->limit, 984 device_t child, int type, int *rid, u_long start, u_long end, u_long count, 999 "allocated %s range (%#lx-%#lx) for rid %x of %s\n", 1000 w->name, rman_get_start(res), rman_get_end(res), *rid, 1002 rman_set_rid(res, *rid); 983 pcib_suballoc_resource(struct pcib_softc *sc, struct pcib_window *w, device_t child, int type, int *rid, u_long start, u_long end, u_long count, u_int flags) argument 1026 int rid; local 1359 pcib_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 1455 pcib_release_resource(device_t dev, device_t child, int type, int rid, struct resource *r) argument 1478 pcib_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 [all...] |
/freebsd-9.3-release/sys/mips/atheros/ |
H A D | ar71xx_pci.c | 262 int rid = 0; local 285 if ((sc->sc_irq = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid, 360 ar71xx_pci_alloc_resource(device_t bus, device_t child, int type, int *rid, argument 384 rman_set_rid(rv, *rid); 387 if (bus_activate_resource(child, type, *rid, rv)) { 399 ar71xx_pci_activate_resource(device_t bus, device_t child, int type, int rid, argument 403 child, type, rid, r));
|
H A D | ar724x_pci.c | 311 int rid = 0; local 333 if ((sc->sc_irq = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid, 405 ar724x_pci_alloc_resource(device_t bus, device_t child, int type, int *rid, argument 428 rman_set_rid(rv, *rid); 431 if (bus_activate_resource(child, type, *rid, rv)) { 442 ar724x_pci_activate_resource(device_t bus, device_t child, int type, int rid, argument 446 child, type, rid, r));
|
/freebsd-9.3-release/sys/powerpc/ps3/ |
H A D | ps3bus.c | 61 int type, int *rid, u_long start, u_long end, 64 int rid, struct resource *res); 520 ps3bus_alloc_resource(device_t bus, device_t child, int type, int *rid, argument 539 *rid); 542 device_get_nameunit(child), *rid); 566 type, rid, start, end, count, flags)); 583 rman_set_rid(rv, *rid); 586 if (bus_activate_resource(child, type, *rid, rv) != 0) { 599 ps3bus_activate_resource(device_t bus, device_t child, int type, int rid, argument 605 return (bus_activate_resource(bus, type, rid, re [all...] |
/freebsd-9.3-release/sys/arm/at91/ |
H A D | at91_pio.c | 185 int rid; local 188 rid = 0; 189 sc->mem_res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid, 193 rid = 0; 194 sc->irq_res = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid,
|
H A D | at91_twi.c | 171 int rid; local 174 rid = 0; 175 sc->mem_res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid, 179 rid = 0; 180 sc->irq_res = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid,
|
/freebsd-9.3-release/sys/dev/hptnr/ |
H A D | hptnr_os_bsd.c | 119 hba->pcibar[index].rid = 0x10 + index * 4; 120 base = pci_read_config(hba->pcidev, hba->pcibar[index].rid, 4); 125 hba->pcibar[index].type, &hba->pcibar[index].rid, 0, ~0, length, RF_ACTIVE); 130 hba->pcibar[index].type, &hba->pcibar[index].rid, 0, ~0, length, RF_ACTIVE); 145 hba->pcibar[index].rid, hba->pcibar[index].res);
|
/freebsd-9.3-release/sys/dev/usb/controller/ |
H A D | ehci_ixp4xx.c | 104 int rid; local 119 rid = 0; 120 sc->sc_io_res = bus_alloc_resource_any(self, SYS_RES_MEMORY, &rid, RF_ACTIVE); 148 rid = 0; 149 sc->sc_irq_res = bus_alloc_resource_any(self, SYS_RES_IRQ, &rid,
|
H A D | ohci_pci.c | 207 int rid; local 231 rid = PCI_CBMEM; 232 sc->sc_io_res = bus_alloc_resource_any(self, SYS_RES_MEMORY, &rid, 242 rid = 0; 243 sc->sc_irq_res = bus_alloc_resource_any(self, SYS_RES_IRQ, &rid,
|
H A D | uhci_pci.c | 257 int rid; local 274 rid = PCI_UHCI_BASE_REG; 275 sc->sc_io_res = bus_alloc_resource_any(self, SYS_RES_IOPORT, &rid, 288 rid = 0; 289 sc->sc_irq_res = bus_alloc_resource_any(self, SYS_RES_IRQ, &rid,
|
/freebsd-9.3-release/sys/isa/ |
H A D | vga_isa.c | 191 int rid; local 197 rid = 0; 198 bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, 200 rid = 0; 201 bus_alloc_resource(dev, SYS_RES_MEMORY, &rid,
|
/freebsd-9.3-release/sys/dev/sound/isa/ |
H A D | sbc.c | 82 static struct resource *sbc_alloc_resource(device_t bus, device_t child, int type, int *rid, 84 static int sbc_release_resource(device_t bus, device_t child, int type, int rid, 299 int rid = 0, ver; local 303 io = isa_alloc_resourcev(dev, SYS_RES_IOPORT, &rid, 306 io = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, 339 bad2: bus_release_resource(dev, SYS_RES_IOPORT, rid, io); 581 sbc_alloc_resource(device_t bus, device_t child, int type, int *rid, argument 621 if (*rid > rid_max || alloced[*rid] == alloced_max) 624 alloced[*rid] 629 sbc_release_resource(device_t bus, device_t child, int type, int rid, struct resource *r) argument [all...] |
/freebsd-9.3-release/sys/dev/virtio/pci/ |
H A D | virtio_pci.c | 260 int rid; local 267 rid = PCIR_BAR(0); 268 sc->vtpci_res = bus_alloc_resource_any(dev, SYS_RES_IOPORT, &rid, 279 rid = PCIR_BAR(1); 281 SYS_RES_MEMORY, &rid, RF_ACTIVE); 883 vtpci_alloc_interrupt(struct vtpci_softc *sc, int rid, int flags, argument 888 irq = bus_alloc_resource_any(sc->vtpci_dev, SYS_RES_IRQ, &rid, flags); 893 intr->vti_rid = rid; 902 int i, rid, flags, nvq_intrs, error; local 904 rid [all...] |
/freebsd-9.3-release/sys/arm/s3c2xx0/ |
H A D | s3c24x0.c | 289 s3c24x0_alloc_resource(device_t bus, device_t child, int type, int *rid, argument 299 type, rid, start, end, count, flags)); 301 rle = resource_list_find(rl, type, *rid); 305 panic("Resource rid %d type %d already in use", *rid, 355 if (bus_activate_resource(child, type, *rid, res)) { 364 rman_set_rid(res, *rid); 377 s3c24x0_activate_resource(device_t bus, device_t child, int type, int rid, argument 394 s3c24x0_release_resource(device_t bus, device_t child, int type, int rid, argument 404 rle = resource_list_find(rl, type, rid); [all...] |
/freebsd-9.3-release/sys/dev/fdt/ |
H A D | fdtbus.c | 485 fdtbus_alloc_resource(device_t bus, device_t child, int type, int *rid, argument 496 * Request for the default allocation with a given rid: use resource 506 rle = resource_list_find(&di->di_res, type, *rid); 509 "rid = %d, type = %d\n", *rid, type); 543 rman_set_rid(res, *rid); 552 if (bus_activate_resource(child, type, *rid, res)) { 562 fdtbus_release_resource(device_t bus, device_t child, int type, int rid, argument 568 err = bus_deactivate_resource(child, type, rid, res); 605 fdtbus_activate_resource(device_t bus, device_t child, int type, int rid, argument 613 fdtbus_deactivate_resource(device_t bus, device_t child, int type, int rid, struct resource *res) argument [all...] |
/freebsd-9.3-release/sys/dev/scc/ |
H A D | scc_core.c | 350 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);
|