Home
last modified time | relevance | path

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

/Linux-v4.19/include/linux/regulator/
Ddriver.h443 u32 bypass_count; member
/Linux-v4.19/drivers/md/
Draid5.h616 int bypass_count; /* bypassed prereads */ member
Draid5.c5347 atomic_read(&conf->pending_full_writes), conf->bypass_count); in __get_priority_stripe()
5353 conf->bypass_count = 0; in __get_priority_stripe()
5356 conf->bypass_count++; in __get_priority_stripe()
5359 conf->bypass_count -= conf->bypass_threshold; in __get_priority_stripe()
5360 if (conf->bypass_count < 0) in __get_priority_stripe()
5361 conf->bypass_count = 0; in __get_priority_stripe()
5366 conf->bypass_count > conf->bypass_threshold) || in __get_priority_stripe()
5380 conf->bypass_count -= conf->bypass_threshold; in __get_priority_stripe()
5381 if (conf->bypass_count < 0) in __get_priority_stripe()
5382 conf->bypass_count = 0; in __get_priority_stripe()
/Linux-v4.19/drivers/regulator/
Dcore.c3680 rdev->bypass_count++; in regulator_allow_bypass()
3682 if (rdev->bypass_count == rdev->open_count) { in regulator_allow_bypass()
3685 rdev->bypass_count--; in regulator_allow_bypass()
3689 rdev->bypass_count--; in regulator_allow_bypass()
3691 if (rdev->bypass_count != rdev->open_count) { in regulator_allow_bypass()
3694 rdev->bypass_count++; in regulator_allow_bypass()
4133 &rdev->bypass_count); in rdev_init_debugfs()
4680 rdev->use_count, rdev->open_count, rdev->bypass_count); in regulator_summary_show_subtree()