Home | History | Annotate | Download | only in dev

Lines Matching refs:wdr

110 	struct wdc_regs *wdr;
167 sc->sc_wdcdev.regs = wdr = &sc->sc_wdc_regs;
169 wdr->cmd_iot = wdr->ctl_iot = pa->pa_memt;
171 if (bus_space_map(wdr->cmd_iot, regbase, WDC_REG_NPORTS << 4, 0,
172 &wdr->cmd_baseioh) ||
173 bus_space_subregion(wdr->cmd_iot, wdr->cmd_baseioh,
174 WDC_AUXREG_OFFSET << 4, 1, &wdr->ctl_ioh)) {
179 if (bus_space_subregion(wdr->cmd_iot, wdr->cmd_baseioh, i << 4,
180 i == 0 ? 4 : 1, &wdr->cmd_iohs[i]) != 0) {
181 bus_space_unmap(wdr->cmd_iot, wdr->cmd_baseioh,
216 wdc_init_shadow_regs(wdr);
225 struct wdc_regs *wdr = CHAN_TO_WDC_REGS(chp);
241 bus_space_write_4(wdr->cmd_iot, wdr->cmd_baseioh,
243 bus_space_write_4(wdr->cmd_iot, wdr->cmd_baseioh,
308 struct wdc_regs *wdr = CHAN_TO_WDC_REGS(chp);
314 bus_space_write_4(wdr->cmd_iot, wdr->cmd_baseioh, DMA_CONFIG_REG,
316 bus_space_read_4(wdr->cmd_iot, wdr->cmd_baseioh, DMA_CONFIG_REG);