Searched refs:ires (Results 1 - 25 of 33) sorted by relevance

12

/freebsd-10-stable/sys/dev/tsec/
H A Dif_tsec_fdt.c74 static int tsec_setup_intr(struct tsec_softc *sc, struct resource **ires,
76 static void tsec_release_intr(struct tsec_softc *sc, struct resource *ires,
242 tsec_setup_intr(struct tsec_softc *sc, struct resource **ires, void **ihand, argument
247 *ires = bus_alloc_resource_any(sc->dev, SYS_RES_IRQ, irid, RF_ACTIVE);
248 if (*ires == NULL) {
252 error = bus_setup_intr(sc->dev, *ires, INTR_TYPE_NET | INTR_MPSAFE,
256 if (bus_release_resource(sc->dev, SYS_RES_IRQ, *irid, *ires))
258 *ires = NULL;
265 tsec_release_intr(struct tsec_softc *sc, struct resource *ires, void *ihand, argument
270 if (ires
[all...]
/freebsd-10-stable/sys/mips/malta/
H A Dgt.c88 struct resource *ires, int flags, driver_filter_t *filt,
91 return BUS_SETUP_INTR(device_get_parent(dev), child, ires, flags,
87 gt_setup_intr(device_t dev, device_t child, struct resource *ires, int flags, driver_filter_t *filt, driver_intr_t *intr, void *arg, void **cookiep) argument
/freebsd-10-stable/lib/libc/tests/gen/
H A Dpopen_test.c218 int i, ires, status; local
227 ATF_CHECK_MSG((ires = fputs("abcd\n", fp)) != EOF,
229 if (ires != EOF) {
/freebsd-10-stable/sys/sparc64/pci/
H A Dfire.c1721 fire_setup_intr(device_t dev, device_t child, struct resource *ires, argument
1737 if (rman_get_rid(ires) != 0) {
1738 msi = rman_get_start(ires);
1751 rman_set_start(ires, vec);
1752 rman_set_end(ires, vec);
1753 error = bus_generic_setup_intr(dev, child, ires, flags, filt,
1755 rman_set_start(ires, msi);
1756 rman_set_end(ires, msi);
1797 vec = rman_get_start(ires);
1807 return (bus_generic_setup_intr(dev, child, ires, flag
1812 fire_teardown_intr(device_t dev, device_t child, struct resource *ires, void *cookie) argument
[all...]
/freebsd-10-stable/sys/arm/xscale/i80321/
H A Diq80321.c355 struct resource *ires, int flags, driver_filter_t *filt,
360 error = BUS_SETUP_INTR(device_get_parent(dev), child, ires, flags,
364 intr_enabled |= 1 << rman_get_start(ires);
354 iq80321_setup_intr(device_t dev, device_t child, struct resource *ires, int flags, driver_filter_t *filt, driver_intr_t *intr, void *arg, void **cookiep) argument
H A Di80321_pci.c352 struct resource *ires, int flags, driver_filter_t *filt,
355 return (BUS_SETUP_INTR(device_get_parent(dev), child, ires, flags,
351 i80321_pci_setup_intr(device_t dev, device_t child, struct resource *ires, int flags, driver_filter_t *filt, driver_intr_t *intr, void *arg, void **cookiep) argument
/freebsd-10-stable/sys/arm/versatile/
H A Dversatile_pci.c372 versatile_pci_setup_intr(device_t bus, device_t child, struct resource *ires, argument
377 return BUS_SETUP_INTR(device_get_parent(bus), bus, ires, flags,
382 versatile_pci_teardown_intr(device_t dev, device_t child, struct resource *ires, argument
386 return BUS_TEARDOWN_INTR(device_get_parent(dev), dev, ires, cookie);
/freebsd-10-stable/sys/mips/adm5120/
H A Dobio.c340 obio_setup_intr(device_t dev, device_t child, struct resource *ires, argument
349 irq = rman_get_start(ires);
385 obio_teardown_intr(device_t dev, device_t child, struct resource *ires, argument
392 irq = rman_get_start(ires);
/freebsd-10-stable/sys/mips/alchemy/
H A Dobio.c341 obio_setup_intr(device_t dev, device_t child, struct resource *ires, argument
350 irq = rman_get_start(ires);
385 obio_teardown_intr(device_t dev, device_t child, struct resource *ires, argument
392 irq = rman_get_start(ires);
/freebsd-10-stable/sys/mips/atheros/
H A Dapb.c282 apb_setup_intr(device_t bus, device_t child, struct resource *ires, argument
290 irq = rman_get_start(ires);
321 apb_teardown_intr(device_t dev, device_t child, struct resource *ires, argument
327 irq = rman_get_start(ires);
H A Dar71xx_pci.c557 ar71xx_pci_setup_intr(device_t bus, device_t child, struct resource *ires, argument
565 irq = rman_get_start(ires);
595 ar71xx_pci_teardown_intr(device_t dev, device_t child, struct resource *ires, argument
601 irq = rman_get_start(ires);
H A Dar724x_pci.c512 ar724x_pci_setup_intr(device_t bus, device_t child, struct resource *ires, argument
520 irq = rman_get_start(ires);
549 ar724x_pci_teardown_intr(device_t dev, device_t child, struct resource *ires, argument
555 irq = rman_get_start(ires);
/freebsd-10-stable/sys/mips/idt/
H A Dobio.c265 obio_setup_intr(device_t dev, device_t child, struct resource *ires, argument
273 irq = rman_get_start(ires);
302 obio_teardown_intr(device_t dev, device_t child, struct resource *ires, argument
309 irq = rman_get_start(ires);
/freebsd-10-stable/sys/arm/at91/
H A Dat91.c384 struct resource *ires, int flags, driver_filter_t *filt,
389 if (rman_get_start(ires) == AT91_IRQ_SYSTEM && filt == NULL)
391 error = BUS_SETUP_INTR(device_get_parent(dev), child, ires, flags,
383 at91_setup_intr(device_t dev, device_t child, struct resource *ires, int flags, driver_filter_t *filt, driver_intr_t *intr, void *arg, void **cookiep) argument
/freebsd-10-stable/sys/dev/sec/
H A Dsec.c64 static int sec_setup_intr(struct sec_softc *sc, struct resource **ires,
66 static void sec_release_intr(struct sec_softc *sc, struct resource *ires,
509 sec_setup_intr(struct sec_softc *sc, struct resource **ires, void **ihand, argument
514 (*ires) = bus_alloc_resource_any(sc->sc_dev, SYS_RES_IRQ, irid,
517 if ((*ires) == NULL) {
522 error = bus_setup_intr(sc->sc_dev, *ires, INTR_MPSAFE | INTR_TYPE_NET,
527 if (bus_release_resource(sc->sc_dev, SYS_RES_IRQ, *irid, *ires))
531 (*ires) = NULL;
539 sec_release_intr(struct sec_softc *sc, struct resource *ires, void *ihand, argument
544 if (ires
[all...]
/freebsd-10-stable/sys/arm/samsung/s3c2xx0/
H A Ds3c24x0.c211 struct resource *ires, int flags, driver_filter_t *filt,
216 error = BUS_SETUP_INTR(device_get_parent(dev), child, ires, flags, filt,
221 for (irq = rman_get_start(ires); irq <= rman_get_end(ires); irq++) {
210 s3c24x0_setup_intr(device_t dev, device_t child, struct resource *ires, int flags, driver_filter_t *filt, driver_intr_t *intr, void *arg, void **cookiep) argument
/freebsd-10-stable/sys/mips/rt305x/
H A Dobio.c387 obio_setup_intr(device_t dev, device_t child, struct resource *ires, argument
396 irq = rman_get_start(ires);
430 obio_teardown_intr(device_t dev, device_t child, struct resource *ires, argument
437 irq = rman_get_start(ires);
/freebsd-10-stable/sys/arm/xscale/i8134x/
H A Di81342.c429 i81342_setup_intr(device_t dev, device_t child, struct resource *ires, argument
435 error = BUS_SETUP_INTR(device_get_parent(dev), child, ires, flags,
/freebsd-10-stable/sys/dev/siba/
H A Dsiba_pcib.c233 siba_pcib_setup_intr(device_t dev, device_t child, struct resource *ires, argument
238 return (BUS_SETUP_INTR(device_get_parent(dev), child, ires, flags,
/freebsd-10-stable/sys/mips/rmi/
H A Diodi.c97 struct resource *ires, int flags, driver_filter_t *filt,
111 irq = (intptr_t)ires->__r_i;
96 iodi_setup_intr(device_t dev, device_t child, struct resource *ires, int flags, driver_filter_t *filt, driver_intr_t *intr, void *arg, void **cookiep) argument
/freebsd-10-stable/sys/arm/cavium/cns11xx/
H A Decona.c485 struct resource *ires, int flags, driver_filter_t *filt,
490 if (rman_get_start(ires) == ECONA_IRQ_SYSTEM && filt == NULL)
493 error = BUS_SETUP_INTR(device_get_parent(dev), child, ires, flags,
484 econa_setup_intr(device_t dev, device_t child, struct resource *ires, int flags, driver_filter_t *filt, driver_intr_t *intr, void *arg, void **cookiep) argument
/freebsd-10-stable/sys/sparc64/sparc64/
H A Dupa.c491 upa_setup_intr(device_t dev, device_t child, struct resource *ires, int flags, argument
502 vec = rman_get_start(ires);
507 return (bus_generic_setup_intr(dev, child, ires, flags, filt, func,
/freebsd-10-stable/sys/sparc64/ebus/
H A Debus.c589 ebus_setup_intr(device_t dev, device_t child, struct resource *ires, argument
603 vec = rman_get_start(ires);
623 return (bus_generic_setup_intr(dev, child, ires, flags, filt, intr,
/freebsd-10-stable/sys/arm/xscale/ixp425/
H A Dixp425_pci.c261 ixppcib_setup_intr(device_t dev, device_t child, struct resource *ires, argument
266 return (BUS_SETUP_INTR(device_get_parent(dev), child, ires, flags,
/freebsd-10-stable/sys/arm/xscale/pxa/
H A Dpxa_obio.c188 pxa_teardown_intr(device_t dev, device_t child, struct resource *ires, argument
191 return (BUS_TEARDOWN_INTR(device_get_parent(dev), child, ires, cookie));}

Completed in 191 milliseconds

12