summaryrefslogtreecommitdiff
path: root/include/uapi/linux/rpmsg.h
diff options
context:
space:
mode:
authorChris Lew <quic_clew@quicinc.com>2023-07-07 00:41:38 +0300
committerBjorn Andersson <andersson@kernel.org>2023-07-15 21:35:02 +0300
commit5550201c0fe26a76c53983bd36a58d4c4395ec22 (patch)
treee0abbc1b7dd7217b74da4ae8635b458684269ced /include/uapi/linux/rpmsg.h
parenta2b73aa512a4a90dda7dd5bb38b26b4f1381adbb (diff)
downloadlinux-5550201c0fe26a76c53983bd36a58d4c4395ec22.tar.xz
rpmsg: char: Add RPMSG GET/SET FLOWCONTROL IOCTL support
Add RPMSG_GET_OUTGOING_FLOWCONTROL and RPMSG_SET_INCOMING_FLOWCONTROL IOCTL support for rpmsg char device nodes to get/set the low level transport signals. Signed-off-by: Chris Lew <quic_clew@quicinc.com> Signed-off-by: Deepak Kumar Singh <quic_deesin@quicinc.com> Signed-off-by: Sarannya S <quic_sarannya@quicinc.com> Acked-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com> Link: https://lore.kernel.org/r/1688679698-31274-4-git-send-email-quic_sarannya@quicinc.com Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'include/uapi/linux/rpmsg.h')
-rw-r--r--include/uapi/linux/rpmsg.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/uapi/linux/rpmsg.h b/include/uapi/linux/rpmsg.h
index 1637e68177d9..f0c8da2b185b 100644
--- a/include/uapi/linux/rpmsg.h
+++ b/include/uapi/linux/rpmsg.h
@@ -43,4 +43,14 @@ struct rpmsg_endpoint_info {
*/
#define RPMSG_RELEASE_DEV_IOCTL _IOW(0xb5, 0x4, struct rpmsg_endpoint_info)
+/**
+ * Get the flow control state of the remote rpmsg char device.
+ */
+#define RPMSG_GET_OUTGOING_FLOWCONTROL _IOR(0xb5, 0x5, int)
+
+/**
+ * Set the flow control state of the local rpmsg char device.
+ */
+#define RPMSG_SET_INCOMING_FLOWCONTROL _IOR(0xb5, 0x6, int)
+
#endif