Home | History | Annotate | Download | only in ofisa

Lines Matching defs:wdr

96 	struct wdc_regs *wdr;
111 sc->sc_wdcdev.regs = wdr = &sc->wdc_regs;
136 wdr->cmd_iot = (reg[0].type == OFISA_REG_TYPE_IO) ? aa->iot : aa->memt;
137 wdr->ctl_iot = (reg[1].type == OFISA_REG_TYPE_IO) ? aa->iot : aa->memt;
138 if (bus_space_map(wdr->cmd_iot, reg[0].addr, 8, 0, &ioh) ||
139 bus_space_map(wdr->ctl_iot, reg[1].addr, 1, 0,
140 &wdr->ctl_ioh)) {
144 wdr->cmd_baseioh = ioh;
147 if (bus_space_subregion(wdr->cmd_iot, ioh, n,
148 n == 0 ? 4 : 1, &wdr->cmd_iohs[n]) != 0) {
166 wdc_init_shadow_regs(wdr);