Lines Matching defs:be_softc
103 struct be_softc {
156 static void bereset(struct be_softc *);
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);
459 be_put(struct be_softc *sc, int idx, struct mbuf *m)
488 be_get(struct be_softc *sc, int idx, int totlen)
539 be_read(struct be_softc *sc, int idx, int len)
578 struct be_softc *sc = ifp->if_softc;
625 struct be_softc *sc = ifp->if_softc;
637 behwreset(struct be_softc *sc)
664 bereset(struct be_softc *sc)
679 struct be_softc *sc = ifp->if_softc;
690 struct be_softc *sc = arg;
719 beqint(struct be_softc *sc, uint32_t why)
797 beeint(struct be_softc *sc, uint32_t why)
836 betint(struct be_softc *sc)
893 berint(struct be_softc *sc)
929 struct be_softc *sc = ifp->if_softc;
1009 struct be_softc *sc = ifp->if_softc;
1114 be_mcreset(struct be_softc *sc)
1188 be_mii_sync(struct be_softc *sc)
1206 be_pal_gate(struct be_softc *sc, int phy)
1223 be_tcvr_read_bit(struct be_softc *sc, int phy)
1251 be_tcvr_write_bit(struct be_softc *sc, int phy, int bit)
1271 be_mii_sendbits(struct be_softc *sc, int phy, uint32_t data, int nbits)
1283 struct be_softc *sc = device_private(self);
1313 struct be_softc *sc = device_private(self);
1335 be_mii_reset(struct be_softc *sc, int phy)
1362 struct be_softc *sc = arg;
1375 struct be_softc *sc = ifp->if_softc;
1405 struct be_softc *sc = ifp->if_softc;
1420 struct be_softc *sc = ifp->if_softc;
1435 be_intphy_service(struct be_softc *sc, struct mii_data *mii, int cmd)
1589 be_intphy_status(struct be_softc *sc)