/haiku/src/system/kernel/arch/mips/ |
H A D | arch_pmap.cpp | 26 int pmap_map_page(addr paddr, addr vaddr, int lock) in pmap_map_page() argument 29 dprintf("pmap_map_page: entry paddr 0x%x vaddr 0x%x lock 0x%x\n", paddr, vaddr, lock); in pmap_map_page() 32 arch_pmap_invl_page(vaddr); in pmap_map_page() 37 int pmap_unmap_page(addr vaddr) in pmap_unmap_page() argument 43 void arch_pmap_invl_page(addr vaddr) in arch_pmap_invl_page() argument 46 dprintf("arch_pmap_invl_page: vaddr 0x%x\n", vaddr); in arch_pmap_invl_page() 51 int pmap_get_page_mapping(addr vaddr, addr *paddr) in pmap_get_page_mapping() argument
|
/haiku/src/system/boot/platform/efi/ |
H A D | mmu.cpp | 30 addr_t vaddr; member 35 dprintf("%s memory_region v: %#" B_PRIxADDR " p: %#" B_PRIxPHYSADDR " size: %lu\n", msg, vaddr, in dprint() 126 vaddr: 0, in platform_allocate_region() 128 vaddr: *_address == NULL ? 0 : (addr_t)*_address, in platform_allocate_region() 162 vaddr: (addr_t)addr, in platform_allocate_lomem() 219 vaddr: 0, in convert_physical_ranges() 252 if (region->vaddr == 0) { in platform_bootloader_address_to_kernel_address() 253 region->vaddr = get_next_virtual_address(region->size); in platform_bootloader_address_to_kernel_address() 255 *_result = region->vaddr + (addr - region->paddr); in platform_bootloader_address_to_kernel_address() 273 if (region->vaddr != 0 && region->vaddr <= address in platform_kernel_address_to_bootloader_address() [all …]
|
H A D | mmu.h | 39 bool mmu_next_region(void** cookie, addr_t* vaddr, phys_addr_t* paddr, size_t* size);
|
/haiku/src/libs/compat/freebsd_network/ |
H A D | bus_dma.cpp | 214 _allocate_dmamem(bus_dma_tag_t dmat, phys_size_t size, void** vaddr, int flags) in _allocate_dmamem() argument 234 *vaddr = kernel_contigmalloc(size, M_DEVBUF, mflags, in _allocate_dmamem() 237 if (*vaddr == NULL) in _allocate_dmamem() 241 if (*vaddr == NULL && dmat->highaddr < BUS_SPACE_MAXADDR) { in _allocate_dmamem() 242 *vaddr = kernel_contigmalloc(size, M_DEVBUF, mflags, in _allocate_dmamem() 247 if (*vaddr == NULL) { in _allocate_dmamem() 253 } else if (vtophys(*vaddr) & (dmat->alignment - 1)) { in _allocate_dmamem() 255 dmat->alignment, vtophys(vaddr)); in _allocate_dmamem() 256 bus_dmamem_free_tagless(*vaddr, size); in _allocate_dmamem() 265 bus_dmamem_alloc(bus_dma_tag_t dmat, void** vaddr, int flags, in bus_dmamem_alloc() argument [all …]
|
/haiku/src/libs/compat/freebsd_network/compat/sys/ |
H A D | bus_dma.h | 205 int bus_dmamem_alloc(bus_dma_tag_t dmat, void** vaddr, int flags, 212 void bus_dmamem_free(bus_dma_tag_t dmat, void *vaddr, bus_dmamap_t map); 215 void bus_dmamem_free_tagless(void *vaddr, size_t size);
|
/haiku/headers/private/kernel/vm/ |
H A D | vm.h | 125 status_t vm_get_page_mapping(team_id team, addr_t vaddr, phys_addr_t *paddr); 135 status_t vm_get_physical_page(phys_addr_t paddr, addr_t* vaddr, void** _handle); 136 status_t vm_put_physical_page(addr_t vaddr, void* handle); 137 status_t vm_get_physical_page_current_cpu(phys_addr_t paddr, addr_t* vaddr, 139 status_t vm_put_physical_page_current_cpu(addr_t vaddr, void* handle); 140 status_t vm_get_physical_page_debug(phys_addr_t paddr, addr_t* vaddr, 142 status_t vm_put_physical_page_debug(addr_t vaddr, void* handle);
|
/haiku/src/add-ons/kernel/drivers/disk/nvme/compat/ |
H A D | libnvme_haiku.cpp | 81 nvme_mem_vtophys(void* vaddr) in nvme_mem_vtophys() argument 84 status_t status = get_memory_map((void*)vaddr, 1, &entry, 1); in nvme_mem_vtophys() 87 (void*)vaddr, strerror(status)); in nvme_mem_vtophys()
|
H A D | nvme_mem.h | 22 phys_addr_t nvme_mem_vtophys(void* vaddr);
|
/haiku/src/add-ons/kernel/drivers/joystick/emuxkigameport/ |
H A D | driver.h | 28 static volatile ulong vaddr; /* PCI */ variable
|
H A D | driver.cpp | 254 (*pci->write_io_32) ((int)vaddr,0); in device_write()
|
/haiku/src/add-ons/kernel/bus_managers/firewire/ |
H A D | fwdma.cpp | 130 void *vaddr, bus_size_t size) 133 bus_dmamem_free(dmat, vaddr, dmamap);
|
/haiku/src/system/boot/platform/efi/arch/x86/ |
H A D | arch_mmu.cpp | 260 addr_t vaddr; in arch_mmu_generate_post_efi_page_tables() local 263 while (mmu_next_region(&cookie, &vaddr, &paddr, &size)) { in arch_mmu_generate_post_efi_page_tables() 264 map_range(vaddr, paddr, size, in arch_mmu_generate_post_efi_page_tables()
|
/haiku/src/system/boot/platform/efi/arch/arm/ |
H A D | arch_mmu.cpp | 271 addr_t vaddr; in arch_mmu_generate_post_efi_page_tables() local 274 while (mmu_next_region(&cookie, &vaddr, &paddr, &size)) { in arch_mmu_generate_post_efi_page_tables() 275 map_range(vaddr, paddr, size, in arch_mmu_generate_post_efi_page_tables()
|
/haiku/src/system/boot/platform/efi/arch/arm64/ |
H A D | arch_mmu.cpp | 413 addr_t vaddr; in arch_mmu_generate_post_efi_page_tables() local 416 while (mmu_next_region(&cookie, &vaddr, &paddr, &size)) { in arch_mmu_generate_post_efi_page_tables() 417 map_range(vaddr, paddr, size, in arch_mmu_generate_post_efi_page_tables()
|
/haiku/docs/develop/kernel/vm/ |
H A D | vm | 43 static int map_backing_store(vm_address_space *aspace, vm_store *store, void **vaddr,off_t offset, … 97 int vm_get_page_mapping(aspace_id aid, addr vaddr, addr *paddr) 190 int vm_get_physical_page(addr paddr, addr *vaddr, int flags) 193 int vm_put_physical_page(addr vaddr)
|
/haiku/src/add-ons/kernel/drivers/network/wlan/iprowifi3945/dev/wpi/ |
H A D | if_wpivar.h | 56 caddr_t vaddr; member
|
H A D | if_wpi.c | 915 error = bus_dmamem_alloc(dma->tag, (void **)&dma->vaddr, in wpi_dma_contig_alloc() 920 error = bus_dmamap_load(dma->tag, dma->map, dma->vaddr, size, in wpi_dma_contig_alloc() 928 *kvap = dma->vaddr; in wpi_dma_contig_alloc() 939 if (dma->vaddr != NULL) { in wpi_dma_contig_free() 943 bus_dmamem_free(dma->tag, dma->vaddr, dma->map); in wpi_dma_contig_free() 944 dma->vaddr = NULL; in wpi_dma_contig_free() 4957 memcpy(dma->vaddr, fw->init.data, fw->init.datasz); in wpi_load_firmware() 4959 memcpy(dma->vaddr + WPI_FW_DATA_MAXSZ, fw->init.text, fw->init.textsz); in wpi_load_firmware() 4992 memcpy(dma->vaddr, fw->main.data, fw->main.datasz); in wpi_load_firmware() 4994 memcpy(dma->vaddr + WPI_FW_DATA_MAXSZ, fw->main.text, fw->main.textsz); in wpi_load_firmware()
|
/haiku/src/add-ons/kernel/drivers/network/wlan/iaxwifi200/dev/pci/ |
H A D | if_iwx.c | 610 memcpy(dram->vaddr, sec->fws_data, sec->fws_len); in iwx_ctxt_info_alloc_dma() 931 ctxt_info = sc->ctxt_info_dma.vaddr; in iwx_ctxt_info_init() 1026 prph_scratch = sc->prph_scratch_dma.vaddr; in iwx_ctxt_info_gen3_init() 1052 ctxt_info_gen3 = sc->ctxt_info_dma.vaddr; in iwx_ctxt_info_gen3_init() 1073 memcpy(sc->iml_dma.vaddr, sc->sc_fw.iml, sc->sc_fw.iml_len); in iwx_ctxt_info_gen3_init() 1864 dma->vaddr = va; in iwx_dma_contig_alloc() 1866 err = bus_dmamap_load(tag, dma->map, dma->vaddr, size, NULL, in iwx_dma_contig_alloc() 1884 if (dma->vaddr != NULL) { in iwx_dma_contig_free() 1888 bus_dmamem_unmap(dma->tag, dma->vaddr, dma->size); in iwx_dma_contig_free() 1890 dma->vaddr = NULL; in iwx_dma_contig_free() [all …]
|
H A D | if_iwxvar.h | 223 void *vaddr; member
|
/haiku/src/add-ons/kernel/drivers/network/wlan/iprowifi4965/dev/iwn/ |
H A D | if_iwnvar.h | 92 caddr_t vaddr; member
|
/haiku/src/add-ons/kernel/drivers/network/wlan/idualwifi7260/dev/pci/ |
H A D | if_iwmvar.h | 236 void *vaddr; member
|
H A D | if_iwm.c | 1252 dma->vaddr = va; in iwm_dma_contig_alloc() 1254 err = bus_dmamap_load(tag, dma->map, dma->vaddr, size, NULL, in iwm_dma_contig_alloc() 1259 memset(dma->vaddr, 0, size); in iwm_dma_contig_alloc() 1273 if (dma->vaddr != NULL) { in iwm_dma_contig_free() 1277 bus_dmamem_unmap(dma->tag, dma->vaddr, dma->size); in iwm_dma_contig_free() 1279 dma->vaddr = NULL; in iwm_dma_contig_free() 1311 ring->desc = ring->free_desc_dma.vaddr; in iwm_alloc_rx_ring() 1321 ring->stat = ring->stat_dma.vaddr; in iwm_alloc_rx_ring() 1445 ring->desc = ring->desc_dma.vaddr; in iwm_alloc_tx_ring() 1475 ring->cmd = ring->cmd_dma.vaddr; in iwm_alloc_tx_ring() [all …]
|
/haiku/src/system/kernel/arch/ppc/paging/classic/ |
H A D | PPCVMTranslationMapClassic.cpp | 117 #define VADDR_TO_VSID(vsidBase, vaddr) (vsidBase + ((vaddr) >> 28)) argument
|
/haiku/src/system/kernel/arch/ppc/paging/460/ |
H A D | PPCVMTranslationMap460.cpp | 117 #define VADDR_TO_VSID(vsidBase, vaddr) (vsidBase + ((vaddr) >> 28)) argument
|
/haiku/src/system/kernel/vm/ |
H A D | vm.cpp | 3186 vm_get_page_mapping(team_id team, addr_t vaddr, phys_addr_t* paddr) in vm_get_page_mapping() argument 3196 status_t status = map->Query(vaddr, paddr, &dummyFlags); in vm_get_page_mapping() 4595 vm_put_physical_page(addr_t vaddr, void* handle) in vm_put_physical_page() argument 4597 return sPhysicalPageMapper->PutPage(vaddr, handle); in vm_put_physical_page() 4609 vm_put_physical_page_current_cpu(addr_t vaddr, void* handle) in vm_put_physical_page_current_cpu() argument 4611 return sPhysicalPageMapper->PutPageCurrentCPU(vaddr, handle); in vm_put_physical_page_current_cpu() 4622 vm_put_physical_page_debug(addr_t vaddr, void* handle) in vm_put_physical_page_debug() argument 4624 return sPhysicalPageMapper->PutPageDebug(vaddr, handle); in vm_put_physical_page_debug()
|