Lines Matching refs:power_domain
18 static int sandbox_power_domain_request(struct power_domain *power_domain) in sandbox_power_domain_request() argument
20 debug("%s(power_domain=%p)\n", __func__, power_domain); in sandbox_power_domain_request()
22 if (power_domain->id >= SANDBOX_POWER_DOMAINS) in sandbox_power_domain_request()
28 static int sandbox_power_domain_free(struct power_domain *power_domain) in sandbox_power_domain_free() argument
30 debug("%s(power_domain=%p)\n", __func__, power_domain); in sandbox_power_domain_free()
35 static int sandbox_power_domain_on(struct power_domain *power_domain) in sandbox_power_domain_on() argument
37 struct sandbox_power_domain *sbr = dev_get_priv(power_domain->dev); in sandbox_power_domain_on()
39 debug("%s(power_domain=%p)\n", __func__, power_domain); in sandbox_power_domain_on()
41 sbr->on[power_domain->id] = true; in sandbox_power_domain_on()
46 static int sandbox_power_domain_off(struct power_domain *power_domain) in sandbox_power_domain_off() argument
48 struct sandbox_power_domain *sbr = dev_get_priv(power_domain->dev); in sandbox_power_domain_off()
50 debug("%s(power_domain=%p)\n", __func__, power_domain); in sandbox_power_domain_off()
52 sbr->on[power_domain->id] = false; in sandbox_power_domain_off()