Home
last modified time | relevance | path

Searched refs:bustype (Results 1 – 25 of 41) sorted by relevance

12

/netbsd/sys/arch/sun3/sun3/
H A Dbus_subr.c88 bus_tmapin(int bustype, int pa) in bus_tmapin() argument
93 if ((bustype < 0) || (bustype >= BUS__NTYPES)) in bus_tmapin()
99 pa &= bus_info[bustype].mask; in bus_tmapin()
100 pa |= bus_info[bustype].base; in bus_tmapin()
103 pte |= (bus_info[bustype].type << PG_MOD_SHIFT); in bus_tmapin()
133 bus_mapin(int bustype, int pa, int sz) in bus_mapin() argument
138 if ((bustype < 0) || (bustype >= BUS__NTYPES)) in bus_mapin()
147 if (bustype == BUS_OBIO) { in bus_mapin()
152 pa &= bus_info[bustype].mask; in bus_mapin()
153 pa |= bus_info[bustype].base; in bus_mapin()
[all …]
H A Dvme.c59 int bustype; member
166 int bustype, pmtype; in vme_bus_map() local
168 bustype = sc->sc_bustype; in vme_bus_map()
170 pa &= vme_info[bustype].mask; in vme_bus_map()
171 pa |= vme_info[bustype].base; in vme_bus_map()
172 pmtype = vme_info[bustype].pmtype; in vme_bus_map()
184 int bustype, pmtype; in vme_bus_mmap() local
186 bustype = sc->sc_bustype; in vme_bus_mmap()
188 pa &= vme_info[bustype].mask; in vme_bus_mmap()
189 pa |= vme_info[bustype].base; in vme_bus_mmap()
[all …]
H A Dautoconf.c300 bus_peek(int bustype, int pa, int sz) in bus_peek() argument
305 va = bus_tmapin(bustype, pa); in bus_peek()
H A Ddvma.c145 dvma_kvtopa(void *kva, int bustype) in dvma_kvtopa() argument
153 switch (bustype) { in dvma_kvtopa()
/netbsd/sys/arch/sun3/sun3x/
H A Dbus_subr.c84 bus_tmapin(int bustype, int pa) in bus_tmapin() argument
89 if ((bustype < 0) || (bustype >= BUS__NTYPES)) in bus_tmapin()
95 pa &= bus_info[bustype].mask; in bus_tmapin()
96 pa |= bus_info[bustype].base; in bus_tmapin()
133 bus_mapin(int bustype, int pa, int sz) in bus_mapin() argument
138 if ((bustype < 0) || (bustype >= BUS__NTYPES)) in bus_mapin()
147 if (bustype == BUS_OBIO) { in bus_mapin()
152 pa &= bus_info[bustype].mask; in bus_mapin()
153 pa |= bus_info[bustype].base; in bus_mapin()
H A Dvme.c59 int bustype; member
166 int bustype, pmtype; in vme_bus_map() local
168 bustype = sc->sc_bustype; in vme_bus_map()
170 pa &= vme_info[bustype].mask; in vme_bus_map()
171 pa |= vme_info[bustype].base; in vme_bus_map()
172 pmtype = vme_info[bustype].pmtype; in vme_bus_map()
184 int bustype, pmtype; in vme_bus_mmap() local
186 bustype = sc->sc_bustype; in vme_bus_mmap()
188 pa &= vme_info[bustype].mask; in vme_bus_mmap()
189 pa |= vme_info[bustype].base; in vme_bus_mmap()
[all …]
H A Ddvma.c135 dvma_kvtopa(void *kva, int bustype) in dvma_kvtopa() argument
143 switch (bustype) { in dvma_kvtopa()
/netbsd/sys/arch/hp300/hp300/
H A Dbus_space.c58 if (t->bustype == HP300_BUS_SPACE_INTIO) { in bus_space_map()
67 if (t->bustype != HP300_BUS_SPACE_DIO && in bus_space_map()
68 t->bustype != HP300_BUS_SPACE_SGC) in bus_space_map()
122 if (t->bustype == HP300_BUS_SPACE_INTIO) { in bus_space_unmap()
130 if (t->bustype != HP300_BUS_SPACE_DIO && in bus_space_unmap()
131 t->bustype != HP300_BUS_SPACE_SGC) in bus_space_unmap()
H A Dautoconf.c765 bst->bustype = HP300_BUS_SPACE_INTIO; in hp300_cninit()
847 sgc_bst->bustype = HP300_BUS_SPACE_SGC; in hp300_cninit()
905 bst->bustype = HP300_BUS_SPACE_DIO; in dio_scode_probe()
935 sgc_bst->bustype = HP300_BUS_SPACE_SGC; in hp300_cninit_deferred()
/netbsd/sys/arch/ews4800mips/ews4800mips/
H A Dtr2a_intr.c64 enum bustype { enum
73 enum bustype bustype; member
140 if (ih->bustype == ASOBUS) in tr2a_intr_establish()
160 if (ih->bustype == ASOBUS) in tr2a_intr_disestablish()
/netbsd/sys/arch/alpha/pci/
H A Dirongate_dma.c146 irongate_dma_get_tag(bus_dma_tag_t t, alpha_bus_t bustype) in irongate_dma_get_tag() argument
150 switch (bustype) { in irongate_dma_get_tag()
H A Dlca_dma.c195 lca_dma_get_tag(bus_dma_tag_t t, alpha_bus_t bustype) in lca_dma_get_tag() argument
199 switch (bustype) { in lca_dma_get_tag()
H A Dapecs_dma.c190 apecs_dma_get_tag(bus_dma_tag_t t, alpha_bus_t bustype) in apecs_dma_get_tag() argument
194 switch (bustype) { in apecs_dma_get_tag()
H A Ddwlpx_dma.c246 dwlpx_dma_get_tag(bus_dma_tag_t t, alpha_bus_t bustype) in dwlpx_dma_get_tag() argument
250 switch (bustype) { in dwlpx_dma_get_tag()
H A Dttwoga_dma.c240 ttwoga_dma_get_tag(bus_dma_tag_t t, alpha_bus_t bustype) in ttwoga_dma_get_tag() argument
244 switch (bustype) { in ttwoga_dma_get_tag()
H A Dmcpcia_dma.c248 mcpcia_dma_get_tag(bus_dma_tag_t t, alpha_bus_t bustype) in mcpcia_dma_get_tag() argument
252 switch (bustype) { in mcpcia_dma_get_tag()
/netbsd/sys/arch/alpha/jensenio/
H A Djensenio_dma.c147 jensenio_dma_get_tag(bus_dma_tag_t t, alpha_bus_t bustype) in jensenio_dma_get_tag() argument
151 switch (bustype) { in jensenio_dma_get_tag()
/netbsd/sys/dev/ic/
H A Dcy.c92 int bustype = sc->sc_bustype; in cy_find() local
95 bus_space_write_1(tag, bsh, CY16_RESET << bustype, 0); in cy_find()
97 bus_space_write_1(tag, bsh, CY_CLEAR_INTR << bustype, 0); in cy_find()
105 cy_chip++, chip += (CY_CD1400_MEMSPACING << bustype)) { in cy_find()
113 chip -= (CY32_ADDR_FIX << bustype); in cy_find()
122 ((CD1400_CCR << 1) << bustype)) != 0) { in cy_find()
130 ((CD1400_GFRCR << 1) << bustype), 0); in cy_find()
140 ((CD1400_GFRCR << 1) << bustype)) == 0) in cy_find()
145 ((CD1400_CCR << 1) << bustype), in cy_find()
152 ((CD1400_GFRCR << 1) << bustype)); in cy_find()
H A Delink3var.h90 u_char bustype; /* parent bus type */ member
H A Delink3.c743 if (sc->bustype != ELINK_BUS_PCI && sc->bustype != ELINK_BUS_EISA in epinit()
744 && sc->bustype != ELINK_BUS_MCA) { in epinit()
751 if (sc->bustype == ELINK_BUS_PCMCIA) { in epinit()
1184 if (ELINK_IS_BUS_32(sc->bustype)) { in epstart()
1616 if (ELINK_IS_BUS_32(sc->bustype)) { in epget()
1826 if (sc->bustype == ELINK_BUS_PCMCIA) { in epbusyeeprom()
/netbsd/sys/dev/cardbus/
H A Drbus_ppb.c524 const char *bustype; in rbus_do_phys_allocate() local
552 bustype = "io"; in rbus_do_phys_allocate()
555 bustype = "mem"; in rbus_do_phys_allocate()
571 bustype, in rbus_do_phys_allocate()
/netbsd/sys/dev/isapnp/
H A Dif_ep_isapnp.c103 sc->bustype = ELINK_BUS_ISA; in ep_isapnp_attach()
/netbsd/sys/arch/sun3/dev/
H A Dxyvar.h144 int bustype; /* from attach args */ member
H A Dxdvar.h141 int bustype; /* from attach args */ member
/netbsd/sys/arch/hp300/dev/
H A Dsgc.c109 bst->bustype = HP300_BUS_SPACE_SGC; in sgcattach()

12