Lines Matching defs:epd
171 struct esp_isa_probe_data *epd)
182 epd->sc_cfg4 = NCRCFG4_ACTNEG;
183 epd->sc_cfg5 = NCRCFG5_CRS1 | NCRCFG5_AADDR | NCRCFG5_PTRINC;
189 bus_space_write_1(iot, ioh, NCR_CFG5, epd->sc_cfg5);
208 epd->sc_isncr = (vers & ISNCR);
209 epd->sc_rev = ((vers & REV_MASK) == ISESP406) ?
215 epd->sc_msize = (jmp & NCRJMP_ROMSZ) ? 0x4000 : 0x8000;
216 epd->sc_parity = jmp & NCRJMP_J2;
217 epd->sc_sync = jmp & NCRJMP_J4;
218 epd->sc_id = (jmp & NCRJMP_J3) ? 7 : 6;
221 epd->sc_irq = 11;
224 epd->sc_irq = 10;
227 epd->sc_irq = 15;
230 epd->sc_irq = 12;
234 bus_space_write_1(iot, ioh, NCR_CFG5, epd->sc_cfg5);
242 epd->sc_isfast = bus_space_read_1(iot, ioh, NCR_ESPCFG3)
249 esp_isa_init(struct esp_isa_softc *esc, struct esp_isa_probe_data *epd)
260 sc->sc_rev = epd->sc_rev;
261 sc->sc_id = epd->sc_id;
265 if ((epd->sc_rev == NCR_VARIANT_FAS408) && epd->sc_isfast) {
273 if (epd->sc_parity)
277 sc->sc_cfg4 = epd->sc_cfg4;
278 sc->sc_cfg5 = epd->sc_cfg5;
289 if (epd->sc_sync) {
294 epd->sc_sync = 0;
314 struct esp_isa_probe_data epd;
335 rv = esp_isa_find(iot, ioh, &epd);
341 ia->ia_irq[0].ir_irq != epd.sc_irq) {
345 __func__, ia->ia_irq[0].ir_irq, epd.sc_irq);
349 ia->ia_irq[0].ir_irq = epd.sc_irq;
367 struct esp_isa_probe_data epd;
380 if (!esp_isa_find(iot, ioh, &epd)) {
402 esp_isa_init(esc, &epd);
405 epd.sc_sync ? " " : " no ", epd.sc_parity ? " " : " no ");