Lines Matching +full:multi +full:- +full:function
1 /* SPDX-License-Identifier: GPL-2.0 */
5 * and function prototypes used in all the different SCMI protocols.
39 * struct scmi_msg_resp_prot_version - Response for a message
56 * struct scmi_msg - Message(Tx/Rx) structure
67 * struct scmi_msg_hdr - Message(Tx/Rx) header
89 * struct scmi_xfer - Structure representing a message flow
94 * @rx: Receive message, the buffer should be pre-allocated to store
95 * message. If request-ACK protocol is used, we can reuse the same
108 * though the timed-out transaction will anyway cause the command
109 * request to be reported as failed by time-out, the underlying xfer
115 * - SCMI_XFER_SENT_OK -> SCMI_XFER_RESP_OK [ -> SCMI_XFER_DRESP_OK ]
116 * - SCMI_XFER_SENT_OK -> SCMI_XFER_DRESP_OK
147 * struct scmi_protocol_handle - Reference to an initialized protocol instance
149 * @dev: A reference to the associated SCMI instance device (handle->dev).
157 * - as a parameter fed from the core to the protocol initialization code so
160 * - as an opaque handle fed by an SCMI driver user when it tries to access
175 * struct scmi_iterator_state - Iterator current state descriptor
176 * @desc_index: Starting index for the current mulit-part request.
177 * @num_returned: Number of returned items in the last multi-part reply.
178 * @num_remaining: Number of remaining items in the multi-part message.
181 * @loop_idx: The iterator loop index in the current multi-part reply.
184 * @priv: Optional pointer to some additional state-related private data setup
198 * struct scmi_iterator_ops - Custom iterator operations
201 * a reference to the next index to use in the multi-part
206 * each chunk of the multi-part message.
232 * struct scmi_proto_helpers_ops - References to common protocol helpers
233 * @extended_name_get: A common helper function to retrieve extended naming
236 * pre-allocated area pointed to by @name with maximum
239 * parse multi-message responses: when run the iterator
242 * multi-part responses using the custom operations
267 * struct scmi_xfer_ops - References to the core SCMI xfer operations.
298 * struct scmi_protocol - Protocol descriptor
301 * @instance_init: Mandatory protocol initialization function.
302 * @instance_deinit: Optional protocol de-initialization function.