Lines Matching full:client
22 * The client must open a channel before sending any request and
26 * The service will return the SMC/HVC return value to the client
29 * The client state machine
32 * - OPEN : The client will switch from IDLE to OPEN once it
36 * - ABORT : The client has closed the channel, however, there are
38 * will only move the client back to IDLE state once all
39 * transactions completed. The client is not allowed to
56 * @param c_token Client's token
62 * @brief Register a client on ARM SiP service
64 * On success, the client will be at IDLE state in the service and
65 * the service will return a token to the client. The client can then
71 * @param priv_data Pointer to client private data.
74 * @retval SIP_SVC_ID_INVALID invalid arguments, failure to allocate a client id and failure to get
80 * @brief Unregister a client on ARM SiP service
82 * On success, detach the client from the service. Unregistration
83 * is only allowed when all transactions belong to the client are closed.
86 * @param c_token Client's token
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.
98 * @brief Client requests to open a channel on ARM SiP service.
100 * Client must open a channel before sending any request via
107 * @param c_token Client's token
117 * @retval -EALREADY client state is already open.
122 * @brief Client requests to close the channel on ARM SiP services.
124 * Client must close the channel immediately once complete.
127 * @param c_token Client's token
133 * @retval -EPROTO client is not in OPEN state.
138 * @brief Client requests to send a SMC/HVC call to EL3/EL2
140 * Client must open a channel on the device before using this function.
142 * service will return a Transaction ID to the client if the request
143 * is being accepted. Client callback is called when the transaction is
147 * @param c_token Client's token
149 * @param cb Callback. SMC/SVC return value will be passed to client via
155 * @retval -ESRCH invalid client state.
166 * @brief Get the address pointer to the client private data.
168 * The pointer is provided by client during registration.
171 * @param c_token Client's token
173 * @retval Address pointer to the client private data.