Home
last modified time | relevance | path

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

123

/freebsd-12.1/sys/arm64/arm64/
H A Dgic_v3_acpi.c148 vm_paddr_t physaddr; in gic_v3_acpi_identify() local
151 physaddr = acpi_find_table(ACPI_SIG_MADT); in gic_v3_acpi_identify()
152 if (physaddr == 0) in gic_v3_acpi_identify()
155 madt = acpi_map_table(physaddr, ACPI_SIG_MADT); in gic_v3_acpi_identify()
226 vm_paddr_t physaddr; in gic_v3_acpi_count_regions() local
230 physaddr = acpi_find_table(ACPI_SIG_MADT); in gic_v3_acpi_count_regions()
231 if (physaddr == 0) in gic_v3_acpi_count_regions()
234 madt = acpi_map_table(physaddr, ACPI_SIG_MADT); in gic_v3_acpi_count_regions()
334 vm_paddr_t physaddr; in gic_v3_acpi_bus_attach() local
336 physaddr = acpi_find_table(ACPI_SIG_MADT); in gic_v3_acpi_bus_attach()
[all …]
H A Dmp_machdep.c541 vm_paddr_t physaddr; in cpu_init_acpi() local
544 physaddr = acpi_find_table(ACPI_SIG_MADT); in cpu_init_acpi()
545 if (physaddr == 0) in cpu_init_acpi()
548 madt = acpi_map_table(physaddr, ACPI_SIG_MADT); in cpu_init_acpi()
661 vm_paddr_t physaddr; in cpu_count_acpi() local
664 physaddr = acpi_find_table(ACPI_SIG_MADT); in cpu_count_acpi()
665 if (physaddr == 0) in cpu_count_acpi()
668 madt = acpi_map_table(physaddr, ACPI_SIG_MADT); in cpu_count_acpi()
/freebsd-12.1/sys/compat/ndis/
H A Dresource_var.h42 struct physaddr { struct
50 typedef struct physaddr physaddr; argument
141 physaddr cprd_start;
145 physaddr cprd_start;
154 physaddr cprd_start;
/freebsd-12.1/sys/arm/arm/
H A Dgic_acpi.c126 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 Dgeneric_timer.c349 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-12.1/sys/dev/proto/
H A Dproto_busdma.c152 if (md->physaddr) in proto_busdma_md_destroy_internal()
197 md->physaddr = pmap_kextract((uintptr_t)(md->virtaddr)); in proto_busdma_mem_alloc()
214 ioc->u.md.phys_addr = md->physaddr; in proto_busdma_mem_alloc()
307 md->physaddr = pmap_extract(pmap, ioc->u.md.virt_addr); in proto_busdma_md_load()
309 ioc->u.md.phys_addr = md->physaddr; in proto_busdma_md_load()
317 if (!md->physaddr) in proto_busdma_md_unload()
320 md->physaddr = 0; in proto_busdma_md_unload()
334 if (!md->physaddr) in proto_busdma_sync()
477 proto_busdma_mmap_allowed(struct proto_busdma *busdma, vm_paddr_t physaddr) in proto_busdma_mmap_allowed() argument
482 if (physaddr >= trunc_page(md->physaddr) && in proto_busdma_mmap_allowed()
[all …]
/freebsd-12.1/stand/usb/
H A Dusb_busdma_loader.c70 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-12.1/lib/libkvm/
H A Dkvm_arm.c111 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-12.1/sys/arm/annapurna/alpine/
H A Dalpine_machdep_mp.c180 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-12.1/sys/powerpc/ofw/
H A Drtas.c183 rtas_real_unmap(cell_t physaddr, void *buf, size_t len) in rtas_real_unmap() argument
187 if (physaddr == 0) in rtas_real_unmap()
190 memcpy(buf, rtas_bounce_virt + (physaddr - rtas_bounce_phys), len); in rtas_real_unmap()
/freebsd-12.1/sys/dev/iwi/
H A Dif_iwivar.h66 bus_addr_t physaddr; member
84 bus_addr_t physaddr; member
97 bus_addr_t physaddr; member
/freebsd-12.1/contrib/bsnmp/snmp_mibII/
H A DmibII.c687 if ((rcv = mib_find_rcvaddr(ifp->index, ifp->physaddr, in get_physaddr()
690 free(ifp->physaddr); in get_physaddr()
691 ifp->physaddr = NULL; in get_physaddr()
701 if ((rcv = mib_find_rcvaddr(ifp->index, ifp->physaddr, in get_physaddr()
706 free(ifp->physaddr); in get_physaddr()
707 ifp->physaddr = NULL; in get_physaddr()
711 ifp->physaddr = np; in get_physaddr()
722 if ((rcv = mib_find_rcvaddr(ifp->index, ifp->physaddr, in get_physaddr()
727 memcpy(ifp->physaddr, ptr, ifp->physaddrlen); in get_physaddr()
770 free(ifp->physaddr); in mibif_free()
[all …]
/freebsd-12.1/sys/dev/usb/
H A Dusb_busdma.c115 res->physaddr = page->physaddr + offset; in usbd_get_page()
118 res->physaddr = page->physaddr + offset; in usbd_get_page()
134 res->physaddr = 0; in usbd_get_page()
472 pg->physaddr = rounddown2(segs->ds_addr, USB_PAGE_SIZE); in usb_pc_common_mem_cb()
507 pg->physaddr = rounddown2(segs->ds_addr + off, USB_PAGE_SIZE); in usb_pc_common_mem_cb()
H A Dusb_busdma.h67 bus_addr_t physaddr; member
80 bus_addr_t physaddr; member
/freebsd-12.1/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-12.1/sys/dev/ral/
H A Drt2661var.h64 bus_addr_t physaddr; member
83 bus_addr_t physaddr; member
H A Drt2560var.h68 bus_addr_t physaddr; member
89 bus_addr_t physaddr; member
H A Drt2560.c601 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()
1092 bus_addr_t physaddr; in rt2560_decryption_intr() local
1144 &physaddr, 0); in rt2560_decryption_intr()
1151 rt2560_dma_map_addr, &physaddr, 0); in rt2560_decryption_intr()
1167 desc->physaddr = htole32(physaddr); in rt2560_decryption_intr()
1410 desc->physaddr = htole32(physaddr); in rt2560_setup_tx_desc()
2577 RAL_WRITE(sc, RT2560_TXCSR3, sc->txq.physaddr); in rt2560_init_locked()
2580 RAL_WRITE(sc, RT2560_TXCSR6, sc->bcnq.physaddr); in rt2560_init_locked()
[all …]
/freebsd-12.1/sys/dev/ipw/
H A Dif_ipw.c494 bus_addr_t physaddr; in ipw_dma_alloc() local
696 &physaddr, 0); in ipw_dma_alloc()
705 sbd->bd->physaddr = htole32(physaddr); in ipw_dma_alloc()
1165 bus_addr_t physaddr; in ipw_rx_data_intr() local
1192 MCLBYTES, ipw_dma_map_addr, &physaddr, 0); in ipw_rx_data_intr()
1199 &physaddr, 0); in ipw_rx_data_intr()
1215 sbd->bd->physaddr = htole32(physaddr); in ipw_rx_data_intr()
1478 bus_addr_t physaddr; in ipw_cmd() local
1507 sbd->bd->physaddr = htole32(physaddr); in ipw_cmd()
1558 bus_addr_t physaddr; in ipw_tx_start() local
[all …]
/freebsd-12.1/sys/dev/nfe/
H A Dif_nfevar.h29 bus_addr_t physaddr; member
48 bus_addr_t physaddr; member
H A Dif_nfe.c1156 ring->physaddr = ctx.nfe_busaddr; in nfe_alloc_rx_ring()
1530 ring->physaddr = ctx.nfe_busaddr; in nfe_alloc_tx_ring()
1961 desc64->physaddr[0] = htole32(NFE_ADDR_HI(data->paddr)); in nfe_discard_rxbuf()
1962 desc64->physaddr[1] = htole32(NFE_ADDR_LO(data->paddr)); in nfe_discard_rxbuf()
2137 vtag = le32toh(desc64->physaddr[1]); in nfe_rxeof()
2253 vtag = le32toh(desc64->physaddr[1]); in nfe_jrxeof()
2478 desc64->physaddr[0] = in nfe_encap()
2480 desc64->physaddr[1] = in nfe_encap()
2487 desc32->physaddr = in nfe_encap()
2815 NFE_ADDR_HI(sc->rxq.physaddr)); in nfe_init_locked()
[all …]
/freebsd-12.1/contrib/wpa/src/l2_packet/
H A Dl2_packet_freebsd.c169 u8 physaddr[DLPI_PHYSADDR_MAX]; in eth_get() local
179 retval = dlpi_get_physaddr(dh, DL_CURR_PHYS_ADDR, physaddr, in eth_get()
187 os_memcpy(ea, physaddr, ETH_ALEN); in eth_get()
/freebsd-12.1/sys/arm/allwinner/
H A Da10_hdmiaudio.c86 bus_addr_t physaddr; member
143 ch->physaddr = segs[0].ds_addr; in a10hdmiaudio_dmamap_cb()
152 ch->physaddr + ch->pos, TX_FIFO, ch->blocksize); in a10hdmiaudio_transfer()
/freebsd-12.1/sys/dev/usb/controller/
H A Dohci.c248 OWRITE4(sc, OHCI_HCCA, buf_res.physaddr); in ohci_controller_init()
315 ed->ed_self = htole32(buf_res.physaddr); in ohci_init_ed()
1341 td->td_cbp = htole32(buf_res.physaddr); in ohci_setup_standard_chain_sub()
1345 td->td_be = htole32(buf_res.physaddr); in ohci_setup_standard_chain_sub()
1947 length = OHCI_PAGE_MASK(buf_res.physaddr); in ohci_device_isoc_enter()
1948 buf_res.physaddr = in ohci_device_isoc_enter()
1949 OHCI_PAGE(buf_res.physaddr); in ohci_device_isoc_enter()
1950 td->itd_bp0 = htole32(buf_res.physaddr); in ohci_device_isoc_enter()
1952 td->itd_be = htole32(buf_res.physaddr); in ohci_device_isoc_enter()
2476 td->td_self = htole32(page_info.physaddr); in ohci_xfer_setup()
[all …]
H A Dxhci.c333 addr = buf_res.physaddr; in xhci_reset_command_queue_locked()
390 addr = buf_res.physaddr; in xhci_start_controller()
402 addr = buf_res.physaddr; in xhci_start_controller()
421 addr = buf_res.physaddr; in xhci_start_controller()
435 addr = buf_res.physaddr; in xhci_start_controller()
448 addr = buf_res.physaddr; in xhci_start_controller()
1144 addr = buf_res.physaddr; in xhci_interrupt_poll()
1208 addr = buf_res.physaddr; in xhci_do_command()
2788 addr = buf_ep.physaddr; in xhci_alloc_device_ext()
2850 pepext->physaddr = buf_ep.physaddr; in xhci_get_endpoint_ext()
[all …]

123