/openbmc/libmctp/ |
H A D | core-internal.h | 50 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 D | core.c | 140 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 D | control.c | 195 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 D | alloc.c | 80 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 D | CMakeLists.txt | 25 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 D | meson.build | 144 libmctp = library( build
|
H A D | libmctp.h | 192 struct mctp *mctp; member
|
/openbmc/libmctp/tests/ |
H A D | test_core.c | 138 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 D | test-utils.c | 61 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 D | test_bridge.c | 26 struct mctp *mctp; member
|
H A D | test_eid.c | 17 struct mctp *mctp; member
|
H A D | test_serial.c | 70 struct mctp *mctp; member
|
H A D | test_seq.c | 21 struct mctp *mctp; member
|
H A D | test_i2c.c | 43 struct mctp *mctp; member
|
H A D | test_astlpc.c | 50 struct mctp *mctp; member 375 struct mctp *mctp; in astlpc_test_host_before_bmc() local
|
/openbmc/libmctp/utils/ |
H A D | mctp-astlpc-daemon.c | 21 struct mctp *mctp; member 55 struct mctp *mctp; in main() local
|
H A D | mctp-demux-daemon.c | 65 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 D | mctp-in.c | 31 struct mctp *mctp; in main() local
|
H A D | mctp-pipe.c | 34 struct mctp *mctp[2]; in main() local
|
H A D | mctp-capture.c | 122 struct mctp_hdr *mctp = in capture_socket() local
|
/openbmc/dbus-sensors/src/ |
H A D | meson.build | 99 subdir('mctp') subdir
|
/openbmc/dbus-sensors/src/mctp/ |
H A D | MCTPEndpoint.hpp | 242 } mctp; member in MCTPDEndpoint
|
/openbmc/libmctp/tests/fuzz/ |
H A D | i2c-fuzz.c | 49 struct mctp *mctp; member
|
/openbmc/intel-ipmi-oem/include/ |
H A D | manufacturingcommands.hpp | 163 mctp = 0, enumerator
|
/openbmc/linux/include/net/ |
H A D | net_namespace.h | 185 struct netns_mctp mctp; member
|