Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/usb/hcd/xhci/
H A Dxhci_usba.c68 mutex_enter(&xhcip->xhci_lock); in xhci_hcdi_pipe_open()
70 mutex_exit(&xhcip->xhci_lock); in xhci_hcdi_pipe_open()
73 mutex_exit(&xhcip->xhci_lock); in xhci_hcdi_pipe_open()
120 mutex_enter(&xhcip->xhci_lock); in xhci_hcdi_pipe_open()
126 mutex_exit(&xhcip->xhci_lock); in xhci_hcdi_pipe_open()
148 mutex_exit(&xhcip->xhci_lock); in xhci_hcdi_pipe_open()
163 mutex_exit(&xhcip->xhci_lock); in xhci_hcdi_pipe_open()
185 mutex_exit(&xhcip->xhci_lock); in xhci_hcdi_pipe_open()
201 mutex_exit(&xhcip->xhci_lock); in xhci_hcdi_pipe_open()
204 mutex_enter(&xhcip->xhci_lock); in xhci_hcdi_pipe_open()
[all …]
H A Dxhci_polled.c69 ASSERT(mutex_owned(&xhcip->xhci_lock)); in xhci_polled_init()
237 mutex_exit(&xhcip->xhci_lock); in xhci_polled_event_process()
239 mutex_enter(&xhcip->xhci_lock); in xhci_polled_event_process()
271 mutex_enter(&xhcip->xhci_lock); in xhci_hcdi_console_input_init()
275 mutex_exit(&xhcip->xhci_lock); in xhci_hcdi_console_input_init()
282 mutex_exit(&xhcip->xhci_lock); in xhci_hcdi_console_input_init()
313 if (mutex_tryenter(&xhcip->xhci_lock) == 0) in xhci_hcdi_console_input_enter()
322 mutex_exit(&xhcip->xhci_lock); in xhci_hcdi_console_input_enter()
333 mutex_exit(&xhcip->xhci_lock); in xhci_hcdi_console_input_enter()
344 mutex_exit(&xhcip->xhci_lock); in xhci_hcdi_console_input_enter()
[all …]
H A Dxhci_endpoint.c88 mutex_exit(&xhcip->xhci_lock); in xhci_endpoint_timeout_cancel()
90 mutex_enter(&xhcip->xhci_lock); in xhci_endpoint_timeout_cancel()
110 VERIFY(MUTEX_HELD(&xhcip->xhci_lock)); in xhci_endpoint_close()
134 VERIFY(MUTEX_HELD(&xhcip->xhci_lock)); in xhci_endpoint_unconfigure()
157 mutex_exit(&xhcip->xhci_lock); in xhci_endpoint_unconfigure()
168 mutex_enter(&xhcip->xhci_lock); in xhci_endpoint_unconfigure()
726 ASSERT(MUTEX_HELD(&xhcip->xhci_lock)); in xhci_endpoint_init()
787 VERIFY(MUTEX_HELD(&xhcip->xhci_lock)); in xhci_endpoint_reopen()
834 VERIFY(MUTEX_HELD(&xhcip->xhci_lock)); in xhci_endpoint_serialize()
837 cv_wait(&xep->xep_state_cv, &xhcip->xhci_lock); in xhci_endpoint_serialize()
[all …]
H A Dxhci_hub.c159 ASSERT(MUTEX_HELD(&xhcip->xhci_lock)); in xhci_root_hub_get_device_status()
208 ASSERT(MUTEX_HELD(&xhcip->xhci_lock)); in xhci_root_hub_get_status()
231 ASSERT(MUTEX_HELD(&xhcip->xhci_lock)); in xhci_root_hub_get_descriptor()
250 ASSERT(MUTEX_HELD(&xhcip->xhci_lock)); in xhci_root_hub_handle_port_clear_feature()
331 ASSERT(MUTEX_HELD(&xhcip->xhci_lock)); in xhci_root_hub_handle_port_set_feature()
453 ASSERT(MUTEX_HELD(&xhcip->xhci_lock)); in xhci_root_hub_handle_port_get_status()
551 ASSERT(MUTEX_HELD(&xhcip->xhci_lock)); in xhci_root_hub_ctrl_req()
597 mutex_exit(&xhcip->xhci_lock); in xhci_root_hub_ctrl_req()
599 mutex_enter(&xhcip->xhci_lock); in xhci_root_hub_ctrl_req()
642 mutex_enter(&xhcip->xhci_lock); in xhci_root_hub_psc_callback()
[all …]
H A Dxhci_event.c196 mutex_enter(&xhcip->xhci_lock); in xhci_event_process()
198 mutex_exit(&xhcip->xhci_lock); in xhci_event_process()
201 mutex_exit(&xhcip->xhci_lock); in xhci_event_process()
H A Dxhci.c1826 if (mutex_owned(&xhcip->xhci_lock)) { in xhci_fm_runtime_reset()
1829 mutex_enter(&xhcip->xhci_lock); in xhci_fm_runtime_reset()
1846 mutex_exit(&xhcip->xhci_lock); in xhci_fm_runtime_reset()
1987 mutex_enter(&xhcip->xhci_lock); in xhci_cleanup()
1989 cv_wait(&xhcip->xhci_statecv, &xhcip->xhci_lock); in xhci_cleanup()
1990 mutex_exit(&xhcip->xhci_lock); in xhci_cleanup()
2009 mutex_destroy(&xhcip->xhci_lock); in xhci_cleanup()
2105 mutex_init(&xhcip->xhci_lock, NULL, MUTEX_DRIVER, in xhci_attach()
/illumos-gate/usr/src/uts/common/sys/usb/hcd/xhci/
H A Dxhci.h663 kmutex_t xhci_lock; member