Lines Matching refs:MCTP_BTU

209 	rc = endpoint_init(&ctx->bmc, 8, MCTP_BINDING_ASTLPC_MODE_BMC, MCTP_BTU,  in network_init()
216 MCTP_BTU, &ctx->kcs, ctx->lpc_mem); in network_init()
247 uint8_t msg[2 * MCTP_BTU]; in astlpc_test_packetised_message_bmc_to_host()
254 memset(&msg[0], 0x5a, MCTP_BTU); in astlpc_test_packetised_message_bmc_to_host()
255 memset(&msg[MCTP_BTU], 0xa5, MCTP_BTU); in astlpc_test_packetised_message_bmc_to_host()
277 astlpc_assert_tx_packet(&ctx.bmc, &msg[MCTP_BTU], MCTP_BTU); in astlpc_test_packetised_message_bmc_to_host()
289 uint8_t msg[MCTP_BTU]; in astlpc_test_simple_message_host_to_bmc()
297 memset(&msg[0], 0xa5, MCTP_BTU); in astlpc_test_simple_message_host_to_bmc()
310 astlpc_assert_tx_packet(&ctx.host, &msg[0], MCTP_BTU); in astlpc_test_simple_message_host_to_bmc()
331 uint8_t msg[MCTP_BTU]; in astlpc_test_simple_message_bmc_to_host()
339 memset(&msg[0], 0x5a, MCTP_BTU); in astlpc_test_simple_message_bmc_to_host()
352 astlpc_assert_tx_packet(&ctx.bmc, &msg[0], MCTP_BTU); in astlpc_test_simple_message_bmc_to_host()
385 astlpc = mctp_astlpc_init(MCTP_BINDING_ASTLPC_MODE_HOST, MCTP_BTU, NULL, in astlpc_test_host_before_bmc()
453 rc = endpoint_init(&bmc, 8, MCTP_BINDING_ASTLPC_MODE_BMC, MCTP_BTU, in astlpc_test_version_host_fails_negotiation()
462 rc = endpoint_init(&host, 9, MCTP_BINDING_ASTLPC_MODE_HOST, MCTP_BTU, in astlpc_test_version_host_fails_negotiation()
484 rc = endpoint_init(&bmc, 8, MCTP_BINDING_ASTLPC_MODE_BMC, MCTP_BTU, in astlpc_test_version_bmc_fails_negotiation()
489 rc = endpoint_init(&host, 9, MCTP_BINDING_ASTLPC_MODE_HOST, MCTP_BTU, in astlpc_test_version_bmc_fails_negotiation()
522 rc = endpoint_init(&bmc, 8, MCTP_BINDING_ASTLPC_MODE_BMC, MCTP_BTU, in astlpc_test_simple_init()
530 rc = endpoint_init(&host, 9, MCTP_BINDING_ASTLPC_MODE_HOST, MCTP_BTU, in astlpc_test_simple_init()
558 uint8_t msg[MCTP_BTU]; in astlpc_test_simple_indirect_message_bmc_to_host()
566 memset(&msg[0], 0x5a, MCTP_BTU); in astlpc_test_simple_indirect_message_bmc_to_host()
578 mctp_astlpc_init(MCTP_BINDING_ASTLPC_MODE_BMC, MCTP_BTU, NULL, in astlpc_test_simple_indirect_message_bmc_to_host()
590 mctp_astlpc_init(MCTP_BINDING_ASTLPC_MODE_HOST, MCTP_BTU, NULL, in astlpc_test_simple_indirect_message_bmc_to_host()
625 uint8_t unwritten[MCTP_BTU]; in astlpc_test_host_tx_bmc_gone()
626 uint8_t msg[MCTP_BTU]; in astlpc_test_host_tx_bmc_gone()
651 astlpc_assert_tx_packet(&ctx.host, &unwritten[0], MCTP_BTU); in astlpc_test_host_tx_bmc_gone()
654 rc = endpoint_init(&ctx.bmc, 8, MCTP_BINDING_ASTLPC_MODE_BMC, MCTP_BTU, in astlpc_test_host_tx_bmc_gone()
687 rc = endpoint_init(&bmc, 8, MCTP_BINDING_ASTLPC_MODE_BMC, MCTP_BTU, in astlpc_test_poll_not_ready()
713 rc = endpoint_init(&bmc, 8, MCTP_BINDING_ASTLPC_MODE_BMC, MCTP_BTU, in astlpc_test_undefined_command()
731 #define BUFFER_MIN (MCTP_PACKET_SIZE(MCTP_BTU) + 4 + 4)
869 rc = endpoint_init(&bmc, 8, MCTP_BINDING_ASTLPC_MODE_BMC, MCTP_BTU, in astlpc_test_buffers_bad_host_proposal()
874 rc = endpoint_init(&host, 9, MCTP_BINDING_ASTLPC_MODE_HOST, MCTP_BTU, in astlpc_test_buffers_bad_host_proposal()
908 rc = endpoint_init(&bmc, 8, MCTP_BINDING_ASTLPC_MODE_BMC, MCTP_BTU, in astlpc_test_buffers_bad_bmc_proposal()
920 rc = endpoint_init(&host, 9, MCTP_BINDING_ASTLPC_MODE_HOST, MCTP_BTU, in astlpc_test_buffers_bad_bmc_proposal()
942 rc = endpoint_init(&bmc, 8, MCTP_BINDING_ASTLPC_MODE_BMC, MCTP_BTU, in astlpc_test_buffers_bad_bmc_negotiation()
947 rc = endpoint_init(&host, 9, MCTP_BINDING_ASTLPC_MODE_HOST, MCTP_BTU, in astlpc_test_buffers_bad_bmc_negotiation()
1009 rc = endpoint_init(&bmc, 8, MCTP_BINDING_ASTLPC_MODE_BMC, 3 * MCTP_BTU, in astlpc_test_negotiate_increased_mtu()
1015 2 * MCTP_BTU, &kcs, lpc_mem); in astlpc_test_negotiate_increased_mtu()
1042 bmtu = 3 * MCTP_BTU; in astlpc_test_negotiate_mtu_low_high()
1048 hmtu = 2 * MCTP_BTU; in astlpc_test_negotiate_mtu_low_high()
1071 hmtu = 3 * MCTP_BTU; in astlpc_test_negotiate_mtu_low_high()
1154 uint8_t msg[3 * MCTP_BTU] = { 0 }; in astlpc_test_negotiate_mtu_high_low()
1168 bmtu = 3 * MCTP_BTU; in astlpc_test_negotiate_mtu_high_low()
1174 hmtu = 3 * MCTP_BTU; in astlpc_test_negotiate_mtu_high_low()
1211 hmtu = 2 * MCTP_BTU; in astlpc_test_negotiate_mtu_high_low()
1266 uint8_t msg[MCTP_BTU]; in astlpc_test_tx_before_channel_init()
1303 uint8_t msg[MCTP_BTU]; in astlpc_test_corrupt_host_tx()
1314 memset(&msg[0], 0xa5, MCTP_BTU); in astlpc_test_corrupt_host_tx()
1327 astlpc_assert_tx_packet(&ctx.host, &msg[0], MCTP_BTU); in astlpc_test_corrupt_host_tx()
1357 uint8_t msg[MCTP_BTU]; in astlpc_test_corrupt_bmc_tx()
1368 memset(&msg[0], 0x5a, MCTP_BTU); in astlpc_test_corrupt_bmc_tx()
1382 astlpc_assert_tx_packet(&ctx.bmc, &msg[0], MCTP_BTU); in astlpc_test_corrupt_bmc_tx()
1411 uint8_t msg[MCTP_BTU]; in astlpc_test_async_exchange()
1417 memset(&msg[0], 0x5a, MCTP_BTU); in astlpc_test_async_exchange()