Lines Matching full:shared
35 * @shared: Is this a shared (1), or an exclusive (0) reset_control?
39 * only used for shared resets, which means that the value
48 bool shared; member
226 if (rstc->shared) { in reset_control_array_rearm()
238 if (rstc && rstc->shared) in reset_control_array_rearm()
318 * On a shared reset line the actual reset pulse is only triggered once for the
321 * Consumers must not use reset_control_(de)assert on shared reset lines when
343 if (rstc->shared) { in reset_control_reset()
355 if (rstc->shared && ret) in reset_control_reset()
387 * reset_control_rearm - allow shared reset line to be re-triggered"
390 * On a shared reset line the actual reset pulse is only triggered once for the
396 * Consumers must not use reset_control_(de)assert on shared reset lines when
412 if (rstc->shared) { in reset_control_rearm()
431 * will be asserted. When called on a shared reset controller the line may
434 * For shared reset controls a driver cannot expect the hw's registers and
436 * Consumers must not use reset_control_reset on shared reset lines when
453 if (rstc->shared) { in reset_control_assert()
464 * Shared reset controls allow the reset line to be in any state in reset_control_assert()
524 * Consumers must not use reset_control_reset on shared reset lines when
541 if (rstc->shared) { in reset_control_deassert()
631 * Consumers implementing shared access to an exclusive reset need to follow
750 unsigned int index, bool shared, bool acquired) in __reset_control_get_internal() argument
763 if (!rstc->shared && !shared && !acquired) in __reset_control_get_internal()
766 if (WARN_ON(!rstc->shared || !shared)) in __reset_control_get_internal()
788 rstc->shared = shared; in __reset_control_get_internal()
818 bool shared, bool optional, bool acquired) in __of_reset_control_get() argument
871 rstc = __reset_control_get_internal(rcdev, rstc_id, shared, acquired); in __of_reset_control_get()
901 bool shared, bool optional, bool acquired) in __reset_control_get_from_lookup() argument
928 shared, acquired); in __reset_control_get_from_lookup()
943 int index, bool shared, bool optional, in __reset_control_get() argument
946 if (WARN_ON(shared && acquired)) in __reset_control_get()
950 return __of_reset_control_get(dev->of_node, id, index, shared, in __reset_control_get()
953 return __reset_control_get_from_lookup(dev, id, shared, optional, in __reset_control_get()
960 bool shared, bool optional, bool acquired) in __reset_control_bulk_get() argument
966 shared, optional, acquired); in __reset_control_bulk_get()
1036 bool shared, bool optional, bool acquired) in __devm_reset_control_get() argument
1045 rstc = __reset_control_get(dev, id, index, shared, optional, acquired); in __devm_reset_control_get()
1072 bool shared, bool optional, bool acquired) in __devm_reset_control_bulk_get() argument
1082 ret = __reset_control_bulk_get(dev, num_rstcs, rstcs, shared, optional, acquired); in __devm_reset_control_bulk_get()
1166 * @shared: whether reset controls are shared or not
1174 of_reset_control_array_get(struct device_node *np, bool shared, bool optional, in of_reset_control_array_get() argument
1191 rstc = __of_reset_control_get(np, NULL, i, shared, optional, in of_reset_control_array_get()
1217 * @shared: whether reset controls are shared or not
1227 devm_reset_control_array_get(struct device *dev, bool shared, bool optional) in devm_reset_control_array_get() argument
1236 rstc = of_reset_control_array_get(dev->of_node, shared, optional, true); in devm_reset_control_array_get()