Lines Matching defs:sc
85 #define MTD_READ_1(sc, reg) \ argument
87 #define MTD_WRITE_1(sc, reg, data) \ argument
90 #define MTD_READ_2(sc, reg) \ argument
92 #define MTD_WRITE_2(sc, reg, data) \ argument
95 #define MTD_READ_4(sc, reg) \ argument
97 #define MTD_WRITE_4(sc, reg, data) \ argument
100 #define MTD_SETBIT(sc, reg, x) \ argument
102 #define MTD_CLRBIT(sc, reg, x) \ argument
130 mtd_config(struct mtd_softc *sc) in mtd_config()
193 struct mtd_softc *sc = ifp->if_softc; in mtd_init() local
242 mtd_init_desc(struct mtd_softc *sc) in mtd_init_desc()
409 struct mtd_softc *sc = device_private(self); in mtd_mii_readreg() local
420 struct mtd_softc *sc = device_private(self); in mtd_mii_writereg() local
429 mtd_put(struct mtd_softc *sc, int index, struct mbuf *m) in mtd_put()
465 struct mtd_softc *sc = ifp->if_softc; in mtd_start() local
514 struct mtd_softc *sc = ifp->if_softc; in mtd_stop() local
538 struct mtd_softc *sc = ifp->if_softc; in mtd_watchdog() local
557 struct mtd_softc *sc = ifp->if_softc; in mtd_ioctl() local
578 mtd_get(struct mtd_softc *sc, int index, int totlen) in mtd_get()
633 mtd_rxirq(struct mtd_softc *sc) in mtd_rxirq()
696 mtd_txirq(struct mtd_softc *sc) in mtd_txirq()
713 mtd_bufirq(struct mtd_softc *sc) in mtd_bufirq()
729 struct mtd_softc *sc = args; in mtd_irq_h() local
820 mtd_setmulti(struct mtd_softc *sc) in mtd_setmulti()
869 mtd_reset(struct mtd_softc *sc) in mtd_reset()
897 struct mtd_softc *sc = arg; in mtd_shutdown() local