Lines Matching full:optional

43  * @RESET_CONTROL_OPTIONAL_EXCLUSIVE:			optional, exclusive, acquired
44 * @RESET_CONTROL_OPTIONAL_EXCLUSIVE_DEASSERTED: optional, exclusive, acquired, deasserted
45 * @RESET_CONTROL_OPTIONAL_EXCLUSIVE_RELEASED: optional, exclusive, released
46 * @RESET_CONTROL_OPTIONAL_SHARED: optional, shared
47 * @RESET_CONTROL_OPTIONAL_SHARED_DEASSERTED: optional, shared, deasserted
96 int __device_reset(struct device *dev, bool optional);
149 static inline int __device_reset(struct device *dev, bool optional) in __device_reset() argument
151 return optional ? 0 : -ENOTSUPP; in __device_reset()
158 bool optional = flags & RESET_CONTROL_FLAGS_BIT_OPTIONAL; in __of_reset_control_get() local
160 return optional ? NULL : ERR_PTR(-ENOTSUPP); in __of_reset_control_get()
167 bool optional = flags & RESET_CONTROL_FLAGS_BIT_OPTIONAL; in __reset_control_get() local
169 return optional ? NULL : ERR_PTR(-ENOTSUPP); in __reset_control_get()
206 bool optional = flags & RESET_CONTROL_FLAGS_BIT_OPTIONAL; in __reset_control_bulk_get() local
208 return optional ? 0 : -EOPNOTSUPP; in __reset_control_bulk_get()
220 bool optional = flags & RESET_CONTROL_FLAGS_BIT_OPTIONAL; in __devm_reset_control_get() local
222 return optional ? NULL : ERR_PTR(-ENOTSUPP); in __devm_reset_control_get()
230 bool optional = flags & RESET_CONTROL_FLAGS_BIT_OPTIONAL; in __devm_reset_control_bulk_get() local
232 return optional ? 0 : -EOPNOTSUPP; in __devm_reset_control_bulk_get()
238 bool optional = flags & RESET_CONTROL_FLAGS_BIT_OPTIONAL; in devm_reset_control_array_get() local
240 return optional ? NULL : ERR_PTR(-ENOTSUPP); in devm_reset_control_array_get()
246 bool optional = flags & RESET_CONTROL_FLAGS_BIT_OPTIONAL; in of_reset_control_array_get() local
248 return optional ? NULL : ERR_PTR(-ENOTSUPP); in of_reset_control_array_get()
281 * Use of id names is optional.
318 * Use of id names is optional.
349 * reset_control_bulk_get_optional_exclusive_released - Lookup and obtain optional
356 * Optional variant of reset_control_bulk_get_exclusive_released(). If the
390 * Use of id names is optional.
416 * reset_control_get_optional_exclusive - optional reset_control_get_exclusive()
420 * Optional variant of reset_control_get_exclusive(). If the requested reset
433 * reset_control_bulk_get_optional_exclusive - optional
439 * Optional variant of reset_control_bulk_get_exclusive(). If any of the
453 * reset_control_get_optional_shared - optional reset_control_get_shared()
457 * Optional variant of reset_control_get_shared(). If the requested reset
470 * reset_control_bulk_get_optional_shared - optional
476 * Optional variant of reset_control_bulk_get_shared(). If the requested resets
497 * Use of id names is optional.
506 * of_reset_control_get_optional_exclusive - Lookup and obtain an optional exclusive
511 * Optional variant of of_reset_control_get_exclusive(). If the requested reset
517 * Use of id names is optional.
542 * Use of id names is optional.
700 * Managed-and-optional variant of reset_control_get_exclusive_released(). For