Lines Matching refs:s_hcd_obj
327 static hcd_obj_t *s_hcd_obj = NULL; //Note: "s_" is for the static pointer variable
997 HCD_CHECK_FROM_CRIT(s_hcd_obj == NULL, ESP_ERR_INVALID_STATE); in hcd_install()
1023 if (s_hcd_obj != NULL) { in hcd_install()
1028 s_hcd_obj = p_hcd_obj_dmy; in hcd_install()
1045 if (s_hcd_obj == NULL || s_hcd_obj->port_obj->initialized) { in hcd_uninstall()
1049 hcd_obj_t *p_hcd_obj_dmy = s_hcd_obj; in hcd_uninstall()
1050 s_hcd_obj = NULL; in hcd_uninstall()
1332 …HCD_CHECK_FROM_CRIT(s_hcd_obj != NULL && !s_hcd_obj->port_obj->initialized, ESP_ERR_INVALID_STATE); in hcd_port_init()
1334 port_t *port_obj = s_hcd_obj->port_obj; in hcd_port_init()
1348 esp_intr_enable(s_hcd_obj->isr_hdl); in hcd_port_init()
1361 HCD_CHECK_FROM_CRIT(s_hcd_obj != NULL && port->initialized in hcd_port_deinit()
1367 esp_intr_disable(s_hcd_obj->isr_hdl); in hcd_port_deinit()
1481 …HCD_CHECK_FROM_CRIT(s_hcd_obj != NULL && port->initialized && port->state == HCD_PORT_STATE_RECOVE… in hcd_port_recover()
1486 esp_intr_disable(s_hcd_obj->isr_hdl); in hcd_port_recover()
1495 esp_intr_enable(s_hcd_obj->isr_hdl); in hcd_port_recover()