/netbsd/sys/arch/sun3/sun3/ |
H A D | bus_subr.c | 88 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 D | vme.c | 59 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 D | autoconf.c | 300 bus_peek(int bustype, int pa, int sz) in bus_peek() argument 305 va = bus_tmapin(bustype, pa); in bus_peek()
|
H A D | dvma.c | 145 dvma_kvtopa(void *kva, int bustype) in dvma_kvtopa() argument 153 switch (bustype) { in dvma_kvtopa()
|
/netbsd/sys/arch/sun3/sun3x/ |
H A D | bus_subr.c | 84 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 D | vme.c | 59 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 D | dvma.c | 135 dvma_kvtopa(void *kva, int bustype) in dvma_kvtopa() argument 143 switch (bustype) { in dvma_kvtopa()
|
/netbsd/sys/arch/hp300/hp300/ |
H A D | bus_space.c | 58 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 D | autoconf.c | 765 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 D | tr2a_intr.c | 64 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 D | irongate_dma.c | 146 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 D | lca_dma.c | 195 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 D | apecs_dma.c | 190 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 D | dwlpx_dma.c | 246 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 D | ttwoga_dma.c | 240 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 D | mcpcia_dma.c | 248 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 D | jensenio_dma.c | 147 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 D | cy.c | 92 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 D | elink3var.h | 90 u_char bustype; /* parent bus type */ member
|
H A D | elink3.c | 743 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 D | rbus_ppb.c | 524 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 D | if_ep_isapnp.c | 103 sc->bustype = ELINK_BUS_ISA; in ep_isapnp_attach()
|
/netbsd/sys/arch/sun3/dev/ |
H A D | xyvar.h | 144 int bustype; /* from attach args */ member
|
H A D | xdvar.h | 141 int bustype; /* from attach args */ member
|
/netbsd/sys/arch/hp300/dev/ |
H A D | sgc.c | 109 bst->bustype = HP300_BUS_SPACE_SGC; in sgcattach()
|