Lines Matching refs:test_binding
55 static void setup_test_binding(struct mctp_binding *test_binding, in setup_test_binding() argument
58 assert(test_binding != NULL); in setup_test_binding()
62 memset(test_binding, 0, sizeof(*test_binding)); in setup_test_binding()
63 test_binding->name = "test"; in setup_test_binding()
64 test_binding->version = 1; in setup_test_binding()
65 test_binding->tx = NULL; in setup_test_binding()
66 test_binding->pkt_size = MCTP_PACKET_SIZE(MCTP_BTU); in setup_test_binding()
67 test_binding->pkt_header = 0; in setup_test_binding()
68 test_binding->pkt_trailer = 0; in setup_test_binding()
69 test_binding->control_rx = control_message_transport_callback; in setup_test_binding()
70 test_binding->control_rx_data = callback_ctx; in setup_test_binding()
72 mctp_register_bus(test_endpoint, test_binding, eid_1); in setup_test_binding()
73 mctp_binding_set_tx_enabled(test_binding, true); in setup_test_binding()