Searched refs:mii (Results 1 - 25 of 174) sorted by relevance

1234567

/freebsd-11-stable/sys/dev/mii/
H A Dukphy_subr.c49 #include <dev/mii/mii.h>
50 #include <dev/mii/miivar.h>
61 struct mii_data *mii = phy->mii_pdata; local
62 struct ifmedia_entry *ife = mii->mii_media.ifm_cur;
65 mii->mii_media_status = IFM_AVALID;
66 mii->mii_media_active = IFM_ETHER;
70 mii->mii_media_status |= IFM_ACTIVE;
74 mii->mii_media_active |= IFM_NONE;
75 mii
[all...]
H A Dqsphy.c77 #include <dev/mii/mii.h>
78 #include <dev/mii/miivar.h>
81 #include <dev/mii/qsphyreg.h>
138 qsphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument
167 struct mii_data *mii = sc->mii_pdata; local
170 mii->mii_media_status = IFM_AVALID;
171 mii->mii_media_active = IFM_ETHER;
176 mii->mii_media_status |= IFM_ACTIVE;
180 mii
[all...]
H A Drlphy.c52 #include <dev/mii/mii.h>
53 #include <dev/mii/miivar.h>
135 rlphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument
165 struct mii_data *mii = phy->mii_pdata; local
166 struct ifmedia_entry *ife = mii->mii_media.ifm_cur;
169 mii->mii_media_status = IFM_AVALID;
170 mii->mii_media_active = IFM_ETHER;
174 mii->mii_media_status |= IFM_ACTIVE;
178 mii
[all...]
H A Dtdkphy.c57 #include <dev/mii/mii.h>
58 #include <dev/mii/miivar.h>
61 #include <dev/mii/tdkphyreg.h>
117 tdkphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument
149 struct mii_data *mii = phy->mii_pdata; local
150 struct ifmedia_entry *ife = mii->mii_media.ifm_cur;
153 mii->mii_media_status = IFM_AVALID;
154 mii->mii_media_active = IFM_ETHER;
158 mii
[all...]
H A Damphy.c52 #include <dev/mii/mii.h>
53 #include <dev/mii/miivar.h>
56 #include <dev/mii/amphyreg.h>
114 amphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument
142 struct mii_data *mii = sc->mii_pdata; local
143 struct ifmedia_entry *ife = mii->mii_media.ifm_cur;
146 mii->mii_media_status = IFM_AVALID;
147 mii->mii_media_active = IFM_ETHER;
152 mii
[all...]
H A Daxphy.c44 #include <dev/mii/mii.h>
45 #include <dev/mii/miivar.h>
108 axphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument
136 struct mii_data *mii = sc->mii_pdata; local
137 struct ifmedia_entry *ife = mii->mii_media.ifm_cur;
140 mii->mii_media_status = IFM_AVALID;
141 mii->mii_media_active = IFM_ETHER;
145 mii->mii_media_status |= IFM_ACTIVE;
149 mii
[all...]
H A Dnsgphy.c69 #include <dev/mii/mii.h>
70 #include <dev/mii/miivar.h>
73 #include <dev/mii/nsgphyreg.h>
154 nsgphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument
182 struct mii_data *mii = sc->mii_pdata; local
183 struct ifmedia_entry *ife = mii->mii_media.ifm_cur;
186 mii->mii_media_status = IFM_AVALID;
187 mii->mii_media_active = IFM_ETHER;
194 mii
[all...]
H A Drdcphy.c45 #include <dev/mii/mii.h>
46 #include <dev/mii/miivar.h>
49 #include <dev/mii/rdcphyreg.h>
111 rdcphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument
117 ife = mii->mii_media.ifm_cur;
139 mii->mii_media_status = 0;
140 mii->mii_media_active = IFM_ETHER | IFM_NONE;
159 * a link within one second such that mii(4)
185 struct mii_data *mii; local
[all...]
H A Dlxtphy.c77 #include <dev/mii/mii.h>
78 #include <dev/mii/miivar.h>
81 #include <dev/mii/lxtphyreg.h>
160 lxtphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument
162 struct ifmedia_entry *ife = mii->mii_media.ifm_cur;
194 struct mii_data *mii = sc->mii_pdata; local
195 struct ifmedia_entry *ife = mii->mii_media.ifm_cur;
198 mii->mii_media_status = IFM_AVALID;
199 mii
[all...]
H A Dbmtphy.c77 #include <dev/mii/mii.h>
78 #include <dev/mii/miivar.h>
81 #include <dev/mii/bmtphyreg.h>
154 bmtphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument
182 struct mii_data *mii; local
186 mii = sc->mii_pdata;
187 ife = mii->mii_media.ifm_cur;
189 mii->mii_media_status = IFM_AVALID;
190 mii
[all...]
H A Dnsphyter.c80 #include <dev/mii/mii.h>
81 #include <dev/mii/miivar.h>
84 #include <dev/mii/nsphyterreg.h>
144 nsphyter_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument
172 struct mii_data *mii = sc->mii_pdata; local
173 struct ifmedia_entry *ife = mii->mii_media.ifm_cur;
176 mii->mii_media_status = IFM_AVALID;
177 mii->mii_media_active = IFM_ETHER;
183 mii
[all...]
H A Dacphy.c73 #include <dev/mii/mii.h>
74 #include <dev/mii/miivar.h>
77 #include <dev/mii/acphyreg.h>
160 acphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument
195 struct mii_data *mii = sc->mii_pdata; local
196 struct ifmedia_entry *ife = mii->mii_media.ifm_cur;
199 mii->mii_media_status = IFM_AVALID;
200 mii->mii_media_active = IFM_ETHER;
205 mii
[all...]
H A Dicsphy.c58 __FBSDID("$FreeBSD: stable/11/sys/dev/mii/icsphy.c 337755 2018-08-14 14:17:20Z markj $");
75 #include <dev/mii/mii.h>
76 #include <dev/mii/miivar.h>
79 #include <dev/mii/icsphyreg.h>
141 icsphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument
169 struct mii_data *mii = sc->mii_pdata; local
170 struct ifmedia_entry *ife = mii->mii_media.ifm_cur;
173 mii->mii_media_status = IFM_AVALID;
174 mii
[all...]
H A Dip1000phy.c48 #include <dev/mii/mii.h>
49 #include <dev/mii/miivar.h>
52 #include <dev/mii/ip1000phyreg.h>
121 ip1000phy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument
123 struct ifmedia_entry *ife = mii->mii_media.ifm_cur;
220 struct mii_data *mii = sc->mii_pdata; local
223 mii->mii_media_status = IFM_AVALID;
224 mii->mii_media_active = IFM_ETHER;
229 mii
[all...]
H A Dsmscphy.c46 #include <dev/mii/mii.h>
47 #include <dev/mii/miivar.h>
112 smscphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument
117 ife = mii->mii_media.ifm_cur;
188 struct mii_data *mii; local
191 mii = sc->mii_pdata;
192 mii->mii_media_status = IFM_AVALID;
193 mii->mii_media_active = IFM_ETHER;
197 mii
[all...]
H A Dgentbi.c83 #include <dev/mii/mii.h>
84 #include <dev/mii/miivar.h>
186 gentbi_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument
214 struct mii_data *mii = sc->mii_pdata; local
215 struct ifmedia_entry *ife = mii->mii_media.ifm_cur;
218 mii->mii_media_status = IFM_AVALID;
219 mii->mii_media_active = IFM_ETHER;
224 mii->mii_media_status |= IFM_ACTIVE;
228 mii
[all...]
H A Dnsphy.c77 #include <dev/mii/mii.h>
78 #include <dev/mii/miivar.h>
81 #include <dev/mii/nsphyreg.h>
145 nsphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument
210 struct mii_data *mii = sc->mii_pdata; local
211 struct ifmedia_entry *ife = mii->mii_media.ifm_cur;
214 mii->mii_media_status = IFM_AVALID;
215 mii->mii_media_active = IFM_ETHER;
220 mii
[all...]
H A Dxmphy.c52 #include <dev/mii/mii.h>
53 #include <dev/mii/miivar.h>
56 #include <dev/mii/xmphyreg.h>
140 xmphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument
142 struct ifmedia_entry *ife = mii->mii_media.ifm_cur;
214 struct mii_data *mii = sc->mii_pdata; local
217 mii->mii_media_status = IFM_AVALID;
218 mii->mii_media_active = IFM_ETHER;
223 mii
262 xmphy_mii_phy_auto(struct mii_softc *mii) argument
[all...]
H A Drgephy.c53 #include <dev/mii/mii.h>
54 #include <dev/mii/miivar.h>
57 #include <dev/mii/rgephyreg.h>
149 rgephy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument
151 struct ifmedia_entry *ife = mii->mii_media.ifm_cur;
189 (mii->mii_media.ifm_media & IFM_FLAG0) != 0)
213 if ((mii->mii_media.ifm_media & IFM_FLAG0) == 0)
268 if (sc->mii_media_active != mii->mii_media_active ||
269 sc->mii_media_status != mii
307 struct mii_data *mii = sc->mii_pdata; local
[all...]
H A Djmphy.c46 #include <dev/mii/mii.h>
47 #include <dev/mii/miivar.h>
50 #include <dev/mii/jmphyreg.h>
114 jmphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument
116 struct ifmedia_entry *ife = mii->mii_media.ifm_cur;
164 struct mii_data *mii = sc->mii_pdata; local
167 mii->mii_media_status = IFM_AVALID;
168 mii->mii_media_active = IFM_ETHER;
172 mii
[all...]
H A Datphy.c45 #include <dev/mii/mii.h>
46 #include <dev/mii/miivar.h>
49 #include <dev/mii/atphyreg.h>
110 atphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument
112 struct ifmedia_entry *ife = mii->mii_media.ifm_cur;
212 struct mii_data *mii = sc->mii_pdata; local
215 mii->mii_media_status = IFM_AVALID;
216 mii->mii_media_active = IFM_ETHER;
220 mii
[all...]
/freebsd-11-stable/sys/dev/dc/
H A Dpnphy.c58 #include <dev/mii/mii.h>
59 #include <dev/mii/miivar.h>
143 pnphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument
145 struct ifmedia_entry *ife = mii->mii_media.ifm_cur;
155 if ((if_getflags(mii->mii_ifp) & IFF_UP) == 0)
163 mii->mii_media_active = IFM_ETHER | IFM_100_TX;
165 mii->mii_media_active |= IFM_FDX;
169 mii->mii_media_active = IFM_ETHER | IFM_10_T;
171 mii
200 struct mii_data *mii = sc->mii_pdata; local
[all...]
H A Ddcphy.c60 #include <dev/mii/mii.h>
61 #include <dev/mii/miivar.h>
187 dcphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument
190 struct ifmedia_entry *ife = mii->mii_media.ifm_cur;
194 dc_sc = if_getsoftc(mii->mii_ifp);
204 if ((if_getflags(mii->mii_ifp) & IFF_UP) == 0)
207 mii->mii_media_active = IFM_NONE;
254 if ((if_getflags(mii->mii_ifp) & IFF_UP) == 0)
297 struct mii_data *mii local
377 dcphy_auto(struct mii_softc *mii) argument
398 dcphy_reset(struct mii_softc *mii) argument
[all...]
/freebsd-11-stable/sys/dev/fxp/
H A Dinphy.c49 #include <dev/mii/mii.h>
50 #include <dev/mii/miivar.h>
114 inphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument
125 if ((if_getflags(mii->mii_ifp) & IFF_UP) == 0)
148 struct mii_data *mii = sc->mii_pdata; local
149 struct ifmedia_entry *ife = mii->mii_media.ifm_cur;
152 mii->mii_media_status = IFM_AVALID;
153 mii->mii_media_active = IFM_ETHER;
157 mii
[all...]
/freebsd-11-stable/sys/dev/usb/net/
H A Druephy.c47 #include <dev/mii/mii.h>
48 #include <dev/mii/miivar.h>
116 ruephy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument
118 struct ifmedia_entry *ife = mii->mii_media.ifm_cur;
182 struct mii_data *mii = phy->mii_pdata; local
183 struct ifmedia_entry *ife = mii->mii_media.ifm_cur;
186 mii->mii_media_status = IFM_AVALID;
187 mii->mii_media_active = IFM_ETHER;
191 mii
[all...]

Completed in 329 milliseconds

1234567