Lines Matching refs:optional
998 bool optional = flags & RESET_CONTROL_FLAGS_BIT_OPTIONAL; in __of_reset_control_get() local
1015 return optional ? NULL : ERR_PTR(-ENOENT); in __of_reset_control_get()
1024 return optional ? NULL : ERR_PTR(ret); in __of_reset_control_get()
1033 return optional ? NULL : ERR_PTR(ret); in __of_reset_control_get()
1081 bool optional = flags & RESET_CONTROL_FLAGS_BIT_OPTIONAL; in __reset_control_get() local
1089 return optional ? NULL : ERR_PTR(-ENOENT); in __reset_control_get()
1284 int __device_reset(struct device *dev, bool optional) in __device_reset() argument
1295 return optional ? 0 : -ENOENT; in __device_reset()
1302 flags = optional ? RESET_CONTROL_OPTIONAL_EXCLUSIVE : RESET_CONTROL_EXCLUSIVE; in __device_reset()
1353 bool optional = flags & RESET_CONTROL_FLAGS_BIT_OPTIONAL; in of_reset_control_array_get() local
1360 return optional ? NULL : ERR_PTR(num); in of_reset_control_array_get()