/netbsd-current/sys/arch/x68k/dev/ |
H A D | neptune.c | 157 neptune_bus_space_map(bus_space_tag_t t, bus_addr_t bpa, bus_size_t size, argument 166 *bshp = (bus_space_handle_t) ((u_int)start + ((u_int)bpa - 0x200) * 2);
|
H A D | intio.c | 272 intio_bus_space_map(bus_space_tag_t t, bus_addr_t bpa, bus_size_t size, argument 278 *bshp = (bus_space_handle_t)IIOV(bpa);
|
/netbsd-current/sys/arch/arm/footbridge/isa/ |
H A D | isa_io.c | 249 isa_bs_map(void *t, bus_addr_t bpa, bus_size_t size, int cacheable, bus_space_handle_t *bshp) argument 251 *bshp = bpa + (bus_addr_t)t;
|
/netbsd-current/sys/arch/aarch64/aarch64/ |
H A D | bus_space.c | 542 generic_bs_map(void *t, bus_addr_t bpa, bus_size_t size, int flag, argument 550 if ((pd = pmap_devmap_find_pa(bpa, size)) != NULL) { 551 *bshp = pd->pd_va + (bpa - pd->pd_pa); 555 startpa = trunc_page(bpa); 556 endpa = round_page(bpa + size); 565 *bshp = (bus_space_handle_t)(va + (bpa - startpa)); 666 generic_bs_mmap(void *t, bus_addr_t bpa, off_t offset, int prot, int flags) argument 677 return (atop(bpa + (offset << ((struct bus_space *)t)->bs_stride)) |
|
/netbsd-current/sys/arch/arm/acpi/ |
H A D | acpipchb.c | 217 acpipchb_bus_space_map(void *t, bus_addr_t bpa, bus_size_t size, int flag, argument 233 if (bpa >= range->min && bpa + size - 1 <= range->max) { 234 return abs->map(t, bpa + range->offset, size,
|
H A D | acpi_machdep.c | 462 acpi_md_mcfg_bs_map(void *t, bus_addr_t bpa, bus_size_t size, int flag, argument 465 return arm_generic_bs_tag.bs_map(t, bpa, size,
|
/netbsd-current/sys/arch/sparc64/sparc64/ |
H A D | rbus_machdep.c | 59 md_space_map(bus_space_tag_t t, bus_addr_t bpa, bus_size_t size, int flags, argument 63 (u_long)t->cookie, bpa, size); 65 return bus_space_map(t, bpa, size, flags, bshp);
|
/netbsd-current/sys/arch/netwinder/netwinder/ |
H A D | netwinder_machdep.c | 946 nw_footbridge_mem_bs_map(void *t, bus_addr_t bpa, bus_size_t size, int cacheable, bus_space_handle_t *bshp) argument 951 startpa = trunc_page(bpa); 952 endpa = round_page(bpa + size); 962 + (bpa - IGS_PCI_MEM_BASE); 965 (u_int32_t)bpa, (u_int32_t)size, 972 return (footbridge_mem_bs_map(t, bpa, size, cacheable, bshp));
|
/netbsd-current/sys/arch/shark/isa/ |
H A D | isa_io.c | 339 isa_bs_map(void *t, bus_addr_t bpa, bus_size_t size, int cacheable, bus_space_handle_t *bshp) argument 341 *bshp = bpa + (bus_addr_t)t;
|
/netbsd-current/sys/arch/arm/apple/ |
H A D | apple_platform.c | 77 apple_nonposted_bs_map(void *t, bus_addr_t bpa, bus_size_t size, int flag, argument 84 return bus_space_map(&arm_generic_bs_tag, bpa, size, flag, bshp);
|
/netbsd-current/sys/arch/arm/s3c2xx0/ |
H A D | s3c2800_pci.c | 345 sspci_bs_map(void *t, bus_addr_t bpa, bus_size_t size, int flag, argument 353 t, bpa, size, flag); 357 startpa = trunc_page(bpa); 358 endpa = round_page(bpa + size); 367 *bshp = va + (bpa & PGOFSET);
|
/netbsd-current/sys/arch/shark/ofw/ |
H A D | vlpci.c | 151 vlpci_map(void *t, bus_addr_t bpa, bus_size_t size, int cacheable, argument 155 *bshp = vlpci_mem_vaddr - VLPCI_PCI_MEM_BASE + bpa; 156 printf("%s: %08lx -> %08lx\n", __func__, bpa, *bshp);
|
/netbsd-current/sys/arch/arm/fdt/ |
H A D | pcihost_fdt.c | 664 pcihost_bus_space_map(void *t, bus_addr_t bpa, bus_size_t size, int flag, argument 677 if ((bpa >= rmin) && ((bpa - 1 + size) <= rmax)) { 678 return pbs->map(t, bpa - pbs->ranges[i].bpci + pbs->ranges[i].bbus, size, flag, bshp);
|
/netbsd-current/sys/arch/hppa/dev/ |
H A D | dino.c | 484 dino_iomap(void *v, bus_addr_t bpa, bus_size_t size, argument 491 (error = extent_alloc_region(sc->sc_ioex, bpa, size, EX_NOWAIT))) 495 *bshp = bpa; 501 dino_memmap(void *v, bus_addr_t bpa, bus_size_t size, argument 510 reg |= 1 << ((bpa >> 23) & 0x1f); 515 if ((error = bus_space_map(sc->sc_bt, bpa, size, flags, bshp))) 517 ++sc->sc_memrefcount[((bpa >> 23) & 0x1f)]; 539 bus_addr_t bpa; local 546 align, boundary, EX_NOWAIT, &bpa))) 550 *addrp = bpa; [all...] |
H A D | elroy.c | 336 elroy_iomap(void *v, bus_addr_t bpa, bus_size_t size, argument 343 if ((error = bus_space_map(sc->sc_bt, bpa + sc->sc_iobase, size, 351 elroy_memmap(void *v, bus_addr_t bpa, bus_size_t size, argument 358 if ((error = bus_space_map(sc->sc_bt, bpa, size, flags, bshp)))
|
/netbsd-current/external/gpl3/gdb.old/dist/gdb/ |
H A D | or1k-tdep.c | 610 int bpa = (gdbarch_tdep (gdbarch))->bytes_per_address; 665 store_unsigned_integer (valbuf, bpa, byte_order, valaddr); 666 len = bpa; 734 sp -= bpa; 766 store_unsigned_integer (valbuf, bpa, byte_order, 768 len = bpa; 608 int bpa = (gdbarch_tdep (gdbarch))->bytes_per_address; local
|
/netbsd-current/external/gpl3/gdb/dist/gdb/ |
H A D | or1k-tdep.c | 641 int bpa = tdep->bytes_per_address; 696 store_unsigned_integer (valbuf, bpa, byte_order, valaddr); 697 len = bpa; 765 sp -= bpa; 797 store_unsigned_integer (valbuf, bpa, byte_order, 799 len = bpa; 639 int bpa = tdep->bytes_per_address; local
|
/netbsd-current/sys/arch/newsmips/newsmips/ |
H A D | bus.c | 90 bus_space_map(bus_space_tag_t t, bus_addr_t bpa, bus_size_t size, int flags, argument 96 *bshp = MIPS_PHYS_TO_KSEG0(bpa); 98 *bshp = MIPS_PHYS_TO_KSEG1(bpa);
|
/netbsd-current/sys/arch/hppa/include/ |
H A D | iomod.h | 303 struct bpa { struct
|
/netbsd-current/sys/arch/arm/broadcom/ |
H A D | bcm2838_pcie.c | 851 bcmstb_bus_space_map(void *t, bus_addr_t bpa, bus_size_t size, int flag, argument 865 if ((bpa >= rmin) && ((bpa - 1 + size) <= rmax)) { 866 const bus_addr_t pa = bs->ranges[i].bbus + (bpa - rmin);
|
/netbsd-current/sys/arch/sh3/dev/ |
H A D | shpcicvar.h | 50 int shpcic_iomem_map(void *v, bus_addr_t bpa, bus_size_t size, int flags,
|
H A D | shpcic.c | 383 shpcic_iomem_map(void *v, bus_addr_t bpa, bus_size_t size, argument 387 *bshp = (bus_space_handle_t)bpa;
|