Lines Matching refs:optional
290 * If rstc is NULL it is an optional reset and the function will just
341 * If rstc is NULL it is an optional reset and the function will just
399 * If rstc is NULL it is an optional reset and the function will just
444 * line is not asserted or if the desc is NULL (optional reset).
610 bool optional, bool acquired)
627 return optional ? NULL : ERR_PTR(-ENOENT);
635 return optional ? NULL : ERR_PTR(ret);
693 bool shared, bool optional, bool acquired)
729 return optional ? NULL : ERR_PTR(-ENOENT);
735 int index, bool shared, bool optional,
743 optional, acquired);
745 return __reset_control_get_from_lookup(dev, id, shared, optional,
788 bool optional, bool acquired)
797 rstc = __reset_control_get(dev, id, index, shared, optional, acquired);
814 * @optional: whether it is optional to reset the device
820 int __device_reset(struct device *dev, bool optional)
825 rstc = __reset_control_get(dev, NULL, 0, 0, optional, true);
869 * @optional: whether it is optional to get the reset controls
876 of_reset_control_array_get(struct device_node *np, bool shared, bool optional,
885 return optional ? NULL : ERR_PTR(num);
892 rstc = __of_reset_control_get(np, NULL, i, shared, optional,
920 * @optional: whether it is optional to get the reset controls
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);