Lines Matching refs:root_port_hdl

184         hcd_port_handle_t root_port_hdl;  member
263 if (hcd_port_get_speed(p_hub_driver_obj->constant.root_port_hdl, &speed) != ESP_OK) { in enum_stage_start()
271 …if (usbh_hub_add_dev(p_hub_driver_obj->constant.root_port_hdl, speed, &enum_dev_hdl, &enum_dflt_pi… in enum_stage_start()
284 if (hcd_port_command(p_hub_driver_obj->constant.root_port_hdl, HCD_PORT_CMD_RESET) != ESP_OK) { in enum_stage_second_reset()
721 assert(port_hdl == p_hub_driver_obj->constant.root_port_hdl); in usbh_hub_req_callback()
743 static void root_port_handle_events(hcd_port_handle_t root_port_hdl) in root_port_handle_events() argument
745 hcd_port_event_t port_event = hcd_port_handle_event(root_port_hdl); in root_port_handle_events()
751 if (hcd_port_command(root_port_hdl, HCD_PORT_CMD_RESET) == ESP_OK) { in root_port_handle_events()
898 hub_driver_obj->constant.root_port_hdl = port_hdl; in hub_install()
931 ESP_ERROR_CHECK(hcd_port_deinit(hub_driver_obj->constant.root_port_hdl)); in hub_uninstall()
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()
986 root_port_handle_events(p_hub_driver_obj->constant.root_port_hdl); in hub_process()
989 hcd_port_command(p_hub_driver_obj->constant.root_port_hdl, HCD_PORT_CMD_DISABLE); in hub_process()
997 ESP_ERROR_CHECK(hcd_port_recover(p_hub_driver_obj->constant.root_port_hdl)); 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()