Home
last modified time | relevance | path

Searched defs:mctp (Results 1 – 25 of 25) sorted by relevance

/openbmc/libmctp/
H A Dcore-internal.h50 struct mctp *mctp; member
99 struct mctp { struct
101 struct mctp_bus busses[MCTP_MAX_BUSSES]; argument
104 mctp_rx_fn message_rx; argument
108 mctp_capture_fn capture; argument
112 struct mctp_msg_ctx msg_ctxs[MCTP_REASSEMBLY_CTXS]; argument
115 struct mctp_req_tag req_tags[MCTP_REQ_TAGS]; argument
126 struct mctp_control control; argument
129 void *alloc_ctx;
131 uint64_t (*platform_now)(void *);
[all …]
H A Dcore.c140 static void *mctp_msg_dup(const void *msg, size_t msg_len, struct mctp *mctp) in mctp_msg_dup()
153 static struct mctp_msg_ctx *mctp_msg_ctx_lookup(struct mctp *mctp, uint8_t src, in mctp_msg_ctx_lookup()
170 static struct mctp_msg_ctx *mctp_msg_ctx_create(struct mctp *mctp, uint8_t src, in mctp_msg_ctx_create()
238 struct mctp *mctp; in mctp_init() local
262 int mctp_setup(struct mctp *mctp, size_t struct_mctp_size) in mctp_setup()
279 void mctp_set_max_message_size(struct mctp *mctp, size_t message_size) in mctp_set_max_message_size()
284 void mctp_set_capture_handler(struct mctp *mctp, mctp_capture_fn fn, void *user) in mctp_set_capture_handler()
290 static void mctp_bus_destroy(struct mctp_bus *bus, struct mctp *mctp) in mctp_bus_destroy()
298 void mctp_cleanup(struct mctp *mctp) in mctp_cleanup()
314 void mctp_destroy(struct mctp *mctp) in mctp_destroy()
[all …]
H A Dcontrol.c195 static void reply_error(struct mctp *mctp, uint8_t src_eid, uint8_t msg_tag, in reply_error()
281 int mctp_control_add_type(struct mctp *mctp, uint8_t msg_type) in mctp_control_add_type()
299 void mctp_control_remove_type(struct mctp *mctp, uint8_t msg_type) in mctp_control_remove_type()
H A Dalloc.c80 void *__mctp_msg_alloc(size_t size, struct mctp *mctp) in __mctp_msg_alloc()
89 void __mctp_msg_free(void *ptr, struct mctp *mctp) in __mctp_msg_free()
H A DCMakeLists.txt25 add_library (mctp STATIC alloc.c astlpc.c crc32.c core.c log.c libmctp.h serial.c crc-16-ccitt.c co… target
H A Dmeson.build144 libmctp = library( build
H A Dlibmctp.h192 struct mctp *mctp; member
/openbmc/libmctp/tests/
H A Dtest_core.c138 struct mctp *mctp = NULL; in mctp_core_test_simple_rx() local
166 struct mctp *mctp = NULL; in mctp_core_test_receive_equal_length_fragments() local
207 struct mctp *mctp = NULL; in mctp_core_test_receive_unexpected_smaller_middle_fragment() local
247 struct mctp *mctp = NULL; in mctp_core_test_receive_unexpected_bigger_middle_fragment() local
287 struct mctp *mctp = NULL; in mctp_core_test_receive_smaller_end_fragment() local
329 struct mctp *mctp = NULL; in mctp_core_test_receive_bigger_end_fragment() local
369 struct mctp *mctp = NULL; in mctp_core_test_drop_large_fragments() local
399 struct mctp *mctp = NULL; in mctp_core_test_exhaust_context_buffers() local
453 struct mctp *mctp = NULL; in mctp_core_test_rx_with_tag() local
490 struct mctp *mctp = NULL; in mctp_core_test_rx_with_tag_multifragment() local
[all …]
H A Dtest-utils.c61 struct mctp *mctp, mctp_eid_t eid) in mctp_binding_test_register_bus()
66 void mctp_test_stack_init(struct mctp **mctp, in mctp_test_stack_init()
H A Dtest_bridge.c26 struct mctp *mctp; member
H A Dtest_eid.c17 struct mctp *mctp; member
H A Dtest_serial.c70 struct mctp *mctp; member
H A Dtest_seq.c21 struct mctp *mctp; member
H A Dtest_i2c.c43 struct mctp *mctp; member
H A Dtest_astlpc.c50 struct mctp *mctp; member
375 struct mctp *mctp; in astlpc_test_host_before_bmc() local
/openbmc/libmctp/utils/
H A Dmctp-astlpc-daemon.c21 struct mctp *mctp; member
55 struct mctp *mctp; in main() local
H A Dmctp-demux-daemon.c65 struct mctp *mctp; member
171 static int binding_serial_init(struct mctp *mctp, struct binding *binding, in binding_serial_init()
211 static int binding_astlpc_init(struct mctp *mctp, struct binding *binding, in binding_astlpc_init()
237 static void binding_astlpc_destroy(struct mctp *mctp, struct binding *binding) in binding_astlpc_destroy()
H A Dmctp-in.c31 struct mctp *mctp; in main() local
H A Dmctp-pipe.c34 struct mctp *mctp[2]; in main() local
H A Dmctp-capture.c122 struct mctp_hdr *mctp = in capture_socket() local
/openbmc/dbus-sensors/src/
H A Dmeson.build99 subdir('mctp') subdir
/openbmc/dbus-sensors/src/mctp/
H A DMCTPEndpoint.hpp242 } mctp; member in MCTPDEndpoint
/openbmc/libmctp/tests/fuzz/
H A Di2c-fuzz.c49 struct mctp *mctp; member
/openbmc/intel-ipmi-oem/include/
H A Dmanufacturingcommands.hpp163 mctp = 0, enumerator
/openbmc/linux/include/net/
H A Dnet_namespace.h185 struct netns_mctp mctp; member