/kernel/linux/linux-5.10/arch/mips/include/asm/mach-ralink/ |
D | pinmux.h | 9 #define FUNC(name, value, pin_first, pin_count) \ argument 10 { name, value, pin_first, pin_count } 29 int pin_count; member
|
/kernel/linux/linux-5.10/drivers/staging/mt7621-pinctrl/ |
D | pinctrl-rt2880.c | 72 *num_pins = p->groups[group].func[0].pin_count; in rt2880_get_group_pins() 145 for (i = 0; i < p->groups[group].func[0].pin_count; i++) in rt2880_pmx_group_enable() 152 for (i = 0; i < p->func[func]->pin_count; i++) in rt2880_pmx_group_enable() 263 if (!p->func[i]->pin_count) in rt2880_pinmux_pins() 267 p->func[i]->pin_count, in rt2880_pinmux_pins() 272 for (j = 0; j < p->func[i]->pin_count; j++) in rt2880_pinmux_pins() 275 pin = p->func[i]->pin_first + p->func[i]->pin_count; in rt2880_pinmux_pins() 292 if (!p->func[i]->pin_count) in rt2880_pinmux_pins() 295 for (j = 0; j < p->func[i]->pin_count; j++) in rt2880_pinmux_pins()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/ |
D | intel_timeline.c | 226 atomic_set(&timeline->pin_count, 0); in intel_timeline_init() 289 GEM_BUG_ON(atomic_read(&timeline->pin_count)); in intel_timeline_fini() 332 GEM_BUG_ON(!atomic_read(&tl->pin_count)); in __intel_timeline_pin() 333 atomic_inc(&tl->pin_count); in __intel_timeline_pin() 340 if (atomic_add_unless(&tl->pin_count, 1, 0)) in intel_timeline_pin() 354 if (atomic_fetch_inc(&tl->pin_count)) { in intel_timeline_pin() 365 GEM_BUG_ON(!atomic_read(&tl->pin_count)); in intel_timeline_reset_seqno() 436 GEM_BUG_ON(!atomic_read(&tl->pin_count)); in timeline_advance() 600 GEM_BUG_ON(!atomic_read(&tl->pin_count)); in intel_timeline_unpin() 601 if (!atomic_dec_and_test(&tl->pin_count)) in intel_timeline_unpin()
|
D | intel_ring.c | 26 GEM_BUG_ON(!atomic_read(&ring->pin_count)); in __intel_ring_pin() 27 atomic_inc(&ring->pin_count); in __intel_ring_pin() 37 if (atomic_fetch_inc(&ring->pin_count)) in intel_ring_pin() 73 atomic_dec(&ring->pin_count); in intel_ring_pin() 90 if (!atomic_dec_and_test(&ring->pin_count)) in intel_ring_unpin()
|
D | gen6_ppgtt.c | 390 if (atomic_add_unless(&ppgtt->pin_count, 1, 0)) in gen6_ppgtt_pin() 402 if (!atomic_read(&ppgtt->pin_count)) in gen6_ppgtt_pin() 405 atomic_inc(&ppgtt->pin_count); in gen6_ppgtt_pin() 415 GEM_BUG_ON(!atomic_read(&ppgtt->pin_count)); in gen6_ppgtt_unpin() 416 if (atomic_dec_and_test(&ppgtt->pin_count)) in gen6_ppgtt_unpin() 424 if (!atomic_read(&ppgtt->pin_count)) in gen6_ppgtt_unpin_all() 428 atomic_set(&ppgtt->pin_count, 0); in gen6_ppgtt_unpin_all()
|
D | intel_context.h | 70 return atomic_read(&ce->pin_count); in intel_context_is_pinned() 91 return atomic_inc_not_zero(&ce->pin_count); in intel_context_pin_if_active() 114 atomic_inc(&ce->pin_count); in __intel_context_pin()
|
D | intel_ggtt_fencing.c | 313 GEM_BUG_ON(atomic_read(&fence->pin_count)); in i915_vma_revoke_fence() 341 if (atomic_read(&fence->pin_count)) in fence_find() 367 atomic_inc(&fence->pin_count); in __i915_vma_pin_fence() 377 GEM_BUG_ON(atomic_read(&fence->pin_count)); in __i915_vma_pin_fence() 378 atomic_inc(&fence->pin_count); in __i915_vma_pin_fence() 394 atomic_dec(&fence->pin_count); in __i915_vma_pin_fence() 459 count += !atomic_read(&fence->pin_count); in i915_reserve_fence()
|
D | mock_engine.c | 37 atomic_inc(&tl->pin_count); in mock_timeline_pin() 42 GEM_BUG_ON(!atomic_read(&tl->pin_count)); in mock_timeline_unpin() 43 atomic_dec(&tl->pin_count); in mock_timeline_unpin() 59 atomic_set(&ring->pin_count, 1); in mock_ring()
|
D | intel_ring_types.h | 40 atomic_t pin_count; member
|
D | intel_timeline_types.h | 45 atomic_t pin_count; member
|
D | intel_ggtt_fencing.h | 45 atomic_t pin_count; member
|
D | intel_context.c | 250 if (likely(!atomic_add_unless(&ce->pin_count, 1, 0))) { in __intel_context_do_pin_ww() 267 atomic_inc(&ce->pin_count); in __intel_context_do_pin_ww() 312 if (!atomic_dec_and_test(&ce->pin_count)) in intel_context_unpin()
|
D | gen6_ppgtt.h | 21 atomic_t pin_count; member
|
D | intel_context_types.h | 112 atomic_t pin_count; member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/qxl/ |
D | qxl_object.c | 131 bo->pin_count = pinned ? 1 : 0; in qxl_bo_create() 252 if (bo->pin_count) { in __qxl_bo_pin() 253 bo->pin_count++; in __qxl_bo_pin() 259 bo->pin_count = 1; in __qxl_bo_pin() 272 if (!bo->pin_count) { in __qxl_bo_unpin() 276 bo->pin_count--; in __qxl_bo_unpin() 277 if (bo->pin_count) in __qxl_bo_unpin()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/ |
D | omap_fb.c | 51 int pin_count; member 231 if (omap_fb->pin_count > 0) { in omap_framebuffer_pin() 232 omap_fb->pin_count++; in omap_framebuffer_pin() 245 omap_fb->pin_count++; in omap_framebuffer_pin() 271 omap_fb->pin_count--; in omap_framebuffer_unpin() 273 if (omap_fb->pin_count > 0) { in omap_framebuffer_unpin()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
D | dce6_afmt.c | 83 int i, pin_count; in dce6_audio_get_pin() local 90 pin_count = 0; in dce6_audio_get_pin() 97 pin_count++; in dce6_audio_get_pin() 101 if (pin_count == 0) in dce6_audio_get_pin()
|
D | radeon_object.c | 337 if (bo->pin_count) { in radeon_bo_pin_restricted() 338 bo->pin_count++; in radeon_bo_pin_restricted() 376 bo->pin_count = 1; in radeon_bo_pin_restricted() 399 if (!bo->pin_count) { in radeon_bo_unpin() 403 bo->pin_count--; in radeon_bo_unpin() 404 if (bo->pin_count) in radeon_bo_unpin() 552 if (!bo->pin_count) { in radeon_bo_list_validate() 632 if (old_object->pin_count == 0) in radeon_bo_get_surface_reg() 819 if (rbo->pin_count > 0) in radeon_bo_fault_reserve_notify()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_bo.c | 109 if (buf->pin_count > 0) in vmw_bo_pin_in_placement() 158 if (buf->pin_count > 0) { in vmw_bo_pin_in_vram_or_gmr() 249 buf->pin_count == 0) { in vmw_bo_pin_in_start_of_vram() 254 if (buf->pin_count > 0) in vmw_bo_pin_in_start_of_vram() 347 if (vbo->pin_count++ > 0) in vmw_bo_pin_reserved() 350 WARN_ON(vbo->pin_count <= 0); in vmw_bo_pin_reserved() 351 if (--vbo->pin_count > 0) in vmw_bo_pin_reserved()
|
D | vmwgfx_resource.c | 518 if (!res->func->may_evict || res->id == -1 || res->pin_count) in vmw_resource_unreserve() 998 if (res->pin_count == 0) { in vmw_resource_pin() 1005 if (!vbo->pin_count) { in vmw_resource_pin() 1025 res->pin_count++; in vmw_resource_pin() 1055 WARN_ON(res->pin_count == 0); in vmw_resource_unpin() 1056 if (--res->pin_count == 0 && res->backup) { in vmw_resource_unpin()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_object.c | 81 if (bo->pin_count > 0) in amdgpu_bo_destroy() 724 if (bo->pin_count) in amdgpu_bo_validate() 925 if (bo->pin_count) { in amdgpu_bo_pin_restricted() 931 bo->pin_count++; in amdgpu_bo_pin_restricted() 971 bo->pin_count = 1; in amdgpu_bo_pin_restricted() 1019 if (WARN_ON_ONCE(!bo->pin_count)) { in amdgpu_bo_unpin() 1023 bo->pin_count--; in amdgpu_bo_unpin() 1024 if (bo->pin_count) in amdgpu_bo_unpin() 1393 if (abo->pin_count > 0) in amdgpu_bo_fault_reserve_notify() 1497 !bo->pin_count && bo->tbo.type != ttm_bo_type_kernel); in amdgpu_bo_gpu_offset()
|
D | amdgpu_gem.c | 858 unsigned pin_count; in amdgpu_debugfs_gem_bo_info() local 876 pin_count = READ_ONCE(bo->pin_count); in amdgpu_debugfs_gem_bo_info() 877 if (pin_count) in amdgpu_debugfs_gem_bo_info() 878 seq_printf(m, " pin count %d", pin_count); in amdgpu_debugfs_gem_bo_info()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
D | drm_gem_vram_helper.c | 304 if (WARN_ON_ONCE(!gbo->pin_count)) in drm_gem_vram_offset() 316 if (gbo->pin_count) in drm_gem_vram_pin_locked() 330 ++gbo->pin_count; in drm_gem_vram_pin_locked() 377 if (WARN_ON_ONCE(!gbo->pin_count)) in drm_gem_vram_unpin_locked() 380 --gbo->pin_count; in drm_gem_vram_unpin_locked() 381 if (gbo->pin_count) in drm_gem_vram_unpin_locked()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/ |
D | i915_vma.h | 345 GEM_BUG_ON(atomic_read(&vma->fence->pin_count) <= 0); in __i915_vma_unpin_fence() 346 atomic_dec(&vma->fence->pin_count); in __i915_vma_unpin_fence()
|
/kernel/linux/linux-5.10/include/drm/ |
D | drm_gem_vram_helper.h | 68 int pin_count; member
|