Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/usb/
Dhcd.c313 SemaphoreHandle_t port_mux; member
965 SemaphoreHandle_t port_mux = xSemaphoreCreateMutex(); in port_obj_alloc() local
966 if (port == NULL || hal == NULL || frame_list == NULL || port_mux == NULL) { in port_obj_alloc()
970 if (port_mux != NULL) { in port_obj_alloc()
971 vSemaphoreDelete(port_mux); in port_obj_alloc()
977 port->port_mux = port_mux; in port_obj_alloc()
986 vSemaphoreDelete(port->port_mux); in port_obj_free()
1378 xSemaphoreTake(port->port_mux, portMAX_DELAY); in hcd_port_command()
1411 xSemaphoreGive(port->port_mux); in hcd_port_command()
1446 xSemaphoreTake(port->port_mux, portMAX_DELAY); in hcd_port_handle_event()
[all …]