/illumos-gate/usr/src/uts/common/io/usb/usba/ |
H A D | usbai_pipe_mgmt.c | 88 usba_ph_impl_t *ph_impl = (usba_ph_impl_t *)pipe_handle; local 91 if (ph_impl) { 92 mutex_enter(&ph_impl->usba_ph_mutex); 93 dip = ph_impl->usba_ph_dip; 94 mutex_exit(&ph_impl->usba_ph_mutex); 118 usba_ph_impl_t *ph_impl = (usba_ph_impl_t *)pipe_handle; local 121 if (ph_impl) { 122 mutex_enter(&ph_impl->usba_ph_mutex); 123 ASSERT(ph_impl->usba_ph_ref_count >= 0); 124 ph_data = ph_impl 156 usba_ph_impl_t *ph_impl = (usba_ph_impl_t *)pipe_handle; local 188 usba_release_ph_data(usba_ph_impl_t *ph_impl) argument 221 usba_ph_impl_t *ph_impl = ph_data->p_ph_impl; local 239 usba_ph_impl_t *ph_impl = ph_data->p_ph_impl; local 257 usba_ph_impl_t *ph_impl = ph_data->p_ph_impl; local 303 usba_pipe_setup_func_call( dev_info_t *dip, int (*sync_func)(dev_info_t *, usba_ph_impl_t *, usba_pipe_async_req_t *, usb_flags_t), usba_ph_impl_t *ph_impl, usb_opaque_t arg, usb_flags_t usb_flags, void (*callback)(usb_pipe_handle_t, usb_opaque_t, int, usb_cb_flags_t), usb_opaque_t callback_arg) argument 382 usba_ph_impl_t *ph_impl = request->ph_impl; local 430 usba_init_pipe_handle(dev_info_t *dip, usba_device_t *usba_device, usb_ep_descr_t *ep, usb_pipe_policy_t *pipe_policy, usba_ph_impl_t *ph_impl) argument 562 usba_ph_impl_t *ph_impl = ph_data->p_ph_impl; local 665 usba_ph_impl_t *ph_impl = ph_data->p_ph_impl; local 774 usba_ph_impl_t *ph_impl; local 960 usba_ph_impl_t *ph_impl = (usba_ph_impl_t *)pipe_handle; local 1047 usba_pipe_sync_close(dev_info_t *dip, usba_ph_impl_t *ph_impl, usba_pipe_async_req_t *request, usb_flags_t usb_flags) argument 1248 usba_ph_impl_t *ph_impl = (usba_ph_impl_t *)pipe_handle; local 1319 usba_pipe_sync_reset(dev_info_t *dip, usba_ph_impl_t *ph_impl, usba_pipe_async_req_t *request, usb_flags_t usb_flags) argument 1463 usba_ph_impl_t *ph_impl = (usba_ph_impl_t *)pipe_handle; local 1509 usba_pipe_sync_drain_reqs(dev_info_t *dip, usba_ph_impl_t *ph_impl, usba_pipe_async_req_t *request, usb_flags_t usb_flags) argument 1619 usba_ph_impl_t *ph_impl; local 1670 usba_ph_impl_t *ph_impl; local [all...] |
H A D | hcdi.c | 595 usba_ph_impl_t *ph_impl = ph_data->p_ph_impl; local 609 mutex_enter(&ph_impl->usba_ph_mutex); 610 ph_impl->usba_ph_ref_count++; 614 ph_impl->usba_ph_ref_count); 616 mutex_exit(&ph_impl->usba_ph_mutex); 638 usba_release_ph_data(ph_impl); 759 usba_ph_impl_t *ph_impl = ph_data->p_ph_impl; local 767 mutex_enter(&ph_impl->usba_ph_mutex); 768 ph_impl->usba_ph_ref_count++; 772 (void *)ph_data, ph_impl 801 usba_ph_impl_t *ph_impl = ph_data->p_ph_impl; local 970 usba_ph_impl_t *ph_impl; local 990 usba_ph_impl_t *ph_impl; local [all...] |
H A D | usbai_req.c | 1810 usba_ph_impl_t *ph_impl = (usba_ph_impl_t *)pipe_handle; local 1848 mutex_enter(&ph_impl->usba_ph_mutex); 1849 if (ph_impl->usba_ph_state_changing > 0) { 1850 mutex_exit(&ph_impl->usba_ph_mutex); 1861 mutex_exit(&ph_impl->usba_ph_mutex); 1940 usba_ph_impl_t *ph_impl, 1951 ph_data = usba_get_ph_data((usb_pipe_handle_t)ph_impl); 1953 usba_release_ph_data(ph_impl); 1969 usba_release_ph_data(ph_impl); 1979 usba_release_ph_data(ph_impl); 1939 usba_pipe_sync_stop_intr_polling(dev_info_t *dip, usba_ph_impl_t *ph_impl, usba_pipe_async_req_t *request, usb_flags_t flags) argument 2465 usba_pipe_sync_stop_isoc_polling(dev_info_t *dip, usba_ph_impl_t *ph_impl, usba_pipe_async_req_t *request, usb_flags_t flags) argument [all...] |
H A D | usbai_util.c | 554 usba_ph_impl_t *ph_impl, 582 usba_release_ph_data(ph_impl); 596 usba_release_ph_data(ph_impl); 616 usba_release_ph_data(ph_impl); 628 rval = usb_pipe_sync_ctrl_xfer(dip, (usb_pipe_handle_t)ph_impl, 662 usba_release_ph_data(ph_impl); 918 usba_ph_impl_t *ph_impl, 929 (usb_pipe_handle_t)ph_impl); 1591 usba_ph_impl_t *ph_impl, 1610 (void *)dip, (void *)ph_impl, typ 553 usba_sync_set_cfg(dev_info_t *dip, usba_ph_impl_t *ph_impl, usba_pipe_async_req_t *request, usb_flags_t flags) argument 917 usba_sync_set_alt_if(dev_info_t *dip, usba_ph_impl_t *ph_impl, usba_pipe_async_req_t *request, usb_flags_t flags) argument 1590 usba_sync_clear_feature(dev_info_t *dip, usba_ph_impl_t *ph_impl, usba_pipe_async_req_t *req, usb_flags_t usb_flags) argument [all...] |
H A D | usba.c | 3073 usba_ph_impl_t *ph_impl = local 3075 if (ph_impl->usba_ph_data) { 3079 ddi_driver_name(ph_impl->usba_ph_data->p_dip), 3080 ddi_get_instance(ph_impl->usba_ph_data->p_dip), 3081 (void *)ph_impl, 3082 (void *)ph_impl->usba_ph_data, 3083 ph_impl->usba_ph_ep.bEndpointAddress); 3087 usb_pipe_close(ph_impl->usba_ph_data->p_dip, 3088 (usb_pipe_handle_t)ph_impl, USB_FLAGS_SLEEP,
|
/illumos-gate/usr/src/cmd/mdb/common/modules/usba/ |
H A D | usb.c | 308 usba_ph_impl_t ph_impl; local 322 if (mdb_vread(&ph_impl, sizeof (usba_ph_impl_t), 326 switch (ph_impl.usba_ph_state) {
|
/illumos-gate/usr/src/uts/common/sys/usb/usba/ |
H A D | usba_impl.h | 65 struct usba_ph_impl *ph_impl; member in struct:usba_pipe_async_req
|