Home
last modified time | relevance | path

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

/hal_espressif-3.4.0/components/usb/test/hcd/
Dtest_hcd_common.c30 hcd_port_event_t port_event; member
50 static bool port_callback(hcd_port_handle_t port_hdl, hcd_port_event_t port_event, void *user_arg, … in port_callback() argument
58 .port_event = port_event, in port_callback()
104 TEST_ASSERT_EQUAL(expected_event, msg.port_event); in test_hcd_expect_port_event()
/hal_espressif-3.4.0/components/usb/
Dhub.c229 static bool root_port_callback(hcd_port_handle_t port_hdl, hcd_port_event_t port_event, void *user_…
700 static bool root_port_callback(hcd_port_handle_t port_hdl, hcd_port_event_t port_event, void *user_… in root_port_callback() argument
745 hcd_port_event_t port_event = hcd_port_handle_event(root_port_hdl); in root_port_handle_events() local
746 switch (port_event) { in root_port_handle_events()
Dhcd.c770 hcd_port_event_t port_event = HCD_PORT_EVENT_NONE; in _intr_hdlr_hprt() local
774 port_event = HCD_PORT_EVENT_CONNECTION; in _intr_hdlr_hprt()
779 port_event = HCD_PORT_EVENT_DISCONNECTION; in _intr_hdlr_hprt()
803 port_event = HCD_PORT_EVENT_ERROR; in _intr_hdlr_hprt()
814 port_event = HCD_PORT_EVENT_OVERCURRENT; in _intr_hdlr_hprt()
824 return port_event; in _intr_hdlr_hprt()
940 hcd_port_event_t port_event = _intr_hdlr_hprt(port, hal_port_evt, &yield); in intr_hdlr_main() local
941 if (port_event != HCD_PORT_EVENT_NONE) { in intr_hdlr_main()
942 port->last_event = port_event; in intr_hdlr_main()
946 … yield |= port->callback((hcd_port_handle_t)port, port_event, port->callback_arg, true); in intr_hdlr_main()
/hal_espressif-3.4.0/components/usb/private_include/
Dhcd.h131 typedef bool (*hcd_port_callback_t)(hcd_port_handle_t port_hdl, hcd_port_event_t port_event, void *…