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
225 if (rstc->shared) { in reset_control_array_rearm()
237 if (rstc && rstc->shared) in reset_control_array_rearm()
317 * On a shared reset line the actual reset pulse is only triggered once for the
320 * Consumers must not use reset_control_(de)assert on shared reset lines when
342 if (rstc->shared) { in reset_control_reset()
354 if (rstc->shared && ret) in reset_control_reset()
386 * reset_control_rearm - allow shared reset line to be re-triggered"
389 * On a shared reset line the actual reset pulse is only triggered once for the
395 * Consumers must not use reset_control_(de)assert on shared reset lines when
411 if (rstc->shared) { in reset_control_rearm()
430 * will be asserted. When called on a shared reset controller the line may
433 * For shared reset controls a driver cannot expect the hw's registers and
435 * Consumers must not use reset_control_reset on shared reset lines when
452 if (rstc->shared) { in reset_control_assert()
463 * Shared reset controls allow the reset line to be in any state in reset_control_assert()
523 * Consumers must not use reset_control_reset on shared reset lines when
540 if (rstc->shared) { in reset_control_deassert()
630 * Consumers implementing shared access to an exclusive reset need to follow
749 unsigned int index, bool shared, bool acquired) in __reset_control_get_internal() argument
762 if (!rstc->shared && !shared && !acquired) in __reset_control_get_internal()
765 if (WARN_ON(!rstc->shared || !shared)) in __reset_control_get_internal()
787 rstc->shared = shared; in __reset_control_get_internal()
814 bool shared, bool optional, bool acquired) in __of_reset_control_get() argument
867 rstc = __reset_control_get_internal(rcdev, rstc_id, shared, acquired); in __of_reset_control_get()
897 bool shared, bool optional, bool acquired) in __reset_control_get_from_lookup() argument
924 shared, acquired); in __reset_control_get_from_lookup()
939 int index, bool shared, bool optional, in __reset_control_get() argument
942 if (WARN_ON(shared && acquired)) in __reset_control_get()
946 return __of_reset_control_get(dev->of_node, id, index, shared, in __reset_control_get()
949 return __reset_control_get_from_lookup(dev, id, shared, optional, in __reset_control_get()
956 bool shared, bool optional, bool acquired) in __reset_control_bulk_get() argument
962 shared, optional, acquired); in __reset_control_bulk_get()
1035 bool shared, bool optional, bool acquired) in __devm_reset_control_get() argument
1044 rstc = __reset_control_get(dev, id, index, shared, optional, acquired); in __devm_reset_control_get()
1071 bool shared, bool optional, bool acquired) in __devm_reset_control_bulk_get() argument
1081 ret = __reset_control_bulk_get(dev, num_rstcs, rstcs, shared, optional, acquired); in __devm_reset_control_bulk_get()
1153 * @shared: whether reset controls are shared or not
1161 of_reset_control_array_get(struct device_node *np, bool shared, bool optional, in of_reset_control_array_get() argument
1177 rstc = __of_reset_control_get(np, NULL, i, shared, optional, in of_reset_control_array_get()
1204 * @shared: whether reset controls are shared or not
1214 devm_reset_control_array_get(struct device *dev, bool shared, bool optional) in devm_reset_control_array_get() argument
1223 rstc = of_reset_control_array_get(dev->of_node, shared, optional, true); in devm_reset_control_array_get()