Lines Matching +full:open +full:-
2 * Copyright (c) 2022-2023, Intel Corporation.
4 * SPDX-License-Identifier: Apache-2.0
22 * The client must open a channel before sending any request and
30 * - INVALID: Invalid state before registration.
31 * - IDLE : Initial state.
32 * - OPEN : The client will switch from IDLE to OPEN once it
33 * successfully open the channel. On the other hand, it
34 * will switch from OPEN to IDLE state once it successfully
36 * - ABORT : The client has closed the channel, however, there are
40 * re-open the channel when in ABORT state/
44 #include <zephyr/arch/arm64/arm-smccc.h>
66 * use the token to open the channel on the service and communicate
89 * @retval -EINVALinvalid arguments.
90 * @retval -ENODATA if client is not registered correctly.
91 * @retval -EBUSY if client has pending transactions.
92 * @retval -ECANCELED if client is not in IDLE state.
93 * @retval -ENOLCK if failure in acquiring mutex.
98 * @brief Client requests to open a channel on ARM SiP service.
100 * Client must open a channel before sending any request via
110 * - returns non-zero error code immediately if value is K_NO_WAIT
111 * - wait forever if the value is K_FOREVER
112 * - otherwise, for the given time
115 * @retval -EINVAL invalid arguments.
116 * @retval -ETIMEDOUT timeout expiry.
117 * @retval -EALREADY client state is already open.
131 * @retval -EINVAL invalid arguments.
132 * @retval -ENOTSUP error on sending pre_close_request.
133 * @retval -EPROTO client is not in OPEN state.
140 * Client must open a channel on the device before using this function.
141 * This function is non-blocking and can be called from any context. The
153 * @retval -EINVAL invalid arguments.
154 * @retval -EOPNOTSUPP invalid command id or function id.
155 * @retval -ESRCH invalid client state.
156 * @retval -ENOMEM failure to allocate memory.
157 * @retval -ENOMSG failure to insert into database.
158 * @retval -ENOBUF failure to insert into msgq.
159 * @retval -ENOLCK failure to get lock.
160 * @retval -EHOSTDOWN sip_svc thread not present.
161 * @retval -ENOTSUP check for unsupported condition.