Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/media/i2c/
Dmt9v111.c140 int pwr_count; member
649 int pwr_count; in mt9v111_s_power() local
658 pwr_count = mt9v111->pwr_count; in mt9v111_s_power()
659 pwr_count += on ? 1 : -1; in mt9v111_s_power()
660 if (pwr_count == !!on) { in mt9v111_s_power()
665 mt9v111->pwr_count = pwr_count; in mt9v111_s_power()
676 WARN_ON(pwr_count < 0 || pwr_count > 1); in mt9v111_s_power()
677 mt9v111->pwr_count = pwr_count; in mt9v111_s_power()
1008 if (!mt9v111->pwr_count) { in mt9v111_s_ctrl()
1199 mt9v111->pwr_count = 0; in mt9v111_probe()