Lines Matching full:an

26  * @brief Flag indicating an error state.
41 * whether the machine has an unfixed error, or compare against
60 * @brief Value exposed by ONOFF_STATE_MASK when the service is in an
88 * @brief Signature used to notify an on-off manager that a transition
98 * non-negative on success, or a negative error code. If an error is
99 * indicated the service shall enter an error state.
110 * one to reset the service when it is in an error state.
147 * @brief State associated with an on-off manager.
188 * to an off state. Can be null.
203 * @brief Initialize an on-off service to off state.
209 * This function should never be invoked by clients of an on-off
228 * @brief Signature used to notify an on-off service client of the
229 * completion of an operation.
258 * @brief State associated with a client of an on-off service.
269 * or when indicated by an onoff_cancel() return value.
303 * @brief Test whether an on-off service has recorded an error.
306 * recorded an error. Errors may be cleared by invoking
309 * This is an unlocked convenience function suitable for use only when
310 * it is known that no other process might invoke an operation that
311 * transitions the service between an error and non-error state.
313 * @return true if and only if the service has an uncleared error.
321 * @brief Request a reservation to use an on-off service.
323 * The return value indicates the success or failure of an attempt to
324 * initiate an operation to request the resource be made available.
338 * passes a pointer object associated with an incomplete service
343 * @retval -EIO if service has recorded an error.
351 * @brief Release a reserved use of an on-off service.
355 * off, which can be observed by registering an onoff_monitor.
364 * @retval -EIO if service has recorded an error.
371 * @brief Attempt to cancel an in-progress client operation.
373 * It may be that a client has initiated an operation but needs to
387 * @param mgr the manager for which an operation is to be cancelled.
396 * @retval -EALREADY if cli was not a record of an uncompleted
407 * Some applications may want to issue requests on an asynchronous
410 * cannot precisely determine that an in-progress request is still
419 * @param mgr the manager for which an operation is to be cancelled.
423 * a pointer to client data associated with an onoff_reset() request.
447 * @brief Clear errors on an on-off service and reset it to its off
450 * A service can only be reset when it is in an error state as
453 * The return value indicates the success or failure of an attempt to
454 * initiate an operation to reset the resource. If initiation of the
472 * if cli references an object associated with an incomplete service
485 * @brief Signature used to notify a monitor of an onoff service of
587 * @note If an error state is returned it is the caller's responsibility to
595 * @return negative if the service is in an error state, otherwise the
611 * If the service was in an error state when locked, and @p res is non-negative
626 * into an error state. A non-negative value increments or decrements the
632 * @return negative if the service is left or put into an error state, otherwise