7#ifndef ZEPHYR_INCLUDE_IPC_SERVICE_IPC_SERVICE_BACKEND_H_
8#define ZEPHYR_INCLUDE_IPC_SERVICE_IPC_SERVICE_BACKEND_H_
57 const void *
data,
size_t len);
148 const void *
data,
size_t len);
__UINT32_TYPE__ uint32_t
Definition: stdint.h:90
Runtime device structure (in ROM) per driver instance.
Definition: device.h:456
Endpoint configuration structure.
Definition: ipc_service.h:168
IPC Service backend.
Definition: ipc_service_backend.h:27
int(* send)(const struct device *instance, void *token, const void *data, size_t len)
Pointer to the function that will be used to send data to the endpoint.
Definition: ipc_service_backend.h:56
int(* hold_rx_buffer)(const struct device *instance, void *token, void *data)
Pointer to the function that will hold the RX buffer.
Definition: ipc_service_backend.h:164
int(* send_nocopy)(const struct device *instance, void *token, const void *data, size_t len)
Pointer to the function that will be used to send data to the endpoint when the TX buffer has been ob...
Definition: ipc_service_backend.h:147
int(* get_tx_buffer)(const struct device *instance, void *token, void **data, uint32_t *len, k_timeout_t wait)
Pointer to the function that will return an empty TX buffer.
Definition: ipc_service_backend.h:109
int(* release_rx_buffer)(const struct device *instance, void *token, void *data)
Pointer to the function that will release the RX buffer.
Definition: ipc_service_backend.h:181
int(* get_tx_buffer_size)(const struct device *instance, void *token)
Pointer to the function that will return the TX buffer size.
Definition: ipc_service_backend.h:88
int(* open_instance)(const struct device *instance)
Pointer to the function that will be used to open an instance.
Definition: ipc_service_backend.h:38
int(* drop_tx_buffer)(const struct device *instance, void *token, const void *data)
Pointer to the function that will drop a TX buffer.
Definition: ipc_service_backend.h:126
int(* register_endpoint)(const struct device *instance, void **token, const struct ipc_ept_cfg *cfg)
Pointer to the function that will be used to register endpoints.
Definition: ipc_service_backend.h:72
Kernel timeout type.
Definition: sys_clock.h:65
static fdata_t data[2]
Definition: test_fifo_contexts.c:15