| /src/sys/arch/mipsco/mipsco/ |
| H A D | bus_space.c | 44 mipsco_bus_space_init(bus_space_tag_t bst, const char *name, paddr_t paddr, vaddr_t vaddr, bus_addr_t start, bus_size_t size) argument 46 bst->bs_name = name; 47 bst->bs_spare = NULL; 48 bst->bs_start = start; 49 bst->bs_size = size; 50 bst->bs_pbase = paddr; 51 bst->bs_vbase = vaddr; 52 bst->bs_compose_handle = mipsco_bus_space_compose_handle; 53 bst->bs_dispose_handle = mipsco_bus_space_dispose_handle; 54 bst 67 mipsco_bus_space_set_aligned_stride(bus_space_tag_t bst,unsigned int shift) argument 84 mipsco_bus_space_compose_handle(bus_space_tag_t bst,bus_addr_t addr,bus_size_t size,int flags,bus_space_handle_t * bshp) argument 120 mipsco_bus_space_dispose_handle(bus_space_tag_t bst,bus_space_handle_t bsh,bus_size_t size) argument 126 mipsco_bus_space_paddr(bus_space_tag_t bst,bus_space_handle_t bsh,paddr_t * pap) argument 145 mipsco_bus_space_map(bus_space_tag_t bst,bus_addr_t addr,bus_size_t size,int flags,bus_space_handle_t * bshp) argument 155 mipsco_bus_space_unmap(bus_space_tag_t bst,bus_space_handle_t bsh,bus_size_t size) argument 161 mipsco_bus_space_subregion(bus_space_tag_t bst,bus_space_handle_t bsh,bus_size_t offset,bus_size_t size,bus_space_handle_t * nbshp) argument 168 mipsco_bus_space_mmap(bus_space_tag_t bst,bus_addr_t addr,off_t off,int prot,int flags) argument 184 mipsco_bus_space_alloc(bus_space_tag_t bst,bus_addr_t start,bus_addr_t end,bus_size_t size,bus_size_t align,bus_size_t boundary,int flags,bus_addr_t * addrp,bus_space_handle_t * bshp) argument [all...] |
| /src/sys/arch/hp300/dev/ |
| H A D | intiovar.h | 69 #define WAIT(bst,bsh) \ 70 while (bus_space_read_1(bst,bsh,INTIO_DEV_3xx_STAT) \ 72 #define DATAWAIT(bst,bsh) \ 73 while (!(bus_space_read_1(bst, bsh, INTIO_DEV_3xx_STAT) \ 77 intio_device_readcmd(bus_space_tag_t bst, bus_space_handle_t bsh, int cmd, argument 83 WAIT(bst, bsh); 84 bus_space_write_1(bst, bsh, INTIO_DEV_3xx_CMD, cmd); 87 DATAWAIT(bst, bsh); 88 status = bus_space_read_1(bst, bsh, INTIO_DEV_3xx_STAT); 89 *datap = bus_space_read_1(bst, bs 96 intio_device_writecmd(bus_space_tag_t bst,bus_space_handle_t bsh,int cmd,uint8_t * datap,int len) argument 110 intio_device_readstate(bus_space_tag_t bst,bus_space_handle_t bsh,uint8_t * statusp,uint8_t * datap) argument [all...] |
| H A D | sti_sgc.c | 73 bus_space_tag_t bst; local in function:sti_sgc_attach 80 bst = saa->saa_iot; 87 if (bus_space_map(bst, base, PAGE_SIZE, 0, &romh)) { 94 romend = sti_rom_size(bst, romh); 96 bus_space_unmap(bst, romh, PAGE_SIZE); 98 if (bus_space_map(bst, base, romend, 0, &romh)) { 107 if (sti_attach_common(ssc, bst, bst, romh, 142 sti_sgc_cnprobe(bus_space_tag_t bst, int slot) argument 150 if (bus_space_map(bst, bas 167 sti_sgc_cnattach(bus_space_tag_t bst,int slot) argument [all...] |
| H A D | sti_dio.c | 80 bus_space_tag_t bst; local in function:sti_dio_attach 86 bst = da->da_bst; 98 if (bus_space_map(bst, base, PAGE_SIZE, 0, &romh)) { 106 romend = sti_rom_size(bst, romh); 108 bus_space_unmap(bst, romh, PAGE_SIZE); 110 if (bus_space_map(bst, base, romend, 0, &romh)) { 119 if (sti_attach_common(ssc, bst, bst, romh, 128 sti_dio_probe(bus_space_tag_t bst, int scode) argument 146 if (bus_space_map(bst, add 167 sti_dio_cnprobe(bus_space_tag_t bst,bus_addr_t addr,int scode) argument 180 sti_dio_cnattach(bus_space_tag_t bst,int scode) argument [all...] |
| H A D | sti_machdep.c | 207 bus_space_tag_t bst = rom->memt; local in function:sti_evrx_putcmap 212 bus_space_write_4(bst, bsh, EVRX_MAGIC08, 0x00000001); 213 bus_space_write_4(bst, bsh, EVRX_MAGIC00, 0x00000001); 216 while ((bus_space_read_4(bst, bsh, EVRX_MAGIC10) & 219 bus_space_write_1(bst, bsh, EVRX_BT4xx_ADDR, i); 220 bus_space_write_1(bst, bsh, EVRX_BT4xx_CMAP, scr->scr_rcmap[i]); 221 bus_space_write_1(bst, bsh, EVRX_BT4xx_CMAP, scr->scr_gcmap[i]); 222 bus_space_write_4(bst, bsh, EVRX_MAGIC10, scr->scr_bcmap[i]); 231 bus_space_tag_t bst = rom->memt; local in function:sti_evrx_resetramdac 244 bus_space_write_1(bst, bs 287 bus_space_tag_t bst = rom->memt; local in function:sti_evrx_resetcmap 344 sti_machdep_cnattach(bus_space_tag_t bst,paddr_t base) argument [all...] |
| /src/sys/arch/arc/arc/ |
| H A D | bus_space.c | 55 __CONCAT(bus_space_read_,BYTES)(bus_space_tag_t bst, \ 59 (bsh + (offset << __CONCAT(bst->bs_stride_,BYTES)))); \ 78 __CONCAT(bus_space_read_multi_,BYTES)(bus_space_tag_t bst, \ 84 (bsh + (offset << __CONCAT(bst->bs_stride_,BYTES))); \ 107 __CONCAT(bus_space_read_region_,BYTES)(bus_space_tag_t bst, \ 111 int stride = 1 << __CONCAT(bst->bs_stride_,BYTES); \ 114 (bsh + (offset << __CONCAT(bst->bs_stride_,BYTES))); \ 138 __CONCAT(bus_space_write_,BYTES)(bus_space_tag_t bst, \ 143 (bsh + (offset << __CONCAT(bst->bs_stride_,BYTES))) = data; \ 162 __CONCAT(bus_space_write_multi_,BYTES)(bus_space_tag_t bst, \ 313 arc_bus_space_init(bus_space_tag_t bst,const char * name,paddr_t paddr,vaddr_t vaddr,bus_addr_t start,bus_size_t size) argument 340 arc_bus_space_init_arena(bus_space_tag_t bst,struct vmem * arena_store,struct vmem_btag * btag_store,unsigned int btag_count) argument 365 arc_bus_space_set_aligned_stride(bus_space_tag_t bst,unsigned int alignment_shift) argument 382 arc_bus_space_compose_handle(bus_space_tag_t bst,bus_addr_t addr,bus_size_t size,int flags,bus_space_handle_t * bshp) argument 418 arc_bus_space_dispose_handle(bus_space_tag_t bst,bus_space_handle_t bsh,bus_size_t size) argument 426 arc_bus_space_paddr(bus_space_tag_t bst,bus_space_handle_t bsh,paddr_t * pap) argument 447 arc_bus_space_map(bus_space_tag_t bst,bus_addr_t addr,bus_size_t size,int flags,bus_space_handle_t * bshp) argument 465 arc_bus_space_unmap(bus_space_tag_t bst,bus_space_handle_t bsh,bus_size_t size) argument 486 arc_bus_space_subregion(bus_space_tag_t bst,bus_space_handle_t bsh,bus_size_t offset,bus_size_t size,bus_space_handle_t * nbshp) argument 495 arc_bus_space_mmap(bus_space_tag_t bst,bus_addr_t addr,off_t off,int prot,int flags) argument 512 arc_bus_space_alloc(bus_space_tag_t bst,bus_addr_t start,bus_addr_t end,bus_size_t size,bus_size_t align,bus_size_t boundary,int flags,bus_addr_t * addrp,bus_space_handle_t * bshp) argument [all...] |
| H A D | bus_space_large.c | 69 arc_large_bus_space_init(bus_space_tag_t bst, const char *name, paddr_t paddr, argument 73 arc_sparse_bus_space_init(bst, name, paddr, start, size); 74 bst->bs_compose_handle = arc_large_bus_space_compose_handle; 75 bst->bs_dispose_handle = arc_large_bus_space_dispose_handle; 76 bst->bs_paddr = arc_large_bus_space_paddr; 80 arc_large_bus_space_compose_handle(bus_space_tag_t bst, bus_addr_t addr, argument 86 pa = bst->bs_pbase + (addr - bst->bs_start); 111 return arc_sparse_bus_space_compose_handle(bst, addr, size, flags, 116 arc_large_bus_space_dispose_handle(bus_space_tag_t bst, bus_space_handle_ argument 131 arc_large_bus_space_paddr(bus_space_tag_t bst,bus_space_handle_t bsh,paddr_t * pap) argument [all...] |
| H A D | bus_space_sparse.c | 56 arc_sparse_bus_space_init(bus_space_tag_t bst, const char *name, paddr_t paddr, argument 60 arc_bus_space_init(bst, name, paddr, ARC_BUS_SPACE_UNMAPPED, 62 bst->bs_compose_handle = arc_sparse_bus_space_compose_handle; 63 bst->bs_dispose_handle = arc_sparse_bus_space_dispose_handle; 64 bst->bs_paddr = arc_sparse_bus_space_paddr; 68 arc_sparse_bus_space_compose_handle(bus_space_tag_t bst, bus_addr_t addr, argument 71 bus_size_t offset = addr - bst->bs_start; 80 * XXX - `bst->bs_pbase' must be page aligned, 83 paddr_t start = bst->bs_pbase + mips_trunc_page(offset); 84 paddr_t end = bst 112 arc_sparse_bus_space_dispose_handle(bus_space_tag_t bst,bus_space_handle_t bsh,bus_size_t size) argument 128 arc_sparse_bus_space_paddr(bus_space_tag_t bst,bus_space_handle_t bsh,paddr_t * pap) argument [all...] |
| /src/sys/arch/arm/ti/ |
| H A D | am3_platform.c | 65 wdelay(bus_space_tag_t bst, bus_space_handle_t bsh) argument 67 while (bus_space_read_4(bst, bsh, 0x34) != 0) 74 static bus_space_tag_t bst = &armv7_generic_bs_tag; local in function:am33xx_platform_bootstrap 77 bus_space_map(bst, 0x44e00000, 0x1000, 0, &bsh); 78 bus_space_write_4(bst, bsh, 0x508, 0x1); /* CLKSEL_TIMER2_CLK: CLK_M_OSC */ 79 bus_space_write_4(bst, bsh, 0x50c, 0x1); /* CLKSEL_TIMER3_CLK: CLK_M_OSC */ 80 bus_space_write_4(bst, bsh, 0x80, 0x2); /* CM_PER_TIMER2_CLKCTRL: MODULEMODE: ENABLE */ 81 bus_space_write_4(bst, bsh, 0x84, 0x2); /* CM_PER_TIMER3_CLKCTRL: MODULEMODE: ENABLE */ 82 bus_space_unmap(bst, bsh, 0x1000); 84 bus_space_map(bst, 114 static bus_space_tag_t bst = &armv7_generic_bs_tag; local in function:am33xx_platform_delay [all...] |
| /src/sys/arch/evbppc/obs405/ |
| H A D | rbus_machdep.c | 82 bus_space_tag_t bst = pa->pa_memt; local in function:rbus_pccbb_parent_mem 84 return rbus_new_root_delegate(bst, bst->pbs_base, 85 bst->pbs_limit - bst->pbs_base, 0); 91 bus_space_tag_t bst = pa->pa_iot; local in function:rbus_pccbb_parent_io 93 return rbus_new_root_delegate(bst, bst->pbs_base, 94 bst->pbs_limit - bst [all...] |
| /src/sys/arch/arc/isa/ |
| H A D | isapnp_machdep.c | 69 bus_space_tag_t bst; local in function:isapnp_map 71 bst = sc->sc_iot; 72 sc->sc_addr_ioh = bst->bs_vbase + ISAPNP_ADDR - bst->bs_start; 73 sc->sc_wrdata_ioh = bst->bs_vbase + ISAPNP_WRDATA - bst->bs_start;
|
| /src/sys/rump/dev/lib/libpci/ |
| H A D | rumpdev_bus_space.c | 45 bus_space_map(bus_space_tag_t bst, bus_addr_t address, bus_size_t size, argument 57 if (bst == 0) { 73 bus_space_read_1(bus_space_tag_t bst, bus_space_handle_t bsh, argument 78 if (bst == 0) { 93 bus_space_read_2(bus_space_tag_t bst, bus_space_handle_t bsh, argument 98 if (bst == 0) { 113 bus_space_read_4(bus_space_tag_t bst, bus_space_handle_t bsh, argument 118 if (bst == 0) { 133 bus_space_read_multi_1(bus_space_tag_t bst, bus_space_handle_t bsh, argument 138 *datap++ = bus_space_read_1(bst, bs 144 bus_space_read_multi_2(bus_space_tag_t bst,bus_space_handle_t bsh,bus_size_t offset,uint16_t * datap,bus_size_t count) argument 155 bus_space_read_multi_4(bus_space_tag_t bst,bus_space_handle_t bsh,bus_size_t offset,uint32_t * datap,bus_size_t count) argument 166 bus_space_write_1(bus_space_tag_t bst,bus_space_handle_t bsh,bus_size_t offset,uint8_t v) argument 183 bus_space_write_2(bus_space_tag_t bst,bus_space_handle_t bsh,bus_size_t offset,uint16_t v) argument 200 bus_space_write_4(bus_space_tag_t bst,bus_space_handle_t bsh,bus_size_t offset,uint32_t v) argument 217 bus_space_write_multi_1(bus_space_tag_t bst,bus_space_handle_t bsh,bus_size_t offset,const uint8_t * datap,bus_size_t count) argument 230 bus_space_write_multi_2(bus_space_tag_t bst,bus_space_handle_t bsh,bus_size_t offset,const uint16_t * datap,bus_size_t count) argument 243 bus_space_write_multi_4(bus_space_tag_t bst,bus_space_handle_t bsh,bus_size_t offset,const uint32_t * datap,bus_size_t count) argument 256 bus_space_mmap(bus_space_tag_t bst,bus_addr_t addr,off_t off,int prot,int flags) argument 264 bus_space_subregion(bus_space_tag_t bst,bus_space_handle_t bsh,bus_size_t offset,bus_size_t size,bus_space_handle_t * nhandlep) argument 273 bus_space_unmap(bus_space_tag_t bst,bus_space_handle_t bsh,bus_size_t size) argument 284 bus_space_barrier(bus_space_tag_t bst,bus_space_handle_t bsh,bus_size_t offset,bus_size_t len,int flags) argument [all...] |
| /src/sys/arch/arm/sunxi/ |
| H A D | sunxi_mc_smp.c | 114 sunxi_mc_smp_start(bus_space_tag_t bst, bus_space_handle_t prcm, bus_space_handle_t cpucfg, argument 122 val = bus_space_read_4(bst, cpuxcfg, CPUXCFG_CL_RST(cluster)); 124 bus_space_write_4(bst, cpuxcfg, CPUXCFG_CL_RST(cluster), val); 128 val = bus_space_read_4(bst, cpucfg, CPUCFG_CL_RST(cluster)); 130 bus_space_write_4(bst, cpucfg, CPUCFG_CL_RST(cluster), val); 135 val = bus_space_read_4(bst, cpuxcfg, CPUXCFG_CL_CTRL0(cluster)); 137 bus_space_write_4(bst, cpuxcfg, CPUXCFG_CL_CTRL0(cluster), val); 142 bus_space_write_4(bst, prcm, PRCM_CL_PWR_CLAMP(cluster, cpu), 0xff >> i); 146 if (bus_space_read_4(bst, prcm, PRCM_CL_PWR_CLAMP(cluster, cpu)) == 0) 155 val = bus_space_read_4(bst, prc 204 bus_space_tag_t bst = &arm_generic_bs_tag; local in function:sun8i_a83t_smp_enable 238 bus_space_tag_t bst = &arm_generic_bs_tag; local in function:sun9i_a80_smp_enable [all...] |
| /src/sys/arch/mac68k/dev/ |
| H A D | if_ae.c | 39 ae_size_card_memory(bus_space_tag_t bst, bus_space_handle_t bsh, int ofs) argument 54 bus_space_write_2(bst, bsh, ofs + i8, 0x8888); 55 bus_space_write_2(bst, bsh, ofs + i4, 0x4444); 56 bus_space_write_2(bst, bsh, ofs + i3, 0x3333); 57 bus_space_write_2(bst, bsh, ofs + i2, 0x2222); 58 bus_space_write_2(bst, bsh, ofs + i1, 0x1111); 69 if (bus_space_read_2(bst, bsh, ofs + i1) == 0x1111 && 70 bus_space_read_2(bst, bsh, ofs + i2) == 0x2222 && 71 bus_space_read_2(bst, bsh, ofs + i3) == 0x3333 && 72 bus_space_read_2(bst, bs [all...] |
| /src/sys/arch/arm/rockchip/ |
| H A D | rk3066_smp.c | 67 rk3066_map(int phandle, bus_space_tag_t bst, bus_space_handle_t *pbsh, argument 78 return bus_space_map(bst, addr, *psize, 0, pbsh); 84 bus_space_tag_t bst = &arm_generic_bs_tag; local in function:rk3066_smp_enable 105 error = rk3066_map(sram_phandle, bst, &bsh_sram, &sz_sram); 110 error = rk3066_map(pmu_phandle, bst, &bsh_pmu, &sz_pmu); 112 bus_space_unmap(bst, bsh_pmu, sz_pmu); 117 val = bus_space_read_4(bst, bsh_pmu, PMU_PWRDN_CON); 119 bus_space_write_4(bst, bsh_pmu, PMU_PWRDN_CON, val); 123 val = bus_space_read_4(bst, bsh_pmu, PMU_PWRDN_ST); 129 bus_space_write_4(bst, bsh_sra [all...] |
| /src/sys/arch/arm/nvidia/ |
| H A D | tegra_pmc.c | 121 bus_space_tag_t bst; local in function:tegra_pmc_reset 125 tegra_pmc_get_bs(&bst, &bsh); 127 cntrl = bus_space_read_4(bst, bsh, PMC_CNTRL_0_REG); 129 bus_space_write_4(bst, bsh, PMC_CNTRL_0_REG, cntrl); 139 bus_space_tag_t bst; local in function:tegra_pmc_power 145 tegra_pmc_get_bs(&bst, &bsh); 147 status = bus_space_read_4(bst, bsh, PMC_PWRGATE_STATUS_0_REG); 153 toggle = bus_space_read_4(bst, bsh, PMC_PWRGATE_TOGGLE_0_REG); 163 bus_space_write_4(bst, bsh, PMC_PWRGATE_TOGGLE_0_REG, 171 bus_space_tag_t bst; local in function:tegra_pmc_remove_clamping 192 bus_space_tag_t bst; local in function:tegra_pmc_hdmi_enable [all...] |
| H A D | tegra_usbphy.c | 201 bus_space_tag_t bst = sc->sc_bst; local in function:tegra_usbphy_utmip_init 206 tegra_reg_set_clear(bst, bsh, TEGRA_EHCI_SUSP_CTRL_REG, 210 tegra_reg_set_clear(bst, bsh, TEGRA_EHCI_SUSP_CTRL_REG, 214 tegra_reg_set_clear(bst, bsh, TEGRA_EHCI_UTMIP_MISC_CFG1_REG, 219 tegra_reg_set_clear(bst, bsh, TEGRA_EHCI_PHY_VBUS_SENSORS_REG, 225 tegra_reg_set_clear(bst, bsh, TEGRA_EHCI_UTMIP_XCVR_CFG0_REG, 233 tegra_reg_set_clear(bst, bsh, TEGRA_EHCI_UTMIP_XCVR_CFG1_REG, 239 tegra_reg_set_clear(bst, bsh, TEGRA_EHCI_UTMIP_BIAS_CFG0_REG, 246 tegra_reg_set_clear(bst, bsh, TEGRA_EHCI_UTMIP_BIAS_CFG1_REG, 251 tegra_reg_set_clear(bst, bs [all...] |
| /src/sys/arch/evbppc/virtex/ |
| H A D | dcr.c | 47 dcr_map(bus_space_tag_t bst, bus_addr_t addr, bus_size_t size, int flags, argument 56 dcr_unmap(bus_space_tag_t bst, bus_space_handle_t bsh, bus_size_t size) argument 62 dcr_subregion(bus_space_tag_t bst, bus_space_handle_t bsh, bus_size_t offset, argument 71 dcr_barrier(bus_space_tag_t bst, bus_space_handle_t bsh, bus_size_t offset, argument
|
| /src/sys/external/bsd/drm2/include/drm/ |
| H A D | drm_iomap_netbsd.h | 80 return bus_space_read_1(map->lm_data.bus_space.bst, 90 return bus_space_read_2(map->lm_data.bus_space.bst, 100 return bus_space_read_4(map->lm_data.bus_space.bst, 111 return bus_space_read_8(map->lm_data.bus_space.bst, 115 return bus_space_read_4(map->lm_data.bus_space.bst, 117 ((uint64_t)bus_space_read_4(map->lm_data.bus_space.bst, 121 return bus_space_read_4(map->lm_data.bus_space.bst, 123 ((uint64_t)bus_space_read_4(map->lm_data.bus_space.bst, 135 bus_space_write_1(map->lm_data.bus_space.bst, 145 bus_space_write_2(map->lm_data.bus_space.bst, [all...] |
| H A D | io-mapping.h | 40 return bus_space_io_mapping_create_wc(dev->bst, addr, size); 47 return bus_space_io_mapping_init_wc(dev->bst, mapping, addr, size);
|
| /src/sys/arch/mac68k/nubus/ |
| H A D | if_ae_nubus.c | 129 bus_space_tag_t bst; local in function:ae_nubus_attach 135 bst = na->na_tag; 136 if (bus_space_map(bst, NUBUS_SLOT2PA(na->slot), NBMEMSIZE, 142 sc->sc_regt = sc->sc_buft = bst; 145 cardtype = nubus_get_card_name(bst, bsh, na->fmt); 154 switch (ae_nb_card_vendor(bst, bsh, na)) { 162 if (bus_space_subregion(bst, bsh, 167 if ((sc->mem_size = ae_size_card_memory(bst, bsh, 172 if (bus_space_subregion(bst, bsh, 181 bus_space_read_1(bst, bs 393 ae_nb_card_vendor(bus_space_tag_t bst,bus_space_handle_t bsh,struct nubus_attach_args * na) argument 453 ae_nb_get_enaddr(bus_space_tag_t bst,bus_space_handle_t bsh,struct nubus_attach_args * na,u_int8_t * ep) argument [all...] |
| H A D | nubus.c | 100 bus_space_tag_t bst; local in function:nubus_attach 117 na_args.na_tag = bst = mba->mba_bst; 120 if (bus_space_map(bst, 132 if (nubus_probe_slot(bst, bsh, i, &fmtblock) <= 0) { 134 bus_space_unmap(bst, bsh, NBMEMSIZE); 156 if (nubus_find_rsrc(bst, bsh, 172 rsrcid = nubus_read_1(bst, bsh, 179 rsrcid = nubus_read_1(bst, bsh, lanes, entry); 196 if (nubus_find_rsrc(bst, bsh, 203 if (nubus_find_rsrc(bst, bs 262 bus_space_tag_t bst = na->na_tag; local in function:nubus_print 331 nubus_probe_slot(bus_space_tag_t bst,bus_space_handle_t bsh,int slot,nubus_slot * fmt) argument 464 nubus_calc_CRC(bus_space_tag_t bst,bus_space_handle_t bsh,nubus_slot * fmt) argument 538 nubus_read_1(bus_space_tag_t bst,bus_space_handle_t bsh,u_int8_t lanes,u_long ofs) argument 547 nubus_read_2(bus_space_tag_t bst,bus_space_handle_t bsh,u_int8_t lanes,u_long ofs) argument 560 nubus_read_4(bus_space_tag_t bst,bus_space_handle_t bsh,u_int8_t lanes,u_long ofs) argument 607 nubus_find_rsrc(bus_space_tag_t bst,bus_space_handle_t bsh,nubus_slot * fmt,nubus_dir * dir,u_int8_t rsrcid,nubus_dirent * dirent_return) argument 645 nubus_get_ind_data(bus_space_tag_t bst,bus_space_handle_t bsh,nubus_slot * fmt,nubus_dirent * dirent,char * data_return,int nbytes) argument 669 nubus_get_c_string(bus_space_tag_t bst,bus_space_handle_t bsh,nubus_slot * fmt,nubus_dirent * dirent,char * data_return,int max_bytes) argument 701 nubus_get_smem_addr_rangelist(bus_space_tag_t bst,bus_space_handle_t bsh,nubus_slot * fmt,nubus_dirent * dirent,void * data_return) argument 752 nubus_get_vendor(bus_space_tag_t bst,bus_space_handle_t bsh,nubus_slot * fmt,int rsrc) argument 782 nubus_get_card_name(bus_space_tag_t bst,bus_space_handle_t bsh,nubus_slot * fmt) argument 810 nubus_scan_slot(bus_space_tag_t bst,int slotno) argument [all...] |
| /src/sys/dev/ic/ |
| H A D | mb86960.c | 118 bus_space_tag_t bst = sc->sc_bst; local in function:mb86960_attach 153 bus_space_write_1(bst, bsh, FE_DLCR6, 167 bus_space_write_1(bst, bsh, FE_DLCR2, 0); 168 bus_space_write_1(bst, bsh, FE_DLCR3, 0); 374 bus_space_tag_t bst = sc->sc_bst; local in function:mb86960_stop 383 bus_space_write_1(bst, bsh, FE_DLCR2, 0x00); 384 bus_space_write_1(bst, bsh, FE_DLCR3, 0x00); 388 bus_space_write_1(bst, bsh, FE_DLCR6, 393 bus_space_write_1(bst, bsh, FE_DLCR0, 0xFF); 394 bus_space_write_1(bst, bs 441 bus_space_tag_t bst = sc->sc_bst; local in function:mb86960_droppacket 453 bus_space_tag_t bst = sc->sc_bst; local in function:mb86960_init 613 bus_space_tag_t bst = sc->sc_bst; local in function:mb86960_xmit 794 bus_space_tag_t bst = sc->sc_bst; local in function:mb86960_tint 935 bus_space_tag_t bst = sc->sc_bst; local in function:mb86960_rint 1076 bus_space_tag_t bst = sc->sc_bst; local in function:mb86960_intr 1270 bus_space_tag_t bst = sc->sc_bst; local in function:mb86960_get_packet 1347 bus_space_tag_t bst = sc->sc_bst; local in function:mb86960_write_mbufs 1594 bus_space_tag_t bst = sc->sc_bst; local in function:mb86960_setmode 1700 bus_space_tag_t bst = sc->sc_bst; local in function:mb86960_loadmar 1895 bus_space_tag_t bst = sc->sc_bst; local in function:mb86960_dump [all...] |
| /src/sys/arch/arm/broadcom/ |
| H A D | bcm53xx_idm.c | 60 bcmeth_unreset(bus_space_tag_t bst, bus_space_handle_t bsh, argument 76 bus_space_write_4(bst, bsh, off + IDM_RESET_CONTROL, 0); 77 uint32_t v = bus_space_read_4(bst, bsh, 103 bus_space_write_4(bst, bsh, off + IDM_IO_CONTROL_DIRECT, 112 bcmccb_idm_unreset(bus_space_tag_t bst, bus_space_handle_t bsh, argument 122 uint32_t v = bus_space_read_4(bst, bsh, o); 125 bus_space_write_4(bst, bsh, o, v); 131 bcmpax2_idm_unreset(bus_space_tag_t bst, bus_space_handle_t bsh, argument 134 uint32_t v = bus_space_read_4(bst, bsh, CRU_BASE + CRU_STRAPS_CONTROL); 139 return bcmccb_idm_unreset(bst, bs 143 bcmxhci_idm_unreset(bus_space_tag_t bst,bus_space_handle_t bsh,const struct idm_info * idm) argument 184 bcm53xx_idm_device_init(const struct bcm_locators * loc,bus_space_tag_t bst,bus_space_handle_t bsh) argument [all...] |
| /src/sys/arch/arm/altera/ |
| H A D | cycv_platform.c | 69 bus_space_tag_t bst = &armv7_generic_bs_tag; local in function:cycv_platform_bootstrap 72 bus_space_map(bst, CYCV_L2CACHE_BASE, CYCV_L2CACHE_SIZE, 0, &bsh_l2c); 75 arml2cc_get_cacheinfo(bst, bsh_l2c, 0); 87 bus_space_tag_t bst = &armv7_generic_bs_tag; local in function:cycv_mpstart 91 bus_space_map(bst, CYCV_RSTMGR_BASE, CYCV_RSTMGR_SIZE, 0, &bsh_rst); 92 bus_space_map(bst, CYCV_SCU_BASE, CYCV_SCU_SIZE, 0, &bsh_scu); 95 bus_space_write_4(bst, bsh_scu, SCU_INV_ALL_REG, 0xff); 96 bus_space_write_4(bst, bsh_scu, SCU_CTL, 97 bus_space_read_4(bst, bsh_scu, SCU_CTL) | SCU_CTL_SCU_ENA); 116 bus_space_write_4(bst, bsh_rs 154 bus_space_tag_t bst = &armv7_generic_bs_tag; local in function:cycv_platform_reset [all...] |