dme_softc
struct dme_softc *sc = device_private(self);
CFATTACH_DECL_NEW(dme_ssextio, sizeof(struct dme_softc),
struct dme_softc sc; /* Used to temporarily access the device for
CFATTACH_DECL_NEW(ingenic_dme, sizeof(struct dme_softc),
struct dme_softc *sc = device_private(self);
pkt_write_1(struct dme_softc *sc, struct mbuf *bufChain)
pkt_read_1(struct dme_softc *sc, struct mbuf **outBuf)
static void dme_reset(struct dme_softc *);
static void dme_set_rcvfilt(struct dme_softc *);
static void lnkchg(struct dme_softc *);
static int pkt_read_2(struct dme_softc *, struct mbuf **);
static int pkt_write_2(struct dme_softc *, struct mbuf *);
static int pkt_read_1(struct dme_softc *, struct mbuf **);
static int pkt_write_1(struct dme_softc *, struct mbuf *);
dme_attach(struct dme_softc *sc, const uint8_t *notusedanymore)
dme_detach(struct dme_softc *sc)
dme_reset(struct dme_softc *sc)
struct dme_softc *sc = ifp->if_softc;
dme_set_rcvfilt(struct dme_softc *sc)
lnkchg(struct dme_softc *sc)
struct dme_softc *sc = ifp->if_softc;
struct dme_softc *sc = arg;
struct dme_softc *sc = device_private(self);
struct dme_softc *sc = device_private(self);
struct dme_softc *sc = ifp->if_softc;
struct dme_softc *sc = ifp->if_softc;
struct dme_softc *sc = ifp->if_softc;
struct dme_softc *sc = ifp->if_softc;
struct dme_softc *sc = ifp->if_softc;
struct dme_softc *sc = arg;
struct dme_softc *sc = ifp->if_softc;
struct dme_softc *sc = ifp->if_softc;
pkt_write_2(struct dme_softc *sc, struct mbuf *bufChain)
pkt_read_2(struct dme_softc *sc, struct mbuf **outBuf)
int (*sc_pkt_read)(struct dme_softc *, struct mbuf **);
int dme_attach(struct dme_softc *, const uint8_t *);
int dme_detach(struct dme_softc *);
dme_read(struct dme_softc *sc, int reg)
dme_write(struct dme_softc *sc, int reg, uint8_t value)
dme_write2(struct dme_softc *sc, int reg, uint16_t value)
dme_write_c(struct dme_softc *sc, int reg, const uint8_t value[], uint count)
dme_read_c(struct dme_softc *sc, int reg, uint8_t *value, uint count)
int (*sc_pkt_write)(struct dme_softc *, struct mbuf *);