Lines Matching full:shared
34 * @shared: Is this a shared (1), or an exclusive (0) reset_control?
38 * only used for shared resets, which means that the value
47 bool shared; member
284 * On a shared reset line the actual reset pulse is only triggered once for the
287 * Consumers must not use reset_control_(de)assert on shared reset lines when
309 if (rstc->shared) { in reset_control_reset()
321 if (rstc->shared && ret) in reset_control_reset()
333 * will be asserted. When called on a shared reset controller the line may
336 * For shared reset controls a driver cannot expect the hw's registers and
338 * Consumers must not use reset_control_reset on shared reset lines when
355 if (rstc->shared) { in reset_control_assert()
366 * Shared reset controls allow the reset line to be in any state in reset_control_assert()
396 * Consumers must not use reset_control_reset on shared reset lines when
413 if (rstc->shared) { in reset_control_deassert()
473 * Consumers implementing shared access to an exclusive reset need to follow
542 unsigned int index, bool shared, bool acquired) in __reset_control_get_internal() argument
555 if (!rstc->shared && !shared && !acquired) in __reset_control_get_internal()
558 if (WARN_ON(!rstc->shared || !shared)) in __reset_control_get_internal()
577 rstc->shared = shared; in __reset_control_get_internal()
603 const char *id, int index, bool shared, in __of_reset_control_get() argument
657 rstc = __reset_control_get_internal(rcdev, rstc_id, shared, acquired); in __of_reset_control_get()
687 bool shared, bool optional, bool acquired) in __reset_control_get_from_lookup() argument
714 shared, acquired); in __reset_control_get_from_lookup()
729 int index, bool shared, bool optional, in __reset_control_get() argument
732 if (WARN_ON(shared && acquired)) in __reset_control_get()
736 return __of_reset_control_get(dev->of_node, id, index, shared, in __reset_control_get()
739 return __reset_control_get_from_lookup(dev, id, shared, optional, in __reset_control_get()
781 const char *id, int index, bool shared, in __devm_reset_control_get() argument
791 rstc = __reset_control_get(dev, id, index, shared, optional, acquired); in __devm_reset_control_get()
862 * @shared: whether reset controls are shared or not
870 of_reset_control_array_get(struct device_node *np, bool shared, bool optional, in of_reset_control_array_get() argument
886 rstc = __of_reset_control_get(np, NULL, i, shared, optional, in of_reset_control_array_get()
913 * @shared: whether reset controls are shared or not
923 devm_reset_control_array_get(struct device *dev, bool shared, bool optional) in devm_reset_control_array_get() argument
932 rstc = of_reset_control_array_get(dev->of_node, shared, optional, true); in devm_reset_control_array_get()