mii_softc
struct mii_softc *miisc;
struct mii_softc *mii_sc;
struct mii_softc *miisc;
struct mii_softc *miisc;
struct mii_softc *miisc;
struct mii_softc *miisc;
struct mii_softc *miisc;
struct mii_softc *miisc;
struct mii_softc *miisc;
struct mii_softc *miisc;
sizeof(struct mii_softc)
static int dcphy_service(struct mii_softc *, struct mii_data *, int);
static void dcphy_status(struct mii_softc *);
static void dcphy_reset(struct mii_softc *);
static int dcphy_auto(struct mii_softc *);
struct mii_softc *sc;
dcphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
dcphy_status(struct mii_softc *sc)
dcphy_auto(struct mii_softc *mii)
dcphy_reset(struct mii_softc *mii)
struct mii_softc *sc;
pnphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
pnphy_status(struct mii_softc *sc)
pnphy_reset(struct mii_softc *sc __unused)
sizeof(struct mii_softc)
static int pnphy_service(struct mii_softc *, struct mii_data *, int);
static void pnphy_status(struct mii_softc *);
static void pnphy_reset(struct mii_softc *);
mii = sc->mii_softc;
mii = sc->mii_softc;
return (mii_mediachg(sc->mii_softc));
mii_mediachg(sc->mii_softc);
mii = sc->mii_softc;
mii_tick(sc->mii_softc);
sc->mii_softc = device_get_softc(sc->miibus);
struct mii_data * mii_softc;
struct mii_softc *miisc;
struct mii_softc *miisc;
struct mii_softc *miisc;
struct mii_softc *miisc;
struct mii_softc *miisc;
struct mii_softc *miisc;
struct mii_softc *miisc;
struct mii_softc *miisc;
struct mii_softc *miisc;
struct mii_softc *miisc;
struct mii_softc *miisc;
mii_mediachg(sc->mii_softc);
mii = sc->mii_softc;
struct mii_data * mii_softc;
sc->mii_softc = device_get_softc(sc->miibus);
mii = sc->mii_softc;
mii = sc->mii_softc;
return (mii_mediachg(sc->mii_softc));
mii_tick(sc->mii_softc);
struct mii_softc *miisc;
inphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
inphy_status(struct mii_softc *sc)
inphy_reset(struct mii_softc *sc)
sizeof(struct mii_softc)
static int inphy_service(struct mii_softc *, struct mii_data *, int);
static void inphy_status(struct mii_softc *);
static void inphy_reset(struct mii_softc *);
struct mii_softc *miisc;
struct mii_softc *miisc;
struct mii_softc *miisc;
struct mii_softc *miisc;
struct mii_softc *miisc;
static int acphy_service(struct mii_softc *, struct mii_data *, int);
static void acphy_reset(struct mii_softc *);
static void acphy_status(struct mii_softc *);
struct mii_softc *sc;
acphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
acphy_status(struct mii_softc *sc)
acphy_reset(struct mii_softc *sc)
sizeof(struct mii_softc)
amphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
amphy_status(struct mii_softc *sc)
sizeof(struct mii_softc)
static int amphy_service(struct mii_softc *, struct mii_data *, int);
static void amphy_status(struct mii_softc *);
atphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
atphy_status(struct mii_softc *sc)
atphy_reset(struct mii_softc *sc)
atphy_setmedia(struct mii_softc *sc, int media)
sizeof(struct mii_softc)
static int atphy_service(struct mii_softc *, struct mii_data *, int);
static void atphy_status(struct mii_softc *);
static void atphy_reset(struct mii_softc *);
static int atphy_setmedia(struct mii_softc *, int);
axphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
axphy_status(struct mii_softc *sc)
sizeof(struct mii_softc)
static int axphy_service(struct mii_softc *, struct mii_data *, int);
static void axphy_status(struct mii_softc *);
struct mii_softc *sc;
sizeof(struct mii_softc)
static int bmtphy_service(struct mii_softc *, struct mii_data *, int);
static void bmtphy_status(struct mii_softc *);
static void bmtphy_reset(struct mii_softc *);
bmtphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
bmtphy_status(struct mii_softc *sc)
bmtphy_reset(struct mii_softc *sc)
static void brgphy_status(struct mii_softc *);
static void brgphy_mii_phy_auto(struct mii_softc *, int);
static void brgphy_reset(struct mii_softc *);
static void brgphy_enable_loopback(struct mii_softc *);
static void bcm5401_load_dspcode(struct mii_softc *);
static void bcm5411_load_dspcode(struct mii_softc *);
static void bcm54k2_load_dspcode(struct mii_softc *);
static void brgphy_fixup_5704_a0_bug(struct mii_softc *);
static void brgphy_fixup_adc_bug(struct mii_softc *);
static void brgphy_fixup_adjust_trim(struct mii_softc *);
static void brgphy_fixup_ber_bug(struct mii_softc *);
static void brgphy_fixup_crc_bug(struct mii_softc *);
static void brgphy_fixup_jitter_bug(struct mii_softc *);
static void brgphy_ethernet_wirespeed(struct mii_softc *);
static void brgphy_bcm54xx_clock_delay(struct mii_softc *);
static void brgphy_jumbo_settings(struct mii_softc *, u_long);
struct mii_softc *sc;
brgphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
brgphy_setmedia(struct mii_softc *sc, int media)
brgphy_status(struct mii_softc *sc)
brgphy_mii_phy_auto(struct mii_softc *sc, int media)
brgphy_enable_loopback(struct mii_softc *sc)
bcm5401_load_dspcode(struct mii_softc *sc)
bcm5411_load_dspcode(struct mii_softc *sc)
bcm54k2_load_dspcode(struct mii_softc *sc)
struct mii_softc mii_sc;
brgphy_fixup_5704_a0_bug(struct mii_softc *sc)
brgphy_fixup_adc_bug(struct mii_softc *sc)
brgphy_fixup_adjust_trim(struct mii_softc *sc)
brgphy_fixup_ber_bug(struct mii_softc *sc)
brgphy_fixup_crc_bug(struct mii_softc *sc)
brgphy_fixup_jitter_bug(struct mii_softc *sc)
brgphy_fixup_disable_early_dac(struct mii_softc *sc)
brgphy_ethernet_wirespeed(struct mii_softc *sc)
brgphy_bcm54xx_clock_delay(struct mii_softc *sc)
brgphy_jumbo_settings(struct mii_softc *sc, u_long mtu)
brgphy_reset(struct mii_softc *sc)
static int brgphy_service(struct mii_softc *, struct mii_data *, int);
static void brgphy_setmedia(struct mii_softc *, int);
ciphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
ciphy_status(struct mii_softc *sc)
ciphy_reset(struct mii_softc *sc)
ciphy_fixup(struct mii_softc *sc)
sizeof(struct mii_softc)
static int ciphy_service(struct mii_softc *, struct mii_data *, int);
static void ciphy_status(struct mii_softc *);
static void ciphy_reset(struct mii_softc *);
static void ciphy_fixup(struct mii_softc *);
struct mii_softc *mii_sc;
dp_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
static int dp_service(struct mii_softc*, struct mii_data*, int);
struct mii_softc mii_sc;
struct mii_softc *sc = (struct mii_softc *)arg;
struct mii_softc *sc = (struct mii_softc *)arg;
struct mii_softc *mii_sc;
dp_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
dp_status(struct mii_softc *sc)
static int dp_service(struct mii_softc*, struct mii_data*, int);
static void dp_status(struct mii_softc*);
struct mii_softc mii_sc;
struct mii_softc *sc;
e1000phy_reset(struct mii_softc *sc)
e1000phy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
e1000phy_status(struct mii_softc *sc)
e1000phy_mii_phy_auto(struct mii_softc *sc, int media)
sizeof(struct mii_softc)
static int e1000phy_service(struct mii_softc *, struct mii_data *, int);
static void e1000phy_status(struct mii_softc *);
static void e1000phy_reset(struct mii_softc *);
static int e1000phy_mii_phy_auto(struct mii_softc *, int);
sizeof(struct mii_softc)
static int gentbi_service(struct mii_softc *, struct mii_data *, int);
static void gentbi_status(struct mii_softc *);
struct mii_softc *sc;
gentbi_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
gentbi_status(struct mii_softc *sc)
static int icsphy_service(struct mii_softc *, struct mii_data *, int);
static void icsphy_status(struct mii_softc *);
static void icsphy_reset(struct mii_softc *);
icsphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
icsphy_status(struct mii_softc *sc)
icsphy_reset(struct mii_softc *sc)
sizeof(struct mii_softc)
ip1000phy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
ip1000phy_status(struct mii_softc *sc)
ip1000phy_mii_phy_auto(struct mii_softc *sc, int media)
ip1000phy_load_dspcode(struct mii_softc *sc)
ip1000phy_reset(struct mii_softc *sc)
sizeof(struct mii_softc)
static int ip1000phy_service(struct mii_softc *, struct mii_data *, int);
static void ip1000phy_status(struct mii_softc *);
static void ip1000phy_reset(struct mii_softc *);
static int ip1000phy_mii_phy_auto(struct mii_softc *, int);
jmphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
jmphy_status(struct mii_softc *sc)
jmphy_reset(struct mii_softc *sc)
jmphy_setmedia(struct mii_softc *sc, struct ifmedia_entry *ife)
static void jmphy_reset(struct mii_softc *);
static int jmphy_setmedia(struct mii_softc *, struct ifmedia_entry *);
sizeof(struct mii_softc)
static int jmphy_service(struct mii_softc *, struct mii_data *, int);
static void jmphy_status(struct mii_softc *);
sizeof(struct mii_softc)
static int lxtphy_service(struct mii_softc *, struct mii_data *, int);
static void lxtphy_status(struct mii_softc *);
static void lxtphy_reset(struct mii_softc *);
static void lxtphy_set_tp(struct mii_softc *);
static void lxtphy_set_fx(struct mii_softc *);
struct mii_softc *sc;
lxtphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
lxtphy_status(struct mii_softc *sc)
lxtphy_reset(struct mii_softc *sc)
lxtphy_set_tp(struct mii_softc *sc)
lxtphy_set_fx(struct mii_softc *sc)
static void mcommphy_yt8531_speed_adjustment(struct mii_softc *sc);
mcommphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
mcommphy_yt8511_setup(struct mii_softc *sc)
mcommphy_yt8531_speed_adjustment(struct mii_softc *sc)
mcommphy_yt8531_setup_delay(struct mii_softc *sc)
mcommphy_yt8531_setup(struct mii_softc *sc)
ksz9031_read(struct mii_softc *sc, uint32_t devaddr, uint32_t reg)
ksz9031_write(struct mii_softc *sc, uint32_t devaddr, uint32_t reg,
ksz9021_read(struct mii_softc *sc, uint32_t reg)
ksz9021_write(struct mii_softc *sc, uint32_t reg, uint32_t val)
ksz90x1_load_values(struct mii_softc *sc, phandle_t node,
ksz9031_load_values(struct mii_softc *sc, phandle_t node)
ksz9021_load_values(struct mii_softc *sc, phandle_t node)
struct mii_softc *sc;
micphy_reset(struct mii_softc *sc)
micphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
static void micphy_reset(struct mii_softc *);
static int micphy_service(struct mii_softc *, struct mii_data *, int);
sizeof(struct mii_softc)
struct mii_softc *child;
struct mii_softc *child;
struct mii_softc *child;
mii_phy_mac_match(struct mii_softc *mii, const char *name)
mii_phy_mac_softc(struct mii_softc *mii)
mii_phy_setmedia(struct mii_softc *sc)
mii_phy_auto(struct mii_softc *sc)
mii_phy_tick(struct mii_softc *sc)
mii_phy_reset(struct mii_softc *sc)
mii_phy_update(struct mii_softc *sc, int cmd)
mii_phy_add_media(struct mii_softc *sc)
struct mii_softc *sc;
struct mii_softc *sc;
mii_phy_flowstatus(struct mii_softc *sc)
LIST_ENTRY(mii_softc) mii_list; /* entry on parent's PHY list */
typedef struct mii_softc mii_softc_t;
void mii_phy_add_media(struct mii_softc *);
int mii_phy_auto(struct mii_softc *);
u_int mii_phy_flowstatus(struct mii_softc *);
void mii_phy_reset(struct mii_softc *);
void mii_phy_setmedia(struct mii_softc *sc);
void mii_phy_update(struct mii_softc *, int);
int mii_phy_tick(struct mii_softc *);
int mii_phy_mac_match(struct mii_softc *, const char *);
void *mii_phy_mac_softc(struct mii_softc *);
void ukphy_status(struct mii_softc *);
struct mii_softc;
LIST_HEAD(mii_listhead, mii_softc) mii_phys;
int (*pf_service)(struct mii_softc *, struct mii_data *, int);
void (*pf_status)(struct mii_softc *);
void (*pf_reset)(struct mii_softc *);
mv88e151x_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
mv88e151x_fiber_status(struct mii_softc *phy)
mv88e151x_status(struct mii_softc *phy)
sizeof(struct mii_softc)
static int mv88e151x_service(struct mii_softc *, struct mii_data *, int);
static void mv88e151x_status(struct mii_softc *);
struct mii_softc *sc;
struct mii_softc *sc;
nsgphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
nsgphy_status(struct mii_softc *sc)
sizeof(struct mii_softc)
static int nsgphy_service(struct mii_softc *, struct mii_data *,int);
static void nsgphy_status(struct mii_softc *);
sizeof(struct mii_softc)
static int nsphy_service(struct mii_softc *, struct mii_data *, int);
static void nsphy_status(struct mii_softc *);
static void nsphy_reset(struct mii_softc *);
nsphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
nsphy_status(struct mii_softc *sc)
nsphy_reset(struct mii_softc *sc)
sizeof(struct mii_softc)
static int nsphyter_service(struct mii_softc *, struct mii_data *, int);
static void nsphyter_status(struct mii_softc *);
static void nsphyter_reset(struct mii_softc *);
nsphyter_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
nsphyter_status(struct mii_softc *sc)
nsphyter_reset(struct mii_softc *sc)
pnaphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
sizeof(struct mii_softc)
static int pnaphy_service(struct mii_softc *, struct mii_data *,int);
sizeof(struct mii_softc)
static int qsphy_service(struct mii_softc *, struct mii_data *, int);
static void qsphy_reset(struct mii_softc *);
static void qsphy_status(struct mii_softc *);
qsphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
qsphy_status(struct mii_softc *sc)
qsphy_reset(struct mii_softc *sc)
rdcphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
rdcphy_status(struct mii_softc *sc)
struct mii_softc mii_sc;
static int rdcphy_service(struct mii_softc *, struct mii_data *, int);
static void rdcphy_status(struct mii_softc *);
struct mii_softc *sc;
rgephy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
rgephy_linkup(struct mii_softc *sc)
rgephy_status(struct mii_softc *sc)
rgephy_mii_phy_auto(struct mii_softc *sc, int media)
rgephy_loop(struct mii_softc *sc)
rgephy_load_dspcode(struct mii_softc *sc)
rgephy_reset(struct mii_softc *sc)
rgephy_disable_eee(struct mii_softc *sc)
sizeof(struct mii_softc)
static int rgephy_service(struct mii_softc *, struct mii_data *, int);
static void rgephy_status(struct mii_softc *);
static int rgephy_mii_phy_auto(struct mii_softc *, int);
static void rgephy_reset(struct mii_softc *);
static int rgephy_linkup(struct mii_softc *);
static void rgephy_loop(struct mii_softc *);
static void rgephy_load_dspcode(struct mii_softc *);
static void rgephy_disable_eee(struct mii_softc *);
rlphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
rlphy_status(struct mii_softc *phy)
sizeof(struct mii_softc)
static int rlphy_service(struct mii_softc *, struct mii_data *, int);
static void rlphy_status(struct mii_softc *);
struct mii_softc *sc;
rlswitch_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
rlswitch_status(struct mii_softc *phy)
struct mii_softc *sc;
sizeof(struct mii_softc)
static int rlswitch_service(struct mii_softc *, struct mii_data *, int);
static void rlswitch_status(struct mii_softc *);
struct mii_softc *sc;
smcphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
smcphy_reset(struct mii_softc *sc)
smcphy_auto(struct mii_softc *sc, int media)
smcphy_status(struct mii_softc *sc)
static int smcphy_service(struct mii_softc *, struct mii_data *, int);
static void smcphy_reset(struct mii_softc *);
static void smcphy_auto(struct mii_softc *, int);
static void smcphy_status(struct mii_softc *);
sizeof(struct mii_softc)
smscphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
smscphy_auto(struct mii_softc *sc, int media)
smscphy_status(struct mii_softc *sc)
static int smscphy_service(struct mii_softc *, struct mii_data *, int);
static void smscphy_auto(struct mii_softc *, int);
static void smscphy_status(struct mii_softc *);
sizeof(struct mii_softc)
struct mii_softc *sc;
tdkphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
tdkphy_status(struct mii_softc *phy)
sizeof(struct mii_softc)
static int tdkphy_service(struct mii_softc *, struct mii_data *, int);
static void tdkphy_status(struct mii_softc *);
struct mii_softc *sc;
truephy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
truephy_reset(struct mii_softc *sc)
truephy_status(struct mii_softc *sc)
static int truephy_service(struct mii_softc *, struct mii_data *, int);
static void truephy_reset(struct mii_softc *);
static void truephy_status(struct mii_softc *);
sizeof(struct mii_softc)
static int ukphy_service(struct mii_softc *, struct mii_data *, int);
struct mii_softc *sc;
ukphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
sizeof(struct mii_softc)
ukphy_status(struct mii_softc *phy)
static void vscphy_reset(struct mii_softc *);
static int vscphy_service(struct mii_softc *, struct mii_data *, int);
vscphy_reset(struct mii_softc *sc)
vscphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
struct mii_softc *sc;
xmphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
xmphy_status(struct mii_softc *sc)
xmphy_mii_phy_auto(struct mii_softc *mii)
sizeof(struct mii_softc)
static int xmphy_service(struct mii_softc *, struct mii_data *, int);
static void xmphy_status(struct mii_softc *);
static int xmphy_mii_phy_auto(struct mii_softc *);
struct mii_softc *mii;
struct mii_softc *miisc;
struct mii_softc *miisc;
struct mii_softc *miisc;
struct mii_softc *miisc;
struct mii_softc *miisc;
struct mii_softc *miisc;
struct mii_softc *miisc;
struct mii_softc *miisc;
struct mii_softc *miisc;
struct mii_softc *miisc;
struct mii_softc *miisc;
struct mii_softc *miisc;
struct mii_softc *miisc;
struct mii_softc *miisc;
struct mii_softc *miisc;
ruephy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
ruephy_reset(struct mii_softc *sc)
ruephy_status(struct mii_softc *phy)
.size = sizeof(struct mii_softc)
static int ruephy_service(struct mii_softc *, struct mii_data *, int);
static void ruephy_reset(struct mii_softc *);
static void ruephy_status(struct mii_softc *);
struct mii_softc *miisc;
struct mii_softc *miisc;
struct mii_softc *miisc;
sc->mii_softc = device_get_softc(sc->miibus);
mii = sc->mii_softc;
mii_tick(sc->mii_softc);
mii_mediachg(sc->mii_softc);
mii = sc->mii_softc;
return (mii_mediachg(sc->mii_softc));
mii = sc->mii_softc;
struct mii_data * mii_softc;
static int xlphy_service(struct mii_softc *, struct mii_data *, int);
static void xlphy_reset(struct mii_softc *);
xlphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
xlphy_reset(struct mii_softc *sc)
sizeof(struct mii_softc)