HomeSort by: relevance | last modified time | path
    Searched defs:wdr (Results 1 - 25 of 86) sorted by relevancy

1 2 3 4

  /src/sys/dev/podulebus/
hcide.c 82 struct wdc_regs *wdr; local in function:hcide_attach
98 wdr = &sc->sc_wdc_regs[i];
101 wdr->cmd_iot = pa->pa_mod_t;
102 wdr->ctl_iot = pa->pa_mod_t;
105 &wdr->cmd_baseioh);
107 bus_space_subregion(wdr->cmd_iot, wdr->cmd_baseioh,
108 j, j == 0 ? 4 : 1, &wdr->cmd_iohs[j]);
109 wdc_init_shadow_regs(wdr);
112 &wdr->ctl_ioh)
    [all...]
hcide.c 82 struct wdc_regs *wdr; local in function:hcide_attach
98 wdr = &sc->sc_wdc_regs[i];
101 wdr->cmd_iot = pa->pa_mod_t;
102 wdr->ctl_iot = pa->pa_mod_t;
105 &wdr->cmd_baseioh);
107 bus_space_subregion(wdr->cmd_iot, wdr->cmd_baseioh,
108 j, j == 0 ? 4 : 1, &wdr->cmd_iohs[j]);
109 wdc_init_shadow_regs(wdr);
112 &wdr->ctl_ioh)
    [all...]
dtide.c 83 struct wdc_regs *wdr; local in function:dtide_attach
103 wdr = &sc->sc_wdc_regs[i];
106 wdr->cmd_iot = bst;
107 wdr->ctl_iot = bst;
110 &wdr->cmd_baseioh);
112 bus_space_subregion(wdr->cmd_iot, wdr->cmd_baseioh,
113 j, j == 0 ? 4 : 1, &wdr->cmd_iohs[j]);
114 wdc_init_shadow_regs(wdr);
117 &wdr->ctl_ioh)
    [all...]
dtide.c 83 struct wdc_regs *wdr; local in function:dtide_attach
103 wdr = &sc->sc_wdc_regs[i];
106 wdr->cmd_iot = bst;
107 wdr->ctl_iot = bst;
110 &wdr->cmd_baseioh);
112 bus_space_subregion(wdr->cmd_iot, wdr->cmd_baseioh,
113 j, j == 0 ? 4 : 1, &wdr->cmd_iohs[j]);
114 wdc_init_shadow_regs(wdr);
117 &wdr->ctl_ioh)
    [all...]
  /src/sys/arch/arm/gemini/
obio_wdc.c 87 struct wdc_regs *wdr; local in function:wdc_obio_attach
110 sc->sc_wdcdev.regs = wdr = &sc->wdc_regs;
111 wdr->cmd_iot = obio->obio_iot;
112 wdr->ctl_iot = obio->obio_iot;
113 if (bus_space_map(wdr->cmd_iot, obio->obio_addr, GEMINI_MIDE_SIZE,
114 0, &wdr->cmd_baseioh)) {
120 if (bus_space_subregion(wdr->cmd_iot, wdr->cmd_baseioh,
121 GEMINI_MIDE_CMDBLK + i, 1, &wdr->cmd_iohs[i]) != 0) {
127 if (bus_space_subregion(wdr->ctl_iot, wdr->cmd_baseioh
    [all...]
obio_wdc.c 87 struct wdc_regs *wdr; local in function:wdc_obio_attach
110 sc->sc_wdcdev.regs = wdr = &sc->wdc_regs;
111 wdr->cmd_iot = obio->obio_iot;
112 wdr->ctl_iot = obio->obio_iot;
113 if (bus_space_map(wdr->cmd_iot, obio->obio_addr, GEMINI_MIDE_SIZE,
114 0, &wdr->cmd_baseioh)) {
120 if (bus_space_subregion(wdr->cmd_iot, wdr->cmd_baseioh,
121 GEMINI_MIDE_CMDBLK + i, 1, &wdr->cmd_iohs[i]) != 0) {
127 if (bus_space_subregion(wdr->ctl_iot, wdr->cmd_baseioh
    [all...]
  /src/sys/arch/evbarm/iq31244/
wdc_obio.c 76 struct wdc_regs *wdr; local in function:wdc_obio_attach
81 sc->sc_wdcdev.regs = wdr = &sc->wdc_regs;
82 wdr->cmd_iot = oba->oba_st;
83 wdr->ctl_iot = oba->oba_st;
84 if (bus_space_map(wdr->cmd_iot, oba->oba_addr, IQ31244_CFLASH_SIZE,
85 0, &wdr->cmd_baseioh)) {
91 if (bus_space_subregion(wdr->cmd_iot, wdr->cmd_baseioh,
92 IQ31244_CFLASH_CMD_BASE + i, 1, &wdr->cmd_iohs[i]) != 0) {
98 if (bus_space_subregion(wdr->ctl_iot, wdr->cmd_baseioh
    [all...]
wdc_obio.c 76 struct wdc_regs *wdr; local in function:wdc_obio_attach
81 sc->sc_wdcdev.regs = wdr = &sc->wdc_regs;
82 wdr->cmd_iot = oba->oba_st;
83 wdr->ctl_iot = oba->oba_st;
84 if (bus_space_map(wdr->cmd_iot, oba->oba_addr, IQ31244_CFLASH_SIZE,
85 0, &wdr->cmd_baseioh)) {
91 if (bus_space_subregion(wdr->cmd_iot, wdr->cmd_baseioh,
92 IQ31244_CFLASH_CMD_BASE + i, 1, &wdr->cmd_iohs[i]) != 0) {
98 if (bus_space_subregion(wdr->ctl_iot, wdr->cmd_baseioh
    [all...]
  /src/sys/arch/evbarm/tsarm/
wdc_ts.c 73 struct wdc_regs *wdr; local in function:wdc_ts_attach
78 sc->sc_wdcdev.regs = wdr = &sc->wdc_regs;
79 wdr->cmd_iot = ta->ta_iot;
80 wdr->ctl_iot = ta->ta_iot;
81 if (bus_space_map(wdr->cmd_iot, 0x11000000, 8, 0, &wdr->cmd_baseioh) ||
82 bus_space_map(wdr->ctl_iot, 0x10400006, 1, 0, &wdr->ctl_ioh)) {
88 if (bus_space_subregion(wdr->cmd_iot,
89 wdr->cmd_baseioh, i, 1, &wdr->cmd_iohs[i]) != 0)
    [all...]
wdc_ts.c 73 struct wdc_regs *wdr; local in function:wdc_ts_attach
78 sc->sc_wdcdev.regs = wdr = &sc->wdc_regs;
79 wdr->cmd_iot = ta->ta_iot;
80 wdr->ctl_iot = ta->ta_iot;
81 if (bus_space_map(wdr->cmd_iot, 0x11000000, 8, 0, &wdr->cmd_baseioh) ||
82 bus_space_map(wdr->ctl_iot, 0x10400006, 1, 0, &wdr->ctl_ioh)) {
88 if (bus_space_subregion(wdr->cmd_iot,
89 wdr->cmd_baseioh, i, 1, &wdr->cmd_iohs[i]) != 0)
    [all...]
  /src/sys/arch/i386/pnpbios/
pciide_pnpbios.c 84 struct wdc_regs *wdr; local in function:pciide_pnpbios_attach
152 wdr = CHAN_TO_WDC_REGS(wdc_cp);
153 wdr->cmd_iot = compat_iot;
154 wdr->cmd_baseioh = cmd_baseioh;
157 if (bus_space_subregion(wdr->cmd_iot, wdr->cmd_baseioh, i,
158 i == 0 ? 4 : 1, &wdr->cmd_iohs[i]) != 0) {
164 wdc_init_shadow_regs(wdr);
166 wdr->ctl_iot = wdr->data32iot = compat_iot
    [all...]
pciide_pnpbios.c 84 struct wdc_regs *wdr; local in function:pciide_pnpbios_attach
152 wdr = CHAN_TO_WDC_REGS(wdc_cp);
153 wdr->cmd_iot = compat_iot;
154 wdr->cmd_baseioh = cmd_baseioh;
157 if (bus_space_subregion(wdr->cmd_iot, wdr->cmd_baseioh, i,
158 i == 0 ? 4 : 1, &wdr->cmd_iohs[i]) != 0) {
164 wdc_init_shadow_regs(wdr);
166 wdr->ctl_iot = wdr->data32iot = compat_iot
    [all...]
  /src/sys/arch/amiga/dev/
efavar.h 43 struct wdc_regs wdr[6]; /* PIO0-5 */ member in struct:efa_port
wdc_amiga.c 85 struct wdc_regs *wdr; local in function:wdc_amiga_attach
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
    [all...]
wdc_buddha.c 122 struct wdc_regs *wdr; local in function:wdc_buddha_attach
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)
    [all...]
efavar.h 43 struct wdc_regs wdr[6]; /* PIO0-5 */ member in struct:efa_port
  /src/sys/arch/evbppc/mpc85xx/
wdc_obio.c 69 wdc_obio_initregmap(struct wdc_regs *wdr, bus_space_tag_t bst,
74 wdr->cmd_iot = bst;
75 wdr->ctl_iot = bst;
77 error = bus_space_map(wdr->cmd_iot, addr, size, 0, &wdr->cmd_baseioh);
79 wdr->cmd_baseioh = 0;
84 if (bus_space_subregion(wdr->cmd_iot, wdr->cmd_baseioh,
85 i, (i == 0) ? 2 : 1, &wdr->cmd_iohs[i])) {
90 if (bus_space_subregion(wdr->ctl_iot, wdr->cmd_baseioh
103 struct wdc_regs wdr; local in function:wdc_obio_match
129 struct wdc_regs * const wdr = &sc->wdc_regs; local in function:wdc_obio_attach
    [all...]
wdc_obio.c 69 wdc_obio_initregmap(struct wdc_regs *wdr, bus_space_tag_t bst,
74 wdr->cmd_iot = bst;
75 wdr->ctl_iot = bst;
77 error = bus_space_map(wdr->cmd_iot, addr, size, 0, &wdr->cmd_baseioh);
79 wdr->cmd_baseioh = 0;
84 if (bus_space_subregion(wdr->cmd_iot, wdr->cmd_baseioh,
85 i, (i == 0) ? 2 : 1, &wdr->cmd_iohs[i])) {
90 if (bus_space_subregion(wdr->ctl_iot, wdr->cmd_baseioh
103 struct wdc_regs wdr; local in function:wdc_obio_match
129 struct wdc_regs * const wdr = &sc->wdc_regs; local in function:wdc_obio_attach
    [all...]
  /src/sys/arch/mmeye/dev/
wdc_mainbus.c 73 struct wdc_regs wdr; local in function:wdc_mainbus_match
84 wdr.cmd_iot = SH3_BUS_SPACE_PCMCIA_IO;
85 if (bus_space_map(wdr.cmd_iot, ma->ma_addr1,
86 WDC_MAINBUS_REG_NPORTS, 0, &wdr.cmd_baseioh) != 0)
90 if (bus_space_subregion(wdr.cmd_iot, wdr.cmd_baseioh, i,
91 i == 0 ? 4 : 1, &wdr.cmd_iohs[i]) != 0)
94 wdc_init_shadow_regs(&wdr);
96 wdr.ctl_iot = SH3_BUS_SPACE_PCMCIA_IO;
97 if (bus_space_map(wdr.ctl_iot, ma->ma_addr1 + WDC_MAINBUS_AUXREG_OFFSET
125 struct wdc_regs *wdr; local in function:wdc_mainbus_attach
    [all...]
wdc_mainbus.c 73 struct wdc_regs wdr; local in function:wdc_mainbus_match
84 wdr.cmd_iot = SH3_BUS_SPACE_PCMCIA_IO;
85 if (bus_space_map(wdr.cmd_iot, ma->ma_addr1,
86 WDC_MAINBUS_REG_NPORTS, 0, &wdr.cmd_baseioh) != 0)
90 if (bus_space_subregion(wdr.cmd_iot, wdr.cmd_baseioh, i,
91 i == 0 ? 4 : 1, &wdr.cmd_iohs[i]) != 0)
94 wdc_init_shadow_regs(&wdr);
96 wdr.ctl_iot = SH3_BUS_SPACE_PCMCIA_IO;
97 if (bus_space_map(wdr.ctl_iot, ma->ma_addr1 + WDC_MAINBUS_AUXREG_OFFSET
125 struct wdc_regs *wdr; local in function:wdc_mainbus_attach
    [all...]
  /src/sys/dev/isapnp/
wdc_isapnp.c 90 struct wdc_regs *wdr; local in function:wdc_isapnp_attach
111 sc->sc_wdcdev.regs = wdr = &sc->wdc_regs;
112 wdr->cmd_iot = ipa->ipa_iot;
113 wdr->ctl_iot = ipa->ipa_iot;
120 wdr->cmd_baseioh = ipa->ipa_io[0].h;
121 wdr->ctl_ioh = ipa->ipa_io[1].h;
123 wdr->cmd_baseioh = ipa->ipa_io[1].h;
124 wdr->ctl_ioh = ipa->ipa_io[0].h;
128 if (bus_space_subregion(wdr->cmd_iot,
129 wdr->cmd_baseioh, i, i == 0 ? 4 : 1
    [all...]
  /src/sys/dev/ofisa/
wdc_ofisa.c 96 struct wdc_regs *wdr; local in function:wdc_ofisa_attach
111 sc->sc_wdcdev.regs = wdr = &sc->wdc_regs;
136 wdr->cmd_iot = (reg[0].type == OFISA_REG_TYPE_IO) ? aa->iot : aa->memt;
137 wdr->ctl_iot = (reg[1].type == OFISA_REG_TYPE_IO) ? aa->iot : aa->memt;
138 if (bus_space_map(wdr->cmd_iot, reg[0].addr, 8, 0, &ioh) ||
139 bus_space_map(wdr->ctl_iot, reg[1].addr, 1, 0,
140 &wdr->ctl_ioh)) {
144 wdr->cmd_baseioh = ioh;
147 if (bus_space_subregion(wdr->cmd_iot, ioh, n,
148 n == 0 ? 4 : 1, &wdr->cmd_iohs[n]) != 0)
    [all...]
  /src/sys/arch/acorn32/mainbus/
wdc_pioc.c 85 struct wdc_regs wdr; local in function:wdc_pioc_probe
97 wdr.cmd_iot = pa->pa_iot;
98 wdr.ctl_iot = pa->pa_iot;
100 if (bus_space_map(wdr.cmd_iot, iobase, WDC_PIOC_REG_NPORTS, 0,
101 &wdr.cmd_baseioh))
104 if (bus_space_subregion(wdr.cmd_iot, wdr.cmd_baseioh, i,
105 i == 0 ? 4 : 1, &wdr.cmd_iohs[i]) != 0) {
106 bus_space_unmap(wdr.cmd_iot, wdr.cmd_baseioh
140 struct wdc_regs *wdr; local in function:wdc_pioc_attach
    [all...]
  /src/sys/arch/landisk/dev/
wdc_obio.c 72 struct wdc_regs wdr; local in function:wdc_obio_probe
86 wdr.cmd_iot = oa->oa_iot;
87 if (bus_space_map(wdr.cmd_iot, oa->oa_io[0].or_addr,
88 WDC_OBIO_REG_SIZE, 0, &wdr.cmd_baseioh)) {
92 if (bus_space_subregion(wdr.cmd_iot, wdr.cmd_baseioh,
93 i * 2, (i == 0) ? 2 : 1, &wdr.cmd_iohs[i])) {
97 wdc_init_shadow_regs(&wdr);
99 wdr.ctl_iot = oa->oa_iot;
100 if (bus_space_map(wdr.ctl_iot
126 struct wdc_regs *wdr; local in function:wdc_obio_attach
    [all...]
  /src/sys/arch/prep/pnpbus/
wdc_pnpbus.c 100 struct wdc_regs *wdr; local in function:wdc_pnpbus_attach
105 sc->sc_wdcdev.regs = wdr = &sc->sc_wdc_regs;
107 wdr->cmd_iot = pna->pna_iot;
108 wdr->ctl_iot = pna->pna_iot;
112 if (pnpbus_io_map(&pna->pna_res, 0, &wdr->cmd_iot, &wdr->cmd_baseioh) ||
113 pnpbus_io_map(&pna->pna_res, 1, &wdr->ctl_iot, &wdr->ctl_ioh)) {
118 if (bus_space_subregion(wdr->cmd_iot,
119 wdr->cmd_baseioh, i, i == 0 ? 4 : 1
    [all...]

Completed in 29 milliseconds

1 2 3 4