Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/usb/usba/
H A Dusbai_pipe_mgmt.c89 usba_ph_impl_t *ph_impl = (usba_ph_impl_t *)pipe_handle; in usba_get_dip() local
92 if (ph_impl) { in usba_get_dip()
93 mutex_enter(&ph_impl->usba_ph_mutex); in usba_get_dip()
94 dip = ph_impl->usba_ph_dip; in usba_get_dip()
95 mutex_exit(&ph_impl->usba_ph_mutex); in usba_get_dip()
119 usba_ph_impl_t *ph_impl = (usba_ph_impl_t *)pipe_handle; in usba_get_ph_data() local
122 if (ph_impl) { in usba_get_ph_data()
123 mutex_enter(&ph_impl->usba_ph_mutex); in usba_get_ph_data()
124 ASSERT(ph_impl->usba_ph_ref_count >= 0); in usba_get_ph_data()
125 ph_data = ph_impl->usba_ph_data; in usba_get_ph_data()
[all …]
H A Dhcdi.c609 usba_ph_impl_t *ph_impl = ph_data->p_ph_impl; in hcdi_cb_thread() local
623 mutex_enter(&ph_impl->usba_ph_mutex); in hcdi_cb_thread()
624 ph_impl->usba_ph_ref_count++; in hcdi_cb_thread()
628 ph_impl->usba_ph_ref_count); in hcdi_cb_thread()
630 mutex_exit(&ph_impl->usba_ph_mutex); in hcdi_cb_thread()
652 usba_release_ph_data(ph_impl); in hcdi_cb_thread()
773 usba_ph_impl_t *ph_impl = ph_data->p_ph_impl; in hcdi_shared_cb_thread() local
781 mutex_enter(&ph_impl->usba_ph_mutex); in hcdi_shared_cb_thread()
782 ph_impl->usba_ph_ref_count++; in hcdi_shared_cb_thread()
786 (void *)ph_data, ph_impl->usba_ph_ref_count, (void *)req_wrp); in hcdi_shared_cb_thread()
[all …]
H A Dusbai_req.c1815 usba_ph_impl_t *ph_impl = (usba_ph_impl_t *)pipe_handle; in usb_pipe_intr_xfer() local
1853 mutex_enter(&ph_impl->usba_ph_mutex); in usb_pipe_intr_xfer()
1854 if (ph_impl->usba_ph_state_changing > 0) { in usb_pipe_intr_xfer()
1855 mutex_exit(&ph_impl->usba_ph_mutex); in usb_pipe_intr_xfer()
1866 mutex_exit(&ph_impl->usba_ph_mutex); in usb_pipe_intr_xfer()
1945 usba_ph_impl_t *ph_impl, in usba_pipe_sync_stop_intr_polling() argument
1956 ph_data = usba_get_ph_data((usb_pipe_handle_t)ph_impl); in usba_pipe_sync_stop_intr_polling()
1958 usba_release_ph_data(ph_impl); in usba_pipe_sync_stop_intr_polling()
1974 usba_release_ph_data(ph_impl); in usba_pipe_sync_stop_intr_polling()
1984 usba_release_ph_data(ph_impl); in usba_pipe_sync_stop_intr_polling()
[all …]
H A Dusbai_util.c555 usba_ph_impl_t *ph_impl, in usba_sync_set_cfg() argument
583 usba_release_ph_data(ph_impl); in usba_sync_set_cfg()
597 usba_release_ph_data(ph_impl); in usba_sync_set_cfg()
617 usba_release_ph_data(ph_impl); in usba_sync_set_cfg()
629 rval = usb_pipe_sync_ctrl_xfer(dip, (usb_pipe_handle_t)ph_impl, in usba_sync_set_cfg()
663 usba_release_ph_data(ph_impl); in usba_sync_set_cfg()
919 usba_ph_impl_t *ph_impl, in usba_sync_set_alt_if() argument
930 (usb_pipe_handle_t)ph_impl); in usba_sync_set_alt_if()
1592 usba_ph_impl_t *ph_impl, in usba_sync_clear_feature() argument
1611 (void *)dip, (void *)ph_impl, type, feature, what, usb_flags); in usba_sync_clear_feature()
[all …]
H A Dusba.c3112 usba_ph_impl_t *ph_impl = in usba_check_for_leaks() local
3114 if (ph_impl->usba_ph_data) { in usba_check_for_leaks()
3118 ddi_driver_name(ph_impl->usba_ph_data->p_dip), in usba_check_for_leaks()
3119 ddi_get_instance(ph_impl->usba_ph_data->p_dip), in usba_check_for_leaks()
3120 (void *)ph_impl, in usba_check_for_leaks()
3121 (void *)ph_impl->usba_ph_data, in usba_check_for_leaks()
3122 ph_impl->usba_ph_ep.bEndpointAddress); in usba_check_for_leaks()
3126 usb_pipe_close(ph_impl->usba_ph_data->p_dip, in usba_check_for_leaks()
3127 (usb_pipe_handle_t)ph_impl, USB_FLAGS_SLEEP, in usba_check_for_leaks()
/illumos-gate/usr/src/cmd/mdb/common/modules/usba/
H A Dusb.c310 usba_ph_impl_t ph_impl; in usb_pipe_handle() local
324 if (mdb_vread(&ph_impl, sizeof (usba_ph_impl_t), in usb_pipe_handle()
328 switch (ph_impl.usba_ph_state) { in usb_pipe_handle()
/illumos-gate/usr/src/uts/common/sys/usb/usba/
H A Dusba_impl.h67 struct usba_ph_impl *ph_impl; member