Home
last modified time | relevance | path

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

/drivers/ide/
Dcmd640.c432 u8 active_count, recovery_count; in display_clocks() local
434 active_count = active_counts[index]; in display_clocks()
435 if (active_count == 1) in display_clocks()
436 ++active_count; in display_clocks()
438 if (active_count > 3 && recovery_count == 1) in display_clocks()
442 printk(", clocks=%d/%d/%d\n", setup_counts[index], active_count, recovery_count); in display_clocks()
462 u8 active_count = active_counts[index]; in program_drive_counts() local
478 if (active_count < active_counts[mate]) in program_drive_counts()
479 active_count = active_counts[mate]; in program_drive_counts()
507 __put_cmd640_reg(drwtim_regs[index], pack_nibbles(active_count, recovery_count)); in program_drive_counts()
[all …]
/drivers/base/power/
Dwakeup.c140 deleted_ws.active_count += ws->active_count; in wakeup_source_record()
548 ws->active_count++; in wakeup_source_activate()
656 if (ws->relax_count != ws->active_count) { in wakeup_source_deactivate()
1031 unsigned long active_count; in print_wakeup_source_stats() local
1040 active_count = ws->active_count; in print_wakeup_source_stats()
1057 ws->name, active_count, ws->event_count, in print_wakeup_source_stats()
Dsysfs.c398 count = dev->power.wakeup->active_count; in wakeup_active_count_show()
/drivers/gpu/drm/tegra/
Dsor.c197 u32 active_count; member
498 unsigned int active_count; member
508 u64 active_sym, active_count, frac, approx; in tegra_sor_compute_params() local
514 active_count = div_u64(active_sym, f) * f; in tegra_sor_compute_params()
515 frac = active_sym - active_count; in tegra_sor_compute_params()
543 approx = active_count + (active_frac * (f - 1)) * f; in tegra_sor_compute_params()
546 approx = active_count + f; in tegra_sor_compute_params()
550 approx = active_count + div_u64(f, active_frac); in tegra_sor_compute_params()
552 approx = active_count; in tegra_sor_compute_params()
559 params->active_count = div_u64(active_count, f); in tegra_sor_compute_params()
[all …]
/drivers/mtd/
Dmtdswap.c87 unsigned int active_count; member
521 unsigned int weight = eb->active_count; in mtdswap_store_eb()
645 d->curr_write->active_count++; in mtdswap_map_free_block()
683 eb->active_count--; in mtdswap_write_block()
695 eb->active_count--; in mtdswap_write_block()
718 eb->active_count--; in mtdswap_write_block()
772 eb->active_count--; in mtdswap_move_block()
1093 eb->active_count--; in mtdswap_writesect()
1205 eb->active_count--; in mtdswap_discard()
/drivers/usb/host/
Dimx21-hcd.c187 etd->active_count = 0; in disactivate_etd()
336 if (!etd->active_count) { in activate_etd()
348 etd->active_count = 1; in activate_etd()
1350 if (etd->active_count && !enabled) /* suspicious... */ in process_etds()
1353 if (!sof || enabled || !etd->active_count) in process_etds()
1360 if (++etd->active_count < 10) in process_etds()
1381 etd->active_count = 0; in process_etds()
Dimx21-hcd.h374 int active_count; member