/openbmc/linux/drivers/usb/dwc3/ |
H A D | dwc3-of-simple.c | 29 struct reset_control *resets; member 55 simple->resets = of_reset_control_array_get(np, false, true, in dwc3_of_simple_probe() 57 if (IS_ERR(simple->resets)) { in dwc3_of_simple_probe() 58 ret = PTR_ERR(simple->resets); in dwc3_of_simple_probe() 63 ret = reset_control_deassert(simple->resets); in dwc3_of_simple_probe() 91 reset_control_assert(simple->resets); in dwc3_of_simple_probe() 94 reset_control_put(simple->resets); in dwc3_of_simple_probe() 106 reset_control_assert(simple->resets); in __dwc3_of_simple_teardown() 108 reset_control_put(simple->resets); in __dwc3_of_simple_teardown() 150 reset_control_assert(simple->resets); in dwc3_of_simple_suspend() [all …]
|
/openbmc/linux/drivers/reset/ |
H A D | core.c | 218 rstc = resets->rstc[i]; in reset_control_array_rearm() 236 rstc = resets->rstc[i]; in reset_control_array_rearm() 992 kfree(resets); in reset_control_array_put() 1177 struct reset_control_array *resets; in of_reset_control_array_get() local 1185 resets = kzalloc(struct_size(resets, rstc, num), GFP_KERNEL); in of_reset_control_array_get() 1186 if (!resets) in of_reset_control_array_get() 1194 resets->rstc[i] = rstc; in of_reset_control_array_get() 1196 resets->num_rstcs = num; in of_reset_control_array_get() 1197 resets->base.array = true; in of_reset_control_array_get() 1199 return &resets->base; in of_reset_control_array_get() [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | tegra30.dtsi | 44 resets = <&tegra_car 70>, 96 resets = <&tegra_car 28>; 109 resets = <&tegra_car 60>; 118 resets = <&tegra_car 20>; 127 resets = <&tegra_car 19>; 136 resets = <&tegra_car 23>; 145 resets = <&tegra_car 21>; 155 resets = <&tegra_car 24>, 167 resets = <&tegra_car 27>; 383 resets = <&tegra_car 6>; [all …]
|
H A D | tegra20.dtsi | 18 resets = <&tegra_car 28>; 31 resets = <&tegra_car 60>; 40 resets = <&tegra_car 20>; 49 resets = <&tegra_car 19>; 58 resets = <&tegra_car 23>; 67 resets = <&tegra_car 21>; 75 resets = <&tegra_car 24>; 86 resets = <&tegra_car 27>; 103 resets = <&tegra_car 26>; 276 resets = <&tegra_car 3>; [all …]
|
H A D | tegra114.dtsi | 19 resets = <&tegra_car 28>; 32 resets = <&tegra_car 21>; 40 resets = <&tegra_car 24>; 51 resets = <&tegra_car 27>; 70 resets = <&tegra_car 26>; 89 resets = <&tegra_car 51>; 101 resets = <&tegra_car 48>; 117 resets = <&tegra_car 82>; 212 resets = <&tegra_car 34>; 268 resets = <&tegra_car 6>; [all …]
|
H A D | r8a7792.dtsi | 114 resets = <&cpg 402>; 130 resets = <&cpg 912>; 145 resets = <&cpg 911>; 160 resets = <&cpg 910>; 175 resets = <&cpg 909>; 190 resets = <&cpg 908>; 205 resets = <&cpg 907>; 220 resets = <&cpg 905>; 235 resets = <&cpg 904>; 250 resets = <&cpg 921>; [all …]
|
H A D | socfpga_stratix10.dtsi | 131 resets = <&rst GPIO0_RESET>; 152 resets = <&rst GPIO1_RESET>; 174 resets = <&rst I2C0_RESET>; 185 resets = <&rst I2C1_RESET>; 196 resets = <&rst I2C2_RESET>; 207 resets = <&rst I2C3_RESET>; 218 resets = <&rst I2C4_RESET>; 254 resets = <&rst SPIM0_RESET>; 267 resets = <&rst SPIM1_RESET>; 318 resets = <&rst UART0_RESET>; [all …]
|
H A D | r8a77965.dtsi | 147 resets = <&cpg 402>; 163 resets = <&cpg 912>; 178 resets = <&cpg 911>; 193 resets = <&cpg 910>; 208 resets = <&cpg 909>; 223 resets = <&cpg 908>; 238 resets = <&cpg 907>; 253 resets = <&cpg 906>; 268 resets = <&cpg 905>; 307 resets = <&cpg 522>; [all …]
|
H A D | r8a77995.dtsi | 82 resets = <&cpg 402>; 98 resets = <&cpg 912>; 113 resets = <&cpg 911>; 128 resets = <&cpg 910>; 143 resets = <&cpg 909>; 158 resets = <&cpg 908>; 173 resets = <&cpg 907>; 188 resets = <&cpg 906>; 225 resets = <&cpg 522>; 242 resets = <&cpg 407>; [all …]
|
/openbmc/linux/arch/arm/boot/dts/renesas/ |
H A D | r8a77470.dtsi | 97 resets = <&cpg 402>; 113 resets = <&cpg 912>; 128 resets = <&cpg 911>; 143 resets = <&cpg 910>; 159 resets = <&cpg 909>; 174 resets = <&cpg 908>; 189 resets = <&cpg 907>; 241 resets = <&cpg 407>; 282 resets = <&cpg 931>; 296 resets = <&cpg 930>; [all …]
|
H A D | r8a7792.dtsi | 117 resets = <&cpg 402>; 133 resets = <&cpg 912>; 148 resets = <&cpg 911>; 163 resets = <&cpg 910>; 178 resets = <&cpg 909>; 193 resets = <&cpg 908>; 208 resets = <&cpg 907>; 223 resets = <&cpg 905>; 238 resets = <&cpg 904>; 253 resets = <&cpg 921>; [all …]
|
H A D | r8a7791.dtsi | 167 resets = <&cpg 402>; 183 resets = <&cpg 912>; 198 resets = <&cpg 911>; 213 resets = <&cpg 910>; 228 resets = <&cpg 909>; 243 resets = <&cpg 908>; 258 resets = <&cpg 907>; 273 resets = <&cpg 905>; 288 resets = <&cpg 904>; 302 resets = <&cpg 304>; [all …]
|
/openbmc/linux/arch/arm/boot/dts/nxp/lpc/ |
H A D | lpc18xx.dtsi | 79 resets = <&rgu 37>; 91 resets = <&rgu 19>; 110 resets = <&rgu 53>; 120 resets = <&rgu 20>; 129 resets = <&rgu 17>; 141 resets = <&rgu 18>; 150 resets = <&rgu 21>; 167 resets = <&rgu 16>; 177 resets = <&rgu 27>; 189 resets = <&rgu 22>; [all …]
|
/openbmc/linux/arch/arm/boot/dts/nvidia/ |
H A D | tegra20.dtsi | 58 resets = <&tegra_car 60>; 70 resets = <&tegra_car 20>; 82 resets = <&tegra_car 19>; 94 resets = <&tegra_car 23>; 128 resets = <&tegra_car 27>; 158 resets = <&tegra_car 26>; 188 resets = <&tegra_car 51>; 307 resets = <&tegra_car 34>; 383 resets = <&tegra_car 3>; 444 resets = <&tegra_car 6>; [all …]
|
H A D | tegra114.dtsi | 78 resets = <&tegra_car 27>; 97 resets = <&tegra_car 26>; 116 resets = <&tegra_car 51>; 128 resets = <&tegra_car 48>; 144 resets = <&tegra_car 82>; 239 resets = <&tegra_car 34>; 317 resets = <&tegra_car 6>; 329 resets = <&tegra_car 7>; 341 resets = <&tegra_car 55>; 353 resets = <&tegra_car 65>; [all …]
|
H A D | tegra30.dtsi | 54 resets = <&tegra_car 70>, 142 resets = <&tegra_car 60>; 157 resets = <&tegra_car 20>; 172 resets = <&tegra_car 19>; 187 resets = <&tegra_car 23>; 215 resets = <&tegra_car 24>, 235 resets = <&tegra_car 27>; 267 resets = <&tegra_car 26>; 470 resets = <&tegra_car 34>; 565 resets = <&tegra_car 6>; [all …]
|
/openbmc/linux/drivers/phy/ |
H A D | phy-lgm-usb.c | 41 struct reset_control *resets[ARRAY_SIZE(PHY_RESETS)]; member 78 reset_control_deassert(ta->resets[i]); in phy_init() 115 reset_control_assert(ta->resets[i]); in phy_shutdown() 189 struct reset_control *resets[ARRAY_SIZE(CTL_RESETS)]; in phy_probe() local 222 if (IS_ERR(resets[i])) { in phy_probe() 224 return PTR_ERR(resets[i]); in phy_probe() 230 if (IS_ERR(ta->resets[i])) { in phy_probe() 232 return PTR_ERR(ta->resets[i]); in phy_probe() 237 reset_control_assert(resets[i]); in phy_probe() 240 reset_control_assert(ta->resets[i]); in phy_probe() [all …]
|
/openbmc/linux/arch/arm64/boot/dts/renesas/ |
H A D | r8a77980.dtsi | 135 resets = <&cpg 402>; 151 resets = <&cpg 912>; 166 resets = <&cpg 911>; 181 resets = <&cpg 910>; 196 resets = <&cpg 909>; 211 resets = <&cpg 908>; 226 resets = <&cpg 907>; 243 resets = <&cpg 303>; 262 resets = <&cpg 302>; 281 resets = <&cpg 301>; [all …]
|
H A D | r8a77970.dtsi | 106 resets = <&cpg 402>; 122 resets = <&cpg 912>; 137 resets = <&cpg 911>; 152 resets = <&cpg 910>; 167 resets = <&cpg 909>; 182 resets = <&cpg 908>; 197 resets = <&cpg 907>; 214 resets = <&cpg 303>; 233 resets = <&cpg 302>; 252 resets = <&cpg 301>; [all …]
|
H A D | r8a77995.dtsi | 100 resets = <&cpg 402>; 116 resets = <&cpg 912>; 131 resets = <&cpg 911>; 146 resets = <&cpg 910>; 161 resets = <&cpg 909>; 176 resets = <&cpg 908>; 191 resets = <&cpg 907>; 206 resets = <&cpg 906>; 223 resets = <&cpg 303>; 242 resets = <&cpg 302>; [all …]
|
H A D | r8a77990.dtsi | 163 resets = <&cpg 402>; 179 resets = <&cpg 912>; 194 resets = <&cpg 911>; 209 resets = <&cpg 910>; 224 resets = <&cpg 909>; 239 resets = <&cpg 908>; 254 resets = <&cpg 907>; 269 resets = <&cpg 906>; 287 resets = <&cpg 926>; 302 resets = <&cpg 303>; [all …]
|
H A D | r8a774c0.dtsi | 148 resets = <&cpg 402>; 164 resets = <&cpg 912>; 179 resets = <&cpg 911>; 194 resets = <&cpg 910>; 209 resets = <&cpg 909>; 224 resets = <&cpg 908>; 239 resets = <&cpg 907>; 254 resets = <&cpg 906>; 271 resets = <&cpg 303>; 290 resets = <&cpg 302>; [all …]
|
/openbmc/linux/arch/riscv/boot/dts/canaan/ |
H A D | k210.dtsi | 164 resets = <&sysrst K210_RST_DMA>; 189 resets = <&sysrst K210_RST_GPIO>; 210 resets = <&sysrst K210_RST_UART1>; 226 resets = <&sysrst K210_RST_UART2>; 261 resets = <&sysrst K210_RST_SPI2>; 270 resets = <&sysrst K210_RST_I2S0>; 279 resets = <&sysrst K210_RST_I2S1>; 288 resets = <&sysrst K210_RST_I2S2>; 298 resets = <&sysrst K210_RST_I2C0>; 308 resets = <&sysrst K210_RST_I2C1>; [all …]
|
/openbmc/linux/drivers/gpu/drm/tegra/ |
H A D | gr2d.c | 36 struct reset_control_bulk_data resets[RST_GR2D_MAX]; member 217 gr2d->resets[RST_MC].id = "mc"; in gr2d_get_resets() 218 gr2d->resets[RST_GR2D].id = "2d"; in gr2d_get_resets() 222 dev, gr2d->nresets, gr2d->resets); in gr2d_get_resets() 228 if (WARN_ON(!gr2d->resets[RST_GR2D].rstc)) in gr2d_get_resets() 306 reset_control_bulk_release(gr2d->nresets, gr2d->resets); in gr2d_runtime_suspend() 320 err = reset_control_acquire(gr2d->resets[RST_MC].rstc); in gr2d_runtime_suspend() 326 err = reset_control_assert(gr2d->resets[RST_MC].rstc); in gr2d_runtime_suspend() 327 reset_control_release(gr2d->resets[RST_MC].rstc); in gr2d_runtime_suspend() 338 reset_control_bulk_acquire(gr2d->nresets, gr2d->resets); in gr2d_runtime_suspend() [all …]
|
/openbmc/linux/arch/arm/boot/dts/socionext/ |
H A D | uniphier-pro4.dtsi | 86 resets = <&peri_rst 11>; 97 resets = <&peri_rst 0>; 108 resets = <&peri_rst 1>; 119 resets = <&peri_rst 2>; 130 resets = <&peri_rst 3>; 157 resets = <&peri_rst 4>; 171 resets = <&peri_rst 5>; 185 resets = <&peri_rst 6>; 199 resets = <&peri_rst 7>; 213 resets = <&peri_rst 9>; [all …]
|