Searched refs:sc_iobase (Results 1 - 25 of 48) sorted by relevance

12

/openbsd-current/sys/arch/loongson/dev/
H A Dcom_leioc.c76 sc->sc_iobase = laa->laa_base;
77 if (bus_space_map(sc->sc_iot, sc->sc_iobase, COM_NPORTS, 0,
85 sc->sc_iobase = comconsaddr;
86 if (comcnattach(sc->sc_iot, sc->sc_iobase, comconsrate,
/openbsd-current/sys/arch/hppa/gsc/
H A Dcom_gsc.c84 sc->sc_iobase = (bus_addr_t)ga->ga_hpa;
86 sc->sc_iobase += IOMOD_DEVOFFSET;
88 if (bus_space_map(sc->sc_iot, sc->sc_iobase, COM_NPORTS,
97 comcnattach(sc->sc_iot, sc->sc_iobase, comdefaultrate,
/openbsd-current/sys/arch/hppa/dev/
H A Dcom_ssio.c64 sc->sc_iobase = saa->saa_iobase;
65 if (bus_space_map(sc->sc_iot, sc->sc_iobase, COM_NPORTS,
74 comcnattach(sc->sc_iot, sc->sc_iobase, comdefaultrate,
H A Dcom_dino.c93 sc->sc_iobase = (bus_addr_t)ca->ca_hpa + IOMOD_DEVOFFSET;
95 if (bus_space_map(sc->sc_iot, sc->sc_iobase, COM_NPORTS,
104 comcnattach(sc->sc_iot, sc->sc_iobase, comdefaultrate,
H A Delroyvar.h31 bus_addr_t sc_iobase; member in struct:elroy_softc
/openbsd-current/sys/dev/acpi/
H A Dipmi_acpi.c51 bus_size_t sc_iobase; member in struct:ipmi_acpi_softc
124 ia.iaa_if_iobase = sc->sc_iobase;
159 sc->sc_iobase = addr;
170 if (addr <= sc->sc_iobase) {
174 sc->sc_iospacing = addr - sc->sc_iobase;
H A Dcom_acpi.c112 sc->sc.sc_iobase = aaa->aaa_addr[0];
132 if (sc->sc.sc_iobase == comconsaddr) {
167 base->address == sc->sc.sc_iobase)
/openbsd-current/sys/dev/isa/
H A Dgus_isa.c196 sc->sc_iobase = ia->ia_iobase;
199 if (bus_space_map(sc->sc_iot, sc->sc_iobase, GUS_NPORT1, 0, &sc->sc_ioh1))
201 if (bus_space_map(sc->sc_iot, sc->sc_iobase+GUS_IOH2_OFFSET, GUS_NPORT2, 0,
207 if (bus_space_map(sc->sc_iot, sc->sc_iobase+GUS_IOH3_OFFSET, GUS_NPORT3, 0,
211 if (bus_space_map(sc->sc_iot, sc->sc_iobase+GUS_IOH4_OFFSET, GUS_NPORT4, 0,
H A Dast.c56 int sc_iobase; member in struct:ast_softc
145 sc->sc_iobase = ia->ia_iobase;
148 if (bus_space_map(sc->sc_iot, sc->sc_iobase + i * COM_NPORTS,
163 ca.ca_iobase = sc->sc_iobase + i * COM_NPORTS;
H A Daddcom_isa.c89 bus_addr_t sc_iobase; member in struct:addcom_softc
197 sc->sc_iobase = ia->ia_iobase;
219 iobase = sc->sc_iobase
237 ca.ca_iobase = sc->sc_iobase
H A Dboca.c56 int sc_iobase; member in struct:boca_softc
146 sc->sc_iobase = ia->ia_iobase;
149 if (bus_space_map(iot, sc->sc_iobase + i * COM_NPORTS,
160 ca.ca_iobase = sc->sc_iobase + i * COM_NPORTS;
H A Dhsq.c103 int sc_iobase; member in struct:hsq_softc
193 sc->sc_iobase = ia->ia_iobase;
196 if (bus_space_map(sc->sc_iot, sc->sc_iobase + i * COM_NPORTS,
207 ca.ca_iobase = sc->sc_iobase + i * COM_NPORTS;
H A Dif_el.c64 int sc_iobase; /* base I/O addr */ member in struct:el_softc
113 sc->sc_iobase = iobase;
215 outb(sc->sc_iobase+EL_AC, 0);
225 int iobase = sc->sc_iobase;
243 int iobase = sc->sc_iobase;
281 int iobase = sc->sc_iobase;
388 int iobase = sc->sc_iobase;
417 int iobase = sc->sc_iobase;
506 int iobase = sc->sc_iobase;
H A Dessvar.h130 int sc_iobase; /* I/O port base address */ member in struct:ess_softc
H A Dess_isapnp.c74 sc->sc_iobase = ia->ipa_io[0].base;
H A Dcom_commulti.c115 sc->sc_iobase = ca->ca_iobase;
H A Ditvar.h106 int sc_iobase; member in struct:it_softc
H A Dcom_isa.c137 sc->sc_iobase = iobase;
H A Dcom_isapnp.c129 sc->sc_iobase = iobase;
H A Dsb_isapnp.c94 sc->sc_iobase = ia->ipa_io[0].base;
H A Dgus_isapnp.c144 sc->sc_iobase = ipa->ia_iobase;
/openbsd-current/sys/arch/octeon/dev/
H A Dcn30xxuart.c124 sc->sc_iobase = faa->fa_reg[0].addr;
125 if (bus_space_map(sc->sc_iot, sc->sc_iobase, COM_NPORTS, 0,
133 sc->sc_iobase = comconsaddr;
134 if (comcnattach(sc->sc_iot, sc->sc_iobase, comconsrate,
/openbsd-current/sys/dev/pci/
H A Dppb.c89 bus_addr_t sc_iobase, sc_iolimit; member in struct:ppb_softc
278 sc->sc_iobase = (blr & 0x000000f0) << 8;
281 sc->sc_iobase |= (blr & 0x0000ffff) << 16;
283 if (sc->sc_iolimit > sc->sc_iobase) {
289 extent_free(sc->sc_ioex, sc->sc_iobase,
290 sc->sc_iolimit - sc->sc_iobase + 1, EX_NOWAIT);
467 blr |= (sc->sc_iobase >> PPB_IO_SHIFT);
469 blr = (sc->sc_iobase & 0xffff0000) >> 16;
676 sc->sc_iobase = (blr << PPB_IO_SHIFT) & PPB_IO_MASK;
679 sc->sc_iobase |
[all...]
H A Dpccbbvar.h161 pcireg_t sc_iobase[2]; member in struct:pccbb_softc
/openbsd-current/sys/dev/puc/
H A Dcom_puc.c97 sc->sc_iobase = pa->a;

Completed in 145 milliseconds

12