OpenAMP Library
Data Fields
rpmsg_device_ops Struct Reference

#include <rpmsg.h>

Data Fields

int(* send_offchannel_raw )(struct rpmsg_device *rdev, uint32_t src, uint32_t dst, const void *data, int len, int wait)
 
void(* hold_rx_buffer )(struct rpmsg_device *rdev, void *rxbuf)
 
void(* release_rx_buffer )(struct rpmsg_device *rdev, void *rxbuf)
 
void *(* get_tx_payload_buffer )(struct rpmsg_device *rdev, uint32_t *len, int wait)
 
int(* send_offchannel_nocopy )(struct rpmsg_device *rdev, uint32_t src, uint32_t dst, const void *data, int len)
 
int(* release_tx_buffer )(struct rpmsg_device *rdev, void *txbuf)
 

Detailed Description

struct rpmsg_device_ops - RPMsg device operations @send_offchannel_raw: send RPMsg data @hold_rx_buffer: hold RPMsg RX buffer @release_rx_buffer: release RPMsg RX buffer @get_tx_payload_buffer: get RPMsg TX buffer @send_offchannel_nocopy: send RPMsg data without copy @release_tx_buffer: release RPMsg TX buffer

Field Documentation

◆ get_tx_payload_buffer

void*(* rpmsg_device_ops::get_tx_payload_buffer) (struct rpmsg_device *rdev, uint32_t *len, int wait)

◆ hold_rx_buffer

void(* rpmsg_device_ops::hold_rx_buffer) (struct rpmsg_device *rdev, void *rxbuf)

◆ release_rx_buffer

void(* rpmsg_device_ops::release_rx_buffer) (struct rpmsg_device *rdev, void *rxbuf)

◆ release_tx_buffer

int(* rpmsg_device_ops::release_tx_buffer) (struct rpmsg_device *rdev, void *txbuf)

◆ send_offchannel_nocopy

int(* rpmsg_device_ops::send_offchannel_nocopy) (struct rpmsg_device *rdev, uint32_t src, uint32_t dst, const void *data, int len)

◆ send_offchannel_raw

int(* rpmsg_device_ops::send_offchannel_raw) (struct rpmsg_device *rdev, uint32_t src, uint32_t dst, const void *data, int len, int wait)

The documentation for this struct was generated from the following file: