OpenAMP Library  353
rpmsg_device_ops Struct Reference

RPMsg device operations. More...

#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)
 Send RPMsg data. More...
 
void(* hold_rx_buffer )(struct rpmsg_device *rdev, void *rxbuf)
 Hold RPMsg RX buffer. More...
 
void(* release_rx_buffer )(struct rpmsg_device *rdev, void *rxbuf)
 Release RPMsg RX buffer. More...
 
void *(* get_tx_payload_buffer )(struct rpmsg_device *rdev, uint32_t *len, int wait)
 Get RPMsg TX buffer. More...
 
int(* send_offchannel_nocopy )(struct rpmsg_device *rdev, uint32_t src, uint32_t dst, const void *data, int len)
 Send RPMsg data without copy. More...
 
int(* release_tx_buffer )(struct rpmsg_device *rdev, void *txbuf)
 Release RPMsg TX buffer. More...
 
int(* get_rx_buffer_size )(struct rpmsg_device *rdev)
 Get RPMsg RX buffer size. More...
 
int(* get_tx_buffer_size )(struct rpmsg_device *rdev)
 Get RPMsg TX buffer size. More...
 

Detailed Description

RPMsg device operations.

Field Documentation

◆ get_rx_buffer_size

int(* rpmsg_device_ops::get_rx_buffer_size) (struct rpmsg_device *rdev)

Get RPMsg RX buffer size.

◆ get_tx_buffer_size

int(* rpmsg_device_ops::get_tx_buffer_size) (struct rpmsg_device *rdev)

Get RPMsg TX buffer size.

◆ get_tx_payload_buffer

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

Get RPMsg TX buffer.

◆ hold_rx_buffer

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

Hold RPMsg RX buffer.

◆ release_rx_buffer

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

Release RPMsg RX buffer.

◆ release_tx_buffer

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

Release RPMsg TX buffer.

◆ 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 RPMsg data without copy.

◆ 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)

Send RPMsg data.


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