Home
last modified time | relevance | path

Searched refs:mapped (Results 1 – 25 of 474) sorted by relevance

12345678910>>...19

/linux/drivers/iommu/iommufd/
H A Diova_bitmap.c103 struct iova_bitmap_map mapped; member
133 return (iova >> bitmap->mapped.pgshift) / in iova_bitmap_offset_to_index()
143 unsigned long pgshift = bitmap->mapped.pgshift; in iova_bitmap_index_to_offset()
167 struct iova_bitmap_map *mapped = &bitmap->mapped; in iova_bitmap_get() local
196 FOLL_WRITE, mapped->pages); in iova_bitmap_get()
200 mapped->npages = (unsigned long)ret; in iova_bitmap_get()
202 mapped->iova = iova_bitmap_mapped_iova(bitmap); in iova_bitmap_get()
209 mapped->pgoff = offset_in_page(addr); in iova_bitmap_get()
210 mapped->length = iova_bitmap_mapped_length(bitmap); in iova_bitmap_get()
221 struct iova_bitmap_map *mapped = &bitmap->mapped; in iova_bitmap_put() local
[all …]
/linux/drivers/platform/chrome/
H A Dcros_ec_proto.c260 int ret, mapped; in cros_ec_get_host_event_wake_mask() local
273 mapped = cros_ec_map_error(msg->result); in cros_ec_get_host_event_wake_mask()
274 if (mapped) { in cros_ec_get_host_event_wake_mask()
275 ret = mapped; in cros_ec_get_host_event_wake_mask()
354 int ret, mapped; in cros_ec_get_proto_info() local
376 mapped = cros_ec_map_error(msg->result); in cros_ec_get_proto_info()
377 if (mapped) { in cros_ec_get_proto_info()
378 ret = mapped; in cros_ec_get_proto_info()
424 int ret, mapped; in cros_ec_get_proto_info_legacy() local
445 mapped = cros_ec_map_error(msg->result); in cros_ec_get_proto_info_legacy()
[all …]
/linux/drivers/iommu/
H A Dio-pgtable-arm-selftests.c60 size_t size, mapped; in arm_lpae_run_tests() local
94 GFP_KERNEL, &mapped)) in arm_lpae_run_tests()
100 GFP_KERNEL, &mapped)) in arm_lpae_run_tests()
122 IOMMU_WRITE, GFP_KERNEL, &mapped)) in arm_lpae_run_tests()
135 mapped = 0; in arm_lpae_run_tests()
141 GFP_KERNEL, &mapped)) in arm_lpae_run_tests()
143 if (mapped != size) in arm_lpae_run_tests()
/linux/drivers/gpu/drm/sti/
H A DNOTES39 These IP are mapped to the DRM objects as following:
40 - The CRTCs are mapped to the Compositor Main and Aux Mixers
41 - The Framebuffers and planes are mapped to the Compositor GDP (non video
43 - The Cursor is mapped to the Compositor Cursor
44 - The Encoders are mapped to the TVOut
45 - The Bridges/Connectors are mapped to the HDMI / DVO / HD Analog / SD analog
/linux/Documentation/userspace-api/media/dvb/
H A Ddmx-munmap.rst31 Address of the mapped buffer as returned by the
35 Length of the mapped buffer. This must be the same value as given to
41 Unmaps a previously with the :c:func:`mmap()` function mapped
52 mapped yet.
H A Ddmx-reqbufs.rst36 This ioctl is used to initiate a memory mapped or DMABUF based demux I/O.
38 Memory mapped buffers are located in device memory and must be allocated
39 with this ioctl before they can be mapped into the application's address
63 buffers, however this cannot succeed when any buffers are still mapped.
H A Ddmx-mmap.rst49 The ``flags`` parameter specifies the type of the mapped object,
50 mapping options and whether modifications made to the mapped copy of
61 ``MAP_SHARED`` allows applications to share the mapped memory with
94 On success :c:func:`mmap()` returns a pointer to the mapped buffer. On
/linux/Documentation/userspace-api/media/v4l/
H A Dfunc-munmap.rst29 Address of the mapped buffer as returned by the
33 Length of the mapped buffer. This must be the same value as given to
43 Unmaps a previously with the :c:func:`mmap()` function mapped
54 mapped yet.
H A Dcolorspaces-defs.rst148 - For the Hue, the 360 degrees are mapped into 8 bits, i.e. each
169 mapped to [0…255] (with possible clipping to [1…254] to avoid the
170 0x00 and 0xff values). Cb and Cr are mapped from [-0.5…0.5] to
175 is mapped to [16…235]. Cb and Cr are mapped from [-0.5…0.5] to
/linux/fs/jfs/
H A Dioctl.c45 long mapped=0; in jfs_map_ext2() local
50 mapped |= jfs_map[index].jfs_flag; in jfs_map_ext2()
53 mapped |= jfs_map[index].ext2_flag; in jfs_map_ext2()
57 return mapped; in jfs_map_ext2()
/linux/Documentation/devicetree/bindings/display/
H A Dst,stih4xx.txt6 - reg: Physical base address of the IP registers and length of memory mapped region.
14 - reg: Physical base address of the IP registers and length of memory mapped region.
32 - reg: Physical base address of the IP registers and length of memory mapped region.
48 - reg: Physical base address of the IP registers and length of memory mapped region.
49 - reg-names: names of the mapped memory regions listed in regs property in
60 - reg: Physical base address of the IP registers and length of memory mapped region.
61 - reg-names: names of the mapped memory regions listed in regs property in
76 - reg: Physical base address of the IP registers and length of memory mapped region.
77 - reg-names: names of the mapped memory regions listed in regs property in
89 - reg: Physical base address of the IP registers and length of memory mapped region.
[all …]
/linux/Documentation/arch/loongarch/
H A Dintroduction.rst293 LoongArch supports direct-mapped virtual memory and page-mapped virtual memory.
295 Direct-mapped virtual memory is configured by CSR.DMWn (n=0~3), it has a simple
300 Page-mapped virtual memory has arbitrary relationship between VA and PA, which
309 ``UVRANGE`` ``0x00000000 - 0x7FFFFFFF`` Page-mapped, Cached, PLV0~3
310 ``KPRANGE0`` ``0x80000000 - 0x9FFFFFFF`` Direct-mapped, Uncached, PLV0
311 ``KPRANGE1`` ``0xA0000000 - 0xBFFFFFFF`` Direct-mapped, Cached, PLV0
312 ``KVRANGE`` ``0xC0000000 - 0xFFFFFFFF`` Page-mapped, Cached, PLV0
315 User mode (PLV3) can only access UVRANGE. For direct-mapped KPRANGE0 and
317 direct-mapped VA of 0x00001000 is 0x80001000, and the cached direct-mapped
325 ``XUVRANGE`` ``0x0000000000000000 - Page-mapped, Cached, PLV0~3
[all …]
/linux/Documentation/scsi/
H A Dg_NCR5380.rst16 memory mapped modes.
38 base=xx[,...] the port or base address(es) (for port or memory mapped, resp.)
55 mapped, resp.)
71 E.g. a port mapped NCR5380 board, driver to probe for IRQ::
79 E.g. a memory mapped NCR53C400 board with no IRQ::
/linux/drivers/gpu/drm/msm/
H A Dmsm_gem_vma.c274 if (!msm_vma->mapped) in msm_gem_vma_unmap()
294 msm_vma->mapped = false; in msm_gem_vma_unmap()
308 if (msm_vma->mapped) in msm_gem_vma_map()
311 msm_vma->mapped = true; in msm_gem_vma_map()
339 msm_vma->mapped = false; in msm_gem_vma_map()
350 GEM_WARN_ON(msm_vma->mapped); in msm_gem_vma_close()
413 vma->mapped = false; in msm_gem_vma_new()
542 to_msm_vma(vma)->mapped = true; in msm_gem_vm_sm_step_map()
555 bool mapped = to_msm_vma(orig_vma)->mapped; in msm_gem_vm_sm_step_remap() local
562 if (mapped) { in msm_gem_vm_sm_step_remap()
[all …]
H A Dmsm_iommu.c152 size_t mapped = 0; in msm_iommu_pagetable_map_prr() local
156 ret = ops->map_pages(ops, addr, phys, size, 1, prot, GFP_KERNEL, &mapped); in msm_iommu_pagetable_map_prr()
161 addr += mapped; in msm_iommu_pagetable_map_prr()
162 len -= mapped; in msm_iommu_pagetable_map_prr()
204 size_t pgsize, count, mapped = 0; in msm_iommu_pagetable_map() local
210 prot, GFP_KERNEL, &mapped); in msm_iommu_pagetable_map()
215 phys += mapped; in msm_iommu_pagetable_map()
216 addr += mapped; in msm_iommu_pagetable_map()
217 size -= mapped; in msm_iommu_pagetable_map()
218 len -= mapped; in msm_iommu_pagetable_map()
/linux/Documentation/mm/
H A Darch_pgtable_helpers.rst21 | pte_present | Tests a valid mapped PTE |
63 | pte_mknotpresent | Invalidates a mapped PTE |
85 | pmd_bad | Tests a non-table mapped PMD |
87 | pmd_leaf | Tests a leaf mapped PMD |
158 | pud_bad | Tests a non-table mapped PUD |
160 | pud_leaf | Tests a leaf mapped PUD |
164 | pud_present | Tests a valid mapped PUD |
H A Dvmalloced-kernel-stacks.rst25 Virtually mapped kernel stacks with guard pages cause kernel stack
30 support for virtually mapped stacks with guard pages. This feature
61 mapped task stacks. This option depends on HAVE_ARCH_VMAP_STACK.
63 - Enable this if you want the use virtually-mapped kernel stacks
88 pages are mapped into contiguous kernel virtual space with PAGE_KERNEL
114 virtually mapped kernel stacks are enabled.
/linux/arch/x86/include/asm/
H A Defi.h338 #define __efi64_argmap(mapped, args) \ argument
339 __PASTE(__efi64_argmap__, __efi_nargs(__efi_eat mapped))(mapped, args)
340 #define __efi64_argmap__0(mapped, args) __efi_eval mapped argument
341 #define __efi64_argmap__1(mapped, args) __efi_eval args argument
/linux/drivers/sh/intc/
H A Dvirq.c149 struct intc_map_entry *mapped; in intc_subgroup_init_one() local
154 mapped = radix_tree_lookup(&d->tree, subgroup->parent_id); in intc_subgroup_init_one()
155 if (!mapped) { in intc_subgroup_init_one()
160 pirq = mapped - intc_irq_xlate; in intc_subgroup_init_one()
/linux/arch/powerpc/mm/book3s64/
H A Diommu_api.c31 atomic64_t mapped; member
125 atomic64_set(&mem->mapped, 1); in mm_iommu_do_alloc()
267 if (atomic64_cmpxchg(&mem->mapped, 1, 0) != 1) { in mm_iommu_put()
385 if (atomic64_inc_not_zero(&mem->mapped)) in mm_iommu_mapped_inc()
395 atomic64_add_unless(&mem->mapped, -1, 1); in mm_iommu_mapped_dec()
/linux/drivers/net/ethernet/intel/idpf/
H A Didpf_main.c217 bool mapped; in idpf_cfg_device() local
222 mapped = libie_pci_map_mmio_region(mmio_info, region->start, in idpf_cfg_device()
224 if (!mapped) { in idpf_cfg_device()
232 mapped = libie_pci_map_mmio_region(mmio_info, region->start, in idpf_cfg_device()
234 if (!mapped) { in idpf_cfg_device()
/linux/block/
H A Dblk-mq-dma.c111 size_t mapped = 0; in blk_rq_dma_map_iova() local
121 error = dma_iova_link(dma_dev, state, vec->paddr, mapped, in blk_rq_dma_map_iova()
125 mapped += vec->len; in blk_rq_dma_map_iova()
128 error = dma_iova_sync(dma_dev, state, 0, mapped); in blk_rq_dma_map_iova()
135 dma_iova_destroy(dma_dev, state, mapped, dir, attrs); in blk_rq_dma_map_iova()
/linux/drivers/block/rnbd/
H A DREADME11 transport. After being mapped, the remote block devices can be accessed
39 mapped from the server side. After the session to the server machine is
40 established, the mapped device will appear on the client side under
50 When a device is mapped from the client, the server generates the path
/linux/drivers/xen/
H A Dxlate_mmu.c74 int mapped; member
129 info->mapped++; in remap_pte_fn()
166 data.mapped = 0; in xen_xlate_remap_gfn_array()
170 return err < 0 ? err : data.mapped; in xen_xlate_remap_gfn_array()
/linux/Documentation/driver-api/
H A Dio_ordering.rst2 Ordering I/O writes to memory-mapped addresses
5 On some platforms, so-called memory-mapped I/O is weakly ordered. On such
7 memory-mapped addresses on their device arrive in the order intended. This is

12345678910>>...19