/freebsd-12-stable/sys/dev/mii/ |
H A D | lxtphy.c | 104 sizeof(struct mii_softc) 109 static int lxtphy_service(struct mii_softc *, struct mii_data *, int); 110 static void lxtphy_status(struct mii_softc *); 111 static void lxtphy_reset(struct mii_softc *); 112 static void lxtphy_set_tp(struct mii_softc *); 113 static void lxtphy_set_fx(struct mii_softc *); 136 struct mii_softc *sc; 162 lxtphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) 194 lxtphy_status(struct mii_softc *sc) 243 lxtphy_reset(struct mii_softc *s [all...] |
H A D | miivar.h | 47 struct mii_softc; 63 LIST_HEAD(mii_listhead, mii_softc) mii_phys; 78 int (*pf_service)(struct mii_softc *, struct mii_data *, int); 79 void (*pf_status)(struct mii_softc *); 80 void (*pf_reset)(struct mii_softc *); 95 struct mii_softc { struct 98 LIST_ENTRY(mii_softc) mii_list; /* entry on parent's PHY list */ 121 typedef struct mii_softc mii_softc_t; 129 #define MIIF_DOINGAUTO 0x00000008 /* doing autonegotiation (mii_softc) */ 258 void mii_phy_add_media(struct mii_softc *); [all...] |
H A D | ukphy.c | 99 sizeof(struct mii_softc) 104 static int ukphy_service(struct mii_softc *, struct mii_data *, int); 126 struct mii_softc *sc; 137 ukphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
|
H A D | qsphy.c | 104 sizeof(struct mii_softc) 109 static int qsphy_service(struct mii_softc *, struct mii_data *, int); 110 static void qsphy_reset(struct mii_softc *); 111 static void qsphy_status(struct mii_softc *); 140 qsphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) 167 qsphy_status(struct mii_softc *sc) 220 qsphy_reset(struct mii_softc *sc)
|
H A D | mlphy.c | 74 struct mii_softc ml_mii; 102 static struct mii_softc *mlphy_find_other(struct mlphy_softc *); 103 static int mlphy_service(struct mii_softc *, struct mii_data *, int); 104 static void mlphy_reset(struct mii_softc *); 105 static void mlphy_status(struct mii_softc *); 146 struct mii_softc *sc; 166 static struct mii_softc * 170 struct mii_softc *retval; 188 struct mii_softc *xsc; 193 struct mii_softc *othe [all...] |
H A D | axphy.c | 69 sizeof(struct mii_softc) 74 static int axphy_service(struct mii_softc *, struct mii_data *, int); 75 static void axphy_status(struct mii_softc *); 98 struct mii_softc *sc; 110 axphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) 136 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 | acphy.c | 100 sizeof(struct mii_softc) 105 static int acphy_service(struct mii_softc *, struct mii_data *, int); 106 static void acphy_reset(struct mii_softc *); 107 static void acphy_status(struct mii_softc *); 133 struct mii_softc *sc; 162 acphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) 195 acphy_status(struct mii_softc *sc) 241 acphy_reset(struct mii_softc *sc)
|
H A D | smscphy.c | 57 static int smscphy_service(struct mii_softc *, struct mii_data *, int); 58 static void smscphy_auto(struct mii_softc *, int); 59 static void smscphy_status(struct mii_softc *); 75 sizeof(struct mii_softc) 102 struct mii_softc *sc; 114 smscphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) 174 smscphy_auto(struct mii_softc *sc, int media) 188 smscphy_status(struct mii_softc *sc)
|
H A D | bmtphy.c | 104 sizeof(struct mii_softc) 109 static int bmtphy_service(struct mii_softc *, struct mii_data *, int); 110 static void bmtphy_status(struct mii_softc *); 111 static void bmtphy_reset(struct mii_softc *); 156 bmtphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) 182 bmtphy_status(struct mii_softc *sc) 235 bmtphy_reset(struct mii_softc *sc)
|
H A D | icsphy.c | 102 sizeof(struct mii_softc) 107 static int icsphy_service(struct mii_softc *, struct mii_data *, int); 108 static void icsphy_status(struct mii_softc *); 109 static void icsphy_reset(struct mii_softc *); 143 icsphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) 169 icsphy_status(struct mii_softc *sc) 219 icsphy_reset(struct mii_softc *sc)
|
H A D | nsphyter.c | 107 sizeof(struct mii_softc) 112 static int nsphyter_service(struct mii_softc *, struct mii_data *, int); 113 static void nsphyter_status(struct mii_softc *); 114 static void nsphyter_reset(struct mii_softc *); 146 nsphyter_service(struct mii_softc *sc, struct mii_data *mii, int cmd) 172 nsphyter_status(struct mii_softc *sc) 222 nsphyter_reset(struct mii_softc *sc)
|
H A D | rgephy.c | 83 sizeof(struct mii_softc) 88 static int rgephy_service(struct mii_softc *, struct mii_data *, int); 89 static void rgephy_status(struct mii_softc *); 90 static int rgephy_mii_phy_auto(struct mii_softc *, int); 91 static void rgephy_reset(struct mii_softc *); 92 static int rgephy_linkup(struct mii_softc *); 93 static void rgephy_loop(struct mii_softc *); 94 static void rgephy_load_dspcode(struct mii_softc *); 95 static void rgephy_disable_eee(struct mii_softc *); 119 struct mii_softc *s [all...] |
H A D | ip1000phy.c | 77 sizeof(struct mii_softc) 82 static int ip1000phy_service(struct mii_softc *, struct mii_data *, int); 83 static void ip1000phy_status(struct mii_softc *); 84 static void ip1000phy_reset(struct mii_softc *); 85 static int ip1000phy_mii_phy_auto(struct mii_softc *, int); 123 ip1000phy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) 220 ip1000phy_status(struct mii_softc *sc) 301 ip1000phy_mii_phy_auto(struct mii_softc *sc, int media) 328 ip1000phy_load_dspcode(struct mii_softc *sc) 343 ip1000phy_reset(struct mii_softc *s [all...] |
H A D | smcphy.c | 58 static int smcphy_service(struct mii_softc *, struct mii_data *, int); 59 static void smcphy_reset(struct mii_softc *); 60 static void smcphy_auto(struct mii_softc *, int); 61 static void smcphy_status(struct mii_softc *); 77 sizeof(struct mii_softc) 110 struct mii_softc *sc; 127 smcphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) 187 smcphy_reset(struct mii_softc *sc) 211 smcphy_auto(struct mii_softc *sc, int media) 225 smcphy_status(struct mii_softc *s [all...] |
H A D | gentbi.c | 108 sizeof(struct mii_softc) 113 static int gentbi_service(struct mii_softc *, struct mii_data *, int); 114 static void gentbi_status(struct mii_softc *); 162 struct mii_softc *sc; 188 gentbi_service(struct mii_softc *sc, struct mii_data *mii, int cmd) 214 gentbi_status(struct mii_softc *sc)
|
H A D | nsgphy.c | 96 sizeof(struct mii_softc) 101 static int nsgphy_service(struct mii_softc *, struct mii_data *,int); 102 static void nsgphy_status(struct mii_softc *); 127 struct mii_softc *sc; 156 nsgphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) 182 nsgphy_status(struct mii_softc *sc)
|
H A D | brgphy.c | 74 struct mii_softc mii_sc; 102 static int brgphy_service(struct mii_softc *, struct mii_data *, int); 103 static void brgphy_setmedia(struct mii_softc *, int); 104 static void brgphy_status(struct mii_softc *); 105 static void brgphy_mii_phy_auto(struct mii_softc *, int); 106 static void brgphy_reset(struct mii_softc *); 107 static void brgphy_enable_loopback(struct mii_softc *); 108 static void bcm5401_load_dspcode(struct mii_softc *); 109 static void bcm5411_load_dspcode(struct mii_softc *); 110 static void bcm54k2_load_dspcode(struct mii_softc *); [all...] |
H A D | pnaphy.c | 82 sizeof(struct mii_softc) 87 static int pnaphy_service(struct mii_softc *, struct mii_data *,int); 117 pnaphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
|
H A D | atphy.c | 71 sizeof(struct mii_softc) 76 static int atphy_service(struct mii_softc *, struct mii_data *, int); 77 static void atphy_status(struct mii_softc *); 78 static void atphy_reset(struct mii_softc *); 80 static int atphy_setmedia(struct mii_softc *, int); 112 atphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) 212 atphy_status(struct mii_softc *sc) 275 atphy_reset(struct mii_softc *sc) 339 atphy_setmedia(struct mii_softc *sc, int media)
|
H A D | ciphy.c | 80 sizeof(struct mii_softc) 85 static int ciphy_service(struct mii_softc *, struct mii_data *, int); 86 static void ciphy_status(struct mii_softc *); 87 static void ciphy_reset(struct mii_softc *); 88 static void ciphy_fixup(struct mii_softc *); 126 ciphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) 231 ciphy_status(struct mii_softc *sc) 285 ciphy_reset(struct mii_softc *sc) 298 ciphy_fixup(struct mii_softc *sc)
|
/freebsd-12-stable/sys/dev/xl/ |
H A D | xlphy.c | 99 sizeof(struct mii_softc) 104 static int xlphy_service(struct mii_softc *, struct mii_data *, int); 105 static void xlphy_reset(struct mii_softc *); 149 xlphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) 177 xlphy_reset(struct mii_softc *sc)
|
/freebsd-12-stable/sys/dev/dc/ |
H A D | pnphy.c | 88 sizeof(struct mii_softc) 93 static int pnphy_service(struct mii_softc *, struct mii_data *, int); 94 static void pnphy_status(struct mii_softc *); 95 static void pnphy_reset(struct mii_softc *); 126 struct mii_softc *sc; 145 pnphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) 200 pnphy_status(struct mii_softc *sc) 226 pnphy_reset(struct mii_softc *sc __unused)
|
/freebsd-12-stable/sys/dev/fxp/ |
H A D | inphy.c | 76 sizeof(struct mii_softc) 81 static int inphy_service(struct mii_softc *, struct mii_data *, int); 82 static void inphy_status(struct mii_softc *); 83 static void inphy_reset(struct mii_softc *); 116 inphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) 148 inphy_status(struct mii_softc *sc) 192 inphy_reset(struct mii_softc *sc)
|
/freebsd-12-stable/sys/dev/usb/net/ |
H A D | ruephy.c | 74 .size = sizeof(struct mii_softc) 79 static int ruephy_service(struct mii_softc *, struct mii_data *, int); 80 static void ruephy_reset(struct mii_softc *); 81 static void ruephy_status(struct mii_softc *); 118 ruephy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) 169 ruephy_reset(struct mii_softc *sc) 182 ruephy_status(struct mii_softc *phy)
|