Lines Matching refs:optional
999 bool optional = flags & RESET_CONTROL_FLAGS_BIT_OPTIONAL; in __of_reset_control_get() local
1016 return optional ? NULL : ERR_PTR(-ENOENT); in __of_reset_control_get()
1025 return optional ? NULL : ERR_PTR(ret); in __of_reset_control_get()
1034 return optional ? NULL : ERR_PTR(ret); in __of_reset_control_get()
1082 bool optional = flags & RESET_CONTROL_FLAGS_BIT_OPTIONAL; in __reset_control_get() local
1090 return optional ? NULL : ERR_PTR(-ENOENT); in __reset_control_get()
1285 int __device_reset(struct device *dev, bool optional) in __device_reset() argument
1296 return optional ? 0 : -ENOENT; in __device_reset()
1303 flags = optional ? RESET_CONTROL_OPTIONAL_EXCLUSIVE : RESET_CONTROL_EXCLUSIVE; in __device_reset()
1354 bool optional = flags & RESET_CONTROL_FLAGS_BIT_OPTIONAL; in of_reset_control_array_get() local
1361 return optional ? NULL : ERR_PTR(num); in of_reset_control_array_get()