Home
last modified time | relevance | path

Searched refs:active_count (Results 1 – 25 of 27) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/
Dintel_gt_requests.c137 unsigned long active_count = 0; in intel_gt_retire_requests_timeout() local
149 active_count++; /* report busy to caller, try again? */ in intel_gt_retire_requests_timeout()
154 GEM_BUG_ON(!atomic_read(&tl->active_count)); in intel_gt_retire_requests_timeout()
155 atomic_inc(&tl->active_count); /* pin the list element */ in intel_gt_retire_requests_timeout()
172 active_count++; in intel_gt_retire_requests_timeout()
179 active_count++; in intel_gt_retire_requests_timeout()
186 if (atomic_dec_and_test(&tl->active_count)) in intel_gt_retire_requests_timeout()
191 GEM_BUG_ON(atomic_read(&tl->active_count)); in intel_gt_retire_requests_timeout()
201 active_count++; in intel_gt_retire_requests_timeout()
203 return active_count ? timeout ?: -ETIME : 0; in intel_gt_retire_requests_timeout()
Dintel_context.h125 if (!ce->active_count++) in intel_context_enter()
132 ++ce->active_count; in intel_context_mark_active()
138 GEM_BUG_ON(!ce->active_count); in intel_context_exit()
139 if (!--ce->active_count) in intel_context_exit()
Dintel_timeline.c393 if (atomic_add_unless(&tl->active_count, 1, 0)) in intel_timeline_enter()
397 if (!atomic_fetch_inc(&tl->active_count)) { in intel_timeline_enter()
417 GEM_BUG_ON(!atomic_read(&tl->active_count)); in intel_timeline_exit()
418 if (atomic_add_unless(&tl->active_count, -1, 1)) in intel_timeline_exit()
422 if (atomic_dec_and_test(&tl->active_count)) in intel_timeline_exit()
Dintel_engine_pm.c122 if (!atomic_fetch_inc(&tl->active_count)) in __queue_and_release_pm()
181 GEM_BUG_ON(atomic_read(&ce->timeline->active_count) < 0); in switch_to_kernel_context()
Dintel_timeline_types.h46 atomic_t active_count; member
Dintel_context_types.h110 unsigned int active_count; /* protected by timeline->mutex */ member
Dintel_reset.c147 atomic_inc(&ctx->active_count); in mark_innocent()
/kernel/linux/linux-5.10/drivers/ide/
Dcmd640.c433 u8 active_count, recovery_count; in display_clocks() local
435 active_count = active_counts[index]; in display_clocks()
436 if (active_count == 1) in display_clocks()
437 ++active_count; in display_clocks()
439 if (active_count > 3 && recovery_count == 1) in display_clocks()
443 printk(", clocks=%d/%d/%d\n", setup_counts[index], active_count, recovery_count); in display_clocks()
463 u8 active_count = active_counts[index]; in program_drive_counts() local
479 if (active_count < active_counts[mate]) in program_drive_counts()
480 active_count = active_counts[mate]; in program_drive_counts()
508 __put_cmd640_reg(drwtim_regs[index], pack_nibbles(active_count, recovery_count)); in program_drive_counts()
[all …]
/kernel/linux/linux-5.10/drivers/base/power/
Dwakeup.c135 deleted_ws.active_count += ws->active_count; in wakeup_source_record()
601 ws->active_count++; in wakeup_source_activate()
713 if (ws->relax_count != ws->active_count) { in wakeup_source_deactivate()
1088 unsigned long active_count; in print_wakeup_source_stats() local
1097 active_count = ws->active_count; in print_wakeup_source_stats()
1114 ws->name, active_count, ws->event_count, in print_wakeup_source_stats()
Dwakeup_stats.c33 wakeup_attr(active_count);
Dsysfs.c378 count = dev->power.wakeup->active_count; in wakeup_active_count_show()
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/
Dmsm_gem.h92 atomic_t active_count; member
98 return atomic_read(&msm_obj->active_count); in is_active()
Dmsm_gem.c751 if (!atomic_fetch_inc(&msm_obj->active_count)) { in msm_gem_active_get()
765 if (!atomic_dec_return(&msm_obj->active_count)) { in msm_gem_active_put()
/kernel/linux/linux-5.10/drivers/mtd/
Dmtdswap.c74 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()
1156 eb->active_count--; in mtdswap_discard()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/
Di915_gem_context_types.h156 atomic_t active_count; member
/kernel/linux/linux-5.10/drivers/gpu/drm/tegra/
Dsor.c464 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 …]
/kernel/linux/linux-5.10/sound/pci/cs46xx/
Dcs46xx_dsp_task_types.h118 active_count
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/modules/hdcp/
Dhdcp.h512 uint8_t active_count = 0; in get_active_display_count() local
517 active_count++; in get_active_display_count()
518 return active_count; in get_active_display_count()
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/flower/
Dlag_conf.c281 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()
/kernel/linux/linux-5.10/include/linux/
Dpm_wakeup.h57 unsigned long active_count; member
/kernel/linux/linux-5.10/drivers/usb/host/
Dimx21-hcd.c174 etd->active_count = 0; in disactivate_etd()
323 if (!etd->active_count) { in activate_etd()
335 etd->active_count = 1; in activate_etd()
1337 if (etd->active_count && !enabled) /* suspicious... */ in process_etds()
1340 if (!sof || enabled || !etd->active_count) in process_etds()
1347 if (++etd->active_count < 10) in process_etds()
1368 etd->active_count = 0; in process_etds()
Dimx21-hcd.h361 int active_count; member
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-class-wakeup14 What: /sys/class/wakeup/.../active_count
/kernel/linux/linux-5.10/fs/gfs2/
Dlog.c257 int active_count = 0; in gfs2_ail1_empty_one() local
273 active_count++; in gfs2_ail1_empty_one()
294 return active_count; in gfs2_ail1_empty_one()
/kernel/linux/linux-5.10/drivers/dma/
Dbcm-sba-raid.c462 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()

12