| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_vm.c | 2131 vma = gpuva_to_vma(op->remap.unmap->va); in print_op() 2132 vm_dbg(&xe->drm, "REMAP:UNMAP: addr=0x%016llx, range=0x%016llx, keep=%d", in print_op() 2134 op->remap.unmap->keep ? 1 : 0); in print_op() 2135 if (op->remap.prev) in print_op() 2137 "REMAP:PREV: addr=0x%016llx, range=0x%016llx", in print_op() 2138 (ULL)op->remap.prev->va.addr, in print_op() 2139 (ULL)op->remap.prev->va.range); in print_op() 2140 if (op->remap.next) in print_op() 2142 "REMAP:NEXT: addr=0x%016llx, range=0x%016llx", in print_op() 2143 (ULL)op->remap.next->va.addr, in print_op() [all …]
|
| /linux/drivers/gpu/drm/imagination/ |
| H A D | pvr_rogue_mips.h | 48 /* Total number of Remap entries. */ 96 /* Remap Range Config Addr Out. */ 97 /* These defines refer to the upper half of the Remap Range Config register. */ 111 * (see "Firmware virtual layout and remap configuration" section below) 128 /* Firmware virtual layout and remap configuration. */ 130 * For each remap region we define: 140 /* Boot remap setup. */ 146 /* Data remap setup. */ 153 /* Code remap setup. */ 330 struct rogue_mips_remap_entry remap[ROGUE_MIPSFW_NUMBER_OF_REMAP_ENTRIES]; member
|
| /linux/arch/x86/xen/ |
| H A D | p2m.c | 809 const struct nonram_remap *remap = xen_nonram_remap; in xen_do_remap_nonram() local 813 end_pfn = PFN_UP(remap->paddr + remap->size); in xen_do_remap_nonram() 814 pfn = PFN_DOWN(remap->paddr); in xen_do_remap_nonram() 815 mfn = PFN_DOWN(remap->maddr); in xen_do_remap_nonram() 826 remap++; in xen_do_remap_nonram() 836 * Any attempt to map an area crossing a remap boundary will produce a 838 * phys is related to remap->maddr on input and will be rebased to remap->paddr. 844 const struct nonram_remap *remap = xen_nonram_remap; in xen_acpi_os_ioremap() local 847 if (phys + size > remap->maddr && in xen_acpi_os_ioremap() 848 phys < remap->maddr + remap->size) { in xen_acpi_os_ioremap() [all …]
|
| H A D | setup.c | 50 * Buffer used to remap identity mapped pages. We only need the virtual space. 282 * complete remap information is contained in a list of MFNs each containing 283 * up to REMAP_SIZE MFNs and the start target PFN for doing the remap. 319 /* Put remap buf into list. */ in xen_do_set_identity_and_remap_chunk() 336 * 1) Finds a new range of pfns to use to remap based on E820 and remap_pfn. 339 * The goal is to not allocate additional memory but to remap the existing 359 /* Do not remap pages beyond the current allocation */ in xen_set_identity_and_remap_chunk() 447 * Remap the memory prepared in xen_do_set_identity_and_remap_chunk(). 448 * The remap information (which mfn remap to which pfn) is contained in the 450 * This scheme allows to remap the different chunks in arbitrary order while [all …]
|
| /linux/drivers/pinctrl/ |
| H A D | pinctrl-tps6594.c | 241 u8 remap; member 316 struct muxval_remap *remap; member 325 .remap = tps65224_muxval_remap, 335 .remap = tps65224_muxval_remap, 345 .remap = tps6594_muxval_remap, 421 struct muxval_remap *remap = pinctrl->remap; in tps6594_pmx_set_mux() local 424 if (group == remap[i].group && muxval == remap[i].muxval) { in tps6594_pmx_set_mux() 425 muxval = remap[i].remap; in tps6594_pmx_set_mux()
|
| /linux/fs/xfs/ |
| H A D | xfs_reflink.c | 109 * only to remap the blocks that we've actually written out -- we must 110 * never remap delalloc reservations nor CoW staging blocks that have 118 * range, we record the need for the remap step as a flag in the ioend 779 * Remap part of the CoW fork into the data fork. 781 * We aim to remap the range starting at @offset_fsb and ending at @end_fsb 782 * into the data fork; this function will remap what it can (at the end of the 783 * range) and update @end_fsb appropriately. Each remap gets its own 785 * every remap operation and we'd like to keep the block reservation 814 * Only remap real extents that contain data. With AIO, speculative in xfs_reflink_end_cow_extent_locked() 842 /* We can only remap the smaller of the two extent sizes. */ in xfs_reflink_end_cow_extent_locked() [all …]
|
| /linux/drivers/bus/ |
| H A D | mvebu-mbus.c | 186 /* Checks whether the given window has remap capability */ 200 u64 *remap) in mvebu_mbus_read_window() argument 223 if (remap) { in mvebu_mbus_read_window() 230 *remap = ((u64)remap_hi << 32) | remap_low; in mvebu_mbus_read_window() 232 *remap = 0; in mvebu_mbus_read_window() 327 phys_addr_t remap, u8 target, in mvebu_mbus_setup_window() argument 359 if (remap == MVEBU_MBUS_NO_REMAP) in mvebu_mbus_setup_window() 362 remap_addr = remap; in mvebu_mbus_setup_window() 372 phys_addr_t remap, u8 target, in mvebu_mbus_alloc_window() argument 377 if (remap == MVEBU_MBUS_NO_REMAP) { in mvebu_mbus_alloc_window() [all …]
|
| /linux/fs/smb/client/ |
| H A D | cifsproto.h | 373 const struct nls_table *nls_codepage, int remap); 376 const struct nls_table *nls_codepage, int remap); 384 const struct nls_table *nls_codepage, int remap); 390 const struct nls_table *nls_codepage, int remap); 395 const struct nls_table *nls_codepage, int remap, 456 int remap); 491 const struct nls_table *nls_codepage, int remap); 495 const struct nls_table *nls_codepage, int remap); 518 const struct nls_table *nls_codepage, int remap); 523 const struct nls_table *nls_codepage, int remap); [all …]
|
| H A D | cifssmb.c | 685 const struct nls_table *nls_codepage, int remap) in CIFSPOSIXDelFile() argument 705 PATH_MAX, nls_codepage, remap); in CIFSPOSIXDelFile() 768 int remap = cifs_remap(cifs_sb); in CIFSSMBDelFile() local 779 remap); in CIFSSMBDelFile() 812 int remap = cifs_remap(cifs_sb); in CIFSSMBRmDir() local 824 remap); in CIFSSMBRmDir() 856 int remap = cifs_remap(cifs_sb); in CIFSSMBMkDir() local 868 remap); in CIFSSMBMkDir() 895 int remap) in CIFSPOSIXCreate() argument 916 PATH_MAX, nls_codepage, remap); in CIFSPOSIXCreate() [all …]
|
| /linux/drivers/gpu/drm/ |
| H A D | drm_gpuvm.c | 117 * containing map, unmap and remap operations for a given newly requested 124 * of unmap operations, a maximum of two remap operations and a single map 138 * for remap operations. This is possible since &drm_gpuva_op_remap consists of 144 * maximum of two remap operations. 150 * are only partially located within the given range, remap operations are 426 * This logic handles GPU VA range updates by generating remap and map operations 439 * remap map remap 441 * one REMAP and one MAP : Same behaviour as SPLIT and MERGE 457 * 3) Either start or end lies within a drm_gpuva. A single remap and map operation 477 * one REMAP and one MAP [all …]
|
| /linux/Documentation/devicetree/bindings/remoteproc/ |
| H A D | amlogic,meson-mx-ao-arc.yaml | 35 Address ranges of the remap and CPU control addresses for the 41 - const: remap 80 reg-names = "remap", "cpu";
|
| /linux/mm/ |
| H A D | hugetlb_vmemmap.c | 44 /* Skip the TLB flush when we remap the PTE */ 211 * Remap the tail pages as read-only to catch illegal write operation in vmemmap_remap_pte() 282 * to remap. 284 * remap. 304 * vmemmap_remap_free - remap the vmemmap virtual address range [@start, @end) 308 * to remap. 310 * remap. 411 * vmemmap_remap_alloc - remap the vmemmap virtual address range [@start, end) 415 * to remap. 417 * remap [all...] |
| /linux/arch/x86/mm/ |
| H A D | ioremap.c | 170 * Remap an arbitrary physical address space into the kernel virtual 213 * Don't allow anybody to remap normal RAM that we're using.. in __ioremap_caller() 660 pr_warn("failed to remap setup_data entry\n"); in __memremap_is_setup_data() 688 pr_warn("failed to remap indirect setup_data\n"); in __memremap_is_setup_data() 725 * Architecture function to determine if RAM remap is allowed. By default, a 726 * RAM remap will map the data as encrypted. Determine if a RAM remap should 785 /* Remap memory with encryption */ 793 * Remap memory with encryption and write-protected - cannot be called 804 /* Remap memory without encryption */ 812 * Remap memory without encryption and write-protected - cannot be called
|
| /linux/Documentation/arch/xtensa/ |
| H A D | mmu.rst | 87 | remap area 1 | 90 | remap area 2 | 130 | remap area 1 | 133 | remap area 2 | 174 | remap area 1 | 177 | remap area 2 |
|
| /linux/drivers/ras/amd/atl/ |
| H A D | map.c | 197 /* Save 8 remap entries. */ in df3_6ch_get_dram_addr_map() 265 /* Check if Remap Enable bit is valid. */ in df4_get_dram_addr_map() 272 /* Get Remap registers. */ in df4_get_dram_addr_map() 280 /* Save first 8 remap entries. */ in df4_get_dram_addr_map() 289 /* Save next 8 remap entries. */ in df4_get_dram_addr_map() 321 /* Check if Remap Enable bit is valid. */ in df4p5_get_dram_addr_map() 328 /* Get Remap registers. */ in df4p5_get_dram_addr_map() 336 /* Save first 6 remap entries. */ in df4p5_get_dram_addr_map() 345 /* Save next 6 remap entries. */ in df4p5_get_dram_addr_map() 354 /* Save next 6 remap entries. */ in df4p5_get_dram_addr_map()
|
| /linux/drivers/edac/ |
| H A D | e7xxx_edac.c | 97 #define E7XXX_REMAPBASE 0xC6 /* DRAM remap base address reg (16b) */ 98 #define E7XXX_REMAPLIMIT 0xC8 /* DRAM remap limit address reg (16b) */ 185 u32 remap; in ctl_page_to_phys() local 194 remap = (page - pvt->tolm) + pvt->remapbase; in ctl_page_to_phys() 196 if (remap < pvt->remaplimit) in ctl_page_to_phys() 197 return remap; in ctl_page_to_phys() 481 /* load the top of low memory, remap base, and remap limit vars */ in e7xxx_probe1()
|
| /linux/arch/arm/boot/dts/nxp/imx/ |
| H A D | imx6sx-sdb-sai.dts | 24 /* SDMA event remap for SAI1 */ 25 fsl,sdma-event-remap = <0 15 1>, <0 16 1>;
|
| H A D | imx6sx-sdb-mqs.dts | 46 /* SDMA event remap for SAI1 */ 47 fsl,sdma-event-remap = <0 15 1>, <0 16 1>;
|
| /linux/sound/soc/sof/mediatek/mt8186/ |
| H A D | mt8186.h | 73 #define DSP_C0_EMI_MAP_ADDR 0xA00 /* ADSP Core0 To EMI Address Remap */ 74 #define DSP_C0_DMAEMI_MAP_ADDR 0xA08 /* DMA0 To EMI Address Remap */ 81 /*remap dram between AP and DSP view, 4KB aligned*/
|
| /linux/tools/testing/selftests/mm/ |
| H A D | mremap_test.c | 101 * Returns false if the requested remap region overlaps with an 257 char *remap, *start; in mremap_expand_merge() local 268 remap = mremap(start, page_size, 2 * page_size, 0); in mremap_expand_merge() 269 if (remap == MAP_FAILED) { in mremap_expand_merge() 289 * we remove the last then attempt to remap offset from the second page. This 297 char *remap, *start; in mremap_expand_merge_offset() local 309 remap = mremap(start + page_size, page_size, 2 * page_size, 0); in mremap_expand_merge_offset() 310 if (remap == MAP_FAILED) { in mremap_expand_merge_offset() 873 * Unmap the VMA, and remap a non-uffd registered (therefore, multi VMA in mremap_move_multi_invalid_vmas() 993 /* Returns the time taken for the remap on success else returns -1. */ [all …]
|
| /linux/drivers/mfd/ |
| H A D | twl4030-power.c | 378 u8 remap; in twl4030_configure_resource() local 434 /* Set remap states */ in twl4030_configure_resource() 435 err = twl_i2c_read_u8(TWL_MODULE_PM_RECEIVER, &remap, in twl4030_configure_resource() 438 pr_err("TWL4030 Resource %d remap could not be read\n", in twl4030_configure_resource() 444 remap &= ~OFF_STATE_MASK; in twl4030_configure_resource() 445 remap |= rconfig->remap_off << OFF_STATE_SHIFT; in twl4030_configure_resource() 449 remap &= ~SLEEP_STATE_MASK; in twl4030_configure_resource() 450 remap |= rconfig->remap_sleep << SLEEP_STATE_SHIFT; in twl4030_configure_resource() 454 remap, in twl4030_configure_resource() 457 pr_err("TWL4030 failed to program remap\n"); in twl4030_configure_resource()
|
| /linux/arch/arm/plat-orion/include/plat/ |
| H A D | addr-map.h | 41 const int remap; member 50 const u8 attr, const int remap);
|
| /linux/arch/arm64/include/asm/ |
| H A D | vectors.h | 44 * Remap the kernel before branching to the canonical vectors. 55 /* The vectors to use on return from EL0. e.g. to remap the kernel */
|
| /linux/drivers/iommu/ |
| H A D | Kconfig | 21 remap DMA requests and/or remap interrupts from other devices on the 177 PAMU can authorize memory access, remap the memory address, and remap I/O
|
| /linux/drivers/gpu/drm/nouveau/ |
| H A D | nouveau_uvmm.c | 471 struct drm_gpuva_op_remap *r = &op->remap; in nouveau_uvmm_sm_prepare_unwind() 508 struct drm_gpuva_op_remap *r = &op->remap; in nouveau_uvmm_sm_prepare_unwind() 646 struct drm_gpuva_op_remap *r = &op->remap; in nouveau_uvmm_sm_prepare() 765 /* Actually, we're looking for the GEMs backing remap.prev and in op_gem_obj() 766 * remap.next, but since this is a remap they're identical to in op_gem_obj() 769 return op->remap.unmap->va->gem.obj; in op_gem_obj() 839 op_remap(&op->remap, new); in nouveau_uvmm_sm() 880 struct drm_gpuva_op_remap *r = &op->remap; in nouveau_uvmm_sm_cleanup() 1133 struct drm_gpuva *va = op->remap.unmap->va; in bind_link_gpuvas() 1135 if (op->remap.prev) in bind_link_gpuvas() [all …]
|