Lines Matching defs:reset

17 #include <linux/reset.h>
55 * @uses_lreset: flag to denote the need for local reset management
72 * @reset: reset control handle
87 struct reset_control *reset;
165 /* Put the DSP processor into reset */
171 ret = reset_control_assert(kproc->reset);
173 dev_err(dev, "local-reset assert failed, ret = %d\n", ret);
183 dev_err(dev, "module-reset assert failed, ret = %d\n", ret);
184 if (reset_control_deassert(kproc->reset))
185 dev_warn(dev, "local-reset deassert back failed\n");
191 /* Release the DSP processor from reset */
203 dev_err(dev, "module-reset deassert failed, ret = %d\n", ret);
208 ret = reset_control_deassert(kproc->reset);
210 dev_err(dev, "local-reset deassert failed, ret = %d\n", ret);
213 dev_warn(dev, "module-reset assert back failed\n");
257 * The C66x DSP cores have a local reset that affects only the CPU, and a
258 * generic module reset that powers on the device and allows the DSP internal
259 * memories to be accessed while the local reset is asserted. This function is
260 * used to release the global reset on C66x DSPs to allow loading into the DSP
275 dev_err(dev, "module-reset deassert failed, cannot enable internal RAM loading, ret = %d\n",
284 * global reset on applicable C66x cores. This completes the second portion of
286 * .stop() callback through the local reset, and the .unprepare() ops is invoked
288 * reset. This callback is invoked only in remoteproc mode.
299 dev_err(dev, "module-reset assert failed, ret = %d\n", ret);
349 * This function puts the DSP processor into reset, and finishes processing
729 kproc->reset = devm_reset_control_get_exclusive(dev, NULL);
730 if (IS_ERR(kproc->reset)) {
731 ret = PTR_ERR(kproc->reset);
732 dev_err(dev, "failed to get reset, status = %d\n", ret);
783 * ensure the DSP local reset is asserted to ensure the DSP
785 * reset is released.
788 ret = reset_control_status(kproc->reset);
790 dev_err(dev, "failed to get reset status, status = %d\n",
794 dev_warn(dev, "local reset is deasserted for device\n");