| /NextBSD/sys/compat/ndis/ |
| HD | resource_var.h | 40 struct physaddr { struct 48 typedef struct physaddr physaddr; argument 139 physaddr cprd_start; 143 physaddr cprd_start; 152 physaddr cprd_start;
|
| /NextBSD/sys/dev/proto/ |
| HD | proto_busdma.c | 152 if (md->physaddr) in proto_busdma_md_destroy_internal() 197 md->physaddr = pmap_kextract((uintptr_t)(md->virtaddr)); in proto_busdma_mem_alloc() 214 ioc->u.md.phys_addr = md->physaddr; in proto_busdma_mem_alloc() 307 md->physaddr = pmap_extract(pmap, ioc->u.md.virt_addr); in proto_busdma_md_load() 309 ioc->u.md.phys_addr = md->physaddr; in proto_busdma_md_load() 317 if (!md->physaddr) in proto_busdma_md_unload() 320 md->physaddr = 0; in proto_busdma_md_unload() 334 if (!md->physaddr) in proto_busdma_sync() 477 proto_busdma_mmap_allowed(struct proto_busdma *busdma, vm_paddr_t physaddr) in proto_busdma_mmap_allowed() argument 482 if (physaddr >= trunc_page(md->physaddr) && in proto_busdma_mmap_allowed() [all …]
|
| /NextBSD/sys/arm64/arm64/ |
| HD | gic_acpi.c | 97 vm_paddr_t physaddr; in arm_gic_acpi_identify() local 100 physaddr = acpi_find_table(ACPI_SIG_MADT); in arm_gic_acpi_identify() 101 if (physaddr == 0) in arm_gic_acpi_identify() 104 madt = acpi_map_table(physaddr, ACPI_SIG_MADT); in arm_gic_acpi_identify()
|
| /NextBSD/sys/boot/usb/ |
| HD | usb_busdma_loader.c | 70 res->physaddr = page->physaddr + offset; in usbd_get_page() 73 res->physaddr = page->physaddr + offset; in usbd_get_page() 89 res->physaddr = 0; in usbd_get_page() 185 pg->physaddr = phys & ~(USB_PAGE_SIZE - 1); in usb_pc_common_mem_cb() 193 pg->physaddr = (phys + off) & ~(USB_PAGE_SIZE - 1); in usb_pc_common_mem_cb()
|
| /NextBSD/lib/libkvm/ |
| HD | kvm_arm.c | 109 arm_physaddr_t physaddr, pa; in _arm_initvtop() local 134 physaddr = vm->phdr[i].p_paddr; in _arm_initvtop() 158 physaddr = nl[0].n_value; in _arm_initvtop() 165 if (kvm_read2(kd, (nl[0].n_value - kernbase + physaddr), &pa, in _arm_initvtop()
|
| /NextBSD/sys/powerpc/ofw/ |
| HD | rtas.c | 182 rtas_real_unmap(cell_t physaddr, void *buf, size_t len) in rtas_real_unmap() argument 186 if (physaddr == 0) in rtas_real_unmap() 189 memcpy(buf, rtas_bounce_virt + (physaddr - rtas_bounce_phys), len); in rtas_real_unmap()
|
| /NextBSD/sys/dev/iwi/ |
| HD | if_iwivar.h | 63 bus_addr_t physaddr; member 81 bus_addr_t physaddr; member 94 bus_addr_t physaddr; member
|
| /NextBSD/contrib/bsnmp/snmp_mibII/ |
| HD | mibII.c | 619 if ((rcv = mib_find_rcvaddr(ifp->index, ifp->physaddr, in get_physaddr() 622 free(ifp->physaddr); in get_physaddr() 623 ifp->physaddr = NULL; in get_physaddr() 633 if ((rcv = mib_find_rcvaddr(ifp->index, ifp->physaddr, in get_physaddr() 637 if ((np = realloc(ifp->physaddr, sdl->sdl_alen)) == NULL) { in get_physaddr() 638 free(ifp->physaddr); in get_physaddr() 639 ifp->physaddr = NULL; in get_physaddr() 643 ifp->physaddr = np; in get_physaddr() 646 } else if (memcmp(ifp->physaddr, ptr, ifp->physaddrlen) == 0) { in get_physaddr() 654 if ((rcv = mib_find_rcvaddr(ifp->index, ifp->physaddr, in get_physaddr() [all …]
|
| /NextBSD/sys/dev/usb/ |
| HD | usb_busdma.c | 113 res->physaddr = page->physaddr + offset; in usbd_get_page() 116 res->physaddr = page->physaddr + offset; in usbd_get_page() 132 res->physaddr = 0; in usbd_get_page() 470 pg->physaddr = segs->ds_addr & ~(USB_PAGE_SIZE - 1); in usb_pc_common_mem_cb() 500 pg->physaddr = (segs->ds_addr + off) & ~(USB_PAGE_SIZE - 1); in usb_pc_common_mem_cb()
|
| HD | usb_busdma.h | 65 bus_addr_t physaddr; member 78 bus_addr_t physaddr; member
|
| /NextBSD/sys/arm/annapurna/alpine/ |
| HD | alpine_machdep_mp.c | 197 uint32_t physaddr; in platform_mp_start_ap() local 232 physaddr = pmap_kextract(vaddr); in platform_mp_start_ap() 250 AL_CPU_RESUME_PCPU_RADDR_REG(a), physaddr); in platform_mp_start_ap()
|
| /NextBSD/sys/arm/arm/ |
| HD | generic_timer.c | 304 vm_paddr_t physaddr; in arm_tmr_acpi_identify() local 307 physaddr = acpi_find_table(ACPI_SIG_GTDT); in arm_tmr_acpi_identify() 308 if (physaddr == 0) in arm_tmr_acpi_identify() 311 gtdt = acpi_map_table(physaddr, ACPI_SIG_GTDT); in arm_tmr_acpi_identify()
|
| /NextBSD/sys/dev/ral/ |
| HD | rt2560var.h | 68 bus_addr_t physaddr; member 89 bus_addr_t physaddr; member
|
| HD | rt2661var.h | 64 bus_addr_t physaddr; member 83 bus_addr_t physaddr; member
|
| HD | rt2560.c | 478 count * RT2560_TX_DESC_SIZE, rt2560_dma_map_addr, &ring->physaddr, in rt2560_alloc_tx_ring() 598 bus_addr_t physaddr; in rt2560_alloc_rx_ring() local 622 count * RT2560_RX_DESC_SIZE, rt2560_dma_map_addr, &ring->physaddr, in rt2560_alloc_rx_ring() 668 &physaddr, 0); in rt2560_alloc_rx_ring() 676 desc->physaddr = htole32(physaddr); in rt2560_alloc_rx_ring() 863 hw = RAL_READ(sc, RT2560_SECCSR1) - sc->txq.physaddr; in rt2560_encryption_intr() 1092 bus_addr_t physaddr; in rt2560_decryption_intr() local 1100 hw = RAL_READ(sc, RT2560_SECCSR0) - sc->rxq.physaddr; in rt2560_decryption_intr() 1144 &physaddr, 0); in rt2560_decryption_intr() 1151 rt2560_dma_map_addr, &physaddr, 0); in rt2560_decryption_intr() [all …]
|
| HD | rt2661.c | 488 count * RT2661_TX_DESC_SIZE, rt2661_dma_map_addr, &ring->physaddr, in rt2661_alloc_tx_ring() 606 bus_addr_t physaddr; in rt2661_alloc_rx_ring() local 629 count * RT2661_RX_DESC_SIZE, rt2661_dma_map_addr, &ring->physaddr, in rt2661_alloc_rx_ring() 675 &physaddr, 0); in rt2661_alloc_rx_ring() 683 desc->physaddr = htole32(physaddr); in rt2661_alloc_rx_ring() 964 bus_addr_t physaddr; in rt2661_rx_intr() local 1018 &physaddr, 0); in rt2661_rx_intr() 1025 rt2661_dma_map_addr, &physaddr, 0); in rt2661_rx_intr() 1041 desc->physaddr = htole32(physaddr); in rt2661_rx_intr() 2262 RAL_WRITE(sc, RT2661_AC1_BASE_CSR, sc->txq[1].physaddr); in rt2661_init_locked() [all …]
|
| HD | rt2560reg.h | 213 uint32_t physaddr; member 250 uint32_t physaddr; member
|
| /NextBSD/sys/dev/ipw/ |
| HD | if_ipw.c | 496 bus_addr_t physaddr; in ipw_dma_alloc() local 698 &physaddr, 0); in ipw_dma_alloc() 707 sbd->bd->physaddr = htole32(physaddr); in ipw_dma_alloc() 1154 bus_addr_t physaddr; in ipw_rx_data_intr() local 1181 MCLBYTES, ipw_dma_map_addr, &physaddr, 0); in ipw_rx_data_intr() 1188 &physaddr, 0); in ipw_rx_data_intr() 1204 sbd->bd->physaddr = htole32(physaddr); in ipw_rx_data_intr() 1470 bus_addr_t physaddr; in ipw_cmd() local 1485 sizeof (struct ipw_cmd), ipw_dma_map_addr, &physaddr, 0); in ipw_cmd() 1499 sbd->bd->physaddr = htole32(physaddr); in ipw_cmd() [all …]
|
| /NextBSD/sys/dev/nfe/ |
| HD | if_nfevar.h | 29 bus_addr_t physaddr; member 48 bus_addr_t physaddr; member
|
| HD | if_nfe.c | 1153 ring->physaddr = ctx.nfe_busaddr; in nfe_alloc_rx_ring() 1527 ring->physaddr = ctx.nfe_busaddr; in nfe_alloc_tx_ring() 1958 desc64->physaddr[0] = htole32(NFE_ADDR_HI(data->paddr)); in nfe_discard_rxbuf() 1959 desc64->physaddr[1] = htole32(NFE_ADDR_LO(data->paddr)); in nfe_discard_rxbuf() 1984 desc64->physaddr[0] = htole32(NFE_ADDR_HI(data->paddr)); in nfe_discard_jrxbuf() 1985 desc64->physaddr[1] = htole32(NFE_ADDR_LO(data->paddr)); in nfe_discard_jrxbuf() 2037 desc64->physaddr[0] = htole32(NFE_ADDR_HI(segs[0].ds_addr)); in nfe_newbuf() 2038 desc64->physaddr[1] = htole32(NFE_ADDR_LO(segs[0].ds_addr)); in nfe_newbuf() 2043 desc32->physaddr = htole32(NFE_ADDR_LO(segs[0].ds_addr)); in nfe_newbuf() 2092 desc64->physaddr[0] = htole32(NFE_ADDR_HI(segs[0].ds_addr)); in nfe_jnewbuf() [all …]
|
| HD | if_nfereg.h | 237 uint32_t physaddr; member 256 uint32_t physaddr[2]; member
|
| /NextBSD/contrib/wpa/src/l2_packet/ |
| HD | l2_packet_freebsd.c | 169 u8 physaddr[DLPI_PHYSADDR_MAX]; in eth_get() local 179 retval = dlpi_get_physaddr(dh, DL_CURR_PHYS_ADDR, physaddr, in eth_get() 187 os_memcpy(ea, physaddr, ETH_ALEN); in eth_get()
|
| /NextBSD/sys/dev/usb/controller/ |
| HD | xhci.c | 327 addr = buf_res.physaddr; in xhci_reset_command_queue_locked() 396 addr = buf_res.physaddr; in xhci_start_controller() 405 pdctxa->qwSpBufPtr[i] = htole64((uint64_t)buf_scp.physaddr); in xhci_start_controller() 408 addr = buf_res.physaddr; in xhci_start_controller() 427 addr = buf_res.physaddr; in xhci_start_controller() 441 addr = buf_res.physaddr; in xhci_start_controller() 454 addr = buf_res.physaddr; in xhci_start_controller() 1118 addr = buf_res.physaddr; in xhci_interrupt_poll() 1182 addr = buf_res.physaddr; in xhci_do_command() 1434 err = xhci_cmd_set_address(sc, buf_inp.physaddr, in xhci_set_address() [all …]
|
| HD | ohci.c | 246 OWRITE4(sc, OHCI_HCCA, buf_res.physaddr); in ohci_controller_init() 249 OWRITE4(sc, OHCI_CONTROL_HEAD_ED, buf_res.physaddr); in ohci_controller_init() 252 OWRITE4(sc, OHCI_BULK_HEAD_ED, buf_res.physaddr); in ohci_controller_init() 313 ed->ed_self = htole32(buf_res.physaddr); in ohci_init_ed() 1339 td->td_cbp = htole32(buf_res.physaddr); in ohci_setup_standard_chain_sub() 1343 td->td_be = htole32(buf_res.physaddr); in ohci_setup_standard_chain_sub() 1945 length = OHCI_PAGE_MASK(buf_res.physaddr); in ohci_device_isoc_enter() 1946 buf_res.physaddr = in ohci_device_isoc_enter() 1947 OHCI_PAGE(buf_res.physaddr); in ohci_device_isoc_enter() 1948 td->itd_bp0 = htole32(buf_res.physaddr); in ohci_device_isoc_enter() [all …]
|
| HD | ehci.c | 261 EOWRITE4(sc, EHCI_PERIODICLISTBASE, buf_res.physaddr); in ehci_init_sub() 264 EOWRITE4(sc, EHCI_ASYNCLISTADDR, buf_res.physaddr | EHCI_LINK_QH); in ehci_init_sub() 365 sc->sc_terminate_self = htohc32(sc, buf_res.physaddr); in ehci_init() 392 htohc32(sc, buf_res.physaddr) | in ehci_init() 462 htohc32(sc, buf_res.physaddr) | in ehci_init() 487 htohc32(sc, buf_res.physaddr) | in ehci_init() 530 htohc32(sc, buf_res.physaddr) | in ehci_init() 1694 htohc32(temp->sc, buf_res.physaddr); in ehci_setup_standard_chain_sub() 1705 buf_res.physaddr & (~0xFFF)); in ehci_setup_standard_chain_sub() 1722 buf_res.physaddr & (~0xFFF)); in ehci_setup_standard_chain_sub() [all …]
|