Lines Matching defs:wdr
122 struct wdc_regs *wdr;
143 wdr = CHAN_TO_WDC_REGS(cp);
145 wdr->cmd_iot = &sc->sc_iot;
146 if (bus_space_map(wdr->cmd_iot, 0x210+ch*0x80, 8, 0,
147 &wdr->cmd_baseioh)) {
152 wdr->ctl_iot = &sc->sc_iot;
153 if (bus_space_map(wdr->ctl_iot, 0x250+ch*0x80, 2, 0,
154 &wdr->ctl_ioh)) {
155 bus_space_unmap(wdr->cmd_iot, wdr->cmd_baseioh, 8);
161 if (bus_space_subregion(wdr->cmd_iot, wdr->cmd_baseioh,
162 i, i == 0 ? 4 : 1, &wdr->cmd_iohs[i]) != 0) {
169 wdc_init_shadow_regs(wdr);