Home
last modified time | relevance | path

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

/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 …]
/drivers/gpu/drm/i915/gt/
Dintel_context.h93 if (!ce->active_count++) in intel_context_enter()
100 ++ce->active_count; in intel_context_mark_active()
106 GEM_BUG_ON(!ce->active_count); in intel_context_exit()
107 if (!--ce->active_count) in intel_context_exit()
Dintel_timeline.c345 if (tl->active_count++) in intel_timeline_enter()
347 GEM_BUG_ON(!tl->active_count); /* overflow? */ in intel_timeline_enter()
361 GEM_BUG_ON(!tl->active_count); in intel_timeline_exit()
362 if (--tl->active_count) in intel_timeline_exit()
Dintel_timeline_types.h45 unsigned int active_count; member
Dintel_context_types.h62 unsigned int active_count; /* protected by timeline->mutex */ member
Dintel_reset.c114 atomic_inc(&ctx->active_count); in context_mark_innocent()
/drivers/base/power/
Dwakeup.c132 deleted_ws.active_count += ws->active_count; in wakeup_source_record()
542 ws->active_count++; in wakeup_source_activate()
654 if (ws->relax_count != ws->active_count) { in wakeup_source_deactivate()
1034 unsigned long active_count; in print_wakeup_source_stats() local
1043 active_count = ws->active_count; in print_wakeup_source_stats()
1060 ws->name, active_count, ws->event_count, in print_wakeup_source_stats()
Dwakeup_stats.c33 wakeup_attr(active_count);
Dsysfs.c370 count = dev->power.wakeup->active_count; in wakeup_active_count_show()
/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()
/drivers/gpu/drm/tegra/
Dsor.c454 u32 active_count; member
829 unsigned int active_count; member
839 u64 active_sym, active_count, frac, approx; in tegra_sor_compute_params() local
845 active_count = div_u64(active_sym, f) * f; in tegra_sor_compute_params()
846 frac = active_sym - active_count; in tegra_sor_compute_params()
874 approx = active_count + (active_frac * (f - 1)) * f; in tegra_sor_compute_params()
877 approx = active_count + f; in tegra_sor_compute_params()
881 approx = active_count + div_u64(f, active_frac); in tegra_sor_compute_params()
883 approx = active_count; in tegra_sor_compute_params()
890 params->active_count = div_u64(active_count, f); in tegra_sor_compute_params()
[all …]
/drivers/gpu/drm/i915/gem/
Di915_gem_context_types.h178 atomic_t active_count; member
Di915_gem_context.c2331 args->batch_pending = atomic_read(&ctx->active_count); in i915_gem_context_reset_stats_ioctl()
/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()
/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
/drivers/gpu/drm/i915/
Di915_request.c1516 GEM_BUG_ON(!tl->active_count); in i915_retire_requests()
1517 tl->active_count++; /* pin the list element */ in i915_retire_requests()
1526 if (!--tl->active_count) in i915_retire_requests()
1533 GEM_BUG_ON(tl->active_count); in i915_retire_requests()
Di915_gpu_error.c1269 e->active = atomic_read(&ctx->active_count); in record_context()
/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()