Home
last modified time | relevance | path

Searched refs:phys_addr (Results 1 – 25 of 42) sorted by relevance

12

/netbsd-src/external/mit/libuv/dist/src/unix/
H A Dibmi.c313 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 Dsunos.c774 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 Dbsd-ifaddrs.c141 memcpy(address->phys_addr, LLADDR(sa_addr), sizeof(address->phys_addr)); in uv_interface_addresses()
/netbsd-src/sys/uvm/
H A Duvm_page.h168 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 Dtest-platform-output.c127 (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 Dvmem.c140 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 Dpbsdboot.h131 void *vmem_get(void *phys_addr, int *length);
/netbsd-src/sys/arch/atari/atari/
H A Dstalloc.c81 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 Delf32-m68hc1x.c968 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 Delf32-m68hc12.c532 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 Delf32-m68hc11.c412 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 Delf32-m68hc1x.c968 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 Delf32-m68hc12.c532 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 Delf32-m68hc11.c412 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 Dboot32.c504 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 Dbwdsp.c251 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 Dfd.c834 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 Dcxgb_adapter.h209 bus_addr_t phys_addr; member
235 bus_addr_t phys_addr; member
263 bus_addr_t phys_addr; member
H A Dcxgb_sge.c1992 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 Dena_com.c363 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 Dtegra_cec.c323 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 Dif_le.c111 unsigned int phys_addr; member
428 (struct lereg1 *)le_config[nif->nif_unit].phys_addr; in le_init()
H A Dif_ie.c93 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 Dsavage_bci.c439 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 Dsavage_bci.c424 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()

12