| /freebsd-14.2/sys/arm64/arm64/ |
| H A D | gic_v3_acpi.c | 172 vm_paddr_t physaddr; in gic_v3_acpi_identify() local 176 physaddr = acpi_find_table(ACPI_SIG_MADT); in gic_v3_acpi_identify() 177 if (physaddr == 0) in gic_v3_acpi_identify() 180 madt = acpi_map_table(physaddr, ACPI_SIG_MADT); in gic_v3_acpi_identify() 283 vm_paddr_t physaddr; in gic_v3_acpi_count_regions() local 287 physaddr = acpi_find_table(ACPI_SIG_MADT); in gic_v3_acpi_count_regions() 288 if (physaddr == 0) in gic_v3_acpi_count_regions() 291 madt = acpi_map_table(physaddr, ACPI_SIG_MADT); in gic_v3_acpi_count_regions() 434 vm_paddr_t physaddr; in gic_v3_acpi_bus_attach() local 438 physaddr = acpi_find_table(ACPI_SIG_MADT); in gic_v3_acpi_bus_attach() [all …]
|
| H A D | mp_machdep.c | 555 vm_paddr_t physaddr; in cpu_init_acpi() local 558 physaddr = acpi_find_table(ACPI_SIG_MADT); in cpu_init_acpi() 559 if (physaddr == 0) in cpu_init_acpi() 562 madt = acpi_map_table(physaddr, ACPI_SIG_MADT); in cpu_init_acpi() 734 vm_paddr_t physaddr; in cpu_count_acpi() local 737 physaddr = acpi_find_table(ACPI_SIG_MADT); in cpu_count_acpi() 738 if (physaddr == 0) in cpu_count_acpi() 741 madt = acpi_map_table(physaddr, ACPI_SIG_MADT); in cpu_count_acpi()
|
| /freebsd-14.2/sys/dev/hyperv/vmbus/aarch64/ |
| H A D | hyperv_aarch64.c | 93 vm_paddr_t physaddr; in is_hyperv() local 97 physaddr = acpi_find_table(ACPI_SIG_FADT); in is_hyperv() 98 if (physaddr == 0) in is_hyperv() 101 fadt = acpi_map_table(physaddr, ACPI_SIG_FADT); in is_hyperv()
|
| /freebsd-14.2/sys/arm/arm/ |
| H A D | gic_acpi.c | 122 vm_paddr_t physaddr; in gic_acpi_identify() local 126 physaddr = acpi_find_table(ACPI_SIG_MADT); in gic_acpi_identify() 127 if (physaddr == 0) in gic_acpi_identify() 130 madt = acpi_map_table(physaddr, ACPI_SIG_MADT); in gic_acpi_identify() 302 vm_paddr_t physaddr; in arm_gic_add_children() local 305 physaddr = acpi_find_table(ACPI_SIG_MADT); in arm_gic_add_children() 306 if (physaddr == 0) in arm_gic_add_children() 309 madt = acpi_map_table(physaddr, ACPI_SIG_MADT); in arm_gic_add_children()
|
| /freebsd-14.2/sys/dev/proto/ |
| H A D | proto_busdma.c | 151 if (md->physaddr) in proto_busdma_md_destroy_internal() 196 md->physaddr = pmap_kextract((uintptr_t)(md->virtaddr)); in proto_busdma_mem_alloc() 213 ioc->u.md.phys_addr = md->physaddr; in proto_busdma_mem_alloc() 306 md->physaddr = pmap_extract(pmap, ioc->u.md.virt_addr); in proto_busdma_md_load() 308 ioc->u.md.phys_addr = md->physaddr; in proto_busdma_md_load() 316 if (!md->physaddr) in proto_busdma_md_unload() 319 md->physaddr = 0; in proto_busdma_md_unload() 333 if (!md->physaddr) in proto_busdma_sync() 485 proto_busdma_mmap_allowed(struct proto_busdma *busdma, vm_paddr_t physaddr) in proto_busdma_mmap_allowed() argument 494 if (physaddr >= trunc_page(md->physaddr) && in proto_busdma_mmap_allowed() [all …]
|
| /freebsd-14.2/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-14.2/lib/libkvm/ |
| H A D | 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()
|
| /freebsd-14.2/sys/arm/annapurna/alpine/ |
| H A D | alpine_machdep_mp.c | 179 uint32_t physaddr; in alpine_mp_start_ap() local 214 physaddr = pmap_kextract(vaddr); in alpine_mp_start_ap() 232 AL_CPU_RESUME_PCPU_RADDR_REG(a), physaddr); in alpine_mp_start_ap()
|
| /freebsd-14.2/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-14.2/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-14.2/contrib/bsnmp/snmp_mibII/ |
| H A D | mibII.c | 686 if ((rcv = mib_find_rcvaddr(ifp->index, ifp->physaddr, in get_physaddr() 689 free(ifp->physaddr); in get_physaddr() 690 ifp->physaddr = NULL; in get_physaddr() 700 if ((rcv = mib_find_rcvaddr(ifp->index, ifp->physaddr, in get_physaddr() 705 free(ifp->physaddr); in get_physaddr() 706 ifp->physaddr = NULL; in get_physaddr() 710 ifp->physaddr = np; in get_physaddr() 721 if ((rcv = mib_find_rcvaddr(ifp->index, ifp->physaddr, in get_physaddr() 726 memcpy(ifp->physaddr, ptr, ifp->physaddrlen); in get_physaddr() 769 free(ifp->physaddr); in mibif_free() [all …]
|
| /freebsd-14.2/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-14.2/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 | 598 bus_addr_t physaddr; in rt2560_alloc_rx_ring() local 668 &physaddr, 0); in rt2560_alloc_rx_ring() 676 desc->physaddr = htole32(physaddr); in rt2560_alloc_rx_ring() 1089 bus_addr_t physaddr; in rt2560_decryption_intr() local 1141 &physaddr, 0); in rt2560_decryption_intr() 1148 rt2560_dma_map_addr, &physaddr, 0); in rt2560_decryption_intr() 1164 desc->physaddr = htole32(physaddr); in rt2560_decryption_intr() 1407 desc->physaddr = htole32(physaddr); in rt2560_setup_tx_desc() 2573 RAL_WRITE(sc, RT2560_TXCSR3, sc->txq.physaddr); in rt2560_init_locked() 2576 RAL_WRITE(sc, RT2560_TXCSR6, sc->bcnq.physaddr); in rt2560_init_locked() [all …]
|
| H A D | rt2560reg.h | 211 uint32_t physaddr; member 248 uint32_t physaddr; member
|
| /freebsd-14.2/sys/dev/psci/ |
| H A D | psci.c | 260 vm_paddr_t physaddr; in psci_acpi_bootflags() local 263 physaddr = acpi_find_table(ACPI_SIG_FADT); in psci_acpi_bootflags() 264 if (physaddr == 0) in psci_acpi_bootflags() 267 fadt = acpi_map_table(physaddr, ACPI_SIG_FADT); in psci_acpi_bootflags()
|
| /freebsd-14.2/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_nfereg.h | 235 uint32_t physaddr; member 254 uint32_t physaddr[2]; member
|
| /freebsd-14.2/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-14.2/sys/dev/ipw/ |
| H A D | if_ipw.c | 491 bus_addr_t physaddr; in ipw_dma_alloc() local 693 &physaddr, 0); in ipw_dma_alloc() 702 sbd->bd->physaddr = htole32(physaddr); in ipw_dma_alloc() 1162 bus_addr_t physaddr; in ipw_rx_data_intr() local 1189 MCLBYTES, ipw_dma_map_addr, &physaddr, 0); in ipw_rx_data_intr() 1196 &physaddr, 0); in ipw_rx_data_intr() 1212 sbd->bd->physaddr = htole32(physaddr); in ipw_rx_data_intr() 1475 bus_addr_t physaddr; in ipw_cmd() local 1504 sbd->bd->physaddr = htole32(physaddr); in ipw_cmd() 1555 bus_addr_t physaddr; in ipw_tx_start() local [all …]
|
| /freebsd-14.2/sys/dev/usb/controller/ |
| H A D | xhci.c | 285 addr = buf_res.physaddr; in xhci_reset_command_queue_locked() 342 addr = buf_res.physaddr; in xhci_start_controller() 354 addr = buf_res.physaddr; in xhci_start_controller() 373 addr = buf_res.physaddr; in xhci_start_controller() 400 addr = buf_res.physaddr; in xhci_start_controller() 413 addr = buf_res.physaddr; in xhci_start_controller() 1104 addr = buf_res.physaddr; in xhci_interrupt_poll() 1168 addr = buf_res.physaddr; in xhci_do_command() 2722 addr = buf_ep.physaddr; in xhci_alloc_device_ext() 2784 pepext->physaddr = buf_ep.physaddr; in xhci_get_endpoint_ext() [all …]
|
| H A D | ohci.c | 247 OWRITE4(sc, OHCI_HCCA, 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() 1909 td->itd_be = htole32(buf_res.physaddr); in ohci_device_isoc_enter() 2432 td->td_self = htole32(page_info.physaddr); in ohci_xfer_setup() [all …]
|
| /freebsd-14.2/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()
|