/external/u-boot/drivers/power/domain/ |
D | tegra186-power-domain.c | 15 static int tegra186_power_domain_request(struct power_domain *power_domain) in tegra186_power_domain_request() argument 18 power_domain, power_domain->dev, power_domain->id); in tegra186_power_domain_request() 23 static int tegra186_power_domain_free(struct power_domain *power_domain) in tegra186_power_domain_free() argument 26 power_domain, power_domain->dev, power_domain->id); in tegra186_power_domain_free() 31 static int tegra186_power_domain_common(struct power_domain *power_domain, in tegra186_power_domain_common() argument 38 req.partition_id = power_domain->id; in tegra186_power_domain_common() 48 ret = misc_call(power_domain->dev->parent, MRQ_PG_UPDATE_STATE, &req, in tegra186_power_domain_common() 56 static int tegra186_power_domain_on(struct power_domain *power_domain) in tegra186_power_domain_on() argument 59 power_domain, power_domain->dev, power_domain->id); in tegra186_power_domain_on() 61 return tegra186_power_domain_common(power_domain, true); in tegra186_power_domain_on() [all …]
|
D | power-domain-uclass.c | 16 static int power_domain_of_xlate_default(struct power_domain *power_domain, in power_domain_of_xlate_default() argument 19 debug("%s(power_domain=%p)\n", __func__, power_domain); in power_domain_of_xlate_default() 26 power_domain->id = args->args[0]; in power_domain_of_xlate_default() 31 int power_domain_get(struct udevice *dev, struct power_domain *power_domain) in power_domain_get() argument 38 debug("%s(dev=%p, power_domain=%p)\n", __func__, dev, power_domain); in power_domain_get() 57 power_domain->dev = dev_power_domain; in power_domain_get() 59 ret = ops->of_xlate(power_domain, &args); in power_domain_get() 61 ret = power_domain_of_xlate_default(power_domain, &args); in power_domain_get() 67 ret = ops->request(power_domain); in power_domain_get() 76 int power_domain_free(struct power_domain *power_domain) in power_domain_free() argument [all …]
|
D | sandbox-power-domain.c | 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 [all …]
|
D | bcm6328-power-domain.c | 17 static int bcm6328_power_domain_request(struct power_domain *power_domain) in bcm6328_power_domain_request() argument 19 if (power_domain->id >= MAX_DOMAINS) in bcm6328_power_domain_request() 25 static int bcm6328_power_domain_free(struct power_domain *power_domain) in bcm6328_power_domain_free() argument 30 static int bcm6328_power_domain_on(struct power_domain *power_domain) in bcm6328_power_domain_on() argument 32 struct bcm6328_power_domain *priv = dev_get_priv(power_domain->dev); in bcm6328_power_domain_on() 34 clrbits_be32(priv->regs, BIT(power_domain->id)); in bcm6328_power_domain_on() 39 static int bcm6328_power_domain_off(struct power_domain *power_domain) in bcm6328_power_domain_off() argument 41 struct bcm6328_power_domain *priv = dev_get_priv(power_domain->dev); in bcm6328_power_domain_off() 43 setbits_be32(priv->regs, BIT(power_domain->id)); in bcm6328_power_domain_off()
|
D | sandbox-power-domain-test.c | 13 struct power_domain pd;
|
/external/u-boot/include/ |
D | power-domain-uclass.h | 41 int (*of_xlate)(struct power_domain *power_domain, 55 int (*request)(struct power_domain *power_domain); 64 int (*free)(struct power_domain *power_domain); 71 int (*on)(struct power_domain *power_domain); 78 int (*off)(struct power_domain *power_domain);
|
D | power-domain.h | 68 struct power_domain { struct 90 int power_domain_get(struct udevice *dev, struct power_domain *power_domain); 99 int power_domain_free(struct power_domain *power_domain); 108 int power_domain_on(struct power_domain *power_domain); 117 int power_domain_off(struct power_domain *power_domain);
|
/external/u-boot/drivers/phy/ |
D | bcm6318-usbh-phy.c | 79 struct power_domain pwr_dom; in bcm6318_usbh_probe()
|
D | bcm6368-usbh-phy.c | 115 struct power_domain pwr_dom; in bcm6368_usbh_probe()
|
/external/u-boot/doc/device-tree-bindings/firmware/ |
D | nvidia,tegra186-bpmp.txt | 36 - ../power/power_domain.txt
|
/external/u-boot/drivers/pci/ |
D | pci_tegra.c | 234 struct power_domain pwrdom;
|