Lines Matching full:rtas
8 #include <asm/rtas-types.h>
13 * Definitions for talking to the RTAS on CHRP machines.
20 #define RTAS_INSTANTIATE_MAX (1ULL<<30) /* Don't instantiate rtas at/above this value */
25 /* RTAS return status codes */
27 #define RTAS_BUSY -2 /* RTAS Busy */
32 * In general to call RTAS use rtas_token("string") to lookup
33 * an RTAS token for the given string (e.g. "event-scan").
42 * may be safely used for one-shot calls to RTAS.
46 /* RTAS event classes */
53 /* RTAS event severity */
61 /* RTAS event disposition */
66 /* RTAS event initiator */
74 /* RTAS event target */
82 /* RTAS event type */
122 /* RTAS check-exception vector offset */
233 extern struct rtas_t rtas;
288 #define ERR_TYPE_RTAS_LOG 0x2 /* from rtas event-scan */
296 #define RTAS_DEBUG KERN_DEBUG "RTAS: "
302 * for all rtas calls that require an error buffer argument.
303 * This includes 'check-exception' and 'rtas-last-error'.
313 /* Some RTAS ops require a data buffer and that buffer must be < 4G.
315 * (get the lock first), make the RTAS call. Copy the data instead
323 /* RMO buffer reserved for user-space RTAS use */
329 * rtas_config_addr - Format a busno, devfn and reg for RTAS.
335 * required for RTAS calls that take a "config_addr" parameter.
357 * move some of the rtas suspend-me stuff to pseries */