TT-System-Firmware APIs 19.8.99
Tenstorrent Firmware
Loading...
Searching...
No Matches
occp_i3c.c File Reference

OCCP I3C backend. More...

#include <tenstorrent/occp.h>

Functions

static int occp_i3c_send (const struct occp_backend *backend, const uint8_t *data, size_t length)
static int occp_i3c_receive (const struct occp_backend *backend, uint8_t *data, size_t length)
int occp_backend_i3c_init (struct occp_backend_i3c *backend, struct i3c_device_desc *i3c_dev)
 Initialize I3C backend.

Detailed Description

OCCP I3C backend.

I3C transport implementation for OCCP

Function Documentation

◆ occp_backend_i3c_init()

int occp_backend_i3c_init ( struct occp_backend_i3c * backend,
struct i3c_device_desc * i3c_dev )

Initialize I3C backend.

Parameters
backendPointer to I3C backend structure
i3c_devPointer to I3C device descriptor
Returns
0 on success, negative error code on failure

◆ occp_i3c_receive()

int occp_i3c_receive ( const struct occp_backend * backend,
uint8_t * data,
size_t length )
static

◆ occp_i3c_send()

int occp_i3c_send ( const struct occp_backend * backend,
const uint8_t * data,
size_t length )
static