Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/usb/test/usb_host/
Dctrl_client_async_seq.c64 ctrl_client_obj_t *ctrl_obj = (ctrl_client_obj_t *)transfer->context; in ctrl_transfer_cb() local
67 …TEST_ASSERT_EQUAL(ctrl_obj->config_desc_cached->wTotalLength, transfer->actual_num_bytes - sizeof(… in ctrl_transfer_cb()
68 ctrl_obj->num_xfer_done++; in ctrl_transfer_cb()
69 if (ctrl_obj->num_xfer_sent < ctrl_obj->test_param.num_ctrl_xfer_to_send) { in ctrl_transfer_cb()
70 ctrl_obj->next_stage = TEST_STAGE_CTRL_XFER; in ctrl_transfer_cb()
71 } else if (ctrl_obj->num_xfer_done == ctrl_obj->test_param.num_ctrl_xfer_to_send) { in ctrl_transfer_cb()
72 ctrl_obj->next_stage = TEST_STAGE_DEV_CLOSE; in ctrl_transfer_cb()
78 ctrl_client_obj_t *ctrl_obj = (ctrl_client_obj_t *)arg; in ctrl_client_event_cb() local
81 TEST_ASSERT_EQUAL(TEST_STAGE_WAIT_CONN, ctrl_obj->cur_stage); in ctrl_client_event_cb()
82 ctrl_obj->next_stage = TEST_STAGE_DEV_OPEN; in ctrl_client_event_cb()
[all …]