Lines Matching full:sequence
30 #define RTAS_IBM_GET_VPD_START_OVER -4 /* VPD changed, restart call sequence. */
36 * @sequence: In: Sequence number. Out: Next sequence number.
43 u32 sequence; member
58 * sequence should be in progress at any time; starting a new sequence
59 * will disrupt any sequence already in progress. Serialization of VPD
63 * calls are needed to complete the sequence.
84 params->sequence); in rtas_ibm_get_vpd()
98 params->sequence = rets[0]; in rtas_ibm_get_vpd()
207 * Internal VPD sequence APIs. A VPD sequence is a series of calls to
208 * ibm,get-vpd for a given location code. The sequence ends when an
214 * struct vpd_sequence - State for managing a VPD sequence.
215 * @error: Shall be zero as long as the sequence has not encountered an error,
225 * vpd_sequence_begin() - Begin a VPD retrieval sequence.
226 * @seq: Uninitialized sequence state.
230 * sequence. Callers must pass @seq to vpd_sequence_end() regardless
231 * of whether the sequence succeeds.
257 .sequence = 1, in vpd_sequence_begin()
263 * vpd_sequence_end() - Finalize a VPD retrieval sequence.
264 * @seq: Sequence state.
275 * vpd_sequence_should_stop() - Determine whether a VPD retrieval sequence
277 * @seq: VPD sequence state.
279 * Examines the sequence error state and outputs of the last call to
280 * ibm,get-vpd to determine whether the sequence in progress should
283 * Return: True if the sequence has encountered an error or if all VPD for
284 * this sequence has been retrieved. False otherwise.
343 * papr_vpd_run_sequence() - Run a single VPD retrieval sequence.
389 * EAGAIN means the sequence errored with a -4 (VPD changed) in papr_vpd_retrieve()
391 * sequence. PAPR+ v2.13 R1–7.3.20–5 indicates that this in papr_vpd_retrieve()