Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/media/i2c/
Dmt9v111.c138 int pwr_count; member
647 int pwr_count; in mt9v111_s_power() local
656 pwr_count = mt9v111->pwr_count; in mt9v111_s_power()
657 pwr_count += on ? 1 : -1; in mt9v111_s_power()
658 if (pwr_count == !!on) { in mt9v111_s_power()
663 mt9v111->pwr_count = pwr_count; in mt9v111_s_power()
674 WARN_ON(pwr_count < 0 || pwr_count > 1); in mt9v111_s_power()
675 mt9v111->pwr_count = pwr_count; in mt9v111_s_power()
1020 if (!mt9v111->pwr_count) { in mt9v111_s_ctrl()
1211 mt9v111->pwr_count = 0; in mt9v111_probe()