Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/usb/
Dusb_host.c368 host_lib_t *host_lib_obj = heap_caps_calloc(1, sizeof(host_lib_t), MALLOC_CAP_DEFAULT); in usb_host_install() local
371 if (host_lib_obj == NULL || event_sem == NULL || mux_lock == NULL) { in usb_host_install()
376 TAILQ_INIT(&host_lib_obj->mux_protected.client_tailq); in usb_host_install()
377 host_lib_obj->constant.event_sem = event_sem; in usb_host_install()
378 host_lib_obj->constant.mux_lock = mux_lock; in usb_host_install()
389 ret = usb_new_phy(&phy_config, &host_lib_obj->constant.phy_handle); in usb_host_install()
427 p_host_lib_obj = host_lib_obj; in usb_host_install()
451 heap_caps_free(host_lib_obj); in usb_host_install()
473 host_lib_t *host_lib_obj = p_host_lib_obj; in usb_host_uninstall() local
478 if (host_lib_obj->constant.phy_handle) { in usb_host_uninstall()
[all …]