Home
last modified time | relevance | path

Searched refs:region_end (Results 1 – 25 of 26) sorted by relevance

12

/linux-5.19.10/drivers/firmware/efi/libstub/
Drandomalloc.c22 u64 first_slot, last_slot, region_end; in get_entry_num_slots() local
31 region_end = min(md->phys_addr + md->num_pages * EFI_PAGE_SIZE - 1, in get_entry_num_slots()
33 if (region_end < size) in get_entry_num_slots()
37 last_slot = round_down(region_end - size + 1, align); in get_entry_num_slots()
/linux-5.19.10/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_cm_common.c109 reg_region_cur <= reg->region_end; in cm_helper_program_xfer_func()
321 int32_t region_start, region_end; in cm_helper_translate_curve_to_hw_format() local
343 region_end = NUMBER_REGIONS - MAX_LOW_POINT; in cm_helper_translate_curve_to_hw_format()
362 region_end = 1; in cm_helper_translate_curve_to_hw_format()
365 for (i = region_end - region_start; i < MAX_REGIONS_NUMBER ; i++) in cm_helper_translate_curve_to_hw_format()
374 for (k = 0; k < (region_end - region_start); k++) { in cm_helper_translate_curve_to_hw_format()
390 start_index = (region_end + MAX_LOW_POINT) * NUMBER_SW_SEGMENTS; in cm_helper_translate_curve_to_hw_format()
406 dc_fixpt_from_int(region_end)); in cm_helper_translate_curve_to_hw_format()
518 int32_t region_start, region_end; in cm_helper_translate_curve_to_degamma_hw_format() local
533 region_end = 0; in cm_helper_translate_curve_to_degamma_hw_format()
[all …]
Ddcn10_cm_common.h55 uint32_t region_end
Ddcn10_dpp_cm.c386 gam_regs.region_end = REG(CM_RGAM_RAMA_REGION_32_33); in dpp1_cm_program_regamma_luta_settings()
415 gam_regs.region_end = REG(CM_RGAM_RAMB_REGION_32_33); in dpp1_cm_program_regamma_lutb_settings()
539 gam_regs.region_end = REG(CM_DGAM_RAMB_REGION_14_15); in dpp1_program_degamma_lutb_settings()
568 gam_regs.region_end = REG(CM_DGAM_RAMA_REGION_14_15); in dpp1_program_degamma_luta_settings()
/linux-5.19.10/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_cm_common.c86 reg_region_cur <= reg->region_end; in cm_helper_program_gamcor_xfer_func()
119 int32_t region_start, region_end; in cm3_helper_translate_curve_to_hw_format() local
142 region_end = NUMBER_REGIONS - MAX_LOW_POINT; in cm3_helper_translate_curve_to_hw_format()
161 region_end = 1; in cm3_helper_translate_curve_to_hw_format()
164 for (i = region_end - region_start; i < MAX_REGIONS_NUMBER ; i++) in cm3_helper_translate_curve_to_hw_format()
173 for (k = 0; k < (region_end - region_start); k++) { in cm3_helper_translate_curve_to_hw_format()
189 start_index = (region_end + MAX_LOW_POINT) * NUMBER_SW_SEGMENTS; in cm3_helper_translate_curve_to_hw_format()
205 dc_fixpt_from_int(region_end)); in cm3_helper_translate_curve_to_hw_format()
318 int32_t region_start, region_end; in cm3_helper_translate_curve_to_degamma_hw_format() local
333 region_end = 0; in cm3_helper_translate_curve_to_degamma_hw_format()
[all …]
Ddcn30_dwb_cm.c108 gam_regs.region_end = REG(DWB_OGAM_RAMA_REGION_32_33); in dwb3_program_ogam_luta_settings()
141 gam_regs.region_end = REG(DWB_OGAM_RAMB_REGION_32_33); in dwb3_program_ogam_lutb_settings()
Ddcn30_dpp_cm.c263 gam_regs.region_end = REG(CM_GAMCOR_RAMB_REGION_32_33); in dpp3_program_gamcor_lut()
285 gam_regs.region_end = REG(CM_GAMCOR_RAMA_REGION_32_33); in dpp3_program_gamcor_lut()
Ddcn30_dpp.c676 gam_regs.region_end = REG(CM_BLNDGAM_RAMA_REGION_32_33); in dpp3_program_blnd_luta_settings()
704 gam_regs.region_end = REG(CM_BLNDGAM_RAMB_REGION_32_33); in dpp3_program_blnd_lutb_settings()
Ddcn30_mpc.c228 gam_regs.region_end = REG(MPCC_OGAM_RAMA_REGION_32_33[mpcc_id]); in mpc3_program_luta()
261 gam_regs.region_end = REG(MPCC_OGAM_RAMB_REGION_32_33[mpcc_id]); in mpc3_program_lutb()
/linux-5.19.10/mm/kasan/
Dshadow.c446 unsigned long region_start, region_end; in kasan_release_vmalloc() local
450 region_end = ALIGN_DOWN(end, KASAN_MEMORY_PER_SHADOW_PAGE); in kasan_release_vmalloc()
460 if (end != region_end && in kasan_release_vmalloc()
461 free_region_end > region_end) in kasan_release_vmalloc()
462 region_end += KASAN_MEMORY_PER_SHADOW_PAGE; in kasan_release_vmalloc()
465 shadow_end = kasan_mem_to_shadow((void *)region_end); in kasan_release_vmalloc()
/linux-5.19.10/drivers/mtd/parsers/
Dafs.c294 u32 region_end; in afs_parse_v2_partition() local
304 region_end = region_start + region_size; in afs_parse_v2_partition()
306 region_end += (mtd->erasesize - 1); in afs_parse_v2_partition()
307 region_end &= ~(mtd->erasesize -1); in afs_parse_v2_partition()
309 region_start, region_end); in afs_parse_v2_partition()
316 part->size = region_end - region_start; in afs_parse_v2_partition()
/linux-5.19.10/arch/parisc/kernel/
Dunwind.c63 else if (addr > e->region_end) in find_unwind_entry_in_table()
114 table->end = base_addr + end->region_end; in unwind_table_init()
121 start->region_end > (start+1)->region_start) { in unwind_table_init()
127 start->region_end += base_addr; in unwind_table_init()
202 __start___unwind[i].region_end); in unwind_init()
325 e->region_start, e->region_end, e->Save_SP, e->Save_RP, in unwind_frame_regs()
/linux-5.19.10/arch/x86/boot/compressed/
Dkaslr.c584 u64 region_end; in __process_mem_region() local
588 region_end = min(entry->start + entry->size, mem_limit); in __process_mem_region()
596 if (region.start > region_end) in __process_mem_region()
600 region.size = region_end - region.start; in __process_mem_region()
648 u64 start, end, entry_end, region_end; in process_mem_region() local
656 region_end = region->start + region->size; in process_mem_region()
659 entry_end = clamp(region_end, start, end); in process_mem_region()
/linux-5.19.10/arch/powerpc/mm/book3s64/
Dradix_pgtable.c40 unsigned long region_start, unsigned long region_end) in early_alloc_pgtable() argument
48 if (region_end) in early_alloc_pgtable()
49 max_addr = region_end; in early_alloc_pgtable()
71 unsigned long region_start, unsigned long region_end) in early_map_kernel_page() argument
84 region_start, region_end); in early_map_kernel_page()
94 region_end); in early_map_kernel_page()
104 region_start, region_end); in early_map_kernel_page()
123 unsigned long region_start, unsigned long region_end) in __map_kernel_page() argument
142 nid, region_start, region_end); in __map_kernel_page()
/linux-5.19.10/tools/testing/memblock/tests/
Dalloc_api.c286 phys_addr_t region_end; in alloc_small_gaps_generic_check() local
290 region_end = memblock_start_of_DRAM(); in alloc_small_gaps_generic_check()
292 while (region_end < memblock_end_of_DRAM()) { in alloc_small_gaps_generic_check()
293 memblock_reserve(region_end + gap_size, region_size); in alloc_small_gaps_generic_check()
294 region_end += gap_size + region_size; in alloc_small_gaps_generic_check()
/linux-5.19.10/arch/parisc/include/asm/
Dunwind.h13 unsigned int region_end; member
/linux-5.19.10/drivers/nvdimm/
Dregion_devs.c1182 resource_size_t res_end, region_end, region_start; in region_conflict() local
1193 region_end = region_start + nd_region->ndr_size; in region_conflict()
1194 if (ctx->start >= region_start && ctx->start < region_end) in region_conflict()
1196 if (res_end > region_start && res_end <= region_end) in region_conflict()
/linux-5.19.10/drivers/mtd/spi-nor/
Dcore.c1244 u64 region_end = region_start + region->size; in spi_nor_find_erase_region() local
1246 while (addr < region_start || addr >= region_end) { in spi_nor_find_erase_region()
1252 region_end = region_start + region->size; in spi_nor_find_erase_region()
1323 u64 region_end; in spi_nor_init_erase_cmd_list() local
1330 region_end = spi_nor_region_end(region); in spi_nor_init_erase_cmd_list()
1354 if (len && addr >= region_end) { in spi_nor_init_erase_cmd_list()
1358 region_end = spi_nor_region_end(region); in spi_nor_init_erase_cmd_list()
/linux-5.19.10/include/uapi/linux/
Dfirewire-cdev.h582 __u64 region_end; /* available since kernel version 2.6.36 */ member
/linux-5.19.10/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_mpc.c343 gam_regs.region_end = REG(MPCC_OGAM_RAMB_REGION_32_33[mpcc_id]); in mpc2_program_lutb()
370 gam_regs.region_end = REG(MPCC_OGAM_RAMA_REGION_32_33[mpcc_id]); in mpc2_program_luta()
Ddcn20_dpp_cm.c408 gam_regs.region_end = REG(CM_BLNDGAM_RAMA_REGION_32_33); in dpp20_program_blnd_luta_settings()
436 gam_regs.region_end = REG(CM_BLNDGAM_RAMB_REGION_32_33); in dpp20_program_blnd_lutb_settings()
/linux-5.19.10/drivers/gpu/drm/panfrost/
Dpanfrost_mmu.c65 u64 region_end = region_start + size; in lock_region() local
78 region_width = max(fls64(region_start ^ (region_end - 1)), in lock_region()
/linux-5.19.10/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_hw_sequencer.c454 int32_t region_start, region_end; in dce110_translate_regamma_to_hw_format() local
471 region_end = region_start + NUMBER_REGIONS; in dce110_translate_regamma_to_hw_format()
484 region_end = 1; in dce110_translate_regamma_to_hw_format()
510 for (k = 0; k < (region_end - region_start); k++) { in dce110_translate_regamma_to_hw_format()
526 start_index = (region_end + MAX_LOW_POINT) * NUMBER_SW_SEGMENTS; in dce110_translate_regamma_to_hw_format()
534 dc_fixpt_from_int(region_end)); in dce110_translate_regamma_to_hw_format()
/linux-5.19.10/drivers/md/
Ddm-clone-target.c795 unsigned long region_start, region_end; in hydration_copy() local
805 region_end = region_start + nr_regions - 1; in hydration_copy()
809 if (region_end == clone->nr_regions - 1) { in hydration_copy()
/linux-5.19.10/drivers/mtd/nand/onenand/
Donenand_base.c2269 loff_t region_end = 0; in onenand_block_by_block_erase() local
2274 region_end = region->offset + region->erasesize * region->numblocks; in onenand_block_by_block_erase()
2305 if (region && addr == region_end) { in onenand_block_by_block_erase()
2311 region_end = region->offset + region->erasesize * region->numblocks; in onenand_block_by_block_erase()

12