/openbmc/libmctp/ |
H A D | control.c | 23 uint8_t msg_tag, const void *data, in mctp_ctrl_set_endpoint_id() argument 54 int rc = mctp_message_tx_alloced(bus->mctp, src_eid, false, msg_tag, in mctp_ctrl_set_endpoint_id() 63 uint8_t msg_tag, const void *data, in mctp_ctrl_get_endpoint_id() argument 86 int rc = mctp_message_tx_alloced(bus->mctp, src_eid, false, msg_tag, in mctp_ctrl_get_endpoint_id() 120 uint8_t msg_tag, const void *data, in mctp_ctrl_get_version() argument 154 int rc = mctp_message_tx_alloced(bus->mctp, src_eid, false, msg_tag, in mctp_ctrl_get_version() 163 uint8_t msg_tag, const void *data, in mctp_ctrl_get_types() argument 187 int rc = mctp_message_tx_alloced(bus->mctp, src_eid, false, msg_tag, in mctp_ctrl_get_types() 195 static void reply_error(struct mctp *mctp, uint8_t src_eid, uint8_t msg_tag, in reply_error() argument 208 int rc = mctp_message_tx_alloced(mctp, src_eid, false, msg_tag, resp, in reply_error() [all …]
|
H A D | core.c | 35 uint8_t msg_tag, void *msg, size_t msg_len); 444 uint8_t msg_tag, bool tag_owner, void *buffer, in mctp_ctrl_handle_msg() argument 459 bus->binding->control_rx(src, msg_tag, tag_owner, in mctp_ctrl_handle_msg() 467 return mctp_control_handler(bus, src, tag_owner, msg_tag, in mctp_ctrl_handle_msg() 497 mctp_eid_t dest, bool tag_owner, uint8_t msg_tag, void *buf, in mctp_rx() argument 506 mctp_dealloc_tag(bus, dest, src, msg_tag); in mctp_rx() 520 bus, src, msg_tag, tag_owner, buf, len); in mctp_rx() 527 mctp->message_rx(src, tag_owner, msg_tag, in mctp_rx() 545 msg_tag, copy, len); in mctp_rx() 855 uint8_t msg_tag, void *msg, size_t msg_len) in mctp_message_tx_on_bus() argument [all …]
|
H A D | libmctp.h | 128 typedef void (*mctp_rx_fn)(uint8_t src_eid, bool tag_owner, uint8_t msg_tag, 144 uint8_t msg_tag, void *msg, size_t msg_len); 157 uint8_t msg_tag, const void *msg, size_t msg_len);
|
H A D | control.h | 11 uint8_t msg_tag, const void *data, size_t len);
|
/openbmc/libmctp/tests/ |
H A D | test_i2c.c | 75 static void test_i2c_rxmsg(uint8_t src_eid, bool tag_owner, uint8_t msg_tag, in test_i2c_rxmsg() argument 83 msg_tag, tag_owner); in test_i2c_rxmsg() 96 const uint8_t msg_tag = 2; in run_tx_test() local 100 rc = mctp_message_tx(tx_test->mctp, dest_eid, tag_owner, msg_tag, in run_tx_test() 117 const uint8_t msg_tag = 2; in test_neigh_expiry() local 130 mctp_message_tx(tx_test->mctp, eid, tag_owner, msg_tag, in test_neigh_expiry() 141 mctp_message_tx(tx_test->mctp, EID_B, tag_owner, msg_tag, mctp_msg_src, in test_neigh_expiry() 152 mctp_message_tx(tx_test->mctp, EID_B, tag_owner, msg_tag, mctp_msg_src, in test_neigh_expiry() 200 mctp_message_tx(tx_test->mctp, EID_B, tag_owner, msg_tag, in test_neigh_expiry() 211 mctp_message_tx(tx_test->mctp, EID_B, tag_owner, msg_tag, mctp_msg_src, in test_neigh_expiry()
|
H A D | test_serial.c | 50 static void rx_message(uint8_t eid __unused, bool tag_owner, uint8_t msg_tag, in rx_message() argument 58 type, msg_tag); in rx_message() 64 received_msg_tag = msg_tag; in rx_message() 79 uint8_t msg_tag = 2; in main() local 139 rc = mctp_message_tx(scenario[0].mctp, 9, tag_owner, msg_tag, in main() 150 assert(received_msg_tag == msg_tag); in main()
|
H A D | test_core.c | 47 uint8_t msg_tag; member 51 static void rx_message(uint8_t eid __unused, bool tag_owner, uint8_t msg_tag, in rx_message() argument 56 mctp_prdebug("MCTP message received: len %zd, tag %u", len, msg_tag); in rx_message() 60 param->msg_tag = msg_tag; in rx_message() 464 test_param.msg_tag = 0; in mctp_core_test_rx_with_tag() 481 assert(test_param.msg_tag == tag); in mctp_core_test_rx_with_tag() 501 test_param.msg_tag = 0; in mctp_core_test_rx_with_tag_multifragment() 530 assert(test_param.msg_tag == tag); in mctp_core_test_rx_with_tag_multifragment() 614 uint8_t msg_tag; in mctp_core_test_tx_alloc_tag() local 626 test_param.msg_tag = 0xff; in mctp_core_test_tx_alloc_tag() [all …]
|
H A D | test_eid.c | 24 uint8_t msg_tag __unused, void *data, void *msg __unused, in test_rx()
|
H A D | test_cmds.c | 36 uint8_t msg_tag __unused, in control_message_transport_callback()
|
H A D | test_seq.c | 29 uint8_t msg_tag __unused, void *data, void *msg, size_t len) in test_rx()
|
H A D | test_astlpc.c | 155 uint8_t msg_tag __unused, in astlpc_test_rx_message()
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/ |
H A D | ccm.c | 49 unsigned int msg_tag; in __nfp_ccm_reply() local 53 msg_tag = nfp_ccm_get_tag(skb); in __nfp_ccm_reply() 54 if (msg_tag == tag) { in __nfp_ccm_reply()
|
/openbmc/libmctp/utils/ |
H A D | mctp-in.c | 16 uint8_t msg_tag __unused, void *data __unused, void *msg, in rx_message()
|
H A D | mctp-astlpc-daemon.c | 35 static void rx_message(uint8_t eid, uint8_t msg_tag, bool tag_owner, void *data, in rx_message() argument
|
H A D | mctp-pipe.c | 16 uint8_t msg_tag __unused, void *data __unused, void *msg, in rx_message()
|
H A D | mctp-demux-daemon.c | 112 uint8_t msg_tag __unused, void *data, void *msg, in rx_message()
|
/openbmc/libmctp/tests/fuzz/ |
H A D | i2c-fuzz.c | 117 static void fuzz_i2c_rxmsg(uint8_t src_eid, bool tag_owner, uint8_t msg_tag, in fuzz_i2c_rxmsg() argument 124 (void)msg_tag; in fuzz_i2c_rxmsg()
|
/openbmc/linux/drivers/net/usb/ |
H A D | r8152.c | 1229 __u16 size, const char *msg_tag) in r8152_control_msg() argument 1255 msg_tag, size, value, index, ret); in r8152_control_msg()
|