/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() 439 physaddr in gic_v3_acpi_bus_attach() 434 vm_paddr_t physaddr; gic_v3_acpi_bus_attach() local [all...] |
H A D | mp_machdep.c | 570 vm_paddr_t physaddr; in cpu_init_acpi() local 573 physaddr = acpi_find_table(ACPI_SIG_MADT); in cpu_init_acpi() 574 if (physaddr == 0) in cpu_init_acpi() 577 madt = acpi_map_table(physaddr, ACPI_SIG_MADT); in cpu_init_acpi() 749 vm_paddr_t physaddr; in cpu_count_acpi() local 752 physaddr = acpi_find_table(ACPI_SIG_MADT); in cpu_count_acpi() 753 if (physaddr == 0) in cpu_count_acpi() 756 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/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 | 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() 704 if ((np = realloc(ifp->physaddr, sdl->sdl_alen)) == NULL) { in get_physaddr() 705 free(ifp->physaddr); in get_physaddr() 706 ifp->physaddr = NULL; in get_physaddr() 710 ifp->physaddr = np; in get_physaddr() 713 } else if (memcmp(ifp->physaddr, ptr, ifp->physaddrlen) == 0) { in get_physaddr() 721 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 | 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() 1089 bus_addr_t physaddr; in rt2560_decryption_intr() local 1097 hw = RAL_READ(sc, RT2560_SECCSR0) - sc->rxq.physaddr; in rt2560_decryption_intr() 1141 &physaddr, 0); in rt2560_decryption_intr() 1148 rt2560_dma_map_addr, &physaddr, 0); in rt2560_decryption_intr() [all …]
|
H A D | 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() 961 bus_addr_t physaddr; in rt2661_rx_intr() local 1015 &physaddr, 0); in rt2661_rx_intr() 1022 rt2661_dma_map_addr, &physaddr, 0); in rt2661_rx_intr() 1038 desc->physaddr = htole32(physaddr); in rt2661_rx_intr() 2241 RAL_WRITE(sc, RT2661_AC1_BASE_CSR, sc->txq[1].physaddr); in rt2661_init_locked() [all …]
|
H A D | rt2560reg.h | 211 uint32_t physaddr; member 248 uint32_t physaddr; member
|
/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/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/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 1490 sizeof (struct ipw_cmd), ipw_dma_map_addr, &physaddr, 0); in ipw_cmd() 1504 sbd->bd->physaddr = htole32(physaddr); in ipw_cmd() [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/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()
|
/freebsd/sys/dev/usb/controller/ |
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 …]
|