Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/usb/include/usb/
Dusb_host.h211 esp_err_t usb_host_client_deregister(usb_host_client_handle_t client_hdl);
224 esp_err_t usb_host_client_handle_events(usb_host_client_handle_t client_hdl, TickType_t timeout_tic…
235 esp_err_t usb_host_client_unblock(usb_host_client_handle_t client_hdl);
250 esp_err_t usb_host_device_open(usb_host_client_handle_t client_hdl, uint8_t dev_addr, usb_device_ha…
264 esp_err_t usb_host_device_close(usb_host_client_handle_t client_hdl, usb_device_handle_t dev_hdl);
362 esp_err_t usb_host_interface_claim(usb_host_client_handle_t client_hdl, usb_device_handle_t dev_hdl…
376 esp_err_t usb_host_interface_release(usb_host_client_handle_t client_hdl, usb_device_handle_t dev_h…
475 esp_err_t usb_host_transfer_submit_control(usb_host_client_handle_t client_hdl, usb_transfer_t *tra…
/hal_espressif-3.6.0/components/usb/test/usb_host/
Dmsc_client_async_seq.c54 usb_host_client_handle_t client_hdl; member
125 msc_obj.client_hdl = NULL; in msc_client_async_seq_task()
139 TEST_ASSERT_EQUAL(ESP_OK, usb_host_client_register(&client_config, &msc_obj.client_hdl)); in msc_client_async_seq_task()
161 … TEST_ASSERT_EQUAL(ESP_OK, usb_host_client_handle_events(msc_obj.client_hdl, portMAX_DELAY)); in msc_client_async_seq_task()
173 …TEST_ASSERT_EQUAL(ESP_OK, usb_host_device_open(msc_obj.client_hdl, msc_obj.dev_addr_to_open, &msc_… in msc_client_async_seq_task()
183 …TEST_ASSERT_EQUAL(ESP_OK, usb_host_interface_claim(msc_obj.client_hdl, msc_obj.dev_hdl, MOCK_MSC_S… in msc_client_async_seq_task()
194 … TEST_ASSERT_EQUAL(ESP_OK, usb_host_transfer_submit_control(msc_obj.client_hdl, xfer_out)); in msc_client_async_seq_task()
225 …TEST_ASSERT_EQUAL(ESP_OK, usb_host_interface_release(msc_obj.client_hdl, msc_obj.dev_hdl, MOCK_MSC… in msc_client_async_seq_task()
226 … TEST_ASSERT_EQUAL(ESP_OK, usb_host_device_close(msc_obj.client_hdl, msc_obj.dev_hdl)); in msc_client_async_seq_task()
238 TEST_ASSERT_EQUAL(ESP_OK, usb_host_client_deregister(msc_obj.client_hdl)); in msc_client_async_seq_task()
Dmsc_client_async_dconn.c55 usb_host_client_handle_t client_hdl; member
126 msc_obj.client_hdl = NULL; in msc_client_async_dconn_task()
140 TEST_ASSERT_EQUAL(ESP_OK, usb_host_client_register(&client_config, &msc_obj.client_hdl)); in msc_client_async_dconn_task()
163 … TEST_ASSERT_EQUAL(ESP_OK, usb_host_client_handle_events(msc_obj.client_hdl, portMAX_DELAY)); in msc_client_async_dconn_task()
179 …TEST_ASSERT_EQUAL(ESP_OK, usb_host_device_open(msc_obj.client_hdl, msc_obj.dev_addr_to_open, &msc_… in msc_client_async_dconn_task()
193 …TEST_ASSERT_EQUAL(ESP_OK, usb_host_interface_claim(msc_obj.client_hdl, msc_obj.dev_hdl, MOCK_MSC_S… in msc_client_async_dconn_task()
204 … TEST_ASSERT_EQUAL(ESP_OK, usb_host_transfer_submit_control(msc_obj.client_hdl, xfer_out)); in msc_client_async_dconn_task()
235 …TEST_ASSERT_EQUAL(ESP_OK, usb_host_interface_release(msc_obj.client_hdl, msc_obj.dev_hdl, MOCK_MSC… in msc_client_async_dconn_task()
236 … TEST_ASSERT_EQUAL(ESP_OK, usb_host_device_close(msc_obj.client_hdl, msc_obj.dev_hdl)); in msc_client_async_dconn_task()
259 TEST_ASSERT_EQUAL(ESP_OK, usb_host_client_deregister(msc_obj.client_hdl)); in msc_client_async_dconn_task()
Dmsc_client_async_enum.c50 usb_host_client_handle_t client_hdl; member
75 msc_obj.client_hdl = NULL; in msc_client_async_enum_task()
88 TEST_ASSERT_EQUAL(ESP_OK, usb_host_client_register(&client_config, &msc_obj.client_hdl)); in msc_client_async_enum_task()
99 … TEST_ASSERT_EQUAL(ESP_OK, usb_host_client_handle_events(msc_obj.client_hdl, portMAX_DELAY)); in msc_client_async_enum_task()
115 …TEST_ASSERT_EQUAL(ESP_OK, usb_host_device_open(msc_obj.client_hdl, msc_obj.dev_addr_to_open, &msc_… in msc_client_async_enum_task()
164 … TEST_ASSERT_EQUAL(ESP_OK, usb_host_device_close(msc_obj.client_hdl, msc_obj.dev_hdl)); in msc_client_async_enum_task()
183 TEST_ASSERT_EQUAL(ESP_OK, usb_host_client_deregister(msc_obj.client_hdl)); in msc_client_async_enum_task()
Dctrl_client_async_seq.c57 usb_host_client_handle_t client_hdl; member
107 TEST_ASSERT_EQUAL(ESP_OK, usb_host_client_register(&client_config, &ctrl_obj.client_hdl)); in ctrl_client_async_seq_task()
125 … TEST_ASSERT_EQUAL(ESP_OK, usb_host_client_handle_events(ctrl_obj.client_hdl, portMAX_DELAY)); in ctrl_client_async_seq_task()
137 …TEST_ASSERT_EQUAL(ESP_OK, usb_host_device_open(ctrl_obj.client_hdl, ctrl_obj.dev_addr_to_open, &ct… in ctrl_client_async_seq_task()
160 … TEST_ASSERT_EQUAL(ESP_OK, usb_host_transfer_submit_control(ctrl_obj.client_hdl, transfer)); in ctrl_client_async_seq_task()
172 … TEST_ASSERT_EQUAL(ESP_OK, usb_host_device_close(ctrl_obj.client_hdl, ctrl_obj.dev_hdl)); in ctrl_client_async_seq_task()
185 TEST_ASSERT_EQUAL(ESP_OK, usb_host_client_deregister(ctrl_obj.client_hdl)); in ctrl_client_async_seq_task()
/hal_espressif-3.6.0/examples/peripherals/usb/host/usb_host_lib/main/
Dclass_driver.c24 usb_host_client_handle_t client_hdl; member
59 …ESP_ERROR_CHECK(usb_host_device_open(driver_obj->client_hdl, driver_obj->dev_addr, &driver_obj->de… in action_open_dev()
127 ESP_ERROR_CHECK(usb_host_device_close(driver_obj->client_hdl, driver_obj->dev_hdl)); in aciton_close_dev()
152 ESP_ERROR_CHECK(usb_host_client_register(&client_config, &driver_obj.client_hdl)); in class_driver_task()
156 usb_host_client_handle_events(driver_obj.client_hdl, portMAX_DELAY); in class_driver_task()
183 ESP_ERROR_CHECK(usb_host_client_deregister(driver_obj.client_hdl)); in class_driver_task()
/hal_espressif-3.6.0/components/usb/
Dusb_host.c666 esp_err_t usb_host_client_deregister(usb_host_client_handle_t client_hdl) in usb_host_client_deregister() argument
668 HOST_CHECK(client_hdl != NULL, ESP_ERR_INVALID_ARG); in usb_host_client_deregister()
669 client_t *client_obj = (client_t *)client_hdl; in usb_host_client_deregister()
716 esp_err_t usb_host_client_handle_events(usb_host_client_handle_t client_hdl, TickType_t timeout_tic… in usb_host_client_handle_events() argument
718 HOST_CHECK(client_hdl != NULL, ESP_ERR_INVALID_ARG); in usb_host_client_handle_events()
720 client_t *client_obj = (client_t *)client_hdl; in usb_host_client_handle_events()
780 esp_err_t usb_host_client_unblock(usb_host_client_handle_t client_hdl) in usb_host_client_unblock() argument
782 HOST_CHECK(client_hdl != NULL, ESP_ERR_INVALID_ARG); in usb_host_client_unblock()
783 client_t *client_obj = (client_t *)client_hdl; in usb_host_client_unblock()
794 esp_err_t usb_host_device_open(usb_host_client_handle_t client_hdl, uint8_t dev_addr, usb_device_ha… in usb_host_device_open() argument
[all …]
/hal_espressif-3.6.0/docs/en/api-reference/peripherals/
Dusb_host.rst231 usb_host_client_handle_t client_hdl;
274 usb_host_client_register(&client_config, &class_driver_obj.client_hdl);
283 usb_host_client_handle_events(class_driver_obj.client_hdl, portMAX_DELAY);
287 …usb_host_device_open(class_driver_obj.client_hdl, class_driver_obj.dev_addr, &class_driver_obj.dev…
288 … usb_host_interface_claim(class_driver_obj.client_hdl, class_driver_obj.dev_hdl, 1, 0);
302 … usb_host_interface_release(class_driver_obj.client_hdl, class_driver_obj.dev_hdl, 1);
303 usb_host_device_close(class_driver_obj.client_hdl, class_driver_obj.dev_hdl);
311 usb_host_client_deregister(class_driver_obj.client_hdl);