/freebsd-11-stable/sys/dev/mii/ |
H A D | lxtphy.c | 102 sizeof(struct mii_softc) 107 static int lxtphy_service(struct mii_softc *, struct mii_data *, int); 108 static void lxtphy_status(struct mii_softc *); 109 static void lxtphy_reset(struct mii_softc *); 110 static void lxtphy_set_tp(struct mii_softc *); 111 static void lxtphy_set_fx(struct mii_softc *); 134 struct mii_softc *sc; 160 lxtphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) 192 lxtphy_status(struct mii_softc *sc) 241 lxtphy_reset(struct mii_softc *s [all...] |
H A D | miivar.h | 45 struct mii_softc; 61 LIST_HEAD(mii_listhead, mii_softc) mii_phys; 76 int (*pf_service)(struct mii_softc *, struct mii_data *, int); 77 void (*pf_status)(struct mii_softc *); 78 void (*pf_reset)(struct mii_softc *); 93 struct mii_softc { struct 96 LIST_ENTRY(mii_softc) mii_list; /* entry on parent's PHY list */ 119 typedef struct mii_softc mii_softc_t; 127 #define MIIF_DOINGAUTO 0x00000008 /* doing autonegotiation (mii_softc) */ 256 void mii_phy_add_media(struct mii_softc *); [all...] |
H A D | ukphy.c | 97 sizeof(struct mii_softc) 102 static int ukphy_service(struct mii_softc *, struct mii_data *, int); 124 struct mii_softc *sc; 135 ukphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
|
H A D | qsphy.c | 102 sizeof(struct mii_softc) 107 static int qsphy_service(struct mii_softc *, struct mii_data *, int); 108 static void qsphy_reset(struct mii_softc *); 109 static void qsphy_status(struct mii_softc *); 138 qsphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) 165 qsphy_status(struct mii_softc *sc) 218 qsphy_reset(struct mii_softc *sc)
|
H A D | mlphy.c | 72 struct mii_softc ml_mii; 100 static struct mii_softc *mlphy_find_other(struct mlphy_softc *); 101 static int mlphy_service(struct mii_softc *, struct mii_data *, int); 102 static void mlphy_reset(struct mii_softc *); 103 static void mlphy_status(struct mii_softc *); 144 struct mii_softc *sc; 164 static struct mii_softc * 168 struct mii_softc *retval; 186 struct mii_softc *xsc; 191 struct mii_softc *othe [all...] |
H A D | axphy.c | 67 sizeof(struct mii_softc) 72 static int axphy_service(struct mii_softc *, struct mii_data *, int); 73 static void axphy_status(struct mii_softc *); 96 struct mii_softc *sc; 108 axphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) 134 axphy_status(struct mii_softc *sc)
|
H A D | micphy.c | 85 static void micphy_reset(struct mii_softc *); 86 static int micphy_service(struct mii_softc *, struct mii_data *, int); 102 sizeof(struct mii_softc) 121 ksz9031_read(struct mii_softc *sc, uint32_t devaddr, uint32_t reg) 135 ksz9031_write(struct mii_softc *sc, uint32_t devaddr, uint32_t reg, 150 ksz9021_read(struct mii_softc *sc, uint32_t reg) 159 ksz9021_write(struct mii_softc *sc, uint32_t reg, uint32_t val) 167 ksz90x1_load_values(struct mii_softc *sc, phandle_t node, 212 ksz9031_load_values(struct mii_softc *sc, phandle_t node) 230 ksz9021_load_values(struct mii_softc *s [all...] |
H A D | smscphy.c | 55 static int smscphy_service(struct mii_softc *, struct mii_data *, int); 56 static void smscphy_auto(struct mii_softc *, int); 57 static void smscphy_status(struct mii_softc *); 73 sizeof(struct mii_softc) 100 struct mii_softc *sc; 112 smscphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) 172 smscphy_auto(struct mii_softc *sc, int media) 186 smscphy_status(struct mii_softc *sc)
|
H A D | acphy.c | 98 sizeof(struct mii_softc) 103 static int acphy_service(struct mii_softc *, struct mii_data *, int); 104 static void acphy_reset(struct mii_softc *); 105 static void acphy_status(struct mii_softc *); 131 struct mii_softc *sc; 160 acphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) 193 acphy_status(struct mii_softc *sc) 239 acphy_reset(struct mii_softc *sc)
|
H A D | nsphyter.c | 105 sizeof(struct mii_softc) 110 static int nsphyter_service(struct mii_softc *, struct mii_data *, int); 111 static void nsphyter_status(struct mii_softc *); 112 static void nsphyter_reset(struct mii_softc *); 144 nsphyter_service(struct mii_softc *sc, struct mii_data *mii, int cmd) 170 nsphyter_status(struct mii_softc *sc) 220 nsphyter_reset(struct mii_softc *sc)
|
H A D | bmtphy.c | 102 sizeof(struct mii_softc) 107 static int bmtphy_service(struct mii_softc *, struct mii_data *, int); 108 static void bmtphy_status(struct mii_softc *); 109 static void bmtphy_reset(struct mii_softc *); 154 bmtphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) 180 bmtphy_status(struct mii_softc *sc) 233 bmtphy_reset(struct mii_softc *sc)
|
H A D | icsphy.c | 100 sizeof(struct mii_softc) 105 static int icsphy_service(struct mii_softc *, struct mii_data *, int); 106 static void icsphy_status(struct mii_softc *); 107 static void icsphy_reset(struct mii_softc *); 141 icsphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) 167 icsphy_status(struct mii_softc *sc) 217 icsphy_reset(struct mii_softc *sc)
|
H A D | rgephy.c | 81 sizeof(struct mii_softc) 86 static int rgephy_service(struct mii_softc *, struct mii_data *, int); 87 static void rgephy_status(struct mii_softc *); 88 static int rgephy_mii_phy_auto(struct mii_softc *, int); 89 static void rgephy_reset(struct mii_softc *); 90 static int rgephy_linkup(struct mii_softc *); 91 static void rgephy_loop(struct mii_softc *); 92 static void rgephy_load_dspcode(struct mii_softc *); 93 static void rgephy_disable_eee(struct mii_softc *); 117 struct mii_softc *s [all...] |
H A D | ip1000phy.c | 75 sizeof(struct mii_softc) 80 static int ip1000phy_service(struct mii_softc *, struct mii_data *, int); 81 static void ip1000phy_status(struct mii_softc *); 82 static void ip1000phy_reset(struct mii_softc *); 83 static int ip1000phy_mii_phy_auto(struct mii_softc *, int); 121 ip1000phy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) 218 ip1000phy_status(struct mii_softc *sc) 299 ip1000phy_mii_phy_auto(struct mii_softc *sc, int media) 326 ip1000phy_load_dspcode(struct mii_softc *sc) 341 ip1000phy_reset(struct mii_softc *s [all...] |
H A D | smcphy.c | 56 static int smcphy_service(struct mii_softc *, struct mii_data *, int); 57 static void smcphy_reset(struct mii_softc *); 58 static void smcphy_auto(struct mii_softc *, int); 59 static void smcphy_status(struct mii_softc *); 75 sizeof(struct mii_softc) 108 struct mii_softc *sc; 125 smcphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) 185 smcphy_reset(struct mii_softc *sc) 209 smcphy_auto(struct mii_softc *sc, int media) 223 smcphy_status(struct mii_softc *s [all...] |
H A D | gentbi.c | 106 sizeof(struct mii_softc) 111 static int gentbi_service(struct mii_softc *, struct mii_data *, int); 112 static void gentbi_status(struct mii_softc *); 160 struct mii_softc *sc; 186 gentbi_service(struct mii_softc *sc, struct mii_data *mii, int cmd) 212 gentbi_status(struct mii_softc *sc)
|
H A D | nsgphy.c | 94 sizeof(struct mii_softc) 99 static int nsgphy_service(struct mii_softc *, struct mii_data *,int); 100 static void nsgphy_status(struct mii_softc *); 125 struct mii_softc *sc; 154 nsgphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) 180 nsgphy_status(struct mii_softc *sc)
|
H A D | brgphy.c | 72 struct mii_softc mii_sc; 100 static int brgphy_service(struct mii_softc *, struct mii_data *, int); 101 static void brgphy_setmedia(struct mii_softc *, int); 102 static void brgphy_status(struct mii_softc *); 103 static void brgphy_mii_phy_auto(struct mii_softc *, int); 104 static void brgphy_reset(struct mii_softc *); 105 static void brgphy_enable_loopback(struct mii_softc *); 106 static void bcm5401_load_dspcode(struct mii_softc *); 107 static void bcm5411_load_dspcode(struct mii_softc *); 108 static void bcm54k2_load_dspcode(struct mii_softc *); [all...] |
H A D | pnaphy.c | 80 sizeof(struct mii_softc) 85 static int pnaphy_service(struct mii_softc *, struct mii_data *,int); 115 pnaphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
|
H A D | jmphy.c | 56 static void jmphy_reset(struct mii_softc *); 58 static int jmphy_setmedia(struct mii_softc *, struct ifmedia_entry *); 73 sizeof(struct mii_softc) 78 static int jmphy_service(struct mii_softc *, struct mii_data *, int); 79 static void jmphy_status(struct mii_softc *); 114 jmphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) 162 jmphy_status(struct mii_softc *sc) 225 jmphy_reset(struct mii_softc *sc) 301 jmphy_setmedia(struct mii_softc *sc, struct ifmedia_entry *ife)
|
H A D | atphy.c | 69 sizeof(struct mii_softc) 74 static int atphy_service(struct mii_softc *, struct mii_data *, int); 75 static void atphy_status(struct mii_softc *); 76 static void atphy_reset(struct mii_softc *); 78 static int atphy_setmedia(struct mii_softc *, int); 110 atphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) 210 atphy_status(struct mii_softc *sc) 273 atphy_reset(struct mii_softc *sc) 337 atphy_setmedia(struct mii_softc *sc, int media)
|
/freebsd-11-stable/sys/dev/xl/ |
H A D | xlphy.c | 97 sizeof(struct mii_softc) 102 static int xlphy_service(struct mii_softc *, struct mii_data *, int); 103 static void xlphy_reset(struct mii_softc *); 147 xlphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) 175 xlphy_reset(struct mii_softc *sc)
|
/freebsd-11-stable/sys/dev/dc/ |
H A D | pnphy.c | 86 sizeof(struct mii_softc) 91 static int pnphy_service(struct mii_softc *, struct mii_data *, int); 92 static void pnphy_status(struct mii_softc *); 93 static void pnphy_reset(struct mii_softc *); 124 struct mii_softc *sc; 143 pnphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) 198 pnphy_status(struct mii_softc *sc) 224 pnphy_reset(struct mii_softc *sc __unused)
|
/freebsd-11-stable/sys/dev/fxp/ |
H A D | inphy.c | 74 sizeof(struct mii_softc) 79 static int inphy_service(struct mii_softc *, struct mii_data *, int); 80 static void inphy_status(struct mii_softc *); 81 static void inphy_reset(struct mii_softc *); 114 inphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) 146 inphy_status(struct mii_softc *sc) 190 inphy_reset(struct mii_softc *sc)
|
/freebsd-11-stable/sys/dev/usb/net/ |
H A D | ruephy.c | 72 .size = sizeof(struct mii_softc) 77 static int ruephy_service(struct mii_softc *, struct mii_data *, int); 78 static void ruephy_reset(struct mii_softc *); 79 static void ruephy_status(struct mii_softc *); 116 ruephy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) 167 ruephy_reset(struct mii_softc *sc) 180 ruephy_status(struct mii_softc *phy)
|