Home
last modified time | relevance | path

Searched full:mii (Results 1 – 25 of 667) sorted by relevance

12345678910>>...27

/freebsd/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; in ukphy_status() local
62 struct ifmedia_entry *ife = mii->mii_media.ifm_cur; in ukphy_status()
65 mii->mii_media_status = IFM_AVALID; in ukphy_status()
66 mii->mii_media_active = IFM_ETHER; in ukphy_status()
70 mii->mii_media_status |= IFM_ACTIVE; in ukphy_status()
74 mii->mii_media_active |= IFM_NONE; in ukphy_status()
75 mii->mii_media_status = 0; in ukphy_status()
80 mii->mii_media_active |= IFM_LOOP; in ukphy_status()
[all …]
H A Damphy.c52 #include <dev/mii/mii.h>
53 #include <dev/mii/miivar.h>
56 #include <dev/mii/amphyreg.h>
112 amphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) in amphy_service() argument
140 struct mii_data *mii = sc->mii_pdata; in amphy_status() local
141 struct ifmedia_entry *ife = mii->mii_media.ifm_cur; in amphy_status()
144 mii->mii_media_status = IFM_AVALID; in amphy_status()
145 mii->mii_media_active = IFM_ETHER; in amphy_status()
150 mii->mii_media_status |= IFM_ACTIVE; in amphy_status()
154 mii->mii_media_active |= IFM_NONE; in amphy_status()
[all …]
H A Dtdkphy.c33 * Driver for the TDK 78Q2120 MII
57 #include <dev/mii/mii.h>
58 #include <dev/mii/miivar.h>
61 #include <dev/mii/tdkphyreg.h>
115 tdkphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) in tdkphy_service() argument
147 struct mii_data *mii = phy->mii_pdata; in tdkphy_status() local
148 struct ifmedia_entry *ife = mii->mii_media.ifm_cur; in tdkphy_status()
151 mii->mii_media_status = IFM_AVALID; in tdkphy_status()
152 mii->mii_media_active = IFM_ETHER; in tdkphy_status()
156 mii->mii_media_status |= IFM_ACTIVE; in tdkphy_status()
[all …]
H A Dmii.c1 /* $NetBSD: mii.c,v 1.12 1999/08/03 19:41:49 drochner Exp $ */
37 * MII bus layer, glues MII-capable network interface drivers to sharable
54 #include <dev/mii/mii.h>
55 #include <dev/mii/miivar.h>
92 /* MII interface */
116 device_set_desc(dev, "MII bus"); in miibus_probe()
126 struct mii_data *mii; in miibus_attach() local
130 mii = device_get_softc(dev); in miibus_attach()
134 ma->mii_data = mii; in miibus_attach()
143 ifmedia_init(&mii->mii_media, IFM_IMASK, ivars->ifmedia_upd, in miibus_attach()
[all …]
H A Dmv88e151x.c47 #include <dev/mii/mii.h>
48 #include <dev/mii/miivar.h>
49 #include <dev/mii/mv88e151xreg.h>
153 mv88e151x_service(struct mii_softc *sc, struct mii_data *mii, int cmd) in mv88e151x_service() argument
180 struct mii_data *mii = phy->mii_pdata; in mv88e151x_fiber_status() local
181 struct ifmedia_entry *ife = mii->mii_media.ifm_cur; in mv88e151x_fiber_status()
185 mii->mii_media_status = IFM_AVALID; in mv88e151x_fiber_status()
186 mii->mii_media_active = IFM_ETHER; in mv88e151x_fiber_status()
194 mii->mii_media_status |= IFM_ACTIVE; in mv88e151x_fiber_status()
197 mii->mii_media_active |= IFM_NONE; in mv88e151x_fiber_status()
[all …]
H A Drlphy.c52 #include <dev/mii/mii.h>
53 #include <dev/mii/miivar.h>
133 rlphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) in rlphy_service() argument
163 struct mii_data *mii = phy->mii_pdata; in rlphy_status() local
164 struct ifmedia_entry *ife = mii->mii_media.ifm_cur; in rlphy_status()
167 mii->mii_media_status = IFM_AVALID; in rlphy_status()
168 mii->mii_media_active = IFM_ETHER; in rlphy_status()
172 mii->mii_media_status |= IFM_ACTIVE; in rlphy_status()
176 mii->mii_media_active |= IFM_NONE; in rlphy_status()
177 mii->mii_media_status = 0; in rlphy_status()
[all …]
H A Drdcphy.c45 #include <dev/mii/mii.h>
46 #include <dev/mii/miivar.h>
49 #include <dev/mii/rdcphyreg.h>
110 rdcphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) in rdcphy_service() argument
116 ife = mii->mii_media.ifm_cur; in rdcphy_service()
138 mii->mii_media_status = 0; in rdcphy_service()
139 mii->mii_media_active = IFM_ETHER | IFM_NONE; in rdcphy_service()
158 * a link within one second such that mii(4) in rdcphy_service()
184 struct mii_data *mii; in rdcphy_status() local
187 mii = sc->mii_pdata; in rdcphy_status()
[all …]
H A Dip1000phy.c48 #include <dev/mii/mii.h>
49 #include <dev/mii/miivar.h>
52 #include <dev/mii/ip1000phyreg.h>
120 ip1000phy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) in ip1000phy_service() argument
122 struct ifmedia_entry *ife = mii->mii_media.ifm_cur; in ip1000phy_service()
219 struct mii_data *mii = sc->mii_pdata; in ip1000phy_status() local
222 mii->mii_media_status = IFM_AVALID; in ip1000phy_status()
223 mii->mii_media_active = IFM_ETHER; in ip1000phy_status()
228 mii->mii_media_status |= IFM_ACTIVE; in ip1000phy_status()
232 mii->mii_media_active |= IFM_LOOP; in ip1000phy_status()
[all …]
H A Dnsgphy.c69 #include <dev/mii/mii.h>
70 #include <dev/mii/miivar.h>
73 #include <dev/mii/nsgphyreg.h>
152 nsgphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) in nsgphy_service() argument
180 struct mii_data *mii = sc->mii_pdata; in nsgphy_status() local
181 struct ifmedia_entry *ife = mii->mii_media.ifm_cur; in nsgphy_status()
184 mii->mii_media_status = IFM_AVALID; in nsgphy_status()
185 mii->mii_media_active = IFM_ETHER; in nsgphy_status()
192 mii->mii_media_status |= IFM_ACTIVE; in nsgphy_status()
196 mii->mii_media_active |= IFM_NONE; in nsgphy_status()
[all …]
H A Drgephy.c53 #include <dev/mii/mii.h>
54 #include <dev/mii/miivar.h>
57 #include <dev/mii/rgephyreg.h>
150 rgephy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) in rgephy_service() argument
152 struct ifmedia_entry *ife = mii->mii_media.ifm_cur; in rgephy_service()
190 (mii->mii_media.ifm_media & IFM_FLAG0) != 0) in rgephy_service()
214 if ((mii->mii_media.ifm_media & IFM_FLAG0) == 0) in rgephy_service()
269 if (sc->mii_media_active != mii->mii_media_active || in rgephy_service()
270 sc->mii_media_status != mii->mii_media_status || in rgephy_service()
311 struct mii_data *mii = sc->mii_pdata; in rgephy_status() local
[all …]
H A Daxphy.c43 #include <dev/mii/mii.h>
44 #include <dev/mii/miivar.h>
105 axphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) in axphy_service() argument
133 struct mii_data *mii = sc->mii_pdata; in axphy_status() local
134 struct ifmedia_entry *ife = mii->mii_media.ifm_cur; in axphy_status()
137 mii->mii_media_status = IFM_AVALID; in axphy_status()
138 mii->mii_media_active = IFM_ETHER; in axphy_status()
142 mii->mii_media_status |= IFM_ACTIVE; in axphy_status()
146 mii->mii_media_active |= IFM_NONE; in axphy_status()
147 mii->mii_media_status = 0; in axphy_status()
[all …]
H A Dnsphy.c77 #include <dev/mii/mii.h>
78 #include <dev/mii/miivar.h>
81 #include <dev/mii/nsphyreg.h>
136 nsphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) in nsphy_service() argument
201 struct mii_data *mii = sc->mii_pdata; in nsphy_status() local
202 struct ifmedia_entry *ife = mii->mii_media.ifm_cur; in nsphy_status()
205 mii->mii_media_status = IFM_AVALID; in nsphy_status()
206 mii->mii_media_active = IFM_ETHER; in nsphy_status()
211 mii->mii_media_status |= IFM_ACTIVE; in nsphy_status()
215 mii->mii_media_active |= IFM_NONE; in nsphy_status()
[all …]
H A Dqsphy.c77 #include <dev/mii/mii.h>
78 #include <dev/mii/miivar.h>
81 #include <dev/mii/qsphyreg.h>
136 qsphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) in qsphy_service() argument
165 struct mii_data *mii = sc->mii_pdata; in qsphy_status() local
168 mii->mii_media_status = IFM_AVALID; in qsphy_status()
169 mii->mii_media_active = IFM_ETHER; in qsphy_status()
174 mii->mii_media_status |= IFM_ACTIVE; in qsphy_status()
178 mii->mii_media_active |= IFM_NONE; in qsphy_status()
179 mii->mii_media_status = 0; in qsphy_status()
[all …]
H A Dxmphy.c52 #include <dev/mii/mii.h>
53 #include <dev/mii/miivar.h>
56 #include <dev/mii/xmphyreg.h>
138 xmphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) in xmphy_service() argument
140 struct ifmedia_entry *ife = mii->mii_media.ifm_cur; in xmphy_service()
212 struct mii_data *mii = sc->mii_pdata; in xmphy_status() local
215 mii->mii_media_status = IFM_AVALID; in xmphy_status()
216 mii->mii_media_active = IFM_ETHER; in xmphy_status()
221 mii->mii_media_status |= IFM_ACTIVE; in xmphy_status()
229 mii->mii_media_active |= IFM_LOOP; in xmphy_status()
[all …]
H A Dsmscphy.c46 #include <dev/mii/mii.h>
47 #include <dev/mii/miivar.h>
110 smscphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) in smscphy_service() argument
115 ife = mii->mii_media.ifm_cur; in smscphy_service()
186 struct mii_data *mii; in smscphy_status() local
189 mii = sc->mii_pdata; in smscphy_status()
190 mii->mii_media_status = IFM_AVALID; in smscphy_status()
191 mii->mii_media_active = IFM_ETHER; in smscphy_status()
195 mii->mii_media_status |= IFM_ACTIVE; in smscphy_status()
199 mii->mii_media_active |= IFM_NONE; in smscphy_status()
[all …]
H A Dbmtphy.c77 #include <dev/mii/mii.h>
78 #include <dev/mii/miivar.h>
81 #include <dev/mii/bmtphyreg.h>
152 bmtphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) in bmtphy_service() argument
180 struct mii_data *mii; in bmtphy_status() local
184 mii = sc->mii_pdata; in bmtphy_status()
185 ife = mii->mii_media.ifm_cur; in bmtphy_status()
187 mii->mii_media_status = IFM_AVALID; in bmtphy_status()
188 mii->mii_media_active = IFM_ETHER; in bmtphy_status()
193 mii->mii_media_status |= IFM_ACTIVE; in bmtphy_status()
[all …]
H A Dlxtphy.c77 #include <dev/mii/mii.h>
78 #include <dev/mii/miivar.h>
81 #include <dev/mii/lxtphyreg.h>
158 lxtphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) in lxtphy_service() argument
160 struct ifmedia_entry *ife = mii->mii_media.ifm_cur; in lxtphy_service()
192 struct mii_data *mii = sc->mii_pdata; in lxtphy_status() local
193 struct ifmedia_entry *ife = mii->mii_media.ifm_cur; in lxtphy_status()
196 mii->mii_media_status = IFM_AVALID; in lxtphy_status()
197 mii->mii_media_active = IFM_ETHER; in lxtphy_status()
206 mii->mii_media_status |= IFM_ACTIVE; in lxtphy_status()
[all …]
H A Dacphy.c73 #include <dev/mii/mii.h>
74 #include <dev/mii/miivar.h>
77 #include <dev/mii/acphyreg.h>
158 acphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) in acphy_service() argument
193 struct mii_data *mii = sc->mii_pdata; in acphy_status() local
194 struct ifmedia_entry *ife = mii->mii_media.ifm_cur; in acphy_status()
197 mii->mii_media_status = IFM_AVALID; in acphy_status()
198 mii->mii_media_active = IFM_ETHER; in acphy_status()
203 mii->mii_media_status |= IFM_ACTIVE; in acphy_status()
207 mii->mii_media_active |= IFM_NONE; in acphy_status()
[all …]
/freebsd/sys/dev/dc/
H A Ddcphy.c39 * media selection and NWAY support here since there is no MII
41 * and the alternative is to create a fake MII interface in the driver,
60 #include <dev/mii/mii.h>
61 #include <dev/mii/miivar.h>
185 dcphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) in dcphy_service() argument
188 struct ifmedia_entry *ife = mii->mii_media.ifm_cur; in dcphy_service()
192 dc_sc = if_getsoftc(mii->mii_ifp); in dcphy_service()
202 if ((if_getflags(mii->mii_ifp) & IFF_UP) == 0) in dcphy_service()
205 mii->mii_media_active = IFM_NONE; in dcphy_service()
252 if ((if_getflags(mii->mii_ifp) & IFF_UP) == 0) in dcphy_service()
[all …]
H A Dpnphy.c58 #include <dev/mii/mii.h>
59 #include <dev/mii/miivar.h>
141 pnphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) in pnphy_service() argument
143 struct ifmedia_entry *ife = mii->mii_media.ifm_cur; in pnphy_service()
153 if ((if_getflags(mii->mii_ifp) & IFF_UP) == 0) in pnphy_service()
161 mii->mii_media_active = IFM_ETHER | IFM_100_TX; in pnphy_service()
163 mii->mii_media_active |= IFM_FDX; in pnphy_service()
167 mii->mii_media_active = IFM_ETHER | IFM_10_T; in pnphy_service()
169 mii->mii_media_active |= IFM_FDX; in pnphy_service()
181 if ((if_getflags(mii->mii_ifp) & IFF_UP) == 0) in pnphy_service()
[all …]
/freebsd/sys/dev/fxp/
H A Dinphy.c49 #include <dev/mii/mii.h>
50 #include <dev/mii/miivar.h>
112 inphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) in inphy_service() argument
123 if ((if_getflags(mii->mii_ifp) & IFF_UP) == 0) in inphy_service()
146 struct mii_data *mii = sc->mii_pdata; in inphy_status() local
147 struct ifmedia_entry *ife = mii->mii_media.ifm_cur; in inphy_status()
150 mii->mii_media_status = IFM_AVALID; in inphy_status()
151 mii->mii_media_active = IFM_ETHER; in inphy_status()
155 mii->mii_media_status |= IFM_ACTIVE; in inphy_status()
159 mii->mii_media_active |= IFM_NONE; in inphy_status()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineInstrBundle.cpp52 for (MachineBasicBlock::instr_iterator MII = MBB.instr_begin(), in runOnMachineFunction() local
53 MIE = MBB.instr_end(); MII != MIE; ) { in runOnMachineFunction()
54 MachineInstr *MI = &*MII; in runOnMachineFunction()
59 while (++MII != MIE && MII->isBundledWithPred()) { in runOnMachineFunction()
60 MII->unbundleFromPred(); in runOnMachineFunction()
61 for (MachineOperand &MO : MII->operands()) { in runOnMachineFunction()
72 ++MII; in runOnMachineFunction()
111 for (auto MII = FirstMI; MII != LastMI; ++MII) in getDebugLoc() local
112 if (MII->getDebugLoc()) in getDebugLoc()
113 return MII->getDebugLoc(); in getDebugLoc()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonFixupHwLoops.cpp70 MachineBasicBlock::iterator &MII);
136 MachineBasicBlock::iterator MII = MBB.begin(); in fixupLoopInstrs() local
138 while (MII != MIE) { in fixupLoopInstrs()
139 unsigned InstSize = HII->getSize(*MII); in fixupLoopInstrs()
140 if (MII->isMetaInstruction()) { in fixupLoopInstrs()
141 ++MII; in fixupLoopInstrs()
144 if (isHardwareLoop(*MII)) { in fixupLoopInstrs()
145 assert(MII->getOperand(0).isMBB() && in fixupLoopInstrs()
147 MachineBasicBlock *TargetBB = MII->getOperand(0).getMBB(); in fixupLoopInstrs()
151 useExtLoopInstr(MF, MII); in fixupLoopInstrs()
[all …]
/freebsd/sys/dev/usb/net/
H A Druephy.c47 #include <dev/mii/mii.h>
48 #include <dev/mii/miivar.h>
114 ruephy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) in ruephy_service() argument
116 struct ifmedia_entry *ife = mii->mii_media.ifm_cur; in ruephy_service()
180 struct mii_data *mii = phy->mii_pdata; in ruephy_status() local
181 struct ifmedia_entry *ife = mii->mii_media.ifm_cur; in ruephy_status()
184 mii->mii_media_status = IFM_AVALID; in ruephy_status()
185 mii->mii_media_active = IFM_ETHER; in ruephy_status()
189 mii->mii_media_status |= IFM_ACTIVE; in ruephy_status()
193 mii->mii_media_active |= IFM_NONE; in ruephy_status()
[all …]
/freebsd/crypto/openssl/crypto/bn/asm/
H A Dia64.S184 { .mii; alloc r2=ar.pfs,4,12,0,16
198 { .mii; ADDP r15=0,r33 // ap
205 { .mii; (p16) ld8 r32=[r16],8 // b=*(bp++)
211 { .mii; (p16) ld8 r35=[r15],8 // a=*(ap++)
219 { .mii;
237 { .mii; alloc r2=ar.pfs,4,12,0,16
251 { .mii; ADDP r15=0,r33 // ap
258 { .mii; (p16) ld8 r32=[r16],8 // b=*(bp++)
264 { .mii; (p16) ld8 r35=[r15],8 // a=*(ap++)
272 { .mii;
[all …]

12345678910>>...27