Lines Matching full:rtas
16 #include <asm/rtas.h>
17 #include <asm/rtas-work-area.h>
40 * FW introduces send HVPIPE and recv HVPIPE RTAS calls for
43 * These RTAS functions have the following certain requirements
54 * Follow the similar interfaces that the OS has for other RTAS calls.
59 * - write(fd, buf, size) --> Issue send HVPIPE RTAS call and
60 * returns size for success or the corresponding error for RTAS
65 * - read(fd, buf, size) --> Issue recv HVPIPE RTAS call and
66 * returns size for success or the corresponding error for RTAS
71 * ibm,receive-hvpipe-msg RTAS call.
73 * @srcID: Source ID returned by the RTAS call.
74 * @bytesw: Bytes written by RTAS call to @area.
119 * ibm,send-hvpipe-msg RTAS call
176 * RTAS call. Called from read()
178 * from recv HVPIPE RTAS.
189 pr_err("Could not allocate RTAS buffer for recv pipe\n"); in hvpipe_rtas_recv_msg()
197 * Recv HVPIPE RTAS is successful. in hvpipe_rtas_recv_msg()
199 * specific source, issue recv HVPIPE RTAS call in hvpipe_rtas_recv_msg()
225 * papr_hvpipe_handle_write - Issue send HVPIPE RTAS and return
226 * the size (payload + HVPIPE_HDR_LEN) for RTAS success.
227 * Otherwise returns the status of RTAS to the user space
247 * Send HVPIPE RTAS is used to send payload to the specific in papr_hvpipe_handle_write()
318 * source is pending in the hypervisor, issue recv HVPIPE RTAS
383 * recv HVPIPE RTAS. in papr_hvpipe_handle_read()
459 * payload, issue recv HVPIPE RTAS so that pipe will not in papr_hvpipe_handle_release()
590 * papr_hvpipe_work_fn - called to issue recv HVPIPE RTAS for
603 * recv HVPIPE RTAS.
636 * available to read with recv HVPIPE RTAS and it will not in hvpipe_event_interrupt()
648 * payload, issue recv HVPIPE RTAS (papr_hvpipe_work_fn()) in hvpipe_event_interrupt()
668 * execute receive pipe RTAS so that pipe will not in hvpipe_event_interrupt()
778 if (!of_find_property(rtas.dev, "ibm,hypervisor-pipe-capable", in papr_hvpipe_init()