Lines Matching full:binding
69 * Storage must be sized to fit the binding,
70 * MCTP_PKTBUF_SIZE(binding->pkt_size + binding->pkt_header + binding->pkt_trailer).
73 struct mctp_pktbuf *mctp_pktbuf_init(struct mctp_binding *binding,
77 struct mctp_pktbuf *mctp_pktbuf_alloc(struct mctp_binding *binding, size_t len);
105 /* Register a binding to the MCTP core, and creates a bus (populating
106 * binding->bus).
112 int mctp_register_bus(struct mctp *mctp, struct mctp_binding *binding,
115 void mctp_unregister_bus(struct mctp *mctp, struct mctp_binding *binding);
117 int mctp_bus_set_eid(struct mctp_binding *binding, mctp_eid_t eid);
123 * binding are forwarded to the other.
139 * If an asynchronous binding is being used, it will return -EBUSY if
150 * If an asynchronous binding is being used, it will return -EBUSY if
168 * If an asynchronous binding is being used, it will return -EBUSY if
180 * @tx: Binding function to transmit one packet on the interface
185 * * -EMSGSIZE - Packet exceeds binding MTU, pktbuf must be dropped
197 int (*start)(struct mctp_binding *binding);
198 int (*tx)(struct mctp_binding *binding, struct mctp_pktbuf *pkt);
203 void mctp_binding_set_tx_enabled(struct mctp_binding *binding, bool enable);
206 * Receive a packet from binding to core. Takes ownership of pkt, free()-ing it
209 void mctp_bus_rx(struct mctp_binding *binding, struct mctp_pktbuf *pkt);