Lines Matching refs:optional
1006 bool optional = flags & RESET_CONTROL_FLAGS_BIT_OPTIONAL; in __of_reset_control_get() local
1023 return optional ? NULL : ERR_PTR(-ENOENT); in __of_reset_control_get()
1032 return optional ? NULL : ERR_PTR(ret); in __of_reset_control_get()
1041 return optional ? NULL : ERR_PTR(ret); in __of_reset_control_get()
1106 bool optional = flags & RESET_CONTROL_FLAGS_BIT_OPTIONAL; in __reset_control_get_from_lookup() local
1143 return optional ? NULL : ERR_PTR(-ENOENT); in __reset_control_get_from_lookup()
1355 int __device_reset(struct device *dev, bool optional) in __device_reset() argument
1366 return optional ? 0 : -ENOENT; in __device_reset()
1373 flags = optional ? RESET_CONTROL_OPTIONAL_EXCLUSIVE : RESET_CONTROL_EXCLUSIVE; in __device_reset()
1424 bool optional = flags & RESET_CONTROL_FLAGS_BIT_OPTIONAL; in of_reset_control_array_get() local
1431 return optional ? NULL : ERR_PTR(num); in of_reset_control_array_get()