Lines Matching refs:wdr
87 struct wdc_regs *wdr; in wdc_obio_attach() local
110 sc->sc_wdcdev.regs = wdr = &sc->wdc_regs; in wdc_obio_attach()
111 wdr->cmd_iot = obio->obio_iot; in wdc_obio_attach()
112 wdr->ctl_iot = obio->obio_iot; in wdc_obio_attach()
113 if (bus_space_map(wdr->cmd_iot, obio->obio_addr, GEMINI_MIDE_SIZE, in wdc_obio_attach()
114 0, &wdr->cmd_baseioh)) { in wdc_obio_attach()
120 if (bus_space_subregion(wdr->cmd_iot, wdr->cmd_baseioh, in wdc_obio_attach()
121 GEMINI_MIDE_CMDBLK + i, 1, &wdr->cmd_iohs[i]) != 0) { in wdc_obio_attach()
127 if (bus_space_subregion(wdr->ctl_iot, wdr->cmd_baseioh, in wdc_obio_attach()
128 GEMINI_MIDE_CTLBLK, 1, &wdr->ctl_ioh) != 0) { in wdc_obio_attach()
143 wdc_init_shadow_regs(wdr); in wdc_obio_attach()