Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/usb/
Dhub.c876 hub_driver_t *hub_driver_obj = heap_caps_calloc(1, sizeof(hub_driver_t), MALLOC_CAP_DEFAULT); in hub_install() local
878 if (hub_driver_obj == NULL || enum_urb == NULL) { in hub_install()
895 hub_driver_obj->dynamic.driver_state = HUB_DRIVER_STATE_INSTALLED; in hub_install()
896 hub_driver_obj->single_thread.enum_ctrl.stage = ENUM_STAGE_NONE; in hub_install()
897 hub_driver_obj->single_thread.enum_ctrl.urb = enum_urb; in hub_install()
898 hub_driver_obj->constant.root_port_hdl = port_hdl; in hub_install()
899 hub_driver_obj->constant.notif_cb = hub_config->notif_cb; in hub_install()
900 hub_driver_obj->constant.notif_cb_arg = hub_config->notif_cb_arg; in hub_install()
907 p_hub_driver_obj = hub_driver_obj; in hub_install()
918 heap_caps_free(hub_driver_obj); in hub_install()
[all …]