Lines Matching refs:sc_ie

76 	struct	ie_softc sc_ie;
121 sc->sc_ie.sc_dev = self;
134 sc->sc_ie.hwinit = NULL;
135 sc->sc_ie.intrhook = ei_intrhook;
136 sc->sc_ie.hwreset = ei_hwreset;
137 sc->sc_ie.chan_attn = ei_attn;
139 sc->sc_ie.memcopyin = ei_copyin;
140 sc->sc_ie.memcopyout = ei_copyout;
142 sc->sc_ie.ie_bus_barrier = NULL;
143 sc->sc_ie.ie_bus_read16 = ei_read16;
144 sc->sc_ie.ie_bus_write16 = ei_write16;
145 sc->sc_ie.ie_bus_write24 = ei_write24;
147 sc->sc_ie.do_xmitnopchain = 0; /* Does it listen? */
149 sc->sc_ie.sc_mediachange = NULL;
150 sc->sc_ie.sc_mediastatus = NULL;
152 sc->sc_ie.bt = sc->sc_mem_t; /* XXX hope it doesn't use them */
153 sc->sc_ie.bh = sc->sc_mem_h;
158 sc->sc_ie.sc_msize = EI_MEMSIZE;
161 sc->sc_ie.iscp = 0;
162 sc->sc_ie.scb = IE_ISCP_SZ;
163 sc->sc_ie.scp = sc->sc_ie.sc_msize + IE_SCP_ADDR - (1 << 24);
165 sc->sc_ie.buf_area = sc->sc_ie.scb + IE_SCB_SZ;
166 sc->sc_ie.buf_area_sz =
167 sc->sc_ie.sc_msize - IE_ISCP_SZ - IE_SCB_SZ - IE_SCP_SZ;
177 ei_write24(&sc->sc_ie, IE_SCP_ISCP((u_long)sc->sc_ie.scp),
178 (u_long) sc->sc_ie.iscp);
179 ei_write16(&sc->sc_ie, IE_ISCP_SCB((u_long)sc->sc_ie.iscp),
180 (u_long) sc->sc_ie.scb);
181 ei_write24(&sc->sc_ie, IE_ISCP_BASE((u_long)sc->sc_ie.iscp),
182 (u_long) sc->sc_ie.iscp);
185 if (i82586_proberam(&sc->sc_ie) == 0) {
195 i82586_attach(&sc->sc_ie, descr, sc->sc_idrom + EI_ROM_EADDR,
206 ei_hwreset(struct ie_softc *sc_ie, int why)
208 struct ei_softc *sc = (struct ei_softc *)sc_ie;
218 ei_intrhook(struct ie_softc *sc_ie, int why)
220 struct ei_softc *sc = (struct ei_softc *)sc_ie;
232 ei_attn(struct ie_softc *sc_ie, int why)
234 struct ei_softc *sc = (void *)sc_ie;
249 ei_copyin(struct ie_softc *sc_ie, void *dest, int src, size_t size)
251 struct ei_softc *sc = (struct ei_softc *)sc_ie;
257 panic("%s: unaligned copyin", device_xname(sc_ie->sc_dev));
288 ei_copyout(struct ie_softc *sc_ie, const void *src, int dest, size_t size)
290 struct ei_softc *sc = (struct ei_softc *)sc_ie;
297 panic("%s: unaligned copyout", device_xname(sc_ie->sc_dev));
303 device_xname(sc_ie->sc_dev));
329 ei_read16(struct ie_softc *sc_ie, int addr)
331 struct ei_softc *sc = (struct ei_softc *)sc_ie;
336 panic("%s: unaligned read16", device_xname(sc_ie->sc_dev));
347 ei_write16(struct ie_softc *sc_ie, int addr, u_int16_t value)
349 struct ei_softc *sc = (struct ei_softc *)sc_ie;
354 panic("%s: unaligned write16", device_xname(sc_ie->sc_dev));
364 ei_write24(struct ie_softc *sc_ie, int addr, int value)
370 panic("%s: unaligned write24", device_xname(sc_ie->sc_dev));
373 ei_write16(sc_ie, addr, value & 0xffff);
374 ei_write16(sc_ie, addr + 2, (value >> 16) & 0xff);