Searched refs:fxp_res (Results 1 - 2 of 2) sorted by relevance
/freebsd-11.0-release/sys/dev/fxp/ |
H A D | if_fxpvar.h | 183 struct resource *fxp_res[2]; /* I/O and IRQ resources */ member in struct:fxp_softc 244 #define CSR_READ_1(sc, reg) bus_read_1(sc->fxp_res[0], reg) 245 #define CSR_READ_2(sc, reg) bus_read_2(sc->fxp_res[0], reg) 246 #define CSR_READ_4(sc, reg) bus_read_4(sc->fxp_res[0], reg) 247 #define CSR_WRITE_1(sc, reg, val) bus_write_1(sc->fxp_res[0], reg, val) 248 #define CSR_WRITE_2(sc, reg, val) bus_write_2(sc->fxp_res[0], reg, val) 249 #define CSR_WRITE_4(sc, reg, val) bus_write_4(sc->fxp_res[0], reg, val)
|
H A D | if_fxp.c | 471 error = bus_alloc_resources(dev, sc->fxp_spec, sc->fxp_res); 477 error = bus_alloc_resources(dev, sc->fxp_spec, sc->fxp_res); 904 error = bus_setup_intr(dev, sc->fxp_res[1], INTR_TYPE_NET | INTR_MPSAFE, 962 bus_release_resources(sc->dev, sc->fxp_spec, sc->fxp_res); 1033 bus_teardown_intr(sc->dev, sc->fxp_res[1], sc->ih);
|
Completed in 142 milliseconds