Home | History | Annotate | Download | only in hal_power

Lines Matching defs:module_

36         hw_get_module(POWER_HARDWARE_MODULE_ID, (hw_module_t const **)&module_);
37 if (rc || !module_) {
39 module_ = NULL;
42 if (module_->init) module_->init(module_);
49 ASSERT_TRUE(module_->get_number_of_platform_modes)
51 ASSERT_TRUE(module_->get_voter_list) << "get_voter_list is NULL";
52 ASSERT_TRUE(module_->get_number_of_platform_modes)
54 num_modes_ = module_->get_number_of_platform_modes(module_);
62 struct power_module *module_;
74 int rc2 = module_->get_number_of_platform_modes(module_);
95 module_->get_voter_list(module_, voter_list);
108 ASSERT_EQ(0, module_->get_platform_low_power_stats(module_, list1))
111 ASSERT_EQ(0, module_->get_platform_low_power_stats(module_, list2))
150 module_->get_voter_list(module_, voter_list);
156 EXPECT_EQ(0, module_->get_platform_low_power_stats(module_, list1))