Home
last modified time | relevance | path

Searched refs:physaddr (Results 1 – 25 of 46) sorted by relevance

12

/freebsd-14.2/sys/arm64/arm64/
H A Dgic_v3_acpi.c172 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 Dmp_machdep.c555 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 Dhyperv_aarch64.c93 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 Dgic_acpi.c122 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 Dproto_busdma.c151 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 Dusb_busdma_loader.c69 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 Dkvm_arm.c109 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 Dalpine_machdep_mp.c179 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 Drtas.c182 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 Dif_iwivar.h65 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 DmibII.c686 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 Dusb_busdma.c111 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 Dusb_busdma.h62 bus_addr_t physaddr; member
75 bus_addr_t physaddr; member
/freebsd-14.2/sys/dev/ral/
H A Drt2560var.h67 bus_addr_t physaddr; member
88 bus_addr_t physaddr; member
H A Drt2661var.h63 bus_addr_t physaddr; member
82 bus_addr_t physaddr; member
H A Drt2560.c598 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 Drt2560reg.h211 uint32_t physaddr; member
248 uint32_t physaddr; member
/freebsd-14.2/sys/dev/psci/
H A Dpsci.c260 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 Dif_nfevar.h27 bus_addr_t physaddr; member
46 bus_addr_t physaddr; member
H A Dif_nfereg.h235 uint32_t physaddr; member
254 uint32_t physaddr[2]; member
/freebsd-14.2/sys/x86/isa/
H A Datrtc.c434 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 Dif_ipw.c491 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 Dxhci.c285 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 Dohci.c247 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 Dl2_packet_freebsd.c185 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()

12