D | reset.h | 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() [all …]
|