Zephyr API Documentation  3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
ipc_rpmsg.h File Reference
#include <zephyr/ipc/ipc_service.h>
#include <openamp/open_amp.h>
#include <metal/device.h>

Go to the source code of this file.

Data Structures

struct  ipc_rpmsg_ept
 Endpoint structure. More...
 
struct  ipc_rpmsg_instance
 RPMsg instance structure. More...
 

Macros

#define NUM_ENDPOINTS   CONFIG_IPC_SERVICE_BACKEND_RPMSG_NUM_ENDPOINTS_PER_INSTANCE
 Number of endpoints.
 

Typedefs

typedef void(* rpmsg_ept_bound_cb) (struct ipc_rpmsg_ept *ept)
 Define the bound callback.
 

Functions

int ipc_rpmsg_init (struct ipc_rpmsg_instance *instance, unsigned int role, unsigned int buffer_size, struct metal_io_region *shm_io, struct virtio_device *vdev, void *shb, size_t size, rpmsg_ns_bind_cb ns_bind_cb)
 Init an RPMsg instance.
 
int ipc_rpmsg_deinit (struct ipc_rpmsg_instance *instance, unsigned int role)
 Deinit an RPMsg instance.
 
int ipc_rpmsg_register_ept (struct ipc_rpmsg_instance *instance, unsigned int role, struct ipc_rpmsg_ept *ept)
 Register an endpoint.