/external/u-boot/include/ |
reset-uclass.h | 35 * @reset_ctl: The reset control struct to hold the translation result. 39 int (*of_xlate)(struct reset_ctl *reset_ctl, 48 * @reset_ctl: The reset control struct to request; this has been 52 int (*request)(struct reset_ctl *reset_ctl); 58 * @reset_ctl: The reset control to free. 61 int (*free)(struct reset_ctl *reset_ctl); 68 * @reset_ctl: The reset signal to assert [all...] |
reset.h | 33 * struct reset_ctl - A handle to (allowing control of) a single reset signal. 53 struct reset_ctl { struct 76 struct reset_ctl *resets; 94 * @reset_ctl A pointer to a reset control struct to initialize. 98 struct reset_ctl *reset_ctl); 129 * @reset_ctl: A pointer to a reset control struct to initialize. 133 struct reset_ctl *reset_ctl); 138 * @reset_ctl: A reset control struct [all...] |
/external/u-boot/drivers/reset/ |
tegra186-reset.c | 12 static int tegra186_reset_request(struct reset_ctl *reset_ctl) 14 debug("%s(reset_ctl=%p) (dev=%p, id=%lu)\n", __func__, reset_ctl, 15 reset_ctl->dev, reset_ctl->id); 20 static int tegra186_reset_free(struct reset_ctl *reset_ctl) 22 debug("%s(reset_ctl=%p) (dev=%p, id=%lu)\n", __func__, reset_ctl, [all...] |
tegra-car-reset.c | 12 static int tegra_car_reset_request(struct reset_ctl *reset_ctl) 14 debug("%s(reset_ctl=%p) (dev=%p, id=%lu)\n", __func__, reset_ctl, 15 reset_ctl->dev, reset_ctl->id); 18 if (reset_ctl->id >= PERIPH_ID_COUNT) 24 static int tegra_car_reset_free(struct reset_ctl *reset_ctl) 26 debug("%s(reset_ctl=%p) (dev=%p, id=%lu)\n", __func__, reset_ctl [all...] |
reset-uclass.c | 17 static int reset_of_xlate_default(struct reset_ctl *reset_ctl, 20 debug("%s(reset_ctl=%p)\n", __func__, reset_ctl); 27 reset_ctl->id = args->args[0]; 33 struct reset_ctl *reset_ctl) 40 debug("%s(dev=%p, index=%d, reset_ctl=%p)\n", __func__, dev, index, 41 reset_ctl); 42 reset_ctl->dev = NULL [all...] |
sandbox-reset.c | 22 static int sandbox_reset_request(struct reset_ctl *reset_ctl) 24 debug("%s(reset_ctl=%p)\n", __func__, reset_ctl); 26 if (reset_ctl->id >= SANDBOX_RESET_SIGNALS) 32 static int sandbox_reset_free(struct reset_ctl *reset_ctl) 34 debug("%s(reset_ctl=%p)\n", __func__, reset_ctl); 39 static int sandbox_reset_assert(struct reset_ctl *reset_ctl [all...] |
reset-meson.c | 22 static int meson_reset_request(struct reset_ctl *reset_ctl) 24 if (reset_ctl->id > (REG_COUNT * BITS_PER_REG)) 30 static int meson_reset_free(struct reset_ctl *reset_ctl) 35 static int meson_reset_level(struct reset_ctl *reset_ctl, bool assert) 37 struct meson_reset_priv *priv = dev_get_priv(reset_ctl->dev); 38 uint bank = reset_ctl->id / BITS_PER_REG; 39 uint offset = reset_ctl->id % BITS_PER_REG [all...] |
reset-rockchip.c | 26 static int rockchip_reset_request(struct reset_ctl *reset_ctl) 28 struct rockchip_reset_priv *priv = dev_get_priv(reset_ctl->dev); 30 debug("%s(reset_ctl=%p) (dev=%p, id=%lu) (reg_num=%d)\n", __func__, 31 reset_ctl, reset_ctl->dev, reset_ctl->id, priv->reset_reg_num); 33 if (reset_ctl->id / ROCKCHIP_RESET_NUM_IN_REG >= priv->reset_reg_num) 39 static int rockchip_reset_free(struct reset_ctl *reset_ctl) [all...] |
reset-socfpga.c | 30 static int socfpga_reset_assert(struct reset_ctl *reset_ctl) 32 struct socfpga_reset_data *data = dev_get_priv(reset_ctl->dev); 33 int id = reset_ctl->id; 42 static int socfpga_reset_deassert(struct reset_ctl *reset_ctl) 44 struct socfpga_reset_data *data = dev_get_priv(reset_ctl->dev); 45 int id = reset_ctl->id; 54 static int socfpga_reset_request(struct reset_ctl *reset_ctl) [all...] |
stm32-reset.c | 25 static int stm32_reset_request(struct reset_ctl *reset_ctl) 30 static int stm32_reset_free(struct reset_ctl *reset_ctl) 35 static int stm32_reset_assert(struct reset_ctl *reset_ctl) 37 struct stm32_reset_priv *priv = dev_get_priv(reset_ctl->dev); 38 int bank = (reset_ctl->id / BITS_PER_LONG) * 4; 39 int offset = reset_ctl->id % BITS_PER_LONG; 41 reset_ctl->id, bank, offset) [all...] |
ast2500-reset.c | 37 static int ast2500_reset_assert(struct reset_ctl *reset_ctl) 39 struct ast2500_reset_priv *priv = dev_get_priv(reset_ctl->dev); 48 reset_mode = ast_reset_mode_from_flags(reset_ctl->id); 49 reset_mask = ast_reset_mask_from_flags(reset_ctl->id); 57 ret = wdt_expire_now(priv->wdt, reset_ctl->id); 62 ret = wdt_expire_now(priv->wdt, reset_ctl->id); 68 static int ast2500_reset_request(struct reset_ctl *reset_ctl) 70 debug("%s(reset_ctl=%p) (dev=%p, id=%lu)\n", __func__, reset_ctl [all...] |
sti-reset.c | 223 static int sti_reset_program_hw(struct reset_ctl *reset_ctl, int assert) 225 struct udevice *dev = reset_ctl->dev; 234 if (reset_ctl->id >= reset_desc->nr_channels) 238 base = sti_reset_get_regmap(reset_desc->channels[reset_ctl->id].compatible); 240 ch = &reset_desc->channels[reset_ctl->id]; 253 pr_err("Reset balancing error: reset_ctl=%p dev=%p id=%lu\n", 254 reset_ctl, reset_ctl->dev, reset_ctl->id) [all...] |
reset-bcm6345.c | 21 static int bcm6345_reset_assert(struct reset_ctl *rst) 31 static int bcm6345_reset_deassert(struct reset_ctl *rst) 41 static int bcm6345_reset_free(struct reset_ctl *rst) 46 static int bcm6345_reset_request(struct reset_ctl *rst)
|
reset-uniphier.c | 181 static int uniphier_reset_request(struct reset_ctl *reset_ctl) 186 static int uniphier_reset_free(struct reset_ctl *reset_ctl) 191 static int uniphier_reset_update(struct reset_ctl *reset_ctl, int assert) 193 struct uniphier_reset_priv *priv = dev_get_priv(reset_ctl->dev); 194 unsigned long id = reset_ctl->id; 220 dev_err(reset_ctl->dev, "reset_id=%lu was not handled\n", id); 225 static int uniphier_reset_assert(struct reset_ctl *reset_ctl [all...] |
sandbox-reset-test.c | 13 struct reset_ctl ctl;
|
/external/u-boot/board/freescale/t208xrdb/ |
cpld.c | 33 CPLD_WRITE(reset_ctl, CPLD_LBMAP_RESET); 43 CPLD_WRITE(reset_ctl, CPLD_LBMAP_RESET);
|
cpld.h | 15 u8 reset_ctl; /* 0x10 - Reset control Register */ member in struct:cpld_data
|
t208xrdb.c | 106 reg = CPLD_READ(reset_ctl); 108 CPLD_WRITE(reset_ctl, reg);
|
/external/u-boot/drivers/phy/ |
bcm6348-usbh-phy.c | 45 struct reset_ctl rst_ctl;
|
bcm6358-usbh-phy.c | 59 struct reset_ctl rst_ctl;
|
sti_usb_phy.c | 37 struct reset_ctl global_ctl; 38 struct reset_ctl port_ctl;
|
/external/u-boot/drivers/i2c/ |
tegra_i2c.c | 31 struct reset_ctl reset_ctl; member in struct:i2c_bus 64 reset_assert(&i2c_bus->reset_ctl); 66 reset_deassert(&i2c_bus->reset_ctl); 77 ret = reset_assert(&i2c_bus->reset_ctl); 86 ret = reset_deassert(&i2c_bus->reset_ctl); 370 ret = reset_get_by_name(dev, "i2c", &i2c_bus->reset_ctl);
|
designware_i2c.c | 37 struct reset_ctl reset_ctl; member in struct:dw_i2c 554 ret = reset_get_by_name(bus, "i2c", &priv->reset_ctl); 558 if (&priv->reset_ctl) 559 reset_deassert(&priv->reset_ctl);
|
/external/u-boot/drivers/usb/host/ |
ehci-generic.c | 23 struct reset_ctl *resets; 122 sizeof(struct reset_ctl),
|
ohci-generic.c | 21 struct reset_ctl *resets; /* reset list */ 114 sizeof(struct reset_ctl),
|