Searched refs:fxp_res (Results 1 – 2 of 2) sorted by relevance
/haiku/src/add-ons/kernel/drivers/network/ether/ipro100/dev/fxp/ |
H A D | if_fxpvar.h | 183 struct resource *fxp_res[2]; /* I/O and IRQ resources */ member 247 #define CSR_READ_1(sc, reg) bus_read_1(sc->fxp_res[0], reg) 248 #define CSR_READ_2(sc, reg) bus_read_2(sc->fxp_res[0], reg) 249 #define CSR_READ_4(sc, reg) bus_read_4(sc->fxp_res[0], reg) 250 #define CSR_WRITE_1(sc, reg, val) bus_write_1(sc->fxp_res[0], reg, val) 251 #define CSR_WRITE_2(sc, reg, val) bus_write_2(sc->fxp_res[0], reg, val) 252 #define CSR_WRITE_4(sc, reg, val) bus_write_4(sc->fxp_res[0], reg, val)
|
H A D | if_fxp.c | 470 error = bus_alloc_resources(dev, sc->fxp_spec, sc->fxp_res); in fxp_attach() 476 error = bus_alloc_resources(dev, sc->fxp_spec, sc->fxp_res); in fxp_attach() 900 error = bus_setup_intr(dev, sc->fxp_res[1], INTR_TYPE_NET | INTR_MPSAFE, in fxp_attach() 958 bus_release_resources(sc->dev, sc->fxp_spec, sc->fxp_res); in fxp_release() 1029 bus_teardown_intr(sc->dev, sc->fxp_res[1], sc->ih); in fxp_detach()
|