Home
last modified time | relevance | path

Searched refs:recovery_count (Results 1 – 2 of 2) sorted by relevance

/linux-3.4.99/drivers/ide/
Dcmd640.c432 u8 active_count, recovery_count; in display_clocks() local
437 recovery_count = recovery_counts[index]; in display_clocks()
438 if (active_count > 3 && recovery_count == 1) in display_clocks()
439 ++recovery_count; in display_clocks()
441 recovery_count += 1; /* cmd640b uses (count + 1)*/ in display_clocks()
442 printk(", clocks=%d/%d/%d\n", setup_counts[index], active_count, recovery_count); in display_clocks()
463 u8 recovery_count = recovery_counts[index]; in program_drive_counts() local
480 if (recovery_count < recovery_counts[mate]) in program_drive_counts()
481 recovery_count = recovery_counts[mate]; in program_drive_counts()
507 __put_cmd640_reg(drwtim_regs[index], pack_nibbles(active_count, recovery_count)); in program_drive_counts()
[all …]
/linux-3.4.99/drivers/md/
Ddm-region-hash.c77 struct semaphore recovery_count; member
214 sema_init(&rh->recovery_count, 0); in dm_region_hash_create()
381 up(&rh->recovery_count); in complete_resync_work()
626 while (!down_trylock(&rh->recovery_count)) { in dm_rh_recovery_prepare()
630 up(&rh->recovery_count); in dm_rh_recovery_prepare()
706 down(&rh->recovery_count); in dm_rh_stop_recovery()
715 up(&rh->recovery_count); in dm_rh_start_recovery()