8#ifndef ZEPHYR_MCTP_I3C_ENDPOINT_H_
9#define ZEPHYR_MCTP_I3C_ENDPOINT_H_
17struct mctp_i3c_endpoint_api {
18 void (*
bind)(
const struct device *dev,
struct mctp_binding_i3c_controller *ctlr,
19 struct i3c_device_desc **i3c_dev);
20 struct mctp_binding_i3c_controller *(*binding)(
const struct device *dev);
23static inline void mctp_i3c_endpoint_bind(
const struct device *dev,
27 const struct mctp_i3c_endpoint_api *api = dev->
api;
29 api->bind(dev, ctlr, i3c_dev);
34 const struct mctp_i3c_endpoint_api *api =
d->api;
36 return api->binding(
d);
irp nz macro MOVR cc d
Definition asm-macro-32-bit-gnu.h:11
Main header file for I3C (Inter-Integrated Circuit) driver API.
int bind(int sock, const struct sockaddr *addr, socklen_t addrlen)
Runtime device structure (in ROM) per driver instance.
Definition device.h:513
const void * api
Address of the API structure exposed by the device instance.
Definition device.h:519
Structure describing a I3C target device.
Definition i3c.h:924
An MCTP binding for Zephyr's I3C interface using IBI interrupts for signaling.
Definition mctp_i3c_controller.h:21