Searched refs:subspec (Results 1 – 2 of 2) sorted by relevance
101 static int push_msg(const char *msg, struct test_subspec *subspec) in push_msg() argument105 tmp = realloc(subspec->expect_msgs, (1 + subspec->expect_msg_cnt) * sizeof(void *)); in push_msg()110 subspec->expect_msgs = tmp; in push_msg()111 subspec->expect_msgs[subspec->expect_msg_cnt++] = msg; in push_msg()379 struct test_subspec *subspec, in validate_case() argument386 for (i = 0; i < subspec->expect_msg_cnt; i++) { in validate_case()390 expect_msg = subspec->expect_msgs[i]; in validate_case()399 "MATCHED MSG: '%s'\n", subspec->expect_msgs[j]); in validate_case()511 static bool should_do_test_run(struct test_spec *spec, struct test_subspec *subspec) in should_do_test_run() argument513 if (!subspec->execute) in should_do_test_run()[all …]
869 static int ican3_send_inquiry(struct ican3_dev *mod, u8 subspec) in ican3_send_inquiry() argument876 msg.data[0] = subspec; in ican3_send_inquiry()1201 u16 subspec; in ican3_handle_nmtsind() local1203 subspec = msg->data[0] + msg->data[1] * 0x100; in ican3_handle_nmtsind()1204 if (subspec == NMTS_SLAVE_EVENT_IND) { in ican3_handle_nmtsind()1224 } else if (subspec == NMTS_SLAVE_STATE_IND) { in ican3_handle_nmtsind()1228 subspec); in ican3_handle_nmtsind()