Lines Matching defs:sc
91 #define sf_funcreg_read(sc, reg) \ argument
93 #define sf_funcreg_write(sc, reg, val) \ argument
97 sf_reg_read(struct sf_softc *sc, bus_addr_t reg) in sf_reg_read()
111 sf_reg_write(struct sf_softc *sc, bus_addr_t reg, uint32_t val) in sf_reg_write()
125 #define sf_genreg_read(sc, reg) \ argument
127 #define sf_genreg_write(sc, reg, val) \ argument
136 sf_attach(struct sf_softc *sc) in sf_attach()
336 struct sf_softc *sc; in sf_shutdown() local
352 struct sf_softc *sc = ifp->if_softc; in sf_start() local
498 struct sf_softc *sc = ifp->if_softc; in sf_watchdog() local
517 struct sf_softc *sc = ifp->if_softc; in sf_ioctl() local
548 struct sf_softc *sc = arg; in sf_intr() local
618 sf_txintr(struct sf_softc *sc) in sf_txintr()
684 sf_rxintr(struct sf_softc *sc) in sf_rxintr()
813 struct sf_softc *sc = arg; in sf_tick() local
830 sf_stats_update(struct sf_softc *sc) in sf_stats_update()
872 sf_reset(struct sf_softc *sc) in sf_reset()
902 sf_macreset(struct sf_softc *sc) in sf_macreset()
918 struct sf_softc *sc = ifp->if_softc; in sf_init() local
1108 sf_rxdrain(struct sf_softc *sc) in sf_rxdrain()
1131 struct sf_softc *sc = ifp->if_softc; in sf_stop() local
1175 sf_read_eeprom(struct sf_softc *sc, int offset) in sf_read_eeprom()
1190 sf_add_rxbuf(struct sf_softc *sc, int idx) in sf_add_rxbuf()
1230 sf_set_filter_perfect(struct sf_softc *sc, int slot, const uint8_t *enaddr) in sf_set_filter_perfect()
1244 sf_set_filter_hash(struct sf_softc *sc, uint8_t *enaddr) in sf_set_filter_hash()
1262 sf_set_filter(struct sf_softc *sc) in sf_set_filter()
1359 struct sf_softc *sc = device_private(self); in sf_mii_read() local
1388 struct sf_softc *sc = device_private(self); in sf_mii_write() local
1412 struct sf_softc *sc = ifp->if_softc; in sf_mii_statchg() local