/linux/drivers/gpu/drm/xe/ |
H A D | xe_vm.c | 1924 vma = gpuva_to_vma(op->remap.unmap->va); in print_op() 1925 vm_dbg(&xe->drm, "REMAP:UNMAP: addr=0x%016llx, range=0x%016llx, keep=%d", in print_op() 1927 op->remap.unmap->keep ? 1 : 0); in print_op() 1928 if (op->remap.prev) in print_op() 1930 "REMAP:PREV: addr=0x%016llx, range=0x%016llx", in print_op() 1931 (ULL)op->remap.prev->va.addr, in print_op() 1932 (ULL)op->remap.prev->va.range); in print_op() 1933 if (op->remap.next) in print_op() 1935 "REMAP:NEXT: addr=0x%016llx, range=0x%016llx", in print_op() 1936 (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; 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() local 826 remap++; in xen_do_remap_nonram() 836 * Any attempt to map an area crossing a remap boundary will produce a in xen_do_remap_nonram() 838 * phys is related to remap->maddr on input and will be rebased to remap->paddr. 844 const struct nonram_remap *remap 850 const struct nonram_remap *remap = xen_nonram_remap; xen_acpi_os_ioremap() local [all...] |
H A D | setup.c | 53 * Buffer used to remap identity mapped pages. We only need the virtual space. 285 * complete remap information is contained in a list of MFNs each containing 286 * up to REMAP_SIZE MFNs and the start target PFN for doing the remap. 322 /* Put remap buf into list. */ in xen_do_set_identity_and_remap_chunk() 339 * 1) Finds a new range of pfns to use to remap based on E820 and remap_pfn. 342 * The goal is to not allocate additional memory but to remap the existing 362 /* Do not remap pages beyond the current allocation */ in xen_set_identity_and_remap_chunk() 450 * Remap the memory prepared in xen_do_set_identity_and_remap_chunk(). 451 * The remap information (which mfn remap to which pfn) is contained in the 453 * This scheme allows to remap the different chunks in arbitrary order while [all …]
|
/linux/drivers/pinctrl/ |
H A D | pinctrl-tps6594.c | 237 u8 remap; member 300 struct muxval_remap *remap; member 309 .remap = tps65224_muxval_remap, 319 .remap = tps6594_muxval_remap, 395 struct muxval_remap *remap = pinctrl->remap; in tps6594_pmx_set_mux() local 398 if (group == remap[i].group && muxval == remap[i].muxval) { in tps6594_pmx_set_mux() 399 muxval = remap[i].remap; in tps6594_pmx_set_mux()
|
/linux/tools/testing/selftests/mm/ |
H A D | mremap_test.c | 97 * Returns false if the requested remap region overlaps with an 243 char *remap, *start; in mremap_expand_merge() local 254 remap = mremap(start, page_size, 2 * page_size, 0); in mremap_expand_merge() 255 if (remap == MAP_FAILED) { in mremap_expand_merge() 275 * we remove the last then attempt to remap offset from the second page. This 283 char *remap, *start; in mremap_expand_merge_offset() local 295 remap = mremap(start + page_size, page_size, 2 * page_size, 0); in mremap_expand_merge_offset() 296 if (remap == MAP_FAILED) { in mremap_expand_merge_offset() 383 /* Returns the time taken for the remap on success else returns -1. */ 415 /* Remap afte in remap_region() [all...] |
/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/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 | 352 const struct nls_table *nls_codepage, int remap); 355 const struct nls_table *nls_codepage, int remap); 363 const struct nls_table *nls_codepage, int remap); 369 const struct nls_table *nls_codepage, int remap); 374 const struct nls_table *nls_codepage, int remap, 431 int remap); 466 const struct nls_table *nls_codepage, int remap); 470 const struct nls_table *nls_codepage, int remap); 485 const struct nls_table *nls_codepage, int remap); 490 const struct nls_table *nls_codepage, int remap); [all …]
|
H A D | cifssmb.c | 673 const struct nls_table *nls_codepage, int remap) in CIFSPOSIXDelFile() argument 693 PATH_MAX, nls_codepage, remap); in CIFSPOSIXDelFile() 756 int remap = cifs_remap(cifs_sb); in CIFSSMBDelFile() local 767 remap); in CIFSSMBDelFile() 800 int remap = cifs_remap(cifs_sb); in CIFSSMBRmDir() local 812 remap); in CIFSSMBRmDir() 844 int remap = cifs_remap(cifs_sb); in CIFSSMBMkDir() local 856 remap); in CIFSSMBMkDir() 883 int remap) in CIFSPOSIXCreate() argument 904 PATH_MAX, nls_codepage, remap); in CIFSPOSIXCreate() [all …]
|
/linux/drivers/staging/fbtft/ |
H A D | fb_ssd1351.c | 72 unsigned int remap; in set_var() 79 remap = 0x60 | (par->bgr << 2); /* Set Colour Depth */ in set_var() 83 write_reg(par, 0xA0, remap | 0x00 | BIT(4)); in set_var() 86 write_reg(par, 0xA0, remap | 0x03 | BIT(4)); in set_var() 89 write_reg(par, 0xA0, remap | 0x02); in set_var() 92 write_reg(par, 0xA0, remap | 0x01); in set_var() 71 unsigned int remap; set_var() local
|
/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/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 830 * Only remap real extents that contain data. With AIO, speculative in xfs_reflink_end_cow_extent() 858 /* We can only remap the smaller of the two extent sizes. */ in xfs_reflink_end_cow_extent() [all …]
|
/linux/drivers/gpu/drm/ |
H A D | drm_gpuvm.c | 116 * containing map, unmap and remap operations for a given newly requested 123 * of unmap operations, a maximum of two remap operations and a single map 137 * for remap operations. This is possible since &drm_gpuva_op_remap consists of 143 * maximum of two remap operations. 149 * are only partically located within the given range, remap operations are 520 * va = op->remap.unmap->va; 522 * if (op->remap.prev) { 530 * if (op->remap.next) { 539 * drm_gpuva_remap(prev, next, &op->remap); 643 * struct drm_gpuva *va = op->remap.unmap->va; [all …]
|
/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/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/kernel/ |
H A D | iomem.c | 41 * memremap() - remap an iomem_resource as cacheable memory 43 * @size: size of remap 55 * Moreover, if MEMREMAP_WB is specified and the requested remap region is RAM
|
/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 …]
|