Lines Matching defs:reset_control

39  * struct reset_control - a reset control
46 * @refcnt: Number of gets of this reset_control
47 * @acquired: Only one reset_control may be acquired for a given rcdev and id.
48 * @shared: Is this a shared (1), or an exclusive (0) reset_control?
56 struct reset_control {
77 struct reset_control base;
79 struct reset_control *rstc[] __counted_by(num_rstcs);
164 static void __reset_control_free(struct reset_control *rstc);
173 struct reset_control *rstc)
186 struct reset_control *rstc, *pos;
263 rstc_to_array(struct reset_control *rstc) {
282 struct reset_control *rstc;
377 static inline bool reset_control_is_array(struct reset_control *rstc)
387 * lifetime of the reset_control instance: for all but the first caller this is
395 int reset_control_reset(struct reset_control *rstc)
466 * lifetime of the reset_control instance, except if this call is used.
476 int reset_control_rearm(struct reset_control *rstc)
517 int reset_control_assert(struct reset_control *rstc)
613 int reset_control_deassert(struct reset_control *rstc)
696 int reset_control_status(struct reset_control *rstc)
739 int reset_control_acquire(struct reset_control *rstc)
742 struct reset_control *rc;
819 void reset_control_release(struct reset_control *rstc)
851 static struct reset_control *
857 struct reset_control *rstc;
870 * Allow creating a secondary exclusive reset_control
919 struct reset_control *rstc = container_of(kref, struct reset_control,
936 static void __reset_control_free(struct reset_control *rstc)
943 static void reset_control_put_internal(struct reset_control *rstc)
1173 struct reset_control *
1179 struct reset_control *rstc = ERR_PTR(-EINVAL);
1271 struct reset_control *__reset_control_get(struct device *dev, const char *id,
1326 void reset_control_put(struct reset_control *rstc)
1354 reset_control_put(*(struct reset_control **)res);
1359 struct reset_control *rstc = *(struct reset_control **)res;
1365 struct reset_control *
1369 struct reset_control **ptr, *rstc;
1476 struct reset_control *rstc;
1551 * Returns pointer to allocated reset_control on success or error on failure
1553 struct reset_control *
1559 struct reset_control *rstc;
1601 * Returns pointer to allocated reset_control on success or error on failure
1603 struct reset_control *
1606 struct reset_control **ptr, *rstc;