Lines Matching defs: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;
226 if (rstc->shared) {
238 if (rstc && rstc->shared)
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) {
355 if (rstc->shared && ret)
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) {
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) {
524 * Consumers must not use reset_control_reset on shared reset lines when
541 if (rstc->shared) {
631 * Consumers implementing shared access to an exclusive reset need to follow
750 unsigned int index, bool shared, bool acquired)
763 if (!rstc->shared && !shared && !acquired)
766 if (WARN_ON(!rstc->shared || !shared))
788 rstc->shared = shared;
818 bool shared, bool optional, bool acquired)
871 rstc = __reset_control_get_internal(rcdev, rstc_id, shared, acquired);
901 bool shared, bool optional, bool acquired)
928 shared, acquired);
943 int index, bool shared, bool optional,
946 if (WARN_ON(shared && acquired))
950 return __of_reset_control_get(dev->of_node, id, index, shared,
953 return __reset_control_get_from_lookup(dev, id, shared, optional,
960 bool shared, bool optional, bool acquired)
966 shared, optional, acquired);
1036 bool shared, bool optional, bool acquired)
1045 rstc = __reset_control_get(dev, id, index, shared, optional, acquired);
1072 bool shared, bool optional, bool acquired)
1082 ret = __reset_control_bulk_get(dev, num_rstcs, rstcs, shared, optional, acquired);
1166 * @shared: whether reset controls are shared or not
1174 of_reset_control_array_get(struct device_node *np, bool shared, bool optional,
1190 rstc = __of_reset_control_get(np, NULL, i, shared, optional,
1217 * @shared: whether reset controls are shared or not
1227 devm_reset_control_array_get(struct device *dev, bool shared, bool optional)
1236 rstc = of_reset_control_array_get(dev->of_node, shared, optional, true);