Lines Matching refs:optional
604 bool optional, bool acquired) in __of_reset_control_get() argument
621 return optional ? NULL : ERR_PTR(-ENOENT); in __of_reset_control_get()
629 return optional ? NULL : ERR_PTR(ret); in __of_reset_control_get()
687 bool shared, bool optional, bool acquired) in __reset_control_get_from_lookup() argument
723 return optional ? NULL : ERR_PTR(-ENOENT); in __reset_control_get_from_lookup()
729 int index, bool shared, bool optional, in __reset_control_get() argument
737 optional, acquired); in __reset_control_get()
739 return __reset_control_get_from_lookup(dev, id, shared, optional, in __reset_control_get()
782 bool optional, bool acquired) in __devm_reset_control_get() argument
791 rstc = __reset_control_get(dev, id, index, shared, optional, acquired); in __devm_reset_control_get()
814 int __device_reset(struct device *dev, bool optional) in __device_reset() argument
819 rstc = __reset_control_get(dev, NULL, 0, 0, optional, true); in __device_reset()
870 of_reset_control_array_get(struct device_node *np, bool shared, bool optional, in of_reset_control_array_get() argument
879 return optional ? NULL : ERR_PTR(num); in of_reset_control_array_get()
886 rstc = __of_reset_control_get(np, NULL, i, shared, optional, in of_reset_control_array_get()
923 devm_reset_control_array_get(struct device *dev, bool shared, bool optional) in devm_reset_control_array_get() argument
932 rstc = of_reset_control_array_get(dev->of_node, shared, optional, true); in devm_reset_control_array_get()