| /netbsd-src/external/mit/libuv/dist/src/unix/ |
| H A D | ibmi.c | 313 static int get_ibmi_physical_address(const char* line, char (*phys_addr)[6]) { in get_ibmi_physical_address() 375 (*phys_addr)[0] = c[0]; in get_ibmi_physical_address() 376 (*phys_addr)[1] = c[1]; in get_ibmi_physical_address() 377 (*phys_addr)[2] = c[2]; in get_ibmi_physical_address() 378 (*phys_addr)[3] = c[3]; in get_ibmi_physical_address() 379 (*phys_addr)[4] = c[4]; in get_ibmi_physical_address() 380 (*phys_addr)[5] = c[5]; in get_ibmi_physical_address() 382 memset(*phys_addr, 0, sizeof(*phys_addr)); in get_ibmi_physical_address() 468 rc = get_ibmi_physical_address(address->name, &address->phys_addr); in uv_interface_addresses() 480 rc = get_ibmi_physical_address(temp_name, &address->phys_addr); in uv_interface_addresses()
|
| H A D | sunos.c | 774 memcpy(address->phys_addr, LLADDR(sa_addr), sizeof(address->phys_addr)); in uv__set_phys_addr() 775 for (i = 0; i < sizeof(address->phys_addr); i++) { in uv__set_phys_addr() 777 if (address->phys_addr[i] != 0) in uv__set_phys_addr() 801 memcpy(address->phys_addr, arpreq.arp_ha.sa_data, sizeof(address->phys_addr)); in uv__set_phys_addr()
|
| H A D | bsd-ifaddrs.c | 141 memcpy(address->phys_addr, LLADDR(sa_addr), sizeof(address->phys_addr)); in uv_interface_addresses()
|
| /netbsd-src/sys/uvm/ |
| H A D | uvm_page.h | 168 paddr_t phys_addr; /* o: physical address of pg */ member 449 unsigned fl = __SHIFTOUT(pg->phys_addr, UVM_PHYSADDR_FREELIST); in uvm_page_get_freelist() 457 return __SHIFTOUT(pg->phys_addr, UVM_PHYSADDR_BUCKET); in uvm_page_get_bucket() 464 pg->phys_addr &= ~UVM_PHYSADDR_FREELIST; in uvm_page_set_freelist() 465 pg->phys_addr |= __SHIFTIN(fl, UVM_PHYSADDR_FREELIST); in uvm_page_set_freelist() 472 pg->phys_addr &= ~UVM_PHYSADDR_BUCKET; in uvm_page_set_bucket() 473 pg->phys_addr |= __SHIFTIN(b, UVM_PHYSADDR_BUCKET); in uvm_page_set_bucket()
|
| /netbsd-src/external/mit/libuv/dist/test/ |
| H A D | test-platform-output.c | 127 (unsigned char)interfaces[i].phys_addr[0], in TEST_IMPL() 128 (unsigned char)interfaces[i].phys_addr[1], in TEST_IMPL() 129 (unsigned char)interfaces[i].phys_addr[2], in TEST_IMPL() 130 (unsigned char)interfaces[i].phys_addr[3], in TEST_IMPL() 131 (unsigned char)interfaces[i].phys_addr[4], in TEST_IMPL() 132 (unsigned char)interfaces[i].phys_addr[5]); in TEST_IMPL()
|
| /netbsd-src/sys/arch/hpcmips/stand/pbsdboot/ |
| H A D | vmem.c | 140 alloc_kpage(void *phys_addr) in alloc_kpage() argument 148 if (phys_addrs[i].addr == phys_addr) { in alloc_kpage() 151 i, phys_addr); in alloc_kpage() 154 i, phys_addr); in alloc_kpage() 165 vmem_get(void *phys_addr, int *length) in vmem_get() argument 168 int pageno = (phys_addr - kernel_start) / pagesize; in vmem_get() 169 int offset = (phys_addr - kernel_start) % pagesize; in vmem_get()
|
| H A D | pbsdboot.h | 131 void *vmem_get(void *phys_addr, int *length);
|
| /netbsd-src/sys/arch/atari/atari/ |
| H A D | stalloc.c | 81 alloc_stmem(u_long size, void **phys_addr) in alloc_stmem() argument 125 *phys_addr = (void*)PHYS_ADDR(&mn[1]); in alloc_stmem() 146 *phys_addr = (void*)PHYS_ADDR(&mn[1]); in alloc_stmem()
|
| /netbsd-src/external/gpl3/binutils/dist/bfd/ |
| H A D | elf32-m68hc1x.c | 968 bfd_vma phys_addr; in elf32_m68hc11_relocate_section() local 1057 phys_addr = m68hc11_phys_addr (pinfo, relocation + rel->r_addend); in elf32_m68hc11_relocate_section() 1073 relocation = phys_addr; in elf32_m68hc11_relocate_section() 1102 relocation = phys_addr; in elf32_m68hc11_relocate_section() 1107 bfd_put_16 (input_bfd, phys_addr, in elf32_m68hc11_relocate_section() 1122 relocation = phys_addr; in elf32_m68hc11_relocate_section() 1170 "code."), (long) phys_addr)) in elf32_m68hc11_relocate_section() 1185 (long) phys_page, (long) phys_addr, in elf32_m68hc11_relocate_section() 1199 (long) phys_page, (long) phys_addr, in elf32_m68hc11_relocate_section() 1202 relocation = phys_addr; in elf32_m68hc11_relocate_section() [all …]
|
| H A D | elf32-m68hc12.c | 532 bfd_vma sym_value, phys_page, phys_addr; in m68hc12_elf_build_one_stub() local 566 phys_addr = m68hc11_phys_addr (&htab->pinfo, sym_value); in m68hc12_elf_build_one_stub() 571 bfd_put_16 (stub_bfd, phys_addr, loc + 1); in m68hc12_elf_build_one_stub()
|
| H A D | elf32-m68hc11.c | 412 bfd_vma sym_value, phys_page, phys_addr; in m68hc11_elf_build_one_stub() local 450 phys_addr = m68hc11_phys_addr (&htab->pinfo, sym_value); in m68hc11_elf_build_one_stub() 462 bfd_put_16 (stub_bfd, phys_addr, loc + 2); in m68hc11_elf_build_one_stub()
|
| /netbsd-src/external/gpl3/binutils.old/dist/bfd/ |
| H A D | elf32-m68hc1x.c | 968 bfd_vma phys_addr; in elf32_m68hc11_relocate_section() local 1057 phys_addr = m68hc11_phys_addr (pinfo, relocation + rel->r_addend); in elf32_m68hc11_relocate_section() 1073 relocation = phys_addr; in elf32_m68hc11_relocate_section() 1102 relocation = phys_addr; in elf32_m68hc11_relocate_section() 1107 bfd_put_16 (input_bfd, phys_addr, in elf32_m68hc11_relocate_section() 1122 relocation = phys_addr; in elf32_m68hc11_relocate_section() 1170 "code."), (long) phys_addr)) in elf32_m68hc11_relocate_section() 1185 (long) phys_page, (long) phys_addr, in elf32_m68hc11_relocate_section() 1199 (long) phys_page, (long) phys_addr, in elf32_m68hc11_relocate_section() 1202 relocation = phys_addr; in elf32_m68hc11_relocate_section() [all …]
|
| H A D | elf32-m68hc12.c | 532 bfd_vma sym_value, phys_page, phys_addr; in m68hc12_elf_build_one_stub() local 566 phys_addr = m68hc11_phys_addr (&htab->pinfo, sym_value); in m68hc12_elf_build_one_stub() 571 bfd_put_16 (stub_bfd, phys_addr, loc + 1); in m68hc12_elf_build_one_stub()
|
| H A D | elf32-m68hc11.c | 412 bfd_vma sym_value, phys_page, phys_addr; in m68hc11_elf_build_one_stub() local 450 phys_addr = m68hc11_phys_addr (&htab->pinfo, sym_value); in m68hc11_elf_build_one_stub() 462 bfd_put_16 (stub_bfd, phys_addr, loc + 2); in m68hc11_elf_build_one_stub()
|
| /netbsd-src/sys/arch/acorn32/stand/boot32/ |
| H A D | boot32.c | 504 int phys_addr; in get_memory_map() local 536 phys_addr = mem_pages_info[page].physical; in get_memory_map() 537 printf("[0x%x", phys_addr); in get_memory_map() 538 while (mem_pages_info[page+1].physical - phys_addr == nbpp) { in get_memory_map() 540 phys_addr >= DRAM_addr[0]) in get_memory_map() 543 phys_addr >= PODRAM_addr[0]) in get_memory_map() 546 phys_addr = mem_pages_info[page].physical; in get_memory_map() 548 printf("-0x%x] ", phys_addr + nbpp -1); in get_memory_map()
|
| /netbsd-src/sys/arch/evbppc/wii/dev/ |
| H A D | bwdsp.c | 251 bwdsp_transfer(struct bwdsp_softc *sc, uint32_t phys_addr, size_t bufsize) in bwdsp_transfer() argument 254 WR2(sc, DSP_DMA_START_ADDR_H, phys_addr >> 16); in bwdsp_transfer() 255 WR2(sc, DSP_DMA_START_ADDR_L, phys_addr & 0xffff); in bwdsp_transfer()
|
| /netbsd-src/sys/arch/atari/dev/ |
| H A D | fd.c | 834 paddr_t phys_addr; in fd_xfer() local 917 phys_addr = (paddr_t)kvtop(sc->io_data); in fd_xfer() 918 if (phys_addr >= FDC_MAX_DMA_AD) { in fd_xfer() 922 phys_addr = (paddr_t)kvtop(sc->bounceb); in fd_xfer() 927 st_dmaaddr_set((void *)phys_addr); /* DMA address setup */ in fd_xfer()
|
| /netbsd-src/sys/dev/pci/cxgb/ |
| H A D | cxgb_adapter.h | 209 bus_addr_t phys_addr; member 235 bus_addr_t phys_addr; member 263 bus_addr_t phys_addr; member
|
| H A D | cxgb_sge.c | 1992 sizeof(struct rx_sw_desc), &q->fl[0].phys_addr, in t3_sge_alloc_qset() 2000 sizeof(struct rx_sw_desc), &q->fl[1].phys_addr, in t3_sge_alloc_qset() 2008 &q->rspq.phys_addr, &q->rspq.desc, NULL, in t3_sge_alloc_qset() 2024 &q->txq[i].phys_addr, &q->txq[i].desc, in t3_sge_alloc_qset() 2078 q->rspq.phys_addr, q->rspq.size, in t3_sge_alloc_qset() 2087 q->fl[i].phys_addr, q->fl[i].size, in t3_sge_alloc_qset() 2097 SGE_CNTXT_ETH, id, q->txq[TXQ_ETH].phys_addr, in t3_sge_alloc_qset() 2108 q->txq[TXQ_OFLD].phys_addr, in t3_sge_alloc_qset() 2119 q->txq[TXQ_CTRL].phys_addr, in t3_sge_alloc_qset()
|
| /netbsd-src/sys/external/bsd/ena-com/ |
| H A D | ena_com.c | 363 io_sq->desc_addr.phys_addr, in ena_com_init_io_sq() 371 io_sq->desc_addr.phys_addr, in ena_com_init_io_sq() 441 io_cq->cdesc_addr.phys_addr, in ena_com_init_io_cq() 449 io_cq->cdesc_addr.phys_addr, in ena_com_init_io_cq() 840 io_cq->cdesc_addr.phys_addr, in ena_com_io_queue_free() 852 io_sq->desc_addr.phys_addr, in ena_com_io_queue_free() 1140 io_sq->desc_addr.phys_addr); in ena_com_create_io_sq() 1318 io_cq->cdesc_addr.phys_addr); in ena_com_create_io_cq() 2145 dma_addr_t phys_addr; in ena_com_get_dev_extended_stats() local 2149 virt_addr, phys_addr, mem_handle); in ena_com_get_dev_extended_stats() [all …]
|
| /netbsd-src/sys/arch/arm/nvidia/ |
| H A D | tegra_cec.c | 323 tegra_cec_get_phys_addr(struct tegra_cec_softc *sc, uint16_t *phys_addr) in tegra_cec_get_phys_addr() argument 334 if (!prop_dictionary_get_uint16(prop, "physical-address", phys_addr)) in tegra_cec_get_phys_addr()
|
| /netbsd-src/sys/arch/mvme68k/stand/netboot/ |
| H A D | if_le.c | 111 unsigned int phys_addr; member 428 (struct lereg1 *)le_config[nif->nif_unit].phys_addr; in le_init()
|
| H A D | if_ie.c | 93 u_int phys_addr; member 428 (struct iereg *)ie_config[nif->nif_unit].phys_addr; in ie_init()
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/savage/ |
| H A D | savage_bci.c | 439 unsigned long phys_addr; in savage_dma_flush() local 470 phys_addr = dev_priv->cmd_dma->offset + in savage_dma_flush() 477 phys_addr | dev_priv->dma_type, len); in savage_dma_flush() 481 BCI_WRITE(phys_addr | dev_priv->dma_type); in savage_dma_flush()
|
| /netbsd-src/sys/external/bsd/drm/dist/shared-core/ |
| H A D | savage_bci.c | 424 unsigned long phys_addr; in savage_dma_flush() local 455 phys_addr = dev_priv->cmd_dma->offset + in savage_dma_flush() 462 phys_addr | dev_priv->dma_type, len); in savage_dma_flush() 466 BCI_WRITE(phys_addr | dev_priv->dma_type); in savage_dma_flush()
|