Lines Matching refs:rpmsg

2 Remote Processor Messaging (rpmsg) Framework
7 This document describes the rpmsg bus and how to write rpmsg drivers.
8 To learn how to add rpmsg support for new platforms, check out remoteproc.txt
41 When writing a driver that exposes rpmsg communication to userland, please
50 desired to limit userland to specific rpmsg channels (see definition below)
54 Every rpmsg device is a communication channel with a remote processor (thus
55 rpmsg devices are called channels). Channels are identified by a textual name
56 and have a local ("source") rpmsg address, and remote ("destination") rpmsg
60 a unique rpmsg local address (a 32-bit integer). This way when inbound messages
61 arrive, the rpmsg core dispatches them to the appropriate driver according
199 every rpmsg address in the system is bound to an rx callback (so when
200 inbound messages arrive, they are dispatched by the rpmsg bus using the
204 bind a callback, and possibly some private data too, to an rpmsg address
208 Simple rpmsg drivers need not call rpmsg_create_ept, because an endpoint
209 is already created for them when they are probed by the rpmsg bus
210 (using the rx callback they provide when they registered to the rpmsg bus).
213 endpoint, their rx callback is bound to their rpmsg address, and when
215 equals to the src address of their rpmsg channel), the driver's handler
219 additional rpmsg addresses, and bind them to different rx callbacks.
226 dynamically assign them an available rpmsg address (drivers should have
236 destroys an existing rpmsg endpoint. user should provide a pointer
237 to an rpmsg endpoint that was previously created with rpmsg_create_ept().
244 registers an rpmsg driver with the rpmsg bus. user should provide
255 unregisters an rpmsg driver from the rpmsg bus. user should provide
263 The following is a simple rpmsg driver, that sends an "hello!" message
271 #include <linux/rpmsg.h>
298 dev_info(&rpdev->dev, "rpmsg sample client driver is removed\n");
302 { .name = "rpmsg-client-sample" },
305 MODULE_DEVICE_TABLE(rpmsg, rpmsg_driver_sample_id_table);
319 in samples/rpmsg/.
321 Allocations of rpmsg channels
324 At this point we only support dynamic allocations of rpmsg channels.
330 When this feature is enabled, creation of rpmsg devices (i.e. channels)
332 remote rpmsg service by sending a name service message (which contains
333 the name and rpmsg addr of the remote service, see struct rpmsg_ns_msg).
335 This message is then handled by the rpmsg bus, which in turn dynamically
336 creates and registers an rpmsg channel (which represents the remote service).
337 If/when a relevant rpmsg driver is registered, it will be immediately probed
340 The plan is also to add static creation of rpmsg channels via the virtio