Home
last modified time | relevance | path

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

/Linux-v6.1/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.c410 phys_addr_t gap_size = SMP_CACHE_BYTES; in alloc_try_nid_top_down_reserved_with_space_check() local
422 r2.base = r1.base - (r3_size + gap_size + r2.size); in alloc_try_nid_top_down_reserved_with_space_check()
537 phys_addr_t gap_size = SMP_CACHE_BYTES; in alloc_try_nid_top_down_reserved_no_space_check() local
549 r2.base = r1.base - (r2.size + gap_size); in alloc_try_nid_top_down_reserved_no_space_check()
604 phys_addr_t gap_size = SMP_CACHE_BYTES; in alloc_try_nid_reserved_all_generic_check() local
614 r2.size = MEM_SIZE - (r1.size + gap_size); in alloc_try_nid_reserved_all_generic_check()
883 phys_addr_t gap_size = SMP_CACHE_BYTES; in alloc_try_nid_bottom_up_reserved_with_space_check() local
895 r2.base = r1.base - (r3_size + gap_size + r2.size); in alloc_try_nid_bottom_up_reserved_with_space_check()
953 phys_addr_t gap_size = SMP_CACHE_BYTES; in alloc_try_nid_bottom_up_reserved_no_space_check() local
965 r2.base = r1.base - (r2.size + gap_size); in alloc_try_nid_bottom_up_reserved_no_space_check()
/Linux-v6.1/drivers/clk/keystone/
Dsci-clk.c430 int gap_size = 0; in ti_sci_scan_clocks_from_fw() local
438 gap_size++; in ti_sci_scan_clocks_from_fw()
440 if (gap_size >= 5) in ti_sci_scan_clocks_from_fw()
444 if (gap_size >= 2) { in ti_sci_scan_clocks_from_fw()
447 gap_size = 0; in ti_sci_scan_clocks_from_fw()
455 gap_size = 0; in ti_sci_scan_clocks_from_fw()
/Linux-v6.1/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()