Home
last modified time | relevance | path

Searched refs:b (Results 1 – 12 of 12) sorted by relevance

/libmctp-latest/
Drange.h9 #define MIN(a, b) \ argument
12 typeof(b) _b = b; \
18 #define MAX(a, b) \ argument
21 typeof(b) _b = b; \
Dserial.c94 #define binding_to_serial(b) \ argument
95 container_of(b, struct mctp_binding_serial, binding)
138 static int mctp_binding_serial_tx(struct mctp_binding *b, in mctp_binding_serial_tx() argument
141 struct mctp_binding_serial *serial = binding_to_serial(b); in mctp_binding_serial_tx()
387 struct mctp_binding *mctp_binding_serial_core(struct mctp_binding_serial *b) in mctp_binding_serial_core() argument
389 return &b->binding; in mctp_binding_serial_core()
Dlibmctp-serial.h17 struct mctp_binding *mctp_binding_serial_core(struct mctp_binding_serial *b);
Dastlpc.c141 #define binding_to_astlpc(b) \ argument
142 container_of(b, struct mctp_binding_astlpc, binding)
596 static int mctp_binding_astlpc_start_bmc(struct mctp_binding *b) in mctp_binding_astlpc_start_bmc() argument
599 container_of(b, struct mctp_binding_astlpc, binding); in mctp_binding_astlpc_start_bmc()
773 static int mctp_binding_astlpc_start_host(struct mctp_binding *b) in mctp_binding_astlpc_start_host() argument
776 container_of(b, struct mctp_binding_astlpc, binding); in mctp_binding_astlpc_start_host()
830 static int mctp_binding_astlpc_tx(struct mctp_binding *b, in mctp_binding_astlpc_tx() argument
833 struct mctp_binding_astlpc *astlpc = binding_to_astlpc(b); in mctp_binding_astlpc_tx()
853 mctp_binding_set_tx_enabled(b, false); in mctp_binding_astlpc_tx()
1287 struct mctp_binding *mctp_binding_astlpc_core(struct mctp_binding_astlpc *b) in mctp_binding_astlpc_core() argument
[all …]
Dlibmctp-astlpc.h42 struct mctp_binding *mctp_binding_astlpc_core(struct mctp_binding_astlpc *b);
DREADME.md87 struct mctp_binding *mctp_binding_foo_core(struct mctp_binding_foo *b);
90 `b->binding`). Callers can then use that generic pointer to register the binding
DLICENSE101 (b) You must cause any modified files to carry prominent notices
306 b) You must cause any work that you distribute or publish, that in
350 b) Accompany it with a written offer, valid for at least three
361 an offer, in accord with Subsection b above.)
/libmctp-latest/tests/
Dtest_serial.c78 struct mctp_binding_serial_pipe *b; in main() local
130 b = &scenario[1].binding; in main()
131 b->ingress = p[1][0]; in main()
132 b->egress = p[0][1]; in main()
133 mctp_serial_open_fd(b->serial, b->ingress); in main()
134 mctp_serial_set_tx_fn(b->serial, mctp_binding_serial_pipe_tx, a); in main()
135 mctp_register_bus(scenario[1].mctp, mctp_binding_serial_core(b->serial), in main()
147 mctp_serial_read(b->serial); in main()
Dtest_cmds.c48 static void rcv_ctrl_msg(struct mctp_binding *b, const void *buf, size_t len) in rcv_ctrl_msg() argument
50 struct mctp_pktbuf *pkt = mctp_pktbuf_alloc(b, len); in rcv_ctrl_msg()
52 mctp_bus_rx(b, pkt); in rcv_ctrl_msg()
Dtest_bridge.c29 static int mctp_binding_bridge_tx(struct mctp_binding *b, in mctp_binding_bridge_tx() argument
33 container_of(b, struct mctp_binding_bridge, binding); in mctp_binding_bridge_tx()
Dtest-utils.c19 static int mctp_binding_test_tx(struct mctp_binding *b __attribute__((unused)), in mctp_binding_test_tx() argument
Dtest_astlpc.c63 #define binding_to_mmio(b) \ argument
64 container_of(b, struct mctp_binding_astlpc_mmio, astlpc)