Home
last modified time | relevance | path

Searched refs:gap_size (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/tools/testing/memblock/tests/
Dalloc_api.c269 phys_addr_t gap_size = SMP_CACHE_BYTES; in alloc_in_between_generic_check() local
274 phys_addr_t rgn_size = (MEM_SIZE - (2 * gap_size + r3_size)) / 2; in alloc_in_between_generic_check()
281 r1.base = memblock_end_of_DRAM() - (gap_size + rgn_size); in alloc_in_between_generic_check()
284 r2.base = memblock_start_of_DRAM() + gap_size; in alloc_in_between_generic_check()
324 phys_addr_t gap_size = SZ_256; in alloc_small_gaps_generic_check() local
333 memblock_reserve(region_end + gap_size, region_size); in alloc_small_gaps_generic_check()
334 region_end += gap_size + region_size; in alloc_small_gaps_generic_check()
Dalloc_nid_api.c421 phys_addr_t gap_size = SMP_CACHE_BYTES; in alloc_nid_top_down_reserved_with_space_check() local
433 r2.base = r1.base - (r3_size + gap_size + r2.size); in alloc_nid_top_down_reserved_with_space_check()
548 phys_addr_t gap_size = SMP_CACHE_BYTES; in alloc_nid_top_down_reserved_no_space_check() local
560 r2.base = r1.base - (r2.size + gap_size); in alloc_nid_top_down_reserved_no_space_check()
615 phys_addr_t gap_size = SMP_CACHE_BYTES; in alloc_nid_reserved_all_generic_check() local
625 r2.size = MEM_SIZE - (r1.size + gap_size); in alloc_nid_reserved_all_generic_check()
894 phys_addr_t gap_size = SMP_CACHE_BYTES; in alloc_nid_bottom_up_reserved_with_space_check() local
906 r2.base = r1.base - (r3_size + gap_size + r2.size); in alloc_nid_bottom_up_reserved_with_space_check()
964 phys_addr_t gap_size = SMP_CACHE_BYTES; in alloc_nid_bottom_up_reserved_no_space_check() local
976 r2.base = r1.base - (r2.size + gap_size); in alloc_nid_bottom_up_reserved_no_space_check()
Dbasic_api.c442 phys_addr_t gap_size = SZ_64; in memblock_add_many_check() local
461 base += new_memory_regions_size + gap_size; in memblock_add_many_check()
471 base += size + gap_size; in memblock_add_many_check()
/linux-6.6.21/drivers/clk/keystone/
Dsci-clk.c431 int gap_size = 0; in ti_sci_scan_clocks_from_fw() local
439 gap_size++; in ti_sci_scan_clocks_from_fw()
441 if (gap_size >= 5) in ti_sci_scan_clocks_from_fw()
445 if (gap_size >= 2) { in ti_sci_scan_clocks_from_fw()
448 gap_size = 0; in ti_sci_scan_clocks_from_fw()
456 gap_size = 0; in ti_sci_scan_clocks_from_fw()
/linux-6.6.21/arch/powerpc/platforms/cell/
Diommu.c320 unsigned long gap_size, unsigned long page_shift) in cell_iommu_alloc_ptab() argument
362 gap_size = gap_size >> IO_SEGMENT_SHIFT; in cell_iommu_alloc_ptab()
366 if (i >= gap_base && i < (gap_base + gap_size)) { in cell_iommu_alloc_ptab()