/drivers/gpu/drm/i915/gt/ |
D | intel_gt_requests.c | 138 unsigned long active_count = 0; in intel_gt_retire_requests_timeout() local 145 active_count++; /* report busy to caller, try again? */ in intel_gt_retire_requests_timeout() 150 GEM_BUG_ON(!atomic_read(&tl->active_count)); in intel_gt_retire_requests_timeout() 151 atomic_inc(&tl->active_count); /* pin the list element */ in intel_gt_retire_requests_timeout() 168 active_count++; in intel_gt_retire_requests_timeout() 175 active_count++; in intel_gt_retire_requests_timeout() 182 if (atomic_dec_and_test(&tl->active_count)) in intel_gt_retire_requests_timeout() 187 GEM_BUG_ON(atomic_read(&tl->active_count)); in intel_gt_retire_requests_timeout() 197 active_count++; in intel_gt_retire_requests_timeout() 202 return active_count ? timeout ?: -ETIME : 0; in intel_gt_retire_requests_timeout()
|
D | intel_timeline.c | 255 if (atomic_add_unless(&tl->active_count, 1, 0)) in intel_timeline_enter() 259 if (!atomic_fetch_inc(&tl->active_count)) { in intel_timeline_enter() 279 GEM_BUG_ON(!atomic_read(&tl->active_count)); in intel_timeline_exit() 280 if (atomic_add_unless(&tl->active_count, -1, 1)) in intel_timeline_exit() 284 if (atomic_dec_and_test(&tl->active_count)) in intel_timeline_exit() 431 GEM_BUG_ON(!atomic_read(&tl->active_count)); in intel_gt_show_timelines() 432 atomic_inc(&tl->active_count); /* pin the list element */ in intel_gt_show_timelines() 472 if (atomic_dec_and_test(&tl->active_count)) in intel_gt_show_timelines() 477 GEM_BUG_ON(atomic_read(&tl->active_count)); in intel_gt_show_timelines()
|
D | intel_context.h | 160 if (!ce->active_count++) in intel_context_enter() 167 ++ce->active_count; in intel_context_mark_active() 173 GEM_BUG_ON(!ce->active_count); in intel_context_exit() 174 if (!--ce->active_count) in intel_context_exit()
|
D | intel_engine_pm.c | 146 if (!atomic_fetch_inc(&tl->active_count)) in __queue_and_release_pm() 205 GEM_BUG_ON(atomic_read(&ce->timeline->active_count) < 0); in switch_to_kernel_context()
|
D | intel_timeline_types.h | 44 atomic_t active_count; member
|
D | intel_context_types.h | 139 unsigned int active_count; /* protected by timeline->mutex */ member
|
D | intel_reset.c | 126 atomic_inc(&ctx->active_count); in mark_innocent()
|
/drivers/base/power/ |
D | wakeup.c | 138 deleted_ws.active_count += ws->active_count; in wakeup_source_record() 605 ws->active_count++; in wakeup_source_activate() 717 if (ws->relax_count != ws->active_count) { in wakeup_source_deactivate() 1140 unsigned long active_count; in print_wakeup_source_stats() local 1149 active_count = ws->active_count; in print_wakeup_source_stats() 1166 ws->name, active_count, ws->event_count, in print_wakeup_source_stats()
|
D | wakeup_stats.c | 33 wakeup_attr(active_count);
|
D | sysfs.c | 378 count = dev->power.wakeup->active_count; in wakeup_active_count_show()
|
/drivers/mtd/ |
D | mtdswap.c | 74 unsigned int active_count; member 506 unsigned int weight = eb->active_count; in mtdswap_store_eb() 596 d->curr_write->active_count++; in mtdswap_map_free_block() 634 eb->active_count--; in mtdswap_write_block() 646 eb->active_count--; in mtdswap_write_block() 669 eb->active_count--; in mtdswap_write_block() 723 eb->active_count--; in mtdswap_move_block() 1044 eb->active_count--; in mtdswap_writesect() 1155 eb->active_count--; in mtdswap_discard()
|
/drivers/gpu/drm/tegra/ |
D | sor.c | 464 u32 active_count; member 1076 unsigned int active_count; member 1086 u64 active_sym, active_count, frac, approx; in tegra_sor_compute_params() local 1092 active_count = div_u64(active_sym, f) * f; in tegra_sor_compute_params() 1093 frac = active_sym - active_count; in tegra_sor_compute_params() 1121 approx = active_count + (active_frac * (f - 1)) * f; in tegra_sor_compute_params() 1124 approx = active_count + f; in tegra_sor_compute_params() 1128 approx = active_count + div_u64(f, active_frac); in tegra_sor_compute_params() 1130 approx = active_count; in tegra_sor_compute_params() 1137 params->active_count = div_u64(active_count, f); in tegra_sor_compute_params() [all …]
|
/drivers/gpu/drm/i915/gem/ |
D | i915_gem_context_types.h | 324 atomic_t active_count; member
|
D | i915_gem_context.c | 2263 args->batch_pending = atomic_read(&ctx->active_count); in i915_gem_context_reset_stats_ioctl()
|
/drivers/gpu/drm/amd/display/modules/hdcp/ |
D | hdcp.h | 518 uint8_t active_count = 0; in get_active_display_count() local 523 active_count++; in get_active_display_count() 524 return active_count; in get_active_display_count()
|
/drivers/gpu/drm/msm/ |
D | msm_gem.h | 104 int active_count; member 202 return msm_obj->active_count; in is_active()
|
D | msm_gem.c | 702 if (msm_obj->active_count == 0) in msm_gem_madvise() 756 GEM_WARN_ON(msm_obj->active_count); in msm_gem_evict() 791 if (msm_obj->active_count++ == 0) { in msm_gem_active_get() 807 if (--msm_obj->active_count == 0) { in msm_gem_active_put() 818 if (msm_obj->active_count != 0) in update_inactive()
|
/drivers/net/ethernet/netronome/nfp/flower/ |
D | lag_conf.c | 281 int active_count = 0, slaves = 0; in nfp_fl_lag_do_work() local 347 acti_netdevs[active_count++] = iter_netdev; in nfp_fl_lag_do_work() 357 active_count, &batch); in nfp_fl_lag_do_work()
|
/drivers/dma/ |
D | bcm-sba-raid.c | 462 u32 pending_count = 0, active_count = 0, aborted_count = 0; in sba_write_stats_in_seqfile() local 477 active_count++; in sba_write_stats_in_seqfile() 488 seq_printf(file, "active requests = %d\n", active_count); in sba_write_stats_in_seqfile()
|
/drivers/gpu/drm/i915/ |
D | i915_gpu_error.c | 1289 e->active = atomic_read(&ctx->active_count); in record_context()
|