/openbmc/linux/drivers/gpu/drm/i915/ |
H A D | i915_ttm_buddy_manager.c | 36 const struct ttm_place *place, in i915_ttm_buddy_man_alloc() argument 47 lpfn = place->lpfn; in i915_ttm_buddy_man_alloc() 55 ttm_resource_init(bo, place, &bman_res->base); in i915_ttm_buddy_man_alloc() 59 if (place->flags & TTM_PL_FLAG_TOPDOWN) in i915_ttm_buddy_man_alloc() 62 if (place->fpfn || lpfn != man->size) in i915_ttm_buddy_man_alloc() 75 if (place->fpfn + PFN_UP(bman_res->base.size) != place->lpfn && in i915_ttm_buddy_man_alloc() 76 place->flags & TTM_PL_FLAG_CONTIGUOUS) { in i915_ttm_buddy_man_alloc() 101 err = drm_buddy_alloc_blocks(mm, (u64)place->fpfn << PAGE_SHIFT, in i915_ttm_buddy_man_alloc() 110 if (place->flags & TTM_PL_FLAG_CONTIGUOUS) { in i915_ttm_buddy_man_alloc() 171 const struct ttm_place *place, in i915_ttm_buddy_man_intersects() argument [all …]
|
H A D | intel_region_ttm.c | 204 struct ttm_place place = {}; in intel_region_ttm_resource_alloc() local 210 place.flags |= TTM_PL_FLAG_CONTIGUOUS; in intel_region_ttm_resource_alloc() 212 if (WARN_ON(overflows_type(offset >> PAGE_SHIFT, place.fpfn))) { in intel_region_ttm_resource_alloc() 216 place.fpfn = offset >> PAGE_SHIFT; in intel_region_ttm_resource_alloc() 217 if (WARN_ON(overflows_type(place.fpfn + (size >> PAGE_SHIFT), place.lpfn))) { in intel_region_ttm_resource_alloc() 221 place.lpfn = place.fpfn + (size >> PAGE_SHIFT); in intel_region_ttm_resource_alloc() 224 place.flags |= TTM_PL_FLAG_TOPDOWN; in intel_region_ttm_resource_alloc() 226 place.fpfn = 0; in intel_region_ttm_resource_alloc() 227 if (WARN_ON(overflows_type(mem->io_size >> PAGE_SHIFT, place.lpfn))) { in intel_region_ttm_resource_alloc() 231 place.lpfn = mem->io_size >> PAGE_SHIFT; in intel_region_ttm_resource_alloc() [all …]
|
/openbmc/linux/drivers/gpu/drm/ttm/ |
H A D | ttm_range_manager.c | 60 const struct ttm_place *place, in ttm_range_man_alloc() argument 70 lpfn = place->lpfn; in ttm_range_man_alloc() 79 if (place->flags & TTM_PL_FLAG_TOPDOWN) in ttm_range_man_alloc() 82 ttm_resource_init(bo, place, &node->base); in ttm_range_man_alloc() 88 place->fpfn, lpfn, mode); in ttm_range_man_alloc() 118 const struct ttm_place *place, in ttm_range_man_intersects() argument 125 if (place->fpfn >= (node->start + num_pages) || in ttm_range_man_intersects() 126 (place->lpfn && place->lpfn <= node->start)) in ttm_range_man_intersects() 134 const struct ttm_place *place, in ttm_range_man_compatible() argument 140 if (node->start < place->fpfn || in ttm_range_man_compatible() [all …]
|
H A D | ttm_bo.c | 488 const struct ttm_place *place) in ttm_bo_eviction_valuable() argument 500 return ttm_resource_intersects(bdev, res, place, bo->base.size); in ttm_bo_eviction_valuable() 516 const struct ttm_place *place, in ttm_bo_evict_swapout_allowable() argument 542 if (ret && place && (bo->resource->mem_type != place->mem_type || in ttm_bo_evict_swapout_allowable() 543 !bo->bdev->funcs->eviction_valuable(bo, place))) { in ttm_bo_evict_swapout_allowable() 591 const struct ttm_place *place, in ttm_mem_evict_first() argument 605 if (!ttm_bo_evict_swapout_allowable(res->bo, ctx, place, in ttm_mem_evict_first() 727 const struct ttm_place *place, in ttm_bo_mem_force_space() argument 736 man = ttm_manager_type(bdev, place->mem_type); in ttm_bo_mem_force_space() 739 ret = ttm_resource_alloc(bo, place, mem); in ttm_bo_mem_force_space() [all …]
|
H A D | ttm_resource.c | 178 const struct ttm_place *place, in ttm_resource_init() argument 185 res->mem_type = place->mem_type; in ttm_resource_init() 186 res->placement = place->flags; in ttm_resource_init() 193 man = ttm_manager_type(bo->bdev, place->mem_type); in ttm_resource_init() 227 const struct ttm_place *place, in ttm_resource_alloc() argument 231 ttm_manager_type(bo->bdev, place->mem_type); in ttm_resource_alloc() 234 ret = man->func->alloc(man, bo, place, res_ptr); in ttm_resource_alloc() 275 const struct ttm_place *place, in ttm_resource_intersects() argument 284 if (!place || !man->func->intersects) in ttm_resource_intersects() 287 return man->func->intersects(man, res, place, size); in ttm_resource_intersects() [all …]
|
H A D | ttm_sys_manager.c | 12 const struct ttm_place *place, in ttm_sys_man_alloc() argument 19 ttm_resource_init(bo, place, *res); in ttm_sys_man_alloc()
|
/openbmc/linux/arch/arm64/kernel/ |
H A D | module.c | 160 static u64 do_reloc(enum aarch64_reloc_op reloc_op, __le32 *place, u64 val) in do_reloc() argument 166 return val - (u64)place; in do_reloc() 168 return (val & ~0xfff) - ((u64)place & ~0xfff); in do_reloc() 177 static int reloc_data(enum aarch64_reloc_op op, void *place, u64 val, int len) in reloc_data() argument 179 s64 sval = do_reloc(op, place, val); in reloc_data() 195 *(s16 *)place = sval; in reloc_data() 211 *(s32 *)place = sval; in reloc_data() 227 *(s64 *)place = sval; in reloc_data() 241 static int reloc_insn_movw(enum aarch64_reloc_op op, __le32 *place, u64 val, in reloc_insn_movw() argument 246 u32 insn = le32_to_cpu(*place); in reloc_insn_movw() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_gtt_mgr.c | 115 const struct ttm_place *place, in amdgpu_gtt_mgr_new() argument 127 ttm_resource_init(tbo, place, &node->base); in amdgpu_gtt_mgr_new() 128 if (!(place->flags & TTM_PL_FLAG_TEMPORARY) && in amdgpu_gtt_mgr_new() 134 if (place->lpfn) { in amdgpu_gtt_mgr_new() 138 0, place->fpfn, place->lpfn, in amdgpu_gtt_mgr_new() 219 const struct ttm_place *place, in amdgpu_gtt_mgr_intersects() argument 222 return !place->lpfn || amdgpu_gtt_mgr_has_gart_addr(res); in amdgpu_gtt_mgr_intersects() 237 const struct ttm_place *place, in amdgpu_gtt_mgr_compatible() argument 240 return !place->lpfn || amdgpu_gtt_mgr_has_gart_addr(res); in amdgpu_gtt_mgr_compatible()
|
H A D | amdgpu_vram_mgr.c | 381 const struct ttm_place *place, in amdgpu_dummy_vram_mgr_compatible() argument 390 const struct ttm_place *place, in amdgpu_dummy_vram_mgr_intersects() argument 405 const struct ttm_place *place, in amdgpu_dummy_vram_mgr_new() argument 424 const struct ttm_place *place, in amdgpu_vram_mgr_new() argument 437 lpfn = (u64)place->lpfn << PAGE_SHIFT; in amdgpu_vram_mgr_new() 441 fpfn = (u64)place->fpfn << PAGE_SHIFT; in amdgpu_vram_mgr_new() 447 if (place->flags & TTM_PL_FLAG_CONTIGUOUS) { in amdgpu_vram_mgr_new() 464 ttm_resource_init(tbo, place, &vres->base); in amdgpu_vram_mgr_new() 474 if (place->flags & TTM_PL_FLAG_TOPDOWN) in amdgpu_vram_mgr_new() 501 if (fpfn + size != (u64)place->lpfn << PAGE_SHIFT) { in amdgpu_vram_mgr_new() [all …]
|
H A D | amdgpu_preempt_mgr.c | 61 const struct ttm_place *place, in amdgpu_preempt_mgr_new() argument 68 ttm_resource_init(tbo, place, *res); in amdgpu_preempt_mgr_new()
|
/openbmc/linux/include/drm/ttm/ |
H A D | ttm_resource.h | 76 const struct ttm_place *place, 104 const struct ttm_place *place, 120 const struct ttm_place *place, 355 const struct ttm_place *place, 361 const struct ttm_place *place, 366 const struct ttm_place *place, 370 const struct ttm_place *place,
|
/openbmc/linux/drivers/gpu/drm/nouveau/ |
H A D | nouveau_mem.c | 194 const struct ttm_place *place, in nouveau_mem_intersects() argument 200 if (place->fpfn >= (res->start + num_pages) || in nouveau_mem_intersects() 201 (place->lpfn && place->lpfn <= res->start)) in nouveau_mem_intersects() 209 const struct ttm_place *place, in nouveau_mem_compatible() argument 214 if (res->start < place->fpfn || in nouveau_mem_compatible() 215 (place->lpfn && (res->start + num_pages) > place->lpfn)) in nouveau_mem_compatible()
|
H A D | nouveau_ttm.c | 48 const struct ttm_place *place, in nouveau_manager_intersects() argument 51 return nouveau_mem_intersects(res, place, size); in nouveau_manager_intersects() 57 const struct ttm_place *place, in nouveau_manager_compatible() argument 60 return nouveau_mem_compatible(res, place, size); in nouveau_manager_compatible() 66 const struct ttm_place *place, in nouveau_vram_manager_new() argument 80 ttm_resource_init(bo, place, *res); in nouveau_vram_manager_new() 101 const struct ttm_place *place, in nouveau_gart_manager_new() argument 112 ttm_resource_init(bo, place, *res); in nouveau_gart_manager_new() 127 const struct ttm_place *place, in nv04_gart_manager_new() argument 140 ttm_resource_init(bo, place, *res); in nv04_gart_manager_new()
|
H A D | nouveau_mem.h | 29 const struct ttm_place *place, 32 const struct ttm_place *place,
|
/openbmc/linux/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_ttm.c | 129 struct ttm_place *place, in i915_ttm_place_from_region() argument 134 memset(place, 0, sizeof(*place)); in i915_ttm_place_from_region() 135 place->mem_type = intel_region_to_ttm_type(mr); in i915_ttm_place_from_region() 141 place->flags |= TTM_PL_FLAG_CONTIGUOUS; in i915_ttm_place_from_region() 143 WARN_ON(overflows_type(offset >> PAGE_SHIFT, place->fpfn)); in i915_ttm_place_from_region() 144 place->fpfn = offset >> PAGE_SHIFT; in i915_ttm_place_from_region() 145 WARN_ON(overflows_type(place->fpfn + (size >> PAGE_SHIFT), place->lpfn)); in i915_ttm_place_from_region() 146 place->lpfn = place->fpfn + (size >> PAGE_SHIFT); in i915_ttm_place_from_region() 149 place->flags |= TTM_PL_FLAG_TOPDOWN; in i915_ttm_place_from_region() 151 place->fpfn = 0; in i915_ttm_place_from_region() [all …]
|
/openbmc/linux/Documentation/hwmon/ |
H A D | k8temp.rst | 36 temp1_input temperature of Core 0 and "place" 0 37 temp2_input temperature of Core 0 and "place" 1 38 temp3_input temperature of Core 1 and "place" 0 39 temp4_input temperature of Core 1 and "place" 1
|
/openbmc/qemu/disas/ |
H A D | m68k.c | 1094 int place = d[1]; in print_insn_arg() local 1109 val = fetch_arg (buffer, place, 2, info); in print_insn_arg() 1119 reg_names[fetch_arg (buffer, place, 3, info) + 8]); in print_insn_arg() 1172 val = fetch_arg (buffer, place, 12, info); in print_insn_arg() 1185 val = fetch_arg (buffer, place, 3, info); in print_insn_arg() 1193 val = fetch_arg (buffer, place, 3, info); in print_insn_arg() 1201 if (place == 'h') in print_insn_arg() 1204 val = fetch_arg (buffer, place, 1, info); in print_insn_arg() 1209 val = fetch_arg (buffer, place, 8, info); in print_insn_arg() 1217 val = fetch_arg (buffer, place, 4, info); in print_insn_arg() [all …]
|
/openbmc/linux/arch/mips/include/asm/mach-ip27/ |
H A D | kernel-entry-init.h | 37 dsll t1, NASID_SHFT # Shift text nasid into place 43 dsll t1, 6 # Get pfn into place 44 dsll t2, 6 # Get pfn into place
|
/openbmc/linux/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_system_manager.c | 37 const struct ttm_place *place, in vmw_sys_man_alloc() argument 44 ttm_resource_init(bo, place, *res); in vmw_sys_man_alloc()
|
/openbmc/linux/arch/arm64/include/asm/ |
H A D | module.h | 45 static inline bool is_forbidden_offset_for_adrp(void *place) in is_forbidden_offset_for_adrp() argument 49 ((u64)place & 0xfff) >= 0xff8; in is_forbidden_offset_for_adrp()
|
/openbmc/openbmc/poky/meta/recipes-core/initscripts/initscripts-1.0/ |
H A D | volatiles | 19 # check it's existence. If a link is found to exist in the place of the target, 21 # Thus, if a link is in the place to be verified, the object will be created 22 # in the place the link points to instead.
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-benchmark/libhugetlbfs/files/ |
H A D | 0001-skip-checking-LIB32-and-LIB64-if-they-point-to-the-s.patch | 4 Subject: [PATCH] skip checking LIB32 and LIB64 if they point to the same place 21 … and LIB64 ($(PREFIX)/$(LIB64) to $(REALLIB64)) are resolving to the same place. Manually specify …
|
/openbmc/linux/drivers/hwmon/ |
H A D | k8temp.c | 91 int core, place; in k8temp_read() local 96 place = channel & 1; in k8temp_read() 105 if (place) in k8temp_read()
|
/openbmc/qemu/scripts/coccinelle/ |
H A D | inplace-byteswaps.cocci | 1 // Replace uses of in-place byteswapping functions with calls to the 2 // equivalent not-in-place functions. This is necessary to avoid
|
/openbmc/linux/Documentation/trace/rv/ |
H A D | monitor_wip.rst | 12 that verifies if the wakeup events always take place with 30 The wakeup event always takes place with preemption disabled because
|