hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/drivers/rpmsg/rpmsg_internal.h
....@@ -50,6 +50,7 @@
5050 * @poll: see @rpmsg_poll(), optional
5151 * @get_signals: see @rpmsg_get_signals(), optional
5252 * @set_signals: see @rpmsg_set_signals(), optional
53
+ * @get_mtu: see @rpmsg_get_mtu(), optional
5354 *
5455 * Indirection table for the operations that a rpmsg backend should implement.
5556 * In addition to @destroy_ept, the backend must at least implement @send and
....@@ -71,6 +72,9 @@
7172 poll_table *wait);
7273 int (*get_signals)(struct rpmsg_endpoint *ept);
7374 int (*set_signals)(struct rpmsg_endpoint *ept, u32 set, u32 clear);
75
+#ifdef CONFIG_NO_GKI
76
+ ssize_t (*get_mtu)(struct rpmsg_endpoint *ept);
77
+#endif
7478 };
7579
7680 int rpmsg_register_device(struct rpmsg_device *rpdev);