Lines Matching full:rpmsg
16 #include <linux/rpmsg.h>
24 .name = "rpmsg",
29 * rpmsg_create_channel() - create a new rpmsg channel
31 * @rpdev: rpmsg device
34 * Return: a pointer to the new rpmsg device on success, or NULL on error.
51 * rpmsg_release_channel() - release a rpmsg channel
53 * @rpdev: rpmsg device
74 * @rpdev: rpmsg channel device
77 * @chinfo: channel_info with the local rpmsg address to bind with @cb
79 * Every rpmsg address in the system is bound to an rx callback (so when
80 * inbound messages arrive, they are dispatched by the rpmsg bus using the
84 * bind a callback, and possibly some private data too, to an rpmsg address
88 * Simple rpmsg drivers need not call rpmsg_create_ept, because an endpoint
89 * is already created for them when they are probed by the rpmsg bus
90 * (using the rx callback provided when they registered to the rpmsg bus).
93 * endpoint, their rx callback is bound to their rpmsg address, and when
95 * equals to the src address of their rpmsg channel), the driver's handler
99 * additional rpmsg addresses, and bind them to different rx callbacks.
107 * dynamically assign them an available rpmsg address (drivers should have
124 * rpmsg_destroy_ept() - destroy an existing rpmsg endpoint
127 * Should be used by drivers to destroy an rpmsg endpoint previously
140 * @ept: the rpmsg endpoint
146 * endpoint belongs to, using @ept's address and its associated rpmsg
169 * @ept: the rpmsg endpoint
198 * @ept: the rpmsg endpoint
230 * @ept: the rpmsg endpoint
258 * @ept: the rpmsg endpoint
286 * @ept: the rpmsg endpoint
306 * @ept: the rpmsg endpoint
337 * @ept: the rpmsg endpoint
356 * @ept: the rpmsg endpoint
376 * match a rpmsg channel with a channel info struct.
377 * this is used to make sure we're not creating rpmsg devices for channels
456 /* for more info, see Documentation/ABI/testing/sysfs-bus-rpmsg */
488 /* rpmsg devices and drivers are matched using the service name */
495 /* match rpmsg channel and rpmsg driver */
530 * when an rpmsg driver is probed with a channel, we seamlessly create
531 * it an endpoint, binding its rx callback to a unique local rpmsg
535 * processor (needed in case the driver is exposing an rpmsg service).
611 .name = "rpmsg",
620 * A helper for registering rpmsg device with driver override and name.
689 * __register_rpmsg_driver() - register an rpmsg driver with the rpmsg bus
704 * unregister_rpmsg_driver() - unregister an rpmsg driver from the rpmsg bus
722 pr_err("failed to register rpmsg class\n"); in rpmsg_init()
728 pr_err("failed to register rpmsg bus: %d\n", ret); in rpmsg_init()