Searched refs:active_discharge (Results 1 – 3 of 3) sorted by relevance
94 bool active_discharge);96 bool *active_discharge);682 bool active_discharge) in regulator_set_active_discharge() argument691 return api->set_active_discharge(dev, active_discharge); in regulator_set_active_discharge()705 bool *active_discharge) in regulator_get_active_discharge() argument714 return api->get_active_discharge(dev, active_discharge); in regulator_get_active_discharge()
650 static int get_active_discharge_ok(const struct device *dev, bool *active_discharge) in get_active_discharge_ok() argument654 *active_discharge = true; in get_active_discharge_ok()661 bool active_discharge; in ZTEST() local667 zassert_equal(regulator_get_active_discharge(reg0, &active_discharge), false); in ZTEST()668 zassert_equal(active_discharge, true); in ZTEST()671 zassert_equal(regulator_fake_get_active_discharge_fake.arg1_val, &active_discharge); in ZTEST()
307 bool active_discharge) in regulator_pca9420_set_active_discharge() argument313 dis_val = (!active_discharge) << config->desc->ad_pos; in regulator_pca9420_set_active_discharge()319 bool *active_discharge) in regulator_pca9420_get_active_discharge() argument331 *active_discharge = !((raw_reg & config->desc->ad_mask) >> config->desc->ad_pos); in regulator_pca9420_get_active_discharge()