Lines Matching refs:be_softc

103 struct be_softc {  struct
156 static void bereset(struct be_softc *); argument
157 static void behwreset(struct be_softc *);
160 static int berint(struct be_softc *);
161 static int betint(struct be_softc *);
162 static int beqint(struct be_softc *, uint32_t);
163 static int beeint(struct be_softc *, uint32_t);
165 static void be_read(struct be_softc *, int, int);
166 static int be_put(struct be_softc *, int, struct mbuf *);
167 static struct mbuf *be_get(struct be_softc *, int, int);
169 static void be_pal_gate(struct be_softc *, int);
175 static void be_mcreset(struct be_softc *);
183 static void be_mii_sync(struct be_softc *);
184 static void be_mii_sendbits(struct be_softc *, int, uint32_t, int);
185 static int be_mii_reset(struct be_softc *, int);
186 static int be_tcvr_read_bit(struct be_softc *, int);
187 static void be_tcvr_write_bit(struct be_softc *, int, int);
191 static void be_intphy_auto(struct be_softc *);
193 static void be_intphy_status(struct be_softc *);
194 static int be_intphy_service(struct be_softc *, struct mii_data *, int);
197 CFATTACH_DECL_NEW(be, sizeof(struct be_softc),
213 struct be_softc *sc = device_private(self); in beattach()
459 be_put(struct be_softc *sc, int idx, struct mbuf *m) in be_put()
488 be_get(struct be_softc *sc, int idx, int totlen) in be_get()
539 be_read(struct be_softc *sc, int idx, int len) in be_read()
578 struct be_softc *sc = ifp->if_softc; in bestart()
625 struct be_softc *sc = ifp->if_softc; in bestop()
637 behwreset(struct be_softc *sc) in behwreset()
664 bereset(struct be_softc *sc) in bereset()
679 struct be_softc *sc = ifp->if_softc; in bewatchdog()
690 struct be_softc *sc = arg; in beintr()
719 beqint(struct be_softc *sc, uint32_t why) in beqint()
797 beeint(struct be_softc *sc, uint32_t why) in beeint()
836 betint(struct be_softc *sc) in betint()
893 berint(struct be_softc *sc) in berint()
929 struct be_softc *sc = ifp->if_softc; in beioctl()
1009 struct be_softc *sc = ifp->if_softc; in beinit()
1114 be_mcreset(struct be_softc *sc) in be_mcreset()
1188 be_mii_sync(struct be_softc *sc) in be_mii_sync()
1206 be_pal_gate(struct be_softc *sc, int phy) in be_pal_gate()
1223 be_tcvr_read_bit(struct be_softc *sc, int phy) in be_tcvr_read_bit()
1251 be_tcvr_write_bit(struct be_softc *sc, int phy, int bit) in be_tcvr_write_bit()
1271 be_mii_sendbits(struct be_softc *sc, int phy, uint32_t data, int nbits) in be_mii_sendbits()
1283 struct be_softc *sc = device_private(self); in be_mii_readreg()
1313 struct be_softc *sc = device_private(self); in be_mii_writereg()
1335 be_mii_reset(struct be_softc *sc, int phy) in be_mii_reset()
1362 struct be_softc *sc = arg; in be_tick()
1375 struct be_softc *sc = ifp->if_softc; in be_mii_statchg()
1405 struct be_softc *sc = ifp->if_softc; in be_ifmedia_sts()
1420 struct be_softc *sc = ifp->if_softc; in be_ifmedia_upd()
1435 be_intphy_service(struct be_softc *sc, struct mii_data *mii, int cmd) in be_intphy_service()
1589 be_intphy_status(struct be_softc *sc) in be_intphy_status()