Lines Matching +full:sc +full:- +full:resource
2 /*-
3 * SPDX-License-Identifier: BSD-4-Clause AND BSD-2-Clause
85 #define EXCA_I82365 1 /* Intel i82365SL-A/B or clone */
86 #define EXCA_I82365SL_DF 2 /* Intel i82365sl-DF step */
99 #define EXCA_BOGUS -1 /* Invalid/not present/etc */
106 void exca_init(struct exca_softc *sc, device_t dev,
108 void exca_insert(struct exca_softc *sc);
109 int exca_io_map(struct exca_softc *sc, int width, struct resource *r);
110 int exca_io_unmap_res(struct exca_softc *sc, struct resource *res);
111 int exca_is_pcic(struct exca_softc *sc);
112 int exca_mem_map(struct exca_softc *sc, int kind, struct resource *res);
113 int exca_mem_set_flags(struct exca_softc *sc, struct resource *res,
115 int exca_mem_set_offset(struct exca_softc *sc, struct resource *res,
117 int exca_mem_unmap_res(struct exca_softc *sc, struct resource *res);
125 struct resource *res);
127 struct resource *res);
130 exca_getb(struct exca_softc *sc, int reg) in exca_getb() argument
132 return (sc->getb(sc, reg)); in exca_getb()
136 exca_putb(struct exca_softc *sc, int reg, uint8_t val) in exca_putb() argument
138 sc->putb(sc, reg, val); in exca_putb()
142 exca_setb(struct exca_softc *sc, int reg, uint8_t mask) in exca_setb() argument
144 exca_putb(sc, reg, exca_getb(sc, reg) | mask); in exca_setb()
148 exca_clrb(struct exca_softc *sc, int reg, uint8_t mask) in exca_clrb() argument
150 exca_putb(sc, reg, exca_getb(sc, reg) & ~mask); in exca_clrb()