Home
last modified time | relevance | path

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

123

/NextBSD/sys/compat/ndis/
HDresource_var.h40 struct physaddr { struct
48 typedef struct physaddr physaddr; argument
139 physaddr cprd_start;
143 physaddr cprd_start;
152 physaddr cprd_start;
/NextBSD/sys/dev/proto/
HDproto_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 …]
/NextBSD/sys/arm64/arm64/
HDgic_acpi.c97 vm_paddr_t physaddr; in arm_gic_acpi_identify() local
100 physaddr = acpi_find_table(ACPI_SIG_MADT); in arm_gic_acpi_identify()
101 if (physaddr == 0) in arm_gic_acpi_identify()
104 madt = acpi_map_table(physaddr, ACPI_SIG_MADT); in arm_gic_acpi_identify()
/NextBSD/sys/boot/usb/
HDusb_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()
/NextBSD/lib/libkvm/
HDkvm_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()
/NextBSD/sys/powerpc/ofw/
HDrtas.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()
/NextBSD/sys/dev/iwi/
HDif_iwivar.h63 bus_addr_t physaddr; member
81 bus_addr_t physaddr; member
94 bus_addr_t physaddr; member
/NextBSD/contrib/bsnmp/snmp_mibII/
HDmibII.c619 if ((rcv = mib_find_rcvaddr(ifp->index, ifp->physaddr, in get_physaddr()
622 free(ifp->physaddr); in get_physaddr()
623 ifp->physaddr = NULL; in get_physaddr()
633 if ((rcv = mib_find_rcvaddr(ifp->index, ifp->physaddr, in get_physaddr()
637 if ((np = realloc(ifp->physaddr, sdl->sdl_alen)) == NULL) { in get_physaddr()
638 free(ifp->physaddr); in get_physaddr()
639 ifp->physaddr = NULL; in get_physaddr()
643 ifp->physaddr = np; in get_physaddr()
646 } else if (memcmp(ifp->physaddr, ptr, ifp->physaddrlen) == 0) { in get_physaddr()
654 if ((rcv = mib_find_rcvaddr(ifp->index, ifp->physaddr, in get_physaddr()
[all …]
/NextBSD/sys/dev/usb/
HDusb_busdma.c113 res->physaddr = page->physaddr + offset; in usbd_get_page()
116 res->physaddr = page->physaddr + offset; in usbd_get_page()
132 res->physaddr = 0; in usbd_get_page()
470 pg->physaddr = segs->ds_addr & ~(USB_PAGE_SIZE - 1); in usb_pc_common_mem_cb()
500 pg->physaddr = (segs->ds_addr + off) & ~(USB_PAGE_SIZE - 1); in usb_pc_common_mem_cb()
HDusb_busdma.h65 bus_addr_t physaddr; member
78 bus_addr_t physaddr; member
/NextBSD/sys/arm/annapurna/alpine/
HDalpine_machdep_mp.c197 uint32_t physaddr; in platform_mp_start_ap() local
232 physaddr = pmap_kextract(vaddr); in platform_mp_start_ap()
250 AL_CPU_RESUME_PCPU_RADDR_REG(a), physaddr); in platform_mp_start_ap()
/NextBSD/sys/arm/arm/
HDgeneric_timer.c304 vm_paddr_t physaddr; in arm_tmr_acpi_identify() local
307 physaddr = acpi_find_table(ACPI_SIG_GTDT); in arm_tmr_acpi_identify()
308 if (physaddr == 0) in arm_tmr_acpi_identify()
311 gtdt = acpi_map_table(physaddr, ACPI_SIG_GTDT); in arm_tmr_acpi_identify()
/NextBSD/sys/dev/ral/
HDrt2560var.h68 bus_addr_t physaddr; member
89 bus_addr_t physaddr; member
HDrt2661var.h64 bus_addr_t physaddr; member
83 bus_addr_t physaddr; member
HDrt2560.c478 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()
1092 bus_addr_t physaddr; in rt2560_decryption_intr() local
1100 hw = RAL_READ(sc, RT2560_SECCSR0) - sc->rxq.physaddr; in rt2560_decryption_intr()
1144 &physaddr, 0); in rt2560_decryption_intr()
1151 rt2560_dma_map_addr, &physaddr, 0); in rt2560_decryption_intr()
[all …]
HDrt2661.c488 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()
964 bus_addr_t physaddr; in rt2661_rx_intr() local
1018 &physaddr, 0); in rt2661_rx_intr()
1025 rt2661_dma_map_addr, &physaddr, 0); in rt2661_rx_intr()
1041 desc->physaddr = htole32(physaddr); in rt2661_rx_intr()
2262 RAL_WRITE(sc, RT2661_AC1_BASE_CSR, sc->txq[1].physaddr); in rt2661_init_locked()
[all …]
HDrt2560reg.h213 uint32_t physaddr; member
250 uint32_t physaddr; member
/NextBSD/sys/dev/ipw/
HDif_ipw.c496 bus_addr_t physaddr; in ipw_dma_alloc() local
698 &physaddr, 0); in ipw_dma_alloc()
707 sbd->bd->physaddr = htole32(physaddr); in ipw_dma_alloc()
1154 bus_addr_t physaddr; in ipw_rx_data_intr() local
1181 MCLBYTES, ipw_dma_map_addr, &physaddr, 0); in ipw_rx_data_intr()
1188 &physaddr, 0); in ipw_rx_data_intr()
1204 sbd->bd->physaddr = htole32(physaddr); in ipw_rx_data_intr()
1470 bus_addr_t physaddr; in ipw_cmd() local
1485 sizeof (struct ipw_cmd), ipw_dma_map_addr, &physaddr, 0); in ipw_cmd()
1499 sbd->bd->physaddr = htole32(physaddr); in ipw_cmd()
[all …]
/NextBSD/sys/dev/nfe/
HDif_nfevar.h29 bus_addr_t physaddr; member
48 bus_addr_t physaddr; member
HDif_nfe.c1153 ring->physaddr = ctx.nfe_busaddr; in nfe_alloc_rx_ring()
1527 ring->physaddr = ctx.nfe_busaddr; in nfe_alloc_tx_ring()
1958 desc64->physaddr[0] = htole32(NFE_ADDR_HI(data->paddr)); in nfe_discard_rxbuf()
1959 desc64->physaddr[1] = htole32(NFE_ADDR_LO(data->paddr)); in nfe_discard_rxbuf()
1984 desc64->physaddr[0] = htole32(NFE_ADDR_HI(data->paddr)); in nfe_discard_jrxbuf()
1985 desc64->physaddr[1] = htole32(NFE_ADDR_LO(data->paddr)); in nfe_discard_jrxbuf()
2037 desc64->physaddr[0] = htole32(NFE_ADDR_HI(segs[0].ds_addr)); in nfe_newbuf()
2038 desc64->physaddr[1] = htole32(NFE_ADDR_LO(segs[0].ds_addr)); in nfe_newbuf()
2043 desc32->physaddr = htole32(NFE_ADDR_LO(segs[0].ds_addr)); in nfe_newbuf()
2092 desc64->physaddr[0] = htole32(NFE_ADDR_HI(segs[0].ds_addr)); in nfe_jnewbuf()
[all …]
HDif_nfereg.h237 uint32_t physaddr; member
256 uint32_t physaddr[2]; member
/NextBSD/contrib/wpa/src/l2_packet/
HDl2_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()
/NextBSD/sys/dev/usb/controller/
HDxhci.c327 addr = buf_res.physaddr; in xhci_reset_command_queue_locked()
396 addr = buf_res.physaddr; in xhci_start_controller()
405 pdctxa->qwSpBufPtr[i] = htole64((uint64_t)buf_scp.physaddr); in xhci_start_controller()
408 addr = buf_res.physaddr; in xhci_start_controller()
427 addr = buf_res.physaddr; in xhci_start_controller()
441 addr = buf_res.physaddr; in xhci_start_controller()
454 addr = buf_res.physaddr; in xhci_start_controller()
1118 addr = buf_res.physaddr; in xhci_interrupt_poll()
1182 addr = buf_res.physaddr; in xhci_do_command()
1434 err = xhci_cmd_set_address(sc, buf_inp.physaddr, in xhci_set_address()
[all …]
HDohci.c246 OWRITE4(sc, OHCI_HCCA, buf_res.physaddr); in ohci_controller_init()
249 OWRITE4(sc, OHCI_CONTROL_HEAD_ED, buf_res.physaddr); in ohci_controller_init()
252 OWRITE4(sc, OHCI_BULK_HEAD_ED, buf_res.physaddr); in ohci_controller_init()
313 ed->ed_self = htole32(buf_res.physaddr); in ohci_init_ed()
1339 td->td_cbp = htole32(buf_res.physaddr); in ohci_setup_standard_chain_sub()
1343 td->td_be = htole32(buf_res.physaddr); in ohci_setup_standard_chain_sub()
1945 length = OHCI_PAGE_MASK(buf_res.physaddr); in ohci_device_isoc_enter()
1946 buf_res.physaddr = in ohci_device_isoc_enter()
1947 OHCI_PAGE(buf_res.physaddr); in ohci_device_isoc_enter()
1948 td->itd_bp0 = htole32(buf_res.physaddr); in ohci_device_isoc_enter()
[all …]
HDehci.c261 EOWRITE4(sc, EHCI_PERIODICLISTBASE, buf_res.physaddr); in ehci_init_sub()
264 EOWRITE4(sc, EHCI_ASYNCLISTADDR, buf_res.physaddr | EHCI_LINK_QH); in ehci_init_sub()
365 sc->sc_terminate_self = htohc32(sc, buf_res.physaddr); in ehci_init()
392 htohc32(sc, buf_res.physaddr) | in ehci_init()
462 htohc32(sc, buf_res.physaddr) | in ehci_init()
487 htohc32(sc, buf_res.physaddr) | in ehci_init()
530 htohc32(sc, buf_res.physaddr) | in ehci_init()
1694 htohc32(temp->sc, buf_res.physaddr); in ehci_setup_standard_chain_sub()
1705 buf_res.physaddr & (~0xFFF)); in ehci_setup_standard_chain_sub()
1722 buf_res.physaddr & (~0xFFF)); in ehci_setup_standard_chain_sub()
[all …]

123