Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/io/usb/usba/
H A Dusbai_pipe_mgmt.c88 usba_ph_impl_t *ph_impl = (usba_ph_impl_t *)pipe_handle; in usba_get_dip() local
91 if (ph_impl) { in usba_get_dip()
92 mutex_enter(&ph_impl->usba_ph_mutex); in usba_get_dip()
93 dip = ph_impl->usba_ph_dip; in usba_get_dip()
94 mutex_exit(&ph_impl->usba_ph_mutex); in usba_get_dip()
118 usba_ph_impl_t *ph_impl = (usba_ph_impl_t *)pipe_handle; in usba_get_ph_data() local
121 if (ph_impl) { in usba_get_ph_data()
122 mutex_enter(&ph_impl->usba_ph_mutex); in usba_get_ph_data()
123 ASSERT(ph_impl->usba_ph_ref_count >= 0); in usba_get_ph_data()
124 ph_data = ph_impl->usba_ph_data; in usba_get_ph_data()
[all …]
H A Dhcdi.c595 usba_ph_impl_t *ph_impl = ph_data->p_ph_impl; in hcdi_cb_thread() local
609 mutex_enter(&ph_impl->usba_ph_mutex); in hcdi_cb_thread()
610 ph_impl->usba_ph_ref_count++; in hcdi_cb_thread()
614 ph_impl->usba_ph_ref_count); in hcdi_cb_thread()
616 mutex_exit(&ph_impl->usba_ph_mutex); in hcdi_cb_thread()
638 usba_release_ph_data(ph_impl); in hcdi_cb_thread()
759 usba_ph_impl_t *ph_impl = ph_data->p_ph_impl; in hcdi_shared_cb_thread() local
767 mutex_enter(&ph_impl->usba_ph_mutex); in hcdi_shared_cb_thread()
768 ph_impl->usba_ph_ref_count++; in hcdi_shared_cb_thread()
772 (void *)ph_data, ph_impl->usba_ph_ref_count, (void *)req_wrp); in hcdi_shared_cb_thread()
[all …]
H A Dusbai_req.c1810 usba_ph_impl_t *ph_impl = (usba_ph_impl_t *)pipe_handle; in usb_pipe_intr_xfer() local
1848 mutex_enter(&ph_impl->usba_ph_mutex); in usb_pipe_intr_xfer()
1849 if (ph_impl->usba_ph_state_changing > 0) { in usb_pipe_intr_xfer()
1850 mutex_exit(&ph_impl->usba_ph_mutex); in usb_pipe_intr_xfer()
1861 mutex_exit(&ph_impl->usba_ph_mutex); in usb_pipe_intr_xfer()
1940 usba_ph_impl_t *ph_impl, in usba_pipe_sync_stop_intr_polling() argument
1951 ph_data = usba_get_ph_data((usb_pipe_handle_t)ph_impl); in usba_pipe_sync_stop_intr_polling()
1953 usba_release_ph_data(ph_impl); in usba_pipe_sync_stop_intr_polling()
1969 usba_release_ph_data(ph_impl); in usba_pipe_sync_stop_intr_polling()
1979 usba_release_ph_data(ph_impl); in usba_pipe_sync_stop_intr_polling()
[all …]
H A Dusbai_util.c554 usba_ph_impl_t *ph_impl, in usba_sync_set_cfg() argument
582 usba_release_ph_data(ph_impl); in usba_sync_set_cfg()
596 usba_release_ph_data(ph_impl); in usba_sync_set_cfg()
616 usba_release_ph_data(ph_impl); in usba_sync_set_cfg()
628 rval = usb_pipe_sync_ctrl_xfer(dip, (usb_pipe_handle_t)ph_impl, in usba_sync_set_cfg()
662 usba_release_ph_data(ph_impl); in usba_sync_set_cfg()
918 usba_ph_impl_t *ph_impl, in usba_sync_set_alt_if() argument
929 (usb_pipe_handle_t)ph_impl); in usba_sync_set_alt_if()
1591 usba_ph_impl_t *ph_impl, in usba_sync_clear_feature() argument
1610 (void *)dip, (void *)ph_impl, type, feature, what, usb_flags); in usba_sync_clear_feature()
[all …]
H A Dusba.c3106 usba_ph_impl_t *ph_impl = in usba_check_for_leaks() local
3108 if (ph_impl->usba_ph_data) { in usba_check_for_leaks()
3112 ddi_driver_name(ph_impl->usba_ph_data->p_dip), in usba_check_for_leaks()
3113 ddi_get_instance(ph_impl->usba_ph_data->p_dip), in usba_check_for_leaks()
3114 (void *)ph_impl, in usba_check_for_leaks()
3115 (void *)ph_impl->usba_ph_data, in usba_check_for_leaks()
3116 ph_impl->usba_ph_ep.bEndpointAddress); in usba_check_for_leaks()
3120 usb_pipe_close(ph_impl->usba_ph_data->p_dip, in usba_check_for_leaks()
3121 (usb_pipe_handle_t)ph_impl, USB_FLAGS_SLEEP, in usba_check_for_leaks()
/titanic_41/usr/src/cmd/mdb/common/modules/usba/
H A Dusb.c308 usba_ph_impl_t ph_impl; in usb_pipe_handle() local
322 if (mdb_vread(&ph_impl, sizeof (usba_ph_impl_t), in usb_pipe_handle()
326 switch (ph_impl.usba_ph_state) { in usb_pipe_handle()
/titanic_41/usr/src/uts/common/sys/usb/usba/
H A Dusba_impl.h65 struct usba_ph_impl *ph_impl; member