Home
last modified time | relevance | path

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

/linux/drivers/firmware/efi/libstub/
A 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/drivers/gpu/drm/amd/display/dc/dcn30/
A 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()
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()
350 for (k = 0; k < (region_end - region_start); k++) { in cm3_helper_translate_curve_to_degamma_hw_format()
[all …]
A 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()
A 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()
A 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()
A Ddcn30_dpp.c689 gam_regs.region_end = REG(CM_BLNDGAM_RAMA_REGION_32_33); in dpp3_program_blnd_luta_settings()
717 gam_regs.region_end = REG(CM_BLNDGAM_RAMB_REGION_32_33); in dpp3_program_blnd_lutb_settings()
/linux/drivers/gpu/drm/amd/display/dc/dcn10/
A 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()
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()
550 for (k = 0; k < (region_end - region_start); k++) { in cm_helper_translate_curve_to_degamma_hw_format()
[all …]
A 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()
A Ddcn10_cm_common.h55 uint32_t region_end
/linux/mm/kasan/
A Dshadow.c467 unsigned long region_start, region_end; in kasan_release_vmalloc() local
471 region_end = ALIGN_DOWN(end, KASAN_MEMORY_PER_SHADOW_PAGE); in kasan_release_vmalloc()
481 if (end != region_end && in kasan_release_vmalloc()
482 free_region_end > region_end) in kasan_release_vmalloc()
483 region_end += KASAN_MEMORY_PER_SHADOW_PAGE; in kasan_release_vmalloc()
486 shadow_end = kasan_mem_to_shadow((void *)region_end); in kasan_release_vmalloc()
/linux/drivers/mtd/parsers/
A 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/arch/parisc/kernel/
A 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/arch/x86/boot/compressed/
A Dkaslr.c585 u64 region_end; in __process_mem_region() local
589 region_end = min(entry->start + entry->size, mem_limit); in __process_mem_region()
597 if (region.start > region_end) in __process_mem_region()
601 region.size = region_end - region.start; in __process_mem_region()
649 u64 start, end, entry_end, region_end; in process_mem_region() local
657 region_end = region->start + region->size; in process_mem_region()
660 entry_end = clamp(region_end, start, end); in process_mem_region()
/linux/arch/powerpc/mm/book3s64/
A Dradix_pgtable.c41 unsigned long region_start, unsigned long region_end) in early_alloc_pgtable() argument
49 if (region_end) in early_alloc_pgtable()
50 max_addr = region_end; in early_alloc_pgtable()
72 unsigned long region_start, unsigned long region_end) in early_map_kernel_page() argument
85 region_start, region_end); in early_map_kernel_page()
95 region_end); in early_map_kernel_page()
105 region_start, region_end); in early_map_kernel_page()
124 unsigned long region_start, unsigned long region_end) in __map_kernel_page() argument
143 nid, region_start, region_end); in __map_kernel_page()
/linux/arch/parisc/include/asm/
A Dunwind.h13 unsigned int region_end; member
/linux/drivers/nvdimm/
A Dregion_devs.c1297 resource_size_t res_end, region_end, region_start; in region_conflict() local
1308 region_end = region_start + nd_region->ndr_size; in region_conflict()
1309 if (ctx->start >= region_start && ctx->start < region_end) in region_conflict()
1311 if (res_end > region_start && res_end <= region_end) in region_conflict()
/linux/drivers/mtd/spi-nor/
A Dcore.c1460 u64 region_end = region_start + region->size; in spi_nor_find_erase_region() local
1462 while (addr < region_start || addr >= region_end) { in spi_nor_find_erase_region()
1468 region_end = region_start + region->size; in spi_nor_find_erase_region()
1539 u64 region_end; in spi_nor_init_erase_cmd_list() local
1546 region_end = spi_nor_region_end(region); in spi_nor_init_erase_cmd_list()
1570 if (len && addr >= region_end) { in spi_nor_init_erase_cmd_list()
1574 region_end = spi_nor_region_end(region); in spi_nor_init_erase_cmd_list()
/linux/include/uapi/linux/
A Dfirewire-cdev.h582 __u64 region_end; /* available since kernel version 2.6.36 */ member
/linux/drivers/gpu/drm/amd/display/dc/dcn20/
A 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()
A 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/drivers/gpu/drm/panfrost/
A 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/drivers/gpu/drm/amd/display/dc/dce110/
A Ddce110_hw_sequencer.c453 int32_t region_start, region_end; in dce110_translate_regamma_to_hw_format() local
470 region_end = region_start + NUMBER_REGIONS; in dce110_translate_regamma_to_hw_format()
483 region_end = 1; in dce110_translate_regamma_to_hw_format()
509 for (k = 0; k < (region_end - region_start); k++) { in dce110_translate_regamma_to_hw_format()
525 start_index = (region_end + MAX_LOW_POINT) * NUMBER_SW_SEGMENTS; in dce110_translate_regamma_to_hw_format()
533 dc_fixpt_from_int(region_end)); in dce110_translate_regamma_to_hw_format()
/linux/drivers/md/
A 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/drivers/mtd/nand/onenand/
A 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()
/linux/drivers/firewire/
A Dcore-cdev.c777 region.end = a->region_end; in ioctl_allocate()

Completed in 84 milliseconds