Lines Matching full:power_domain
19 static int sandbox_power_domain_request(struct power_domain *power_domain) in sandbox_power_domain_request() argument
21 debug("%s(power_domain=%p)\n", __func__, power_domain); in sandbox_power_domain_request()
23 if (power_domain->id >= SANDBOX_POWER_DOMAINS) in sandbox_power_domain_request()
29 static int sandbox_power_domain_free(struct power_domain *power_domain) in sandbox_power_domain_free() argument
31 debug("%s(power_domain=%p)\n", __func__, power_domain); in sandbox_power_domain_free()
36 static int sandbox_power_domain_on(struct power_domain *power_domain) in sandbox_power_domain_on() argument
38 struct sandbox_power_domain *sbr = dev_get_priv(power_domain->dev); in sandbox_power_domain_on()
40 debug("%s(power_domain=%p)\n", __func__, power_domain); in sandbox_power_domain_on()
42 sbr->on[power_domain->id] = true; in sandbox_power_domain_on()
47 static int sandbox_power_domain_off(struct power_domain *power_domain) in sandbox_power_domain_off() argument
49 struct sandbox_power_domain *sbr = dev_get_priv(power_domain->dev); in sandbox_power_domain_off()
51 debug("%s(power_domain=%p)\n", __func__, power_domain); in sandbox_power_domain_off()
53 sbr->on[power_domain->id] = false; in sandbox_power_domain_off()