Searched refs:active_discharge (Results 1 – 3 of 3) sorted by relevance
94 bool active_discharge);96 bool *active_discharge);704 bool active_discharge) in regulator_set_active_discharge() argument713 return api->set_active_discharge(dev, active_discharge); in regulator_set_active_discharge()727 bool *active_discharge) in regulator_get_active_discharge() argument736 return api->get_active_discharge(dev, active_discharge); in regulator_get_active_discharge()
574 static int get_active_discharge_ok(const struct device *dev, bool *active_discharge) in get_active_discharge_ok() argument578 *active_discharge = true; in get_active_discharge_ok()585 bool active_discharge; in ZTEST() local591 zassert_equal(regulator_get_active_discharge(reg0, &active_discharge), false); in ZTEST()592 zassert_equal(active_discharge, true); in ZTEST()595 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()