Home
last modified time | relevance | path

Searched refs:bypass_count (Results 1 – 4 of 4) sorted by relevance

/linux-4.1.27/include/linux/regulator/
Ddriver.h359 u32 bypass_count; member
/linux-4.1.27/drivers/md/
Draid5.h474 int bypass_count; /* bypassed prereads */ member
Draid5.c4931 atomic_read(&conf->pending_full_writes), conf->bypass_count); in __get_priority_stripe()
4937 conf->bypass_count = 0; in __get_priority_stripe()
4940 conf->bypass_count++; in __get_priority_stripe()
4943 conf->bypass_count -= conf->bypass_threshold; in __get_priority_stripe()
4944 if (conf->bypass_count < 0) in __get_priority_stripe()
4945 conf->bypass_count = 0; in __get_priority_stripe()
4950 conf->bypass_count > conf->bypass_threshold) || in __get_priority_stripe()
4964 conf->bypass_count -= conf->bypass_threshold; in __get_priority_stripe()
4965 if (conf->bypass_count < 0) in __get_priority_stripe()
4966 conf->bypass_count = 0; in __get_priority_stripe()
/linux-4.1.27/drivers/regulator/
Dcore.c3134 rdev->bypass_count++; in regulator_allow_bypass()
3136 if (rdev->bypass_count == rdev->open_count) { in regulator_allow_bypass()
3139 rdev->bypass_count--; in regulator_allow_bypass()
3143 rdev->bypass_count--; in regulator_allow_bypass()
3145 if (rdev->bypass_count != rdev->open_count) { in regulator_allow_bypass()
3148 rdev->bypass_count++; in regulator_allow_bypass()
3592 &rdev->bypass_count); in rdev_init_debugfs()
4009 rdev->use_count, rdev->open_count, rdev->bypass_count); in regulator_summary_show_subtree()