/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/ |
D | intel_gt_requests.c | 137 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()
|
D | intel_context.h | 125 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()
|
D | intel_timeline.c | 393 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()
|
D | intel_engine_pm.c | 122 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()
|
D | intel_timeline_types.h | 46 atomic_t active_count; member
|
D | intel_context_types.h | 110 unsigned int active_count; /* protected by timeline->mutex */ member
|
D | intel_reset.c | 147 atomic_inc(&ctx->active_count); in mark_innocent()
|
/kernel/linux/linux-5.10/drivers/ide/ |
D | cmd640.c | 433 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/ |
D | wakeup.c | 135 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()
|
D | wakeup_stats.c | 33 wakeup_attr(active_count);
|
D | sysfs.c | 378 count = dev->power.wakeup->active_count; in wakeup_active_count_show()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/ |
D | msm_gem.h | 92 atomic_t active_count; member 98 return atomic_read(&msm_obj->active_count); in is_active()
|
D | msm_gem.c | 751 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/ |
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() 1156 eb->active_count--; in mtdswap_discard()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/ |
D | i915_gem_context_types.h | 156 atomic_t active_count; member
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/sound/pci/cs46xx/ |
D | cs46xx_dsp_task_types.h | 118 active_count
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/modules/hdcp/ |
D | hdcp.h | 512 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/ |
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()
|
/kernel/linux/linux-5.10/include/linux/ |
D | pm_wakeup.h | 57 unsigned long active_count; member
|
/kernel/linux/linux-5.10/drivers/usb/host/ |
D | imx21-hcd.c | 174 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()
|
D | imx21-hcd.h | 361 int active_count; member
|
/kernel/linux/linux-5.10/Documentation/ABI/testing/ |
D | sysfs-class-wakeup | 14 What: /sys/class/wakeup/.../active_count
|
/kernel/linux/linux-5.10/fs/gfs2/ |
D | log.c | 257 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/ |
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()
|