Lines Matching full:rpmsg

16 #include <linux/rpmsg.h>
27 * rpmsg_create_channel() - create a new rpmsg channel
29 * @rpdev: rpmsg device
32 * Return: a pointer to the new rpmsg device on success, or NULL on error.
49 * rpmsg_release_channel() - release a rpmsg channel
51 * @rpdev: rpmsg device
72 * @rpdev: rpmsg channel device
75 * @chinfo: channel_info with the local rpmsg address to bind with @cb
77 * Every rpmsg address in the system is bound to an rx callback (so when
78 * inbound messages arrive, they are dispatched by the rpmsg bus using the
82 * bind a callback, and possibly some private data too, to an rpmsg address
86 * Simple rpmsg drivers need not call rpmsg_create_ept, because an endpoint
87 * is already created for them when they are probed by the rpmsg bus
88 * (using the rx callback provided when they registered to the rpmsg bus).
91 * endpoint, their rx callback is bound to their rpmsg address, and when
93 * equals to the src address of their rpmsg channel), the driver's handler
97 * additional rpmsg addresses, and bind them to different rx callbacks.
105 * dynamically assign them an available rpmsg address (drivers should have
122 * rpmsg_destroy_ept() - destroy an existing rpmsg endpoint
125 * Should be used by drivers to destroy an rpmsg endpoint previously
138 * @ept: the rpmsg endpoint
144 * endpoint belongs to, using @ept's address and its associated rpmsg
167 * @ept: the rpmsg endpoint
196 * @ept: the rpmsg endpoint
228 * @ept: the rpmsg endpoint
256 * @ept: the rpmsg endpoint
284 * @ept: the rpmsg endpoint
304 * @ept: the rpmsg endpoint
335 * @ept: the rpmsg endpoint
354 * @ept: the rpmsg endpoint
374 * match a rpmsg channel with a channel info struct.
375 * this is used to make sure we're not creating rpmsg devices for channels
454 /* for more info, see Documentation/ABI/testing/sysfs-bus-rpmsg */
486 /* rpmsg devices and drivers are matched using the service name */
493 /* match rpmsg channel and rpmsg driver */
528 * when an rpmsg driver is probed with a channel, we seamlessly create
529 * it an endpoint, binding its rx callback to a unique local rpmsg
533 * processor (needed in case the driver is exposing an rpmsg service).
609 .name = "rpmsg",
618 * A helper for registering rpmsg device with driver override and name.
687 * __register_rpmsg_driver() - register an rpmsg driver with the rpmsg bus
702 * unregister_rpmsg_driver() - unregister an rpmsg driver from the rpmsg bus
718 rpmsg_class = class_create("rpmsg"); in rpmsg_init()
720 pr_err("failed to create rpmsg class\n"); in rpmsg_init()
726 pr_err("failed to register rpmsg bus: %d\n", ret); in rpmsg_init()