mii_softc
struct mii_softc *miisc;
struct mii_softc *child;
struct mii_softc *miisc;
void fec_phy_init(struct fec_softc *, struct mii_softc *);
struct mii_softc *child;
fec_phy_init(struct fec_softc *sc, struct mii_softc *child)
struct mii_softc *miisc;
struct mii_softc *child;
struct mii_softc *miisc;
struct mii_softc *child;
struct mii_softc *miisc;
struct mii_softc *sc = (struct mii_softc *)self;
acphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
acphy_status(struct mii_softc *sc)
sizeof(struct mii_softc), acphymatch, acphyattach, mii_phy_detach
int acphy_service(struct mii_softc *, struct mii_data *, int);
void acphy_status(struct mii_softc *);
struct mii_softc *sc = (struct mii_softc *)self;
amphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
amphy_status(struct mii_softc *sc)
sizeof(struct mii_softc), amphymatch, amphyattach, mii_phy_detach
int amphy_service(struct mii_softc *, struct mii_data *, int);
void amphy_status(struct mii_softc *);
struct mii_softc *sc = (struct mii_softc *)self;
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_mii_phy_auto(struct mii_softc *sc)
int atphy_service(struct mii_softc *, struct mii_data *, int);
void atphy_reset(struct mii_softc *);
void atphy_status(struct mii_softc *);
int atphy_mii_phy_auto(struct mii_softc *);
sizeof (struct mii_softc), atphy_match, atphy_attach,
bmtphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
bmtphy_status(struct mii_softc *sc)
bmtphy_reset(struct mii_softc *sc)
sizeof(struct mii_softc), bmtphymatch, bmtphyattach, mii_phy_detach
int bmtphy_service(struct mii_softc *, struct mii_data *, int);
void bmtphy_status(struct mii_softc *);
void bmtphy_reset(struct mii_softc *);
struct mii_softc *sc = (struct mii_softc *)self;
brgphy_bcm5401_dspcode(struct mii_softc *sc)
brgphy_bcm5411_dspcode(struct mii_softc *sc)
brgphy_bcm5421_dspcode(struct mii_softc *sc)
brgphy_bcm54k2_dspcode(struct mii_softc *sc)
brgphy_adc_bug(struct mii_softc *sc)
brgphy_5704_a0_bug(struct mii_softc *sc)
brgphy_ber_bug(struct mii_softc *sc)
brgphy_crc_bug(struct mii_softc *sc)
brgphy_disable_early_dac(struct mii_softc *sc)
brgphy_jumbo_settings(struct mii_softc *sc)
brgphy_eth_wirespeed(struct mii_softc *sc)
brgphy_bcm54xx_clock_delay(struct mii_softc *sc)
struct mii_softc *sc = (struct mii_softc *)self;
brgphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
brgphy_copper_status(struct mii_softc *sc)
brgphy_fiber_status(struct mii_softc *sc)
brgphy_5708s_status(struct mii_softc *sc)
brgphy_5709s_status(struct mii_softc *sc)
sizeof(struct mii_softc), brgphy_probe, brgphy_attach, mii_phy_detach
brgphy_mii_phy_auto(struct mii_softc *sc)
int brgphy_service(struct mii_softc *, struct mii_data *, int);
brgphy_loop(struct mii_softc *sc)
void brgphy_copper_status(struct mii_softc *);
void brgphy_fiber_status(struct mii_softc *);
brgphy_reset(struct mii_softc *sc)
void brgphy_5708s_status(struct mii_softc *);
void brgphy_5709s_status(struct mii_softc *);
int brgphy_mii_phy_auto(struct mii_softc *);
void brgphy_loop(struct mii_softc *);
void brgphy_reset(struct mii_softc *);
brgphy_reset_bge(struct mii_softc *sc)
void brgphy_reset_bge(struct mii_softc *);
void brgphy_reset_bnx(struct mii_softc *);
void brgphy_bcm5401_dspcode(struct mii_softc *);
void brgphy_bcm5411_dspcode(struct mii_softc *);
void brgphy_bcm5421_dspcode(struct mii_softc *);
void brgphy_bcm54k2_dspcode(struct mii_softc *);
brgphy_reset_bnx(struct mii_softc *sc)
void brgphy_adc_bug(struct mii_softc *);
void brgphy_5704_a0_bug(struct mii_softc *);
void brgphy_ber_bug(struct mii_softc *);
void brgphy_crc_bug(struct mii_softc *);
void brgphy_disable_early_dac(struct mii_softc *sc);
void brgphy_jumbo_settings(struct mii_softc *);
void brgphy_eth_wirespeed(struct mii_softc *);
void brgphy_bcm54xx_clock_delay(struct mii_softc *);
struct mii_softc sc_mii; /* common mii device part */
int brswphy_service(struct mii_softc *, struct mii_data *, int);
void brswphy_status(struct mii_softc *);
static int brswphy_read16(struct mii_softc *sc, uint8_t page, uint8_t reg,
static int brswphy_read32(struct mii_softc *sc, uint8_t page, uint8_t reg,
static int brswphy_op(struct mii_softc *sc, uint8_t page, uint8_t reg,
struct mii_softc *sc = &bsc->sc_mii;
brswphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
brswphy_status(struct mii_softc *sc)
brswphy_op(struct mii_softc *sc, uint8_t page, uint8_t reg, uint16_t op)
brswphy_read16(struct mii_softc *sc, uint8_t page, uint8_t reg, uint16_t *val)
brswphy_read32(struct mii_softc *sc, uint8_t page, uint8_t reg, uint32_t *val)
struct mii_softc *sc = (struct mii_softc *)self;
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), ciphymatch, ciphyattach, mii_phy_detach
int ciphy_service(struct mii_softc *, struct mii_data *, int);
void ciphy_status(struct mii_softc *);
void ciphy_reset(struct mii_softc *);
void ciphy_fixup(struct mii_softc *);
struct mii_softc *sc = (struct mii_softc *)self;
dcphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
dcphy_status(struct mii_softc *sc)
dcphy_mii_phy_auto(struct mii_softc *mii, int waitfor)
dcphy_reset(struct mii_softc *mii)
sizeof(struct mii_softc), dcphy_match, dcphy_attach, mii_phy_detach
int dcphy_service(struct mii_softc *, struct mii_data *, int);
void dcphy_status(struct mii_softc *);
int dcphy_mii_phy_auto(struct mii_softc *, int);
void dcphy_reset(struct mii_softc *);
struct mii_softc *sc = (struct mii_softc *)self;
eephy_reset(struct mii_softc *sc)
eephy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
eephy_status(struct mii_softc *sc)
eephy_fdt_reg_init(struct mii_softc *sc)
sizeof (struct mii_softc), eephy_match, eephy_attach, mii_phy_detach
int eephy_service(struct mii_softc *, struct mii_data *, int);
void eephy_status(struct mii_softc *);
void eephy_reset(struct mii_softc *);
void eephy_fdt_reg_init(struct mii_softc *);
struct mii_softc *sc = (struct mii_softc *)self;
etphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
etphy_reset(struct mii_softc *sc)
etphy_status(struct mii_softc *sc)
int etphy_service(struct mii_softc *, struct mii_data *, int);
void etphy_reset(struct mii_softc *);
void etphy_status(struct mii_softc *);
sizeof (struct mii_softc), etphy_match, etphy_attach,
struct mii_softc *sc = (struct mii_softc *)self;
exphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
exphy_reset(struct mii_softc *sc)
sizeof(struct mii_softc), exphymatch, exphyattach, mii_phy_detach
int exphy_service(struct mii_softc *, struct mii_data *, int);
void exphy_reset(struct mii_softc *);
struct mii_softc *sc = (struct mii_softc *)self;
gentbi_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
gentbi_status(struct mii_softc *sc)
sizeof(struct mii_softc), gentbimatch, gentbiattach,
int gentbi_service(struct mii_softc *, struct mii_data *, int);
void gentbi_status(struct mii_softc *);
struct mii_softc *sc = (struct mii_softc *)self;
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), icsphymatch, icsphyattach, mii_phy_detach
int icsphy_service(struct mii_softc *, struct mii_data *, int);
void icsphy_reset(struct mii_softc *);
void icsphy_status(struct mii_softc *);
struct mii_softc *sc = (struct mii_softc *)self;
inphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
inphy_status(struct mii_softc *sc)
sizeof(struct mii_softc), inphymatch, inphyattach, mii_phy_detach
int inphy_service(struct mii_softc *, struct mii_data *, int);
void inphy_status(struct mii_softc *);
struct mii_softc *sc = (struct mii_softc *)self;
iophy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
iophy_status(struct mii_softc *sc)
sizeof(struct mii_softc), iophymatch, iophyattach, mii_phy_detach
int iophy_service(struct mii_softc *, struct mii_data *, int);
void iophy_status(struct mii_softc *);
struct mii_softc *sc = (struct mii_softc *)self;
ipgphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
ipgphy_status(struct mii_softc *sc)
ipgphy_mii_phy_auto(struct mii_softc *sc)
ipgphy_load_dspcode(struct mii_softc *sc)
ipgphy_reset(struct mii_softc *sc)
sizeof(struct mii_softc), ipgphy_probe, ipgphy_attach, mii_phy_detach
int ipgphy_service(struct mii_softc *, struct mii_data *, int);
void ipgphy_status(struct mii_softc *);
int ipgphy_mii_phy_auto(struct mii_softc *);
void ipgphy_load_dspcode(struct mii_softc *);
void ipgphy_reset(struct mii_softc *);
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_auto(struct mii_softc *sc, struct ifmedia_entry *ife)
int jmphy_service(struct mii_softc *, struct mii_data *, int);
void jmphy_status(struct mii_softc *);
void jmphy_reset(struct mii_softc *);
int jmphy_auto(struct mii_softc *, struct ifmedia_entry *);
sizeof (struct mii_softc), jmphy_match, jmphy_attach,
struct mii_softc *sc = (struct mii_softc *)self;
luphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
sizeof(struct mii_softc), luphymatch, luphyattach, mii_phy_detach
int luphy_service(struct mii_softc *, struct mii_data *, int);
struct mii_softc *sc = (struct mii_softc *)self;
struct mii_softc *sc = (struct mii_softc *)self;
lxtphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
lxtphy_status(struct mii_softc *sc)
lxtphy_reset(struct mii_softc *sc)
sizeof(struct mii_softc), lxtphymatch, lxtphyattach, mii_phy_detach
int lxtphy_service(struct mii_softc *, struct mii_data *, int);
void lxtphy_status(struct mii_softc *);
void lxtphy_reset(struct mii_softc *);
if ((child = (struct mii_softc *)config_found_sm(parent, &ma,
struct mii_softc *child, *nchild;
struct mii_softc *child;
struct mii_softc *child;
struct mii_softc *child;
struct mii_softc *child;
struct mii_softc *child;
mii_phy_auto(struct mii_softc *sc, int waitfor)
struct mii_softc *sc = arg;
mii_phy_tick(struct mii_softc *sc)
mii_phy_reset(struct mii_softc *sc)
mii_phy_down(struct mii_softc *sc)
mii_phy_status(struct mii_softc *sc)
mii_phy_update(struct mii_softc *sc, int cmd)
mii_phy_statusmsg(struct mii_softc *sc)
mii_phy_add_media(struct mii_softc *sc)
mii_phy_delete_media(struct mii_softc *sc)
struct mii_softc *sc = (void *) self;
mii_phy_flowstatus(struct mii_softc *sc)
mii_phy_setmedia(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 *);
void mii_phy_delete_media(struct mii_softc *);
void mii_phy_setmedia(struct mii_softc *);
int mii_phy_auto(struct mii_softc *, int);
void mii_phy_reset(struct mii_softc *);
void mii_phy_down(struct mii_softc *);
int mii_phy_tick(struct mii_softc *);
void mii_phy_status(struct mii_softc *);
void mii_phy_update(struct mii_softc *, int);
int mii_phy_statusmsg(struct mii_softc *);
uint64_t mii_phy_flowstatus(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 *);
struct mii_softc ml_mii;
sizeof(struct mii_softc), mlphy_probe, mlphy_attach, mii_phy_detach
void mlphy_reset(struct mii_softc *);
int mlphy_service(struct mii_softc *, struct mii_data *, int);
void mlphy_status(struct mii_softc *);
struct mii_softc *sc = (struct mii_softc *)self;
mlphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
struct mii_softc *other = NULL;
mlphy_reset(struct mii_softc *sc)
mlphy_status(struct mii_softc *sc)
struct mii_softc *other = NULL;
mtdphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
sizeof(struct mii_softc), mtdphymatch, mtdphyattach, mii_phy_detach
int mtdphy_service(struct mii_softc *, struct mii_data *, int);
struct mii_softc *sc = (struct mii_softc *)self;
struct mii_softc *sc = (struct mii_softc *)self;
nsgphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
nsgphy_status(struct mii_softc *sc)
sizeof(struct mii_softc), nsgphymatch, nsgphyattach, mii_phy_detach
int nsgphy_service(struct mii_softc *, struct mii_data *, int);
void nsgphy_status(struct mii_softc *);
struct mii_softc *sc = (struct mii_softc *)self;
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), nsphymatch, nsphyattach, mii_phy_detach
int nsphy_service(struct mii_softc *, struct mii_data *, int);
void nsphy_status(struct mii_softc *);
void nsphy_reset(struct mii_softc *);
struct mii_softc *sc = (struct mii_softc *)self;
nsphyter_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
nsphyter_status(struct mii_softc *sc)
sizeof(struct mii_softc), nsphytermatch, nsphyterattach,
int nsphyter_service(struct mii_softc *, struct mii_data *, int);
void nsphyter_status(struct mii_softc *);
struct mii_softc *sc = (struct mii_softc *)self;
qsphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
qsphy_status(struct mii_softc *sc)
qsphy_reset(struct mii_softc *sc)
sizeof(struct mii_softc), qsphymatch, qsphyattach, mii_phy_detach
int qsphy_service(struct mii_softc *, struct mii_data *, int);
void qsphy_reset(struct mii_softc *);
void qsphy_status(struct mii_softc *);
rdcphy_service(struct mii_softc *self, struct mii_data *mii, int cmd)
rdcphy_status(struct mii_softc *sc)
struct mii_softc sc_mii;
int rdcphy_service(struct mii_softc *, struct mii_data *, int);
void rdcphy_status(struct mii_softc *);
struct mii_softc *sc = (struct mii_softc *)self;
rgephy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
rgephy_status(struct mii_softc *sc)
rgephy_mii_phy_auto(struct mii_softc *sc)
rgephy_loop(struct mii_softc *sc)
rgephy_init_rtl8211f(struct mii_softc *sc)
rgephy_load_dspcode(struct mii_softc *sc)
rgephy_reset(struct mii_softc *sc)
const struct cfattach rgephy_ca = { sizeof(struct mii_softc),
int rgephy_service(struct mii_softc *, struct mii_data *, int);
void rgephy_status(struct mii_softc *);
int rgephy_mii_phy_auto(struct mii_softc *);
void rgephy_reset(struct mii_softc *);
void rgephy_loop(struct mii_softc *);
void rgephy_init_rtl8211f(struct mii_softc *);
void rgephy_load_dspcode(struct mii_softc *);
struct mii_softc *sc = (struct mii_softc *)self;
rlphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
rlphy_status(struct mii_softc *sc)
sizeof(struct mii_softc), rlphymatch, rlphyattach, mii_phy_detach
int rlphy_service(struct mii_softc *, struct mii_data *, int);
void rlphy_status(struct mii_softc *);
struct mii_softc *sc = (struct mii_softc *)self;
sqphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
sqphy_status(struct mii_softc *sc)
sizeof(struct mii_softc), sqphymatch, sqphyattach, mii_phy_detach
int sqphy_service(struct mii_softc *, struct mii_data *, int);
void sqphy_status(struct mii_softc *);
int tlphy_service(struct mii_softc *, struct mii_data *, int);
void tlphy_status(struct mii_softc *);
tlphy_service(struct mii_softc *self, struct mii_data *mii, int cmd)
tlphy_status(struct mii_softc *physc)
struct mii_softc sc_mii; /* generic PHY */
struct mii_softc *sc = (struct mii_softc *)self;
tqphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
tqphy_status(struct mii_softc *sc)
sizeof(struct mii_softc), tqphymatch, tqphyattach, mii_phy_detach
int tqphy_service(struct mii_softc *, struct mii_data *, int);
void tqphy_status(struct mii_softc *);
txphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
sizeof(struct mii_softc), txphymatch, txphyattach, mii_phy_detach
int txphy_service(struct mii_softc *, struct mii_data *, int);
struct mii_softc *sc = (struct mii_softc *)self;
struct mii_softc *sc = (struct mii_softc *)self;
ukphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
sizeof(struct mii_softc), ukphymatch, ukphyattach, mii_phy_detach
int ukphy_service(struct mii_softc *, struct mii_data *, int);
ukphy_status(struct mii_softc *phy)
struct mii_softc *sc = (struct mii_softc *)self;
urlphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
urlphy_status(struct mii_softc *sc)
sizeof(struct mii_softc), urlphy_match, urlphy_attach, mii_phy_detach
int urlphy_service(struct mii_softc *, struct mii_data *, int);
void urlphy_status(struct mii_softc *);
struct mii_softc *sc = (struct mii_softc *)self;
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 *sc)
sizeof(struct mii_softc), xmphy_probe, xmphy_attach, mii_phy_detach
int xmphy_service(struct mii_softc *, struct mii_data *, int);
void xmphy_status(struct mii_softc *);
int xmphy_mii_phy_auto(struct mii_softc *);
struct mii_softc *sc = (struct mii_softc *)self;
ytphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
ytphy_yt8511_init(struct mii_softc *sc)
ytphy_yt8521_init(struct mii_softc *sc)
ytphy_yt8521_update(struct mii_softc *sc)
ytphy_yt8531_ds(struct mii_softc *sc, uint32_t volt, uint32_t amp)
ytphy_yt8531_init(struct mii_softc *sc)
sizeof(struct mii_softc), ytphy_match, ytphy_attach, mii_phy_detach
int ytphy_service(struct mii_softc *, struct mii_data *, int);
void ytphy_yt8511_init(struct mii_softc *);
void ytphy_yt8521_init(struct mii_softc *);
void ytphy_yt8521_update(struct mii_softc *);
void ytphy_yt8531_init(struct 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 *child;
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 *child;
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;