Lines Matching refs:optional
324 * If rstc is NULL it is an optional reset and the function will just
439 * If rstc is NULL it is an optional reset and the function will just
527 * If rstc is NULL it is an optional reset and the function will just
602 * line is not asserted or if the desc is NULL (optional reset).
818 bool shared, bool optional, bool acquired)
835 return optional ? NULL : ERR_PTR(-ENOENT);
843 return optional ? NULL : ERR_PTR(ret);
901 bool shared, bool optional, bool acquired)
937 return optional ? NULL : ERR_PTR(-ENOENT);
943 int index, bool shared, bool optional,
951 optional, acquired);
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);
1100 * @optional: whether it is optional to reset the device
1106 int __device_reset(struct device *dev, bool optional)
1116 return optional ? 0 : -ENOENT;
1123 rstc = __reset_control_get(dev, NULL, 0, 0, optional, true);
1167 * @optional: whether it is optional to get the reset controls
1174 of_reset_control_array_get(struct device_node *np, bool shared, bool optional,
1183 return optional ? NULL : ERR_PTR(num);
1190 rstc = __of_reset_control_get(np, NULL, i, shared, optional,
1218 * @optional: whether it is optional to get the reset controls
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);