Home
last modified time | relevance | path

Searched refs:tag_owner (Results 1 – 16 of 16) sorted by relevance

/openbmc/libmctp/tests/
H A Dtest_i2c.c75 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()
97 const bool tag_owner = false; in run_tx_test() local
100 rc = mctp_message_tx(tx_test->mctp, dest_eid, tag_owner, msg_tag, in run_tx_test()
118 const bool tag_owner = true; 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 Dtest_serial.c50 static void rx_message(uint8_t eid __unused, bool tag_owner, uint8_t msg_tag, in rx_message() argument
65 received_tag_owner = tag_owner; in rx_message()
80 bool tag_owner = false; in main() local
139 rc = mctp_message_tx(scenario[0].mctp, 9, tag_owner, msg_tag, in main()
149 assert(received_tag_owner == tag_owner); in main()
H A Dtest_core.c48 bool tag_owner; member
51 static void rx_message(uint8_t eid __unused, bool tag_owner, uint8_t msg_tag, in rx_message() argument
61 param->tag_owner = tag_owner; in rx_message()
465 test_param.tag_owner = false; in mctp_core_test_rx_with_tag()
482 assert(test_param.tag_owner); in mctp_core_test_rx_with_tag()
502 test_param.tag_owner = false; in mctp_core_test_rx_with_tag_multifragment()
531 assert(test_param.tag_owner); in mctp_core_test_rx_with_tag_multifragment()
627 test_param.tag_owner = false; in mctp_core_test_tx_alloc_tag()
636 assert(test_param.tag_owner == true); in mctp_core_test_tx_alloc_tag()
660 assert(test_param.tag_owner == false); in mctp_core_test_tx_alloc_tag()
H A Dtest_eid.c23 static void test_rx(uint8_t eid, bool tag_owner __unused, in test_rx()
H A Dtest_cmds.c35 bool tag_owner __unused, in control_message_transport_callback()
H A Dtest_seq.c28 static void test_rx(uint8_t eid __unused, bool tag_owner __unused, in test_rx()
H A Dtest_astlpc.c154 bool tag_owner __unused, in astlpc_test_rx_message()
/openbmc/libmctp/
H A Dcore.c34 mctp_eid_t dest, bool tag_owner,
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
505 if (!tag_owner) { 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()
544 mctp_message_tx_on_bus(dest_bus, src, dest, tag_owner, in mctp_rx()
557 bool tag_owner; in mctp_bus_rx() local
[all …]
H A Dlibmctp.h128 typedef void (*mctp_rx_fn)(uint8_t src_eid, bool tag_owner, uint8_t msg_tag,
143 int mctp_message_tx_alloced(struct mctp *mctp, mctp_eid_t eid, bool tag_owner,
156 int mctp_message_tx(struct mctp *mctp, mctp_eid_t eid, bool tag_owner,
H A Dcontrol.h10 bool mctp_control_handler(struct mctp_bus *bus, uint8_t src_eid, bool tag_owner,
H A Dcontrol.c218 bool tag_owner, uint8_t msg_tag, const void *data, in mctp_control_handler() argument
221 if (!tag_owner) { in mctp_control_handler()
/openbmc/libmctp/tests/fuzz/
H A Di2c-fuzz.c117 static void fuzz_i2c_rxmsg(uint8_t src_eid, bool tag_owner, uint8_t msg_tag, in fuzz_i2c_rxmsg() argument
123 (void)tag_owner; in fuzz_i2c_rxmsg()
162 bool tag_owner = fuzz_chance(ctx, 50); in do_tx() local
181 if (tag_owner) { in do_tx()
192 mctp_message_tx_alloced(ctx->mctp, eid, tag_owner, tag, in do_tx()
/openbmc/libmctp/utils/
H A Dmctp-in.c15 static void rx_message(uint8_t eid __unused, bool tag_owner __unused, in rx_message()
H A Dmctp-astlpc-daemon.c35 static void rx_message(uint8_t eid, uint8_t msg_tag, bool tag_owner, void *data, in rx_message() argument
H A Dmctp-pipe.c15 static void rx_message(uint8_t eid __unused, bool tag_owner __unused, in rx_message()
H A Dmctp-demux-daemon.c111 static void rx_message(uint8_t eid, bool tag_owner __unused, in rx_message()