Home
last modified time | relevance | path

Searched refs:remap (Results 1 - 25 of 148) sorted by relevance

123456

/third_party/ltp/testcases/kernel/mem/vma/
H A Dvma03.c34 * This program tries to remap a mapping with a new size that would
73 void *map, *remap; in main() local
102 remap = mremap(map, pgsz, 2 * pgsz, 0); in main()
103 if (remap == MAP_FAILED) { in main()
111 munmap(remap, 2 * pgsz); in main()
/kernel/liteos_a/testsuites/unittest/basic/mem/shm/full/
H A Dshm_test_006.cpp39 void *remap = NULL; in Testcase() local
50 remap = shared; in Testcase()
51 shared = shmat(shmid, remap, SHM_REMAP); in Testcase()
/kernel/linux/linux-5.10/drivers/staging/fbtft/
H A Dfb_ssd1351.c69 unsigned int remap; in set_var() local
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()
/kernel/linux/linux-6.6/drivers/staging/fbtft/
H A Dfb_ssd1351.c69 unsigned int remap; in set_var() local
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()
/kernel/linux/linux-6.6/fs/smb/client/
H A Dcifsproto.h349 const struct nls_table *nls_codepage, int remap);
352 const struct nls_table *nls_codepage, int remap);
360 const struct nls_table *nls_codepage, int remap);
366 const struct nls_table *nls_codepage, int remap);
371 const struct nls_table *nls_codepage, int remap,
427 int remap);
461 const struct nls_table *nls_codepage, int remap);
465 const struct nls_table *nls_codepage, int remap);
483 const struct nls_table *nls_codepage, int remap);
488 const struct nls_table *nls_codepage, int remap);
678 get_dfs_path(const unsigned int xid, struct cifs_ses *ses, const char *old_path, const struct nls_table *nls_codepage, struct dfs_info3_param *referral, int remap) get_dfs_path() argument
[all...]
H A Ddfs_cache.h41 int remap, const char *path, struct dfs_info3_param *ref,
50 char *dfs_cache_canonical_path(const char *path, const struct nls_table *cp, int remap);
/third_party/mesa3d/src/intel/vulkan/
H A Danv_nir_lower_multiview.c103 uint64_t remap = 0; in build_view_index() local
107 remap |= (uint64_t)bit << (i++ * 4); in build_view_index()
116 if (remap <= UINT32_MAX) { in build_view_index()
117 shifted = nir_ushr(b, nir_imm_int(b, remap), shift); in build_view_index()
120 nir_ushr(b, nir_imm_int(b, remap), shift); in build_view_index()
122 nir_ushr(b, nir_imm_int(b, remap >> 32), in build_view_index()
/kernel/linux/linux-5.10/fs/cifs/
H A Dcifsproto.h311 const struct nls_table *nls_codepage, int remap);
314 const struct nls_table *nls_codepage, int remap);
322 const struct nls_table *nls_codepage, int remap);
328 const struct nls_table *nls_codepage, int remap);
333 const struct nls_table *nls_codepage, int remap,
394 int remap);
425 const struct nls_table *nls_codepage, int remap);
429 const struct nls_table *nls_codepage, int remap);
441 const struct nls_table *nls_codepage, int remap);
446 const struct nls_table *nls_codepage, int remap);
627 get_dfs_path(const unsigned int xid, struct cifs_ses *ses, const char *old_path, const struct nls_table *nls_codepage, struct dfs_info3_param *referral, int remap) get_dfs_path() argument
[all...]
H A Ddfs_cache.h31 const struct nls_table *nls_codepage, int remap,
39 int remap, const char *path,
/kernel/linux/linux-5.10/arch/arm/plat-orion/include/plat/
H A Daddr-map.h41 const int remap; member
50 const u8 attr, const int remap);
/kernel/linux/linux-6.6/arch/arm/plat-orion/include/plat/
H A Daddr-map.h41 const int remap; member
50 const u8 attr, const int remap);
/kernel/linux/linux-5.10/arch/arm/kernel/
H A Dpatch.c58 void __kprobes __patch_text_real(void *addr, unsigned int insn, bool remap) in __patch_text_real() argument
67 if (remap) in __patch_text_real()
80 if (twopage && remap) in __patch_text_real()
/kernel/linux/linux-6.6/arch/arm/kernel/
H A Dpatch.c58 void __kprobes __patch_text_real(void *addr, unsigned int insn, bool remap) in __patch_text_real() argument
67 if (remap) in __patch_text_real()
80 if (twopage && remap) in __patch_text_real()
/kernel/linux/linux-5.10/drivers/pci/controller/
H A Dpci-mvebu.c81 phys_addr_t remap; member
309 phys_addr_t remap) in mvebu_pcie_add_windows()
318 sz, remap); in mvebu_pcie_add_windows()
333 if (remap != MVEBU_MBUS_NO_REMAP) in mvebu_pcie_add_windows()
334 remap += sz; in mvebu_pcie_add_windows()
343 if (desired->base == cur->base && desired->remap == cur->remap && in mvebu_pcie_set_window()
363 desired->size, desired->remap); in mvebu_pcie_set_window()
394 desired.remap = ((conf->iobase & 0xF0) << 8) | in mvebu_pcie_handle_iobase_change()
396 desired.base = port->pcie->io.start + desired.remap; in mvebu_pcie_handle_iobase_change()
306 mvebu_pcie_add_windows(struct mvebu_pcie_port *port, unsigned int target, unsigned int attribute, phys_addr_t base, size_t size, phys_addr_t remap) mvebu_pcie_add_windows() argument
[all...]
/third_party/ffmpeg/libavcodec/
H A Dmsvideo1enc.c65 static const int remap[16] = { 0, 1, 4, 5, 2, 3, 6, 7, 8, 9, 12, 13, 10, 11, 14, 15 }; variable
105 c->block2[remap[i + j*4]*3 + k] = (val >> (10-k*5)) & 0x1F; in encode_frame()
187 int t = c->codebook2[(c->output2[remap[i+j*4]] + (i&2) + (j&2)*2)*3+k] - c->block[i*3+k + j*4*3]; in encode_frame()
231 flags |= (c->output2[remap[i + j*4]]^1) << (i + j*4); in encode_frame()
233 prevptr[x*3 + i*3 + k - j*3*avctx->width] = c->codebook2[(c->output2[remap[i+j*4]] + (i&2) + (j&2)*2)*3 + k]; in encode_frame()
H A Ddv.c68 static const uint8_t remap[][2] = { in dv_calc_mb_coordinates() local
119 x = remap[y][0] + ((x - 80) << (y > 59)); in dv_calc_mb_coordinates()
120 y = remap[y][1]; in dv_calc_mb_coordinates()
/third_party/skia/third_party/externals/spirv-cross/
H A Dmain.cpp758 "\t[--glsl-remap-ext-framebuffer-fetch input-attachment color-location]:\n\t\tRemaps an input attachment to use GL_EXT_shader_framebuffer_fetch.\n" in print_help_glsl()
774 "\t[--remap source_name target_name components]:\n\t\tRemaps a variable to a different name with N components.\n" in print_help_glsl()
775 "\t\tMain use case is to remap a subpass input to gl_LastFragDepthARM.\n" in print_help_glsl()
778 "\t\t--remap uDepth gl_LastFragDepthARM 1 --extension GL_ARM_shader_framebuffer_fetch_depth_stencil\n" in print_help_glsl()
780 "\t[--remap-variable-type <variable_name> <new_variable_type>]:\n\t\tRemaps a variable type based on name.\n" in print_help_glsl()
781 "\t\tPrimary use case is supporting external samplers in ESSL for video rendering on Android where you could remap a texture to a YUV one.\n" in print_help_glsl()
961 static bool remap_generic(Compiler &compiler, const SmallVector<Resource> &resources, const Remap &remap) in remap_generic() argument
964 find_if(begin(resources), end(resources), [&remap](const Resource &res) { return res.name == remap.src_name; }); in remap_generic()
969 compiler.set_name(itr->id, remap in remap_generic()
[all...]
/kernel/linux/linux-5.10/drivers/bus/
H A Dmvebu-mbus.c189 /* Checks whether the given window has remap capability */
203 u64 *remap) in mvebu_mbus_read_window()
226 if (remap) { in mvebu_mbus_read_window()
233 *remap = ((u64)remap_hi << 32) | remap_low; in mvebu_mbus_read_window()
235 *remap = 0; in mvebu_mbus_read_window()
330 phys_addr_t remap, u8 target, in mvebu_mbus_setup_window()
362 if (remap == MVEBU_MBUS_NO_REMAP) in mvebu_mbus_setup_window()
365 remap_addr = remap; in mvebu_mbus_setup_window()
375 phys_addr_t remap, u8 target, in mvebu_mbus_alloc_window()
380 if (remap in mvebu_mbus_alloc_window()
200 mvebu_mbus_read_window(struct mvebu_mbus_state *mbus, int win, int *enabled, u64 *base, u32 *size, u8 *target, u8 *attr, u64 *remap) mvebu_mbus_read_window() argument
328 mvebu_mbus_setup_window(struct mvebu_mbus_state *mbus, int win, phys_addr_t base, size_t size, phys_addr_t remap, u8 target, u8 attr) mvebu_mbus_setup_window() argument
373 mvebu_mbus_alloc_window(struct mvebu_mbus_state *mbus, phys_addr_t base, size_t size, phys_addr_t remap, u8 target, u8 attr) mvebu_mbus_alloc_window() argument
902 mvebu_mbus_add_window_remap_by_id(unsigned int target, unsigned int attribute, phys_addr_t base, size_t size, phys_addr_t remap) mvebu_mbus_add_window_remap_by_id() argument
[all...]
/kernel/linux/linux-6.6/drivers/bus/
H A Dmvebu-mbus.c186 /* Checks whether the given window has remap capability */
200 u64 *remap) in mvebu_mbus_read_window()
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()
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()
377 if (remap in mvebu_mbus_alloc_window()
197 mvebu_mbus_read_window(struct mvebu_mbus_state *mbus, int win, int *enabled, u64 *base, u32 *size, u8 *target, u8 *attr, u64 *remap) mvebu_mbus_read_window() argument
325 mvebu_mbus_setup_window(struct mvebu_mbus_state *mbus, int win, phys_addr_t base, size_t size, phys_addr_t remap, u8 target, u8 attr) mvebu_mbus_setup_window() argument
370 mvebu_mbus_alloc_window(struct mvebu_mbus_state *mbus, phys_addr_t base, size_t size, phys_addr_t remap, u8 target, u8 attr) mvebu_mbus_alloc_window() argument
877 mvebu_mbus_add_window_remap_by_id(unsigned int target, unsigned int attribute, phys_addr_t base, size_t size, phys_addr_t remap) mvebu_mbus_add_window_remap_by_id() argument
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/mm/
H A Dmremap_test.c69 * Returns false if the requested remap region overlaps with an
159 char *remap, *start; in mremap_expand_merge() local
170 remap = mremap(start, page_size, 2 * page_size, 0); in mremap_expand_merge()
171 if (remap == MAP_FAILED) { in mremap_expand_merge()
190 * we remove the last then attempt to remap offset from the second page. This
198 char *remap, *start; in mremap_expand_merge_offset() local
210 remap = mremap(start + page_size, page_size, 2 * page_size, 0); in mremap_expand_merge_offset()
211 if (remap == MAP_FAILED) { in mremap_expand_merge_offset()
276 /* Returns the time taken for the remap on success else returns -1. */
317 ksft_print_msg("Couldn't find a valid region to remap t in remap_region()
[all...]
/third_party/mesa3d/src/gallium/drivers/r300/compiler/
H A Dradeon_emulate_branches.c282 struct remap_output_data remap; in fix_output_writes() local
285 remap.Output = inst->U.I.DstReg.Index; in fix_output_writes()
286 remap.Temporary = rc_find_free_temporary(s->C); in fix_output_writes()
291 rc_remap_registers(inst, &remap_output_function, &remap); in fix_output_writes()
297 inst_mov->U.I.DstReg.Index = remap.Output; in fix_output_writes()
300 inst_mov->U.I.SrcReg[0].Index = remap.Temporary; in fix_output_writes()
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/
H A Dindic.pl14 # Usage - $0 <remap file>
19 # The remap file should have lines of the form
142 # Oriya, then the character 0B56 (Oriya AI Length Mark) will remap to
164 #print STDERR "Ignoring NOOP remap of $from\n";
166 print STDERR "ERROR in $EXCEPTIONS_FILE - Duplicate remap entries for $from\n";
168 print STDERR "ERROR in $EXCEPTIONS_FILE - Ignoring multichar remap: ", hexArray(@from), "->", hexArray(@to), "\n";
173 print STDERR "ERROR in $EXCEPTIONS_FILE - Invalid remap; left side defined: ", hexArray(@from), "->", hexArray(@to), "\n";
175 print STDERR "ERROR in $EXCEPTIONS_FILE - Invalid remap; right side undefined: ", hexArray(@from), "->", hexArray(@to), "\n";
303 foreach my $remap (@REMAP) { $REMAP{$remap}
[all...]
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/
H A DToposortStructs.cpp43 if (const TStructure *z = symbolEnv.remap(f->type()->getStruct())) in BuildGraphImpl()
226 if (const TStructure *structure = symbolEnv.remap(type.getStruct())) in GetAsDeclaredStructure()
266 if (const TStructure *structure = mSymbolEnv.remap(leftType.getStruct()))
287 if (const TStructure *subStruct = mSymbolEnv.remap(field->type()->getStruct())) in useStruct()
/foundation/graphic/graphic_3d/lume/LumeBinaryCompile/LumeShaderCompiler/src/
H A Dmain.cpp1238 for (auto& remap : resources.push_constant_buffers) {
1239 const auto& blockType = compiler.get_type(remap.base_type_id);
1240 auto name = compiler.get_name(remap.id);
1243 Gles::ProcessStruct(std::string_view(name.data(), name.size()), 0, compiler, remap.base_type_id,
1401 for (const auto& remap : resources) {
1402 const auto binding = get_binding(compiler, remap.id);
1410 if (auto origname = compiler.get_name(remap.id); origname.empty()) {
1411 compiler.set_name(remap.base_type_id, name);
1413 compiler.set_name(remap.id, name);
1416 compiler.set_name(remap
[all...]
/kernel/linux/linux-5.10/drivers/regulator/
H A Dtwl-regulator.c45 u8 remap; member
469 .remap = remap_conf, \
487 .remap = remap_conf, \
507 .remap = remap_conf, \
643 twlreg_write(info, TWL_MODULE_PM_RECEIVER, VREG_REMAP, info->remap); in twlreg_probe()

Completed in 22 milliseconds

123456