Home
last modified time | relevance | path

Searched refs:pmap_flags (Results 1 – 9 of 9) sorted by relevance

/openbsd/sys/arch/arm/armv7/
H A Darmv7_space.c174 int pmap_flags = PMAP_DEVICE; in armv7_bs_map() local
188 pmap_flags = 0; in armv7_bs_map()
191 pmap_kenter_pa(va, pa | pmap_flags, PROT_READ | PROT_WRITE); in armv7_bs_map()
/openbsd/sys/arch/loongson/loongson/
H A Dbus_dma.c438 int curseg, error, pmap_flags; in _dmamem_map() local
468 pmap_flags = PMAP_WIRED | PMAP_CANFAIL; in _dmamem_map()
470 pmap_flags |= PMAP_NOCACHE; in _dmamem_map()
480 PROT_READ | PROT_WRITE | pmap_flags); in _dmamem_map()
/openbsd/sys/arch/octeon/octeon/
H A Dbus_dma.c483 int curseg, error, pmap_flags; in _dmamem_map() local
505 pmap_flags = PMAP_WIRED | PMAP_CANFAIL; in _dmamem_map()
507 pmap_flags |= PMAP_NOCACHE; in _dmamem_map()
517 PROT_READ | PROT_WRITE | pmap_flags); in _dmamem_map()
/openbsd/sys/arch/powerpc64/powerpc64/
H A Dbus_dma.c422 int curseg, pmap_flags = 0; in _dmamem_map() local
436 pmap_flags |= PMAP_NOCACHE; in _dmamem_map()
445 PROT_READ | PROT_WRITE | pmap_flags); in _dmamem_map()
/openbsd/sys/arch/arm64/arm64/
H A Dbus_dma.c498 int curseg, pmap_flags, cache; in _dmamem_map() local
511 pmap_flags = PMAP_WIRED | PMAP_CANFAIL; in _dmamem_map()
524 PROT_READ | PROT_WRITE | pmap_flags, in _dmamem_map()
/openbsd/sys/arch/riscv64/riscv64/
H A Dbus_dma.c505 int curseg, pmap_flags, cache; in _dmamem_map() local
518 pmap_flags = PMAP_WIRED | PMAP_CANFAIL; in _dmamem_map()
532 PROT_READ | PROT_WRITE | pmap_flags, in _dmamem_map()
/openbsd/sys/dev/pci/drm/ttm/
H A Dttm_bo_vm.c495 int pmap_flags; in ttm_bo_vm_fault_reserved() local
523 pmap_flags = ttm_io_prot(bo, bo->resource, 0); in ttm_bo_vm_fault_reserved()
570 paddr | pmap_flags, prot, PMAP_CANFAIL | prot); in ttm_bo_vm_fault_reserved()
/openbsd/sys/arch/amd64/amd64/
H A Dbus_space.c496 int pmap_flags = PMAP_NOCACHE; in x86_mem_add_mapping() local
515 pmap_flags = 0; in x86_mem_add_mapping()
517 pmap_flags = PMAP_WC; in x86_mem_add_mapping()
521 pmap_kenter_pa(va, pa | pmap_flags, PROT_READ | PROT_WRITE); in x86_mem_add_mapping()
/openbsd/sys/arch/i386/i386/
H A Dmachdep.c3719 int pmap_flags = PMAP_NOCACHE; in bus_mem_add_mapping() local
3738 pmap_flags = 0; in bus_mem_add_mapping()
3740 pmap_flags = PMAP_WC; in bus_mem_add_mapping()
3744 pmap_kenter_pa(va, pa | pmap_flags, in bus_mem_add_mapping()