| /freebsd/sys/arm64/arm64/ |
| H A D | gic_v3_acpi.c | 171 vm_paddr_t physaddr; in gic_v3_acpi_identify() local 175 physaddr = acpi_find_table(ACPI_SIG_MADT); in gic_v3_acpi_identify() 176 if (physaddr == 0) in gic_v3_acpi_identify() 179 madt = acpi_map_table(physaddr, ACPI_SIG_MADT); in gic_v3_acpi_identify() 282 vm_paddr_t physaddr; in gic_v3_acpi_count_regions() local 286 physaddr = acpi_find_table(ACPI_SIG_MADT); in gic_v3_acpi_count_regions() 287 if (physaddr == 0) in gic_v3_acpi_count_regions() 290 madt = acpi_map_table(physaddr, ACPI_SIG_MADT); in gic_v3_acpi_count_regions() 435 vm_paddr_t physaddr; in gic_v3_acpi_bus_attach() local 439 physaddr = acpi_find_table(ACPI_SIG_MADT); in gic_v3_acpi_bus_attach() [all …]
|
| H A D | mp_machdep.c | 635 vm_paddr_t physaddr; in cpu_init_acpi() local 638 physaddr = acpi_find_table(ACPI_SIG_MADT); in cpu_init_acpi() 639 if (physaddr == 0) in cpu_init_acpi() 642 madt = acpi_map_table(physaddr, ACPI_SIG_MADT); in cpu_init_acpi() 858 vm_paddr_t physaddr; in cpu_count_acpi() local 861 physaddr = acpi_find_table(ACPI_SIG_MADT); in cpu_count_acpi() 862 if (physaddr == 0) in cpu_count_acpi() 865 madt = acpi_map_table(physaddr, ACPI_SIG_MADT); in cpu_count_acpi()
|
| /freebsd/sys/arm/arm/ |
| H A D | gic_acpi.c | 121 vm_paddr_t physaddr; in gic_acpi_identify() local 125 physaddr = acpi_find_table(ACPI_SIG_MADT); in gic_acpi_identify() 126 if (physaddr == 0) in gic_acpi_identify() 129 madt = acpi_map_table(physaddr, ACPI_SIG_MADT); in gic_acpi_identify() 301 vm_paddr_t physaddr; in arm_gic_add_children() local 304 physaddr = acpi_find_table(ACPI_SIG_MADT); in arm_gic_add_children() 305 if (physaddr == 0) in arm_gic_add_children() 308 madt = acpi_map_table(physaddr, ACPI_SIG_MADT); in arm_gic_add_children()
|
| /freebsd/sys/dev/hyperv/vmbus/aarch64/ |
| H A D | hyperv_aarch64.c | 92 vm_paddr_t physaddr; in is_hyperv() local 96 physaddr = acpi_find_table(ACPI_SIG_FADT); in is_hyperv() 97 if (physaddr == 0) in is_hyperv() 100 fadt = acpi_map_table(physaddr, ACPI_SIG_FADT); in is_hyperv()
|
| /freebsd/sys/dev/proto/ |
| H A D | proto_busdma.c | 150 if (md->physaddr) in proto_busdma_md_destroy_internal() 195 md->physaddr = pmap_kextract((uintptr_t)(md->virtaddr)); in proto_busdma_mem_alloc() 212 ioc->u.md.phys_addr = md->physaddr; in proto_busdma_mem_alloc() 305 md->physaddr = pmap_extract(pmap, ioc->u.md.virt_addr); in proto_busdma_md_load() 307 ioc->u.md.phys_addr = md->physaddr; in proto_busdma_md_load() 315 if (!md->physaddr) in proto_busdma_md_unload() 318 md->physaddr = 0; in proto_busdma_md_unload() 332 if (!md->physaddr) in proto_busdma_sync() 484 proto_busdma_mmap_allowed(struct proto_busdma *busdma, vm_paddr_t physaddr) in proto_busdma_mmap_allowed() argument 493 if (physaddr >= trunc_page(md->physaddr) && in proto_busdma_mmap_allowed() [all …]
|
| /freebsd/sys/arm64/spe/ |
| H A D | arm_spe_acpi.c | 105 vm_paddr_t physaddr; in arm_spe_acpi_identify() local 107 physaddr = acpi_find_table(ACPI_SIG_MADT); in arm_spe_acpi_identify() 108 if (physaddr == 0) in arm_spe_acpi_identify() 111 madt = acpi_map_table(physaddr, ACPI_SIG_MADT); in arm_spe_acpi_identify()
|
| /freebsd/stand/usb/ |
| H A D | usb_busdma_loader.c | 69 res->physaddr = page->physaddr + offset; in usbd_get_page() 72 res->physaddr = page->physaddr + offset; in usbd_get_page() 88 res->physaddr = 0; in usbd_get_page() 184 pg->physaddr = phys & ~(USB_PAGE_SIZE - 1); in usb_pc_common_mem_cb() 192 pg->physaddr = (phys + off) & ~(USB_PAGE_SIZE - 1); in usb_pc_common_mem_cb()
|
| /freebsd/lib/libkvm/ |
| H A D | kvm_arm.c | 108 arm_physaddr_t physaddr, pa; in _arm_initvtop() local 133 physaddr = vm->phdr[i].p_paddr; in _arm_initvtop() 157 physaddr = nl[0].n_value; in _arm_initvtop() 164 if (kvm_read2(kd, (nl[0].n_value - kernbase + physaddr), &pa, in _arm_initvtop()
|
| /freebsd/sys/arm/annapurna/alpine/ |
| H A D | alpine_machdep_mp.c | 178 uint32_t physaddr; in alpine_mp_start_ap() local 213 physaddr = pmap_kextract(vaddr); in alpine_mp_start_ap() 231 AL_CPU_RESUME_PCPU_RADDR_REG(a), physaddr); in alpine_mp_start_ap()
|
| /freebsd/sys/powerpc/ofw/ |
| H A D | 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()
|
| /freebsd/sys/dev/iwi/ |
| H A D | if_iwivar.h | 65 bus_addr_t physaddr; member 83 bus_addr_t physaddr; member 96 bus_addr_t physaddr; member
|
| /freebsd/contrib/bsnmp/snmp_mibII/ |
| H A D | mibII.c | 683 if ((rcv = mib_find_rcvaddr(ifp->index, ifp->physaddr, in get_physaddr() 686 free(ifp->physaddr); in get_physaddr() 687 ifp->physaddr = NULL; in get_physaddr() 697 if ((rcv = mib_find_rcvaddr(ifp->index, ifp->physaddr, in get_physaddr() 701 if ((np = realloc(ifp->physaddr, sdl->sdl_alen)) == NULL) { in get_physaddr() 702 free(ifp->physaddr); in get_physaddr() 703 ifp->physaddr = NULL; in get_physaddr() 707 ifp->physaddr = np; in get_physaddr() 710 } else if (memcmp(ifp->physaddr, ptr, ifp->physaddrlen) == 0) { in get_physaddr() 718 if ((rcv = mib_find_rcvaddr(ifp->index, ifp->physaddr, in get_physaddr() [all …]
|
| /freebsd/sys/dev/usb/ |
| H A D | usb_busdma.c | 111 res->physaddr = page->physaddr + offset; in usbd_get_page() 114 res->physaddr = page->physaddr + offset; in usbd_get_page() 129 res->physaddr = 0; in usbd_get_page() 460 pg->physaddr = rounddown2(segs->ds_addr, USB_PAGE_SIZE); in usb_pc_common_mem_cb() 495 pg->physaddr = rounddown2(segs->ds_addr + off, USB_PAGE_SIZE); in usb_pc_common_mem_cb()
|
| H A D | usb_busdma.h | 62 bus_addr_t physaddr; member 75 bus_addr_t physaddr; member
|
| /freebsd/sys/dev/ral/ |
| H A D | rt2560var.h | 67 bus_addr_t physaddr; member 88 bus_addr_t physaddr; member
|
| H A D | rt2661var.h | 63 bus_addr_t physaddr; member 82 bus_addr_t physaddr; member
|
| H A D | rt2560.c | 480 count * RT2560_TX_DESC_SIZE, rt2560_dma_map_addr, &ring->physaddr, in rt2560_alloc_tx_ring() 600 bus_addr_t physaddr; in rt2560_alloc_rx_ring() local 624 count * RT2560_RX_DESC_SIZE, rt2560_dma_map_addr, &ring->physaddr, in rt2560_alloc_rx_ring() 670 &physaddr, 0); in rt2560_alloc_rx_ring() 678 desc->physaddr = htole32(physaddr); in rt2560_alloc_rx_ring() 865 hw = RAL_READ(sc, RT2560_SECCSR1) - sc->txq.physaddr; in rt2560_encryption_intr() 1091 bus_addr_t physaddr; in rt2560_decryption_intr() local 1099 hw = RAL_READ(sc, RT2560_SECCSR0) - sc->rxq.physaddr; in rt2560_decryption_intr() 1143 &physaddr, 0); in rt2560_decryption_intr() 1150 rt2560_dma_map_addr, &physaddr, 0); in rt2560_decryption_intr() [all …]
|
| /freebsd/sys/dev/psci/ |
| H A D | psci.c | 261 vm_paddr_t physaddr; in psci_acpi_bootflags() local 264 physaddr = acpi_find_table(ACPI_SIG_FADT); in psci_acpi_bootflags() 265 if (physaddr == 0) in psci_acpi_bootflags() 268 fadt = acpi_map_table(physaddr, ACPI_SIG_FADT); in psci_acpi_bootflags()
|
| /freebsd/sys/dev/ipw/ |
| H A D | if_ipw.c | 493 bus_addr_t physaddr; in ipw_dma_alloc() local 695 &physaddr, 0); in ipw_dma_alloc() 704 sbd->bd->physaddr = htole32(physaddr); in ipw_dma_alloc() 1164 bus_addr_t physaddr; in ipw_rx_data_intr() local 1191 MCLBYTES, ipw_dma_map_addr, &physaddr, 0); in ipw_rx_data_intr() 1198 &physaddr, 0); in ipw_rx_data_intr() 1214 sbd->bd->physaddr = htole32(physaddr); in ipw_rx_data_intr() 1477 bus_addr_t physaddr; in ipw_cmd() local 1492 sizeof (struct ipw_cmd), ipw_dma_map_addr, &physaddr, 0); in ipw_cmd() 1506 sbd->bd->physaddr = htole32(physaddr); in ipw_cmd() [all …]
|
| /freebsd/sys/dev/nfe/ |
| H A D | if_nfevar.h | 27 bus_addr_t physaddr; member 46 bus_addr_t physaddr; member
|
| H A D | if_nfe.c | 1132 ring->physaddr = ctx.nfe_busaddr; in nfe_alloc_rx_ring() 1498 ring->physaddr = ctx.nfe_busaddr; in nfe_alloc_tx_ring() 1918 desc64->physaddr[0] = htole32(NFE_ADDR_HI(data->paddr)); in nfe_discard_rxbuf() 1919 desc64->physaddr[1] = htole32(NFE_ADDR_LO(data->paddr)); in nfe_discard_rxbuf() 1943 desc64->physaddr[0] = htole32(NFE_ADDR_HI(data->paddr)); in nfe_discard_jrxbuf() 1944 desc64->physaddr[1] = htole32(NFE_ADDR_LO(data->paddr)); in nfe_discard_jrxbuf() 1995 desc64->physaddr[0] = htole32(NFE_ADDR_HI(segs[0].ds_addr)); in nfe_newbuf() 1996 desc64->physaddr[1] = htole32(NFE_ADDR_LO(segs[0].ds_addr)); in nfe_newbuf() 2001 desc32->physaddr = htole32(NFE_ADDR_LO(segs[0].ds_addr)); in nfe_newbuf() 2049 desc64->physaddr[0] = htole32(NFE_ADDR_HI(segs[0].ds_addr)); in nfe_jnewbuf() [all …]
|
| /freebsd/sys/x86/isa/ |
| H A D | atrtc.c | 434 vm_paddr_t physaddr; in rtc_acpi_century_get() local 437 physaddr = acpi_find_table(ACPI_SIG_FADT); in rtc_acpi_century_get() 438 if (physaddr == 0) in rtc_acpi_century_get() 441 fadt = acpi_map_table(physaddr, ACPI_SIG_FADT); in rtc_acpi_century_get()
|
| /freebsd/sys/dev/usb/controller/ |
| H A D | xhci.c | 286 addr = buf_res.physaddr; in xhci_reset_command_queue_locked() 343 addr = buf_res.physaddr; in xhci_start_controller() 352 pdctxa->qwSpBufPtr[i] = htole64((uint64_t)buf_scp.physaddr); in xhci_start_controller() 355 addr = buf_res.physaddr; in xhci_start_controller() 374 addr = buf_res.physaddr; in xhci_start_controller() 401 addr = buf_res.physaddr; in xhci_start_controller() 414 addr = buf_res.physaddr; in xhci_start_controller() 1189 addr = buf_res.physaddr; in xhci_interrupt_poll() 1253 addr = buf_res.physaddr; in xhci_do_command() 1504 err = xhci_cmd_set_address(sc, buf_inp.physaddr, in xhci_set_address() [all …]
|
| H A D | ohci.c | 247 OWRITE4(sc, OHCI_HCCA, buf_res.physaddr); in ohci_controller_init() 250 OWRITE4(sc, OHCI_CONTROL_HEAD_ED, buf_res.physaddr); in ohci_controller_init() 253 OWRITE4(sc, OHCI_BULK_HEAD_ED, buf_res.physaddr); in ohci_controller_init() 314 ed->ed_self = htole32(buf_res.physaddr); in ohci_init_ed() 1326 td->td_cbp = htole32(buf_res.physaddr); in ohci_setup_standard_chain_sub() 1330 td->td_be = htole32(buf_res.physaddr); in ohci_setup_standard_chain_sub() 1904 length = OHCI_PAGE_MASK(buf_res.physaddr); in ohci_device_isoc_enter() 1905 buf_res.physaddr = in ohci_device_isoc_enter() 1906 OHCI_PAGE(buf_res.physaddr); in ohci_device_isoc_enter() 1907 td->itd_bp0 = htole32(buf_res.physaddr); in ohci_device_isoc_enter() [all …]
|
| /freebsd/contrib/wpa/src/l2_packet/ |
| H A D | l2_packet_freebsd.c | 185 u8 physaddr[DLPI_PHYSADDR_MAX]; in eth_get() local 195 retval = dlpi_get_physaddr(dh, DL_CURR_PHYS_ADDR, physaddr, in eth_get() 203 os_memcpy(ea, physaddr, ETH_ALEN); in eth_get()
|