Lines Matching defs: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;
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) {
321 if (rstc->shared && ret)
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) {
396 * Consumers must not use reset_control_reset on shared reset lines when
413 if (rstc->shared) {
473 * Consumers implementing shared access to an exclusive reset need to follow
542 unsigned int index, bool shared, bool acquired)
555 if (!rstc->shared && !shared && !acquired)
558 if (WARN_ON(!rstc->shared || !shared))
580 rstc->shared = shared;
609 const char *id, int index, bool shared,
663 rstc = __reset_control_get_internal(rcdev, rstc_id, shared, acquired);
693 bool shared, bool optional, bool acquired)
720 shared, acquired);
735 int index, bool shared, bool optional,
738 if (WARN_ON(shared && acquired))
742 return __of_reset_control_get(dev->of_node, id, index, shared,
745 return __reset_control_get_from_lookup(dev, id, shared, optional,
787 const char *id, int index, bool shared,
797 rstc = __reset_control_get(dev, id, index, shared, optional, acquired);
868 * @shared: whether reset controls are shared or not
876 of_reset_control_array_get(struct device_node *np, bool shared, bool optional,
892 rstc = __of_reset_control_get(np, NULL, i, shared, optional,
919 * @shared: whether reset controls are shared or not
929 devm_reset_control_array_get(struct device *dev, bool shared, bool optional)
938 rstc = of_reset_control_array_get(dev->of_node, shared, optional, true);