Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/usb/test/hcd/
Dtest_hcd_port.c146 TEST_ASSERT_NOT_EQUAL(ESP_OK, hcd_port_command(port_hdl, HCD_PORT_CMD_SUSPEND));
154 TEST_ASSERT_EQUAL(ESP_OK, hcd_port_command(port_hdl, HCD_PORT_CMD_SUSPEND));
160 TEST_ASSERT_EQUAL(ESP_OK, hcd_port_command(port_hdl, HCD_PORT_CMD_RESUME));
223 TEST_ASSERT_EQUAL(ESP_OK, hcd_port_command(port_hdl, HCD_PORT_CMD_DISABLE));
296 TEST_ASSERT_EQUAL(ESP_OK, hcd_port_command(port_hdl, HCD_PORT_CMD_SUSPEND));
302 TEST_ASSERT_EQUAL(ESP_ERR_INVALID_RESPONSE, hcd_port_command(port_hdl, HCD_PORT_CMD_RESUME));
Dtest_hcd_common.c181 TEST_ASSERT_EQUAL(ESP_OK, hcd_port_command(port_hdl, HCD_PORT_CMD_POWER_ON)); in test_hcd_wait_for_conn()
191 TEST_ASSERT_EQUAL(ESP_OK, hcd_port_command(port_hdl, HCD_PORT_CMD_RESET)); in test_hcd_wait_for_conn()
209 TEST_ASSERT_EQUAL(ESP_OK, hcd_port_command(port_hdl, HCD_PORT_CMD_DISABLE)); in test_hcd_wait_for_disconn()
219 TEST_ASSERT_EQUAL(ESP_OK, hcd_port_command(port_hdl, HCD_PORT_CMD_POWER_OFF)); in test_hcd_wait_for_disconn()
/hal_espressif-3.6.0/components/usb/
Dhub.c284 if (hcd_port_command(p_hub_driver_obj->constant.root_port_hdl, HCD_PORT_CMD_RESET) != ESP_OK) { in enum_stage_second_reset()
751 if (hcd_port_command(root_port_hdl, HCD_PORT_CMD_RESET) == ESP_OK) { in root_port_handle_events()
946 ret = hcd_port_command(p_hub_driver_obj->constant.root_port_hdl, HCD_PORT_CMD_POWER_ON); in hub_root_start()
962 ret = hcd_port_command(p_hub_driver_obj->constant.root_port_hdl, HCD_PORT_CMD_POWER_OFF); in hub_root_stop()
989 hcd_port_command(p_hub_driver_obj->constant.root_port_hdl, HCD_PORT_CMD_DISABLE); in hub_process()
998 …ESP_ERROR_CHECK(hcd_port_command(p_hub_driver_obj->constant.root_port_hdl, HCD_PORT_CMD_POWER_ON)); in hub_process()
Dmaintainers.md141 - `hcd_port_command()` is thread safe, but only one port command can be executed at any one time. T…
143 … should not be called from critical sections and interrupts (e.g., `hcd_port_command()` and `hcd_p…
Dhcd.c1374 esp_err_t hcd_port_command(hcd_port_handle_t port_hdl, hcd_port_cmd_t command) in hcd_port_command() function
/hal_espressif-3.6.0/components/usb/private_include/
Dhcd.h263 esp_err_t hcd_port_command(hcd_port_handle_t port_hdl, hcd_port_cmd_t command);