| /freebsd-13.1/sys/arm64/arm64/ |
| H A D | gic_v3_acpi.c | 168 vm_paddr_t physaddr; in gic_v3_acpi_identify() local 171 physaddr = acpi_find_table(ACPI_SIG_MADT); in gic_v3_acpi_identify() 172 if (physaddr == 0) in gic_v3_acpi_identify() 175 madt = acpi_map_table(physaddr, ACPI_SIG_MADT); in gic_v3_acpi_identify() 272 vm_paddr_t physaddr; in gic_v3_acpi_count_regions() local 276 physaddr = acpi_find_table(ACPI_SIG_MADT); in gic_v3_acpi_count_regions() 277 if (physaddr == 0) in gic_v3_acpi_count_regions() 280 madt = acpi_map_table(physaddr, ACPI_SIG_MADT); in gic_v3_acpi_count_regions() 396 vm_paddr_t physaddr; in gic_v3_acpi_bus_attach() local 398 physaddr = acpi_find_table(ACPI_SIG_MADT); in gic_v3_acpi_bus_attach() [all …]
|
| H A D | mp_machdep.c | 583 vm_paddr_t physaddr; in cpu_init_acpi() local 586 physaddr = acpi_find_table(ACPI_SIG_MADT); in cpu_init_acpi() 587 if (physaddr == 0) in cpu_init_acpi() 590 madt = acpi_map_table(physaddr, ACPI_SIG_MADT); in cpu_init_acpi() 717 vm_paddr_t physaddr; in cpu_count_acpi() local 720 physaddr = acpi_find_table(ACPI_SIG_MADT); in cpu_count_acpi() 721 if (physaddr == 0) in cpu_count_acpi() 724 madt = acpi_map_table(physaddr, ACPI_SIG_MADT); in cpu_count_acpi()
|
| /freebsd-13.1/sys/compat/ndis/ |
| H A D | resource_var.h | 42 struct physaddr { struct 50 typedef struct physaddr physaddr; argument 141 physaddr cprd_start; 145 physaddr cprd_start; 154 physaddr cprd_start;
|
| /freebsd-13.1/sys/arm/arm/ |
| H A D | gic_acpi.c | 126 vm_paddr_t physaddr; in gic_acpi_identify() local 130 physaddr = acpi_find_table(ACPI_SIG_MADT); in gic_acpi_identify() 131 if (physaddr == 0) in gic_acpi_identify() 134 madt = acpi_map_table(physaddr, ACPI_SIG_MADT); in gic_acpi_identify() 299 vm_paddr_t physaddr; in arm_gic_add_children() local 302 physaddr = acpi_find_table(ACPI_SIG_MADT); in arm_gic_add_children() 303 if (physaddr == 0) in arm_gic_add_children() 306 madt = acpi_map_table(physaddr, ACPI_SIG_MADT); in arm_gic_add_children()
|
| H A D | generic_timer.c | 349 vm_paddr_t physaddr; in arm_tmr_acpi_identify() local 352 physaddr = acpi_find_table(ACPI_SIG_GTDT); in arm_tmr_acpi_identify() 353 if (physaddr == 0) in arm_tmr_acpi_identify() 356 gtdt = acpi_map_table(physaddr, ACPI_SIG_GTDT); in arm_tmr_acpi_identify()
|
| /freebsd-13.1/sys/dev/proto/ |
| H A D | proto_busdma.c | 153 if (md->physaddr) in proto_busdma_md_destroy_internal() 198 md->physaddr = pmap_kextract((uintptr_t)(md->virtaddr)); in proto_busdma_mem_alloc() 215 ioc->u.md.phys_addr = md->physaddr; in proto_busdma_mem_alloc() 308 md->physaddr = pmap_extract(pmap, ioc->u.md.virt_addr); in proto_busdma_md_load() 310 ioc->u.md.phys_addr = md->physaddr; in proto_busdma_md_load() 318 if (!md->physaddr) in proto_busdma_md_unload() 321 md->physaddr = 0; in proto_busdma_md_unload() 335 if (!md->physaddr) in proto_busdma_sync() 487 proto_busdma_mmap_allowed(struct proto_busdma *busdma, vm_paddr_t physaddr) in proto_busdma_mmap_allowed() argument 496 if (physaddr >= trunc_page(md->physaddr) && in proto_busdma_mmap_allowed() [all …]
|
| /freebsd-13.1/stand/usb/ |
| H A D | 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()
|
| /freebsd-13.1/lib/libkvm/ |
| H A D | kvm_arm.c | 111 arm_physaddr_t physaddr, pa; in _arm_initvtop() local 136 physaddr = vm->phdr[i].p_paddr; in _arm_initvtop() 160 physaddr = nl[0].n_value; in _arm_initvtop() 167 if (kvm_read2(kd, (nl[0].n_value - kernbase + physaddr), &pa, in _arm_initvtop()
|
| /freebsd-13.1/sys/arm/annapurna/alpine/ |
| H A D | alpine_machdep_mp.c | 180 uint32_t physaddr; in alpine_mp_start_ap() local 215 physaddr = pmap_kextract(vaddr); in alpine_mp_start_ap() 233 AL_CPU_RESUME_PCPU_RADDR_REG(a), physaddr); in alpine_mp_start_ap()
|
| /freebsd-13.1/sys/powerpc/ofw/ |
| H A D | rtas.c | 184 rtas_real_unmap(cell_t physaddr, void *buf, size_t len) in rtas_real_unmap() argument 188 if (physaddr == 0) in rtas_real_unmap() 191 memcpy(buf, rtas_bounce_virt + (physaddr - rtas_bounce_phys), len); in rtas_real_unmap()
|
| /freebsd-13.1/sys/dev/iwi/ |
| H A D | if_iwivar.h | 66 bus_addr_t physaddr; member 84 bus_addr_t physaddr; member 97 bus_addr_t physaddr; member
|
| /freebsd-13.1/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-13.1/sys/dev/usb/ |
| H A D | usb_busdma.c | 112 res->physaddr = page->physaddr + offset; in usbd_get_page() 115 res->physaddr = page->physaddr + offset; in usbd_get_page() 130 res->physaddr = 0; in usbd_get_page() 461 pg->physaddr = rounddown2(segs->ds_addr, USB_PAGE_SIZE); in usb_pc_common_mem_cb() 496 pg->physaddr = rounddown2(segs->ds_addr + off, USB_PAGE_SIZE); in usb_pc_common_mem_cb()
|
| H A D | usb_busdma.h | 67 bus_addr_t physaddr; member 80 bus_addr_t physaddr; member
|
| /freebsd-13.1/sys/dev/psci/ |
| H A D | psci.c | 265 vm_paddr_t physaddr; in psci_acpi_bootflags() local 268 physaddr = acpi_find_table(ACPI_SIG_FADT); in psci_acpi_bootflags() 269 if (physaddr == 0) in psci_acpi_bootflags() 272 fadt = acpi_map_table(physaddr, ACPI_SIG_FADT); in psci_acpi_bootflags()
|
| /freebsd-13.1/sys/dev/ral/ |
| H A D | rt2560var.h | 68 bus_addr_t physaddr; member 89 bus_addr_t physaddr; member
|
| H A D | rt2661var.h | 64 bus_addr_t physaddr; member 83 bus_addr_t physaddr; member
|
| H A D | rt2560.c | 601 bus_addr_t physaddr; in rt2560_alloc_rx_ring() local 671 &physaddr, 0); in rt2560_alloc_rx_ring() 679 desc->physaddr = htole32(physaddr); in rt2560_alloc_rx_ring() 1093 bus_addr_t physaddr; in rt2560_decryption_intr() local 1145 &physaddr, 0); in rt2560_decryption_intr() 1152 rt2560_dma_map_addr, &physaddr, 0); in rt2560_decryption_intr() 1168 desc->physaddr = htole32(physaddr); in rt2560_decryption_intr() 1412 desc->physaddr = htole32(physaddr); in rt2560_setup_tx_desc() 2578 RAL_WRITE(sc, RT2560_TXCSR3, sc->txq.physaddr); in rt2560_init_locked() 2581 RAL_WRITE(sc, RT2560_TXCSR6, sc->bcnq.physaddr); in rt2560_init_locked() [all …]
|
| /freebsd-13.1/sys/dev/nfe/ |
| H A D | if_nfevar.h | 29 bus_addr_t physaddr; member 48 bus_addr_t physaddr; member
|
| /freebsd-13.1/sys/x86/isa/ |
| H A D | atrtc.c | 429 vm_paddr_t physaddr; in rtc_acpi_century_get() local 432 physaddr = acpi_find_table(ACPI_SIG_FADT); in rtc_acpi_century_get() 433 if (physaddr == 0) in rtc_acpi_century_get() 436 fadt = acpi_map_table(physaddr, ACPI_SIG_FADT); in rtc_acpi_century_get()
|
| /freebsd-13.1/sys/dev/ipw/ |
| H A D | if_ipw.c | 495 bus_addr_t physaddr; in ipw_dma_alloc() local 697 &physaddr, 0); in ipw_dma_alloc() 706 sbd->bd->physaddr = htole32(physaddr); in ipw_dma_alloc() 1167 bus_addr_t physaddr; in ipw_rx_data_intr() local 1194 MCLBYTES, ipw_dma_map_addr, &physaddr, 0); in ipw_rx_data_intr() 1201 &physaddr, 0); in ipw_rx_data_intr() 1217 sbd->bd->physaddr = htole32(physaddr); in ipw_rx_data_intr() 1482 bus_addr_t physaddr; in ipw_cmd() local 1511 sbd->bd->physaddr = htole32(physaddr); in ipw_cmd() 1562 bus_addr_t physaddr; in ipw_tx_start() local [all …]
|
| /freebsd-13.1/contrib/wpa/src/l2_packet/ |
| H A D | l2_packet_freebsd.c | 170 u8 physaddr[DLPI_PHYSADDR_MAX]; in eth_get() local 180 retval = dlpi_get_physaddr(dh, DL_CURR_PHYS_ADDR, physaddr, in eth_get() 188 os_memcpy(ea, physaddr, ETH_ALEN); in eth_get()
|
| /freebsd-13.1/sys/arm/allwinner/ |
| H A D | a10_hdmiaudio.c | 85 bus_addr_t physaddr; member 141 ch->physaddr = segs[0].ds_addr; in a10hdmiaudio_dmamap_cb() 150 ch->physaddr + ch->pos, TX_FIFO, ch->blocksize); in a10hdmiaudio_transfer()
|
| /freebsd-13.1/sys/dev/usb/controller/ |
| H A D | xhci.c | 341 addr = buf_res.physaddr; in xhci_reset_command_queue_locked() 398 addr = buf_res.physaddr; in xhci_start_controller() 410 addr = buf_res.physaddr; in xhci_start_controller() 429 addr = buf_res.physaddr; in xhci_start_controller() 456 addr = buf_res.physaddr; in xhci_start_controller() 469 addr = buf_res.physaddr; in xhci_start_controller() 1161 addr = buf_res.physaddr; in xhci_interrupt_poll() 1225 addr = buf_res.physaddr; in xhci_do_command() 2775 addr = buf_ep.physaddr; in xhci_alloc_device_ext() 2837 pepext->physaddr = buf_ep.physaddr; in xhci_get_endpoint_ext() [all …]
|
| H A D | ohci.c | 248 OWRITE4(sc, OHCI_HCCA, buf_res.physaddr); in ohci_controller_init() 315 ed->ed_self = htole32(buf_res.physaddr); in ohci_init_ed() 1327 td->td_cbp = htole32(buf_res.physaddr); in ohci_setup_standard_chain_sub() 1331 td->td_be = htole32(buf_res.physaddr); in ohci_setup_standard_chain_sub() 1905 length = OHCI_PAGE_MASK(buf_res.physaddr); in ohci_device_isoc_enter() 1906 buf_res.physaddr = in ohci_device_isoc_enter() 1907 OHCI_PAGE(buf_res.physaddr); in ohci_device_isoc_enter() 1908 td->itd_bp0 = htole32(buf_res.physaddr); in ohci_device_isoc_enter() 1910 td->itd_be = htole32(buf_res.physaddr); in ohci_device_isoc_enter() 2433 td->td_self = htole32(page_info.physaddr); in ohci_xfer_setup() [all …]
|