Lines Matching defs:wdr
85 struct wdc_regs *wdr;
91 sc->sc_wdcdev.regs = wdr = &sc->sc_wdc_regs;
104 wdr->cmd_iot = &sc->cmd_iot;
105 wdr->ctl_iot = &sc->ctl_iot;
107 if (bus_space_map(wdr->cmd_iot, 0, 0x40, 0,
108 &wdr->cmd_baseioh)) {
114 if (bus_space_subregion(wdr->cmd_iot,
115 wdr->cmd_baseioh, i, i == 0 ? 4 : 1,
116 &wdr->cmd_iohs[i]) != 0) {
118 bus_space_unmap(wdr->cmd_iot,
119 wdr->cmd_baseioh, 0x40);
125 if (bus_space_subregion(wdr->cmd_iot,
126 wdr->cmd_baseioh, 0x406, 1, &wdr->ctl_ioh))
138 wdc_init_shadow_regs(wdr);