/freebsd/sys/dev/hyperv/vmbus/aarch64/ |
H A D | vmbus_aarch64.c | 115 sc->ires = bus_alloc_resource_any(dev, in vmbus_setup_intr1() 117 if (sc->ires == NULL) { in vmbus_setup_intr1() 122 (uint64_t)rman_get_start(sc->ires), sc->vector, in vmbus_setup_intr1() 123 (uint64_t)rman_get_end(sc->ires)); in vmbus_setup_intr1() 125 err = bus_setup_intr(sc->vmbus_dev, sc->ires, INTR_TYPE_MISC | INTR_MPSAFE, in vmbus_setup_intr1() 131 irq_data = (struct intr_map_data_acpi *)rman_get_virtual(sc->ires); in vmbus_setup_intr1() 143 bus_teardown_intr(sc->vmbus_dev, sc->ires, sc->icookie); in vmbus_intr_teardown1()
|
/freebsd/sys/dev/tsec/ |
H A D | if_tsec_fdt.c | 74 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, 275 tsec_setup_intr(struct tsec_softc *sc, struct resource **ires, void **ihand, in tsec_setup_intr() argument 280 *ires = bus_alloc_resource_any(sc->dev, SYS_RES_IRQ, irid, RF_ACTIVE); in tsec_setup_intr() 281 if (*ires == NULL) { in tsec_setup_intr() 285 error = bus_setup_intr(sc->dev, *ires, INTR_TYPE_NET | INTR_MPSAFE, in tsec_setup_intr() 289 if (bus_release_resource(sc->dev, SYS_RES_IRQ, *irid, *ires)) in tsec_setup_intr() 291 *ires = NULL; in tsec_setup_intr() 298 tsec_release_intr(struct tsec_softc *sc, struct resource *ires, void *ihand, in tsec_release_intr() argument 303 if (ires == NULL) in tsec_release_intr() [all …]
|
/freebsd/sys/dev/gpio/ |
H A D | gpiopps.c | 54 struct resource *ires; member 159 bus_teardown_intr(dev, sc->ires, sc->ihandler); in gpiopps_detach() 160 if (sc->ires != NULL) in gpiopps_detach() 161 bus_release_resource(dev, SYS_RES_IRQ, sc->irid, sc->ires); in gpiopps_detach() 221 if ((sc->ires = gpio_alloc_intr_resource(dev, &sc->irid, RF_ACTIVE, in gpiopps_fdt_attach() 228 err = bus_setup_intr(dev, sc->ires, INTR_TYPE_CLK | INTR_MPSAFE, in gpiopps_fdt_attach()
|
/freebsd/lib/libc/tests/gen/ |
H A D | popen_test.c | 215 int i, ires, status; in ATF_TC_BODY() local 224 ATF_CHECK_MSG((ires = fputs("abcd\n", fp)) != EOF, in ATF_TC_BODY() 226 if (ires != EOF) { in ATF_TC_BODY()
|
/freebsd/sys/dev/sec/ |
H A D | sec.c | 65 static int sec_setup_intr(struct sec_softc *sc, struct resource **ires, 67 static void sec_release_intr(struct sec_softc *sc, struct resource *ires, 460 sec_setup_intr(struct sec_softc *sc, struct resource **ires, void **ihand, in sec_setup_intr() argument 465 (*ires) = bus_alloc_resource_any(sc->sc_dev, SYS_RES_IRQ, irid, in sec_setup_intr() 468 if ((*ires) == NULL) { in sec_setup_intr() 473 error = bus_setup_intr(sc->sc_dev, *ires, INTR_MPSAFE | INTR_TYPE_NET, in sec_setup_intr() 478 if (bus_release_resource(sc->sc_dev, SYS_RES_IRQ, *irid, *ires)) in sec_setup_intr() 482 (*ires) = NULL; in sec_setup_intr() 490 sec_release_intr(struct sec_softc *sc, struct resource *ires, void *ihand, in sec_release_intr() argument 495 if (ires == NULL) in sec_release_intr() [all …]
|
/freebsd/sys/netipsec/ |
H A D | ipsec_offload.c | 146 u_int drv_spi, void *priv, uint32_t flags, struct ifp_handle_sav **ires); 402 u_int drv_spi, void *priv, uint32_t flags, struct ifp_handle_sav **ires) in ipsec_accel_handle_sav() argument 430 if (ires != NULL) in ipsec_accel_handle_sav() 431 *ires = ihs; in ipsec_accel_handle_sav() 436 if (ires != NULL) in ipsec_accel_handle_sav() 437 *ires = NULL; in ipsec_accel_handle_sav()
|
/freebsd/sys/dev/hyperv/vmbus/ |
H A D | vmbus_var.h | 134 struct resource *ires; member
|
H A D | vmbus.c | 1680 sc->ires); in vmbus_detach()
|
/freebsd/crypto/heimdal/ |
H A D | configure | 12995 ires= lres= 13012 ires=$i;break 13036 if test "$ires" -a "$lres" -a "$with_openldap" != "no"; then 13037 INCLUDE_openldap="-I$ires" 13040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: headers $ires, libraries $lres" >&5 13041 $as_echo "headers $ires, libraries $lres" >&6; } 13472 ires= lres= 13491 ires=$i;break 13517 if test "$ires" -a "$lres" -a "$with_sqlite3" != "no"; then 13518 INCLUDE_sqlite3="-I$ires" [all …]
|