Lines Matching refs:wdr
210 struct wdc_regs *wdr;
235 sc->sc_wdcdev.regs = wdr = &sc->wdc_regs;
238 wdr->cmd_iot = cfe->memspace[0].handle.memt;
239 wdr->cmd_baseioh = cfe->memspace[0].handle.memh;
241 wdr->ctl_iot = cfe->memspace[0].handle.memt;
245 &wdr->ctl_ioh))
248 wdr->cmd_iot = cfe->iospace[0].handle.iot;
249 wdr->cmd_baseioh = cfe->iospace[0].handle.ioh;
252 wdr->ctl_iot = cfe->iospace[0].handle.iot;
256 &wdr->ctl_ioh))
259 wdr->ctl_iot = cfe->iospace[1].handle.iot;
260 wdr->ctl_ioh = cfe->iospace[1].handle.ioh;
265 if (bus_space_subregion(wdr->cmd_iot,
266 wdr->cmd_baseioh,
268 &wdr->cmd_iohs[i]) != 0) {
276 wdr->data32iot = cfe->memspace[0].handle.memt;
279 &wdr->data32ioh))
286 wdr->data32iot = wdr->cmd_iot;
287 wdr->data32ioh = wdr->cmd_iohs[wd_data];
300 wdc_init_shadow_regs(wdr);
404 struct wdc_regs *wdr = CHAN_TO_WDC_REGS(chp);
411 bus_space_read_region_stream_4(wdr->data32iot,
412 wdr->data32ioh, 0, buf, n >> 2);
414 bus_space_read_region_stream_2(wdr->data32iot,
415 wdr->data32ioh, 0, buf, n >> 1);
425 struct wdc_regs *wdr = CHAN_TO_WDC_REGS(chp);
432 bus_space_write_region_stream_4(wdr->data32iot,
433 wdr->data32ioh, 0, buf, n >> 2);
435 bus_space_write_region_stream_2(wdr->data32iot,
436 wdr->data32ioh, 0, buf, n >> 1);