Lines Matching refs:enable_count
67 u32 enable_count; /* a number of enabled shared GPIO */ member
775 if (regulator->enable_count) in requested_microamps_show()
942 if (sibling->enable_count) in drms_uA_update()
2257 WARN_ON(regulator->enable_count); in _regulator_put()
2493 if (pin->enable_count == 0) in regulator_ena_gpio_ctrl()
2496 pin->enable_count++; in regulator_ena_gpio_ctrl()
2498 if (pin->enable_count > 1) { in regulator_ena_gpio_ctrl()
2499 pin->enable_count--; in regulator_ena_gpio_ctrl()
2504 if (pin->enable_count <= 1) { in regulator_ena_gpio_ctrl()
2506 pin->enable_count = 0; in regulator_ena_gpio_ctrl()
2693 regulator->enable_count++; in _regulator_handle_consumer_enable()
2694 if (regulator->uA_load && regulator->enable_count == 1) in _regulator_handle_consumer_enable()
2714 if (!regulator->enable_count) { in _regulator_handle_consumer_disable()
2719 regulator->enable_count--; in _regulator_handle_consumer_disable()
2720 if (regulator->uA_load && regulator->enable_count == 0) in _regulator_handle_consumer_disable()
4606 if (regulator->enable_count && old_uA_load != uA_load) { in regulator_set_load()
5836 consumer->enable_count, in regulator_summary_show_subtree()
5838 consumer->uA_load && !consumer->enable_count ? in regulator_summary_show_subtree()