Home
last modified time | relevance | path

Searched refs:mctp_binding (Results 1 – 11 of 11) sorted by relevance

/openbmc/libmctp/
H A Dlibmctp.h59 struct mctp_binding;
61 struct mctp_pktbuf *mctp_pktbuf_alloc(struct mctp_binding *hw, size_t len);
90 int mctp_register_bus(struct mctp *mctp, struct mctp_binding *binding,
93 void mctp_unregister_bus(struct mctp *mctp, struct mctp_binding *binding);
101 int mctp_bridge_busses(struct mctp *mctp, struct mctp_binding *b1,
102 struct mctp_binding *b2);
121 struct mctp_binding { struct
129 int (*start)(struct mctp_binding *binding); argument
130 int (*tx)(struct mctp_binding *binding, struct mctp_pktbuf *pkt); argument
135 void mctp_binding_set_tx_enabled(struct mctp_binding *binding, bool enable); argument
[all …]
H A Dcore.c31 struct mctp_binding *binding;
96 struct mctp_pktbuf *mctp_pktbuf_alloc(struct mctp_binding *binding, size_t len) in mctp_pktbuf_alloc()
352 int mctp_register_bus(struct mctp *mctp, struct mctp_binding *binding, in mctp_register_bus()
386 void mctp_unregister_bus(struct mctp *mctp, struct mctp_binding *binding) in mctp_unregister_bus()
398 int mctp_bridge_busses(struct mctp *mctp, struct mctp_binding *b1, in mctp_bridge_busses()
399 struct mctp_binding *b2) in mctp_bridge_busses()
537 void mctp_bus_rx(struct mctp_binding *binding, struct mctp_pktbuf *pkt) in mctp_bus_rx()
730 void mctp_binding_set_tx_enabled(struct mctp_binding *binding, bool enable) in mctp_binding_set_tx_enabled()
H A Dserial.c66 struct mctp_binding binding;
138 static int mctp_binding_serial_tx(struct mctp_binding *b, in mctp_binding_serial_tx()
381 static int mctp_serial_core_start(struct mctp_binding *binding) in mctp_serial_core_start()
387 struct mctp_binding *mctp_binding_serial_core(struct mctp_binding_serial *b) in mctp_binding_serial_core()
H A DREADME.md67 (`struct mctp_binding`):
70 struct mctp_binding binding;
87 struct mctp_binding *mctp_binding_foo_core(struct mctp_binding_foo *b);
93 struct mctp_binding *binding = mctp_binding_foo_core(foo);
H A Dlibmctp-serial.h17 struct mctp_binding *mctp_binding_serial_core(struct mctp_binding_serial *b);
H A Dlibmctp-astlpc.h42 struct mctp_binding *mctp_binding_astlpc_core(struct mctp_binding_astlpc *b);
H A Dastlpc.c122 struct mctp_binding binding;
596 static int mctp_binding_astlpc_start_bmc(struct mctp_binding *b) in mctp_binding_astlpc_start_bmc()
773 static int mctp_binding_astlpc_start_host(struct mctp_binding *b) in mctp_binding_astlpc_start_host()
830 static int mctp_binding_astlpc_tx(struct mctp_binding *b, in mctp_binding_astlpc_tx()
1287 struct mctp_binding *mctp_binding_astlpc_core(struct mctp_binding_astlpc *b) in mctp_binding_astlpc_core()
/openbmc/libmctp/tests/
H A Dtest_cmds.c48 static void rcv_ctrl_msg(struct mctp_binding *b, const void *buf, size_t len) in rcv_ctrl_msg()
55 static void setup_test_binding(struct mctp_binding *test_binding, in setup_test_binding()
79 struct mctp_binding binding; in send_transport_control_message()
H A Dtest-utils.c16 struct mctp_binding binding;
19 static int mctp_binding_test_tx(struct mctp_binding *b __attribute__((unused)), in mctp_binding_test_tx()
H A Dtest_bridge.c18 struct mctp_binding binding;
29 static int mctp_binding_bridge_tx(struct mctp_binding *b, in mctp_binding_bridge_tx()
H A Dtest_core.c104 mctp_bus_rx((struct mctp_binding *)binding, rx_pkt); in receive_ptkbuf()