Lines Matching refs:ph

50 				usba_pipe_handle_data_t	*ph,
54 usba_pipe_handle_data_t *ph,
58 usba_pipe_handle_data_t *ph);
79 usba_pipe_handle_data_t *ph,
120 usba_pipe_handle_data_t *ph,
131 usba_pipe_handle_data_t *ph,
137 usba_pipe_handle_data_t *ph,
142 usba_pipe_handle_data_t *ph,
146 usba_pipe_handle_data_t *ph,
150 usba_pipe_handle_data_t *ph);
153 usba_pipe_handle_data_t *ph,
163 usba_pipe_handle_data_t *ph,
196 usba_pipe_handle_data_t *ph);
247 usba_pipe_handle_data_t *ph);
261 usba_pipe_handle_data_t *ph);
270 usba_pipe_handle_data_t *ph);
273 usba_pipe_handle_data_t *ph);
286 usba_pipe_handle_data_t *ph,
305 usba_pipe_handle_data_t *ph, in ehci_alloc_qh() argument
312 "ehci_alloc_qh: ph = 0x%p flag = 0x%x", (void *)ph, flag); in ehci_alloc_qh()
320 if (ph) { in ehci_alloc_qh()
321 if (EHCI_ISOC_ENDPOINT((&ph->p_ep))) { in ehci_alloc_qh()
363 if (ph) { in ehci_alloc_qh()
372 ehci_unpack_endpoint(ehcip, ph, qh); in ehci_alloc_qh()
403 usba_pipe_handle_data_t *ph, in ehci_unpack_endpoint() argument
406 usb_ep_descr_t *endpoint = &ph->p_ep; in ehci_unpack_endpoint()
410 usba_device_t *usba_device = ph->p_usba_device; in ehci_unpack_endpoint()
411 ehci_pipe_private_t *pp = (ehci_pipe_private_t *)ph->p_hcd_private; in ehci_unpack_endpoint()
535 usba_pipe_handle_data_t *ph) in ehci_insert_qh() argument
537 ehci_pipe_private_t *pp = (ehci_pipe_private_t *)ph->p_hcd_private; in ehci_insert_qh()
544 switch (ph->p_ep.bmAttributes & USB_EP_ATTR_MASK) { in ehci_insert_qh()
850 usba_pipe_handle_data_t *ph = pp->pp_pipe_handle; in ehci_halt_hs_qh() local
874 ehci_insert_qh(ehcip, ph); in ehci_halt_hs_qh()
890 usba_pipe_handle_data_t *ph = pp->pp_pipe_handle; in ehci_halt_fls_ctrl_and_bulk_qh() local
922 ehci_clear_tt_buffer(ehcip, ph, qh); in ehci_halt_fls_ctrl_and_bulk_qh()
926 ehci_insert_qh(ehcip, ph); in ehci_halt_fls_ctrl_and_bulk_qh()
940 usba_pipe_handle_data_t *ph, in ehci_clear_tt_buffer() argument
958 usba_device = ph->p_usba_device; in ehci_clear_tt_buffer()
959 eptd = &ph->p_ep; in ehci_clear_tt_buffer()
1512 usba_pipe_handle_data_t *ph, in ehci_insert_ctrl_req() argument
1517 ehci_pipe_private_t *pp = (ehci_pipe_private_t *)ph->p_hcd_private; in ehci_insert_ctrl_req()
1695 usba_pipe_handle_data_t *ph, in ehci_insert_bulk_req() argument
1700 ehci_pipe_private_t *pp = (ehci_pipe_private_t *)ph->p_hcd_private; in ehci_insert_bulk_req()
1713 pipe_dir = ph->p_ep.bEndpointAddress & USB_EP_DIR_MASK; in ehci_insert_bulk_req()
1791 usba_pipe_handle_data_t *ph, in ehci_start_periodic_pipe_polling() argument
1795 ehci_pipe_private_t *pp = (ehci_pipe_private_t *)ph->p_hcd_private; in ehci_start_periodic_pipe_polling()
1796 usb_ep_descr_t *eptd = &ph->p_ep; in ehci_start_periodic_pipe_polling()
1801 ph->p_ep.bEndpointAddress & USB_EP_NUM_MASK); in ehci_start_periodic_pipe_polling()
1808 if ((ph->p_usba_device->usb_addr == ROOT_HUB_ADDR) && in ehci_start_periodic_pipe_polling()
1812 error = ehci_handle_root_hub_pipe_start_intr_polling(ph, in ehci_start_periodic_pipe_polling()
1828 error = ehci_start_pipe_polling(ehcip, ph, flags); in ehci_start_periodic_pipe_polling()
1898 usba_pipe_handle_data_t *ph, in ehci_start_pipe_polling() argument
1901 ehci_pipe_private_t *pp = (ehci_pipe_private_t *)ph->p_hcd_private; in ehci_start_pipe_polling()
1902 usb_ep_descr_t *eptd = &ph->p_ep; in ehci_start_pipe_polling()
1921 ehci_set_periodic_pipe_polling(ehcip, ph); in ehci_start_pipe_polling()
1928 error = ehci_start_intr_polling(ehcip, ph, flags); in ehci_start_pipe_polling()
1931 error = ehci_start_isoc_polling(ehcip, ph, flags); in ehci_start_pipe_polling()
1941 usba_pipe_handle_data_t *ph, in ehci_start_intr_polling() argument
1944 ehci_pipe_private_t *pp = (ehci_pipe_private_t *)ph->p_hcd_private; in ehci_start_intr_polling()
1953 tw = ehci_allocate_intr_resources(ehcip, ph, NULL, flags); in ehci_start_intr_polling()
2010 usba_pipe_handle_data_t *ph) in ehci_set_periodic_pipe_polling() argument
2012 ehci_pipe_private_t *pp = (ehci_pipe_private_t *)ph->p_hcd_private; in ehci_set_periodic_pipe_polling()
2013 usb_ep_descr_t *endpoint = &ph->p_ep; in ehci_set_periodic_pipe_polling()
2042 mutex_enter(&ph->p_usba_device->usb_mutex); in ehci_set_periodic_pipe_polling()
2050 ph->p_usba_device->usb_port_status); in ehci_set_periodic_pipe_polling()
2052 mutex_exit(&ph->p_usba_device->usb_mutex); in ehci_set_periodic_pipe_polling()
2082 usba_pipe_handle_data_t *ph, in ehci_allocate_intr_resources() argument
2086 ehci_pipe_private_t *pp = (ehci_pipe_private_t *)ph->p_hcd_private; in ehci_allocate_intr_resources()
2097 pipe_dir = ph->p_ep.bEndpointAddress & USB_EP_DIR_MASK; in ehci_allocate_intr_resources()
2107 ph->p_ep.wMaxPacketSize; in ehci_allocate_intr_resources()
2199 usba_pipe_handle_data_t *ph, in ehci_stop_periodic_pipe_polling() argument
2202 ehci_pipe_private_t *pp = (ehci_pipe_private_t *)ph->p_hcd_private; in ehci_stop_periodic_pipe_polling()
2203 usb_ep_descr_t *eptd = &ph->p_ep; in ehci_stop_periodic_pipe_polling()
2213 if ((ph->p_usba_device->usb_addr == ROOT_HUB_ADDR) && in ehci_stop_periodic_pipe_polling()
2217 ehci_handle_root_hub_pipe_stop_intr_polling(ph, flags); in ehci_stop_periodic_pipe_polling()
2234 ehci_pipe_cleanup(ehcip, ph); in ehci_stop_periodic_pipe_polling()
2655 usba_pipe_handle_data_t *ph) in ehci_traverse_qtds() argument
2657 ehci_pipe_private_t *pp = (ehci_pipe_private_t *)ph->p_hcd_private; in ehci_traverse_qtds()
3229 usba_pipe_handle_data_t *ph = (usba_pipe_handle_data_t *)arg; in ehci_xfer_timeout_handler() local
3231 ph->p_usba_device->usb_root_hub_dip); in ehci_xfer_timeout_handler()
3232 ehci_pipe_private_t *pp = (ehci_pipe_private_t *)ph->p_hcd_private; in ehci_xfer_timeout_handler()
3239 (void *)ehcip, (void *)ph); in ehci_xfer_timeout_handler()
3482 usba_pipe_handle_data_t *ph) in ehci_free_dma_resources() argument
3484 ehci_pipe_private_t *pp = (ehci_pipe_private_t *)ph->p_hcd_private; in ehci_free_dma_resources()
3489 "ehci_free_dma_resources: ph = 0x%p", (void *)ph); in ehci_free_dma_resources()
3573 usba_pipe_handle_data_t *ph = pp->pp_pipe_handle; in ehci_allocate_intr_in_resource() local
3600 curr_intr_reqp = usba_hcdi_dup_intr_req(ph->p_dip, in ehci_allocate_intr_in_resource()
3603 curr_intr_reqp = usb_alloc_intr_req(ph->p_dip, length, flags); in ehci_allocate_intr_in_resource()
3618 curr_intr_reqp->intr_len = ph->p_ep.wMaxPacketSize; in ehci_allocate_intr_in_resource()
3628 mutex_enter(&ph->p_mutex); in ehci_allocate_intr_in_resource()
3629 ph->p_req_count++; in ehci_allocate_intr_in_resource()
3630 mutex_exit(&ph->p_mutex); in ehci_allocate_intr_in_resource()
3645 usba_pipe_handle_data_t *ph) in ehci_pipe_cleanup() argument
3647 ehci_pipe_private_t *pp = (ehci_pipe_private_t *)ph->p_hcd_private; in ehci_pipe_cleanup()
3650 usb_ep_descr_t *eptd = &ph->p_ep; in ehci_pipe_cleanup()
3653 "ehci_pipe_cleanup: ph = 0x%p", (void *)ph); in ehci_pipe_cleanup()
3658 ehci_isoc_pipe_cleanup(ehcip, ph); in ehci_pipe_cleanup()
3682 ehci_save_data_toggle(ehcip, ph); in ehci_pipe_cleanup()
3689 ehci_traverse_qtds(ehcip, ph); in ehci_pipe_cleanup()
3698 ehci_free_dma_resources(ehcip, ph); in ehci_pipe_cleanup()
3712 ehci_restore_data_toggle(ehcip, ph); in ehci_pipe_cleanup()
3731 ((ph->p_ep.bEndpointAddress & USB_EP_DIR_MASK) == in ehci_pipe_cleanup()
3869 usba_pipe_handle_data_t *ph) in ehci_save_data_toggle() argument
3871 ehci_pipe_private_t *pp = (ehci_pipe_private_t *)ph->p_hcd_private; in ehci_save_data_toggle()
3872 usb_ep_descr_t *eptd = &ph->p_ep; in ehci_save_data_toggle()
3879 "ehci_save_data_toggle: ph = 0x%p", (void *)ph); in ehci_save_data_toggle()
3909 mutex_enter(&ph->p_mutex); in ehci_save_data_toggle()
3910 usba_hcdi_set_data_toggle(ph->p_usba_device, ph->p_ep.bEndpointAddress, in ehci_save_data_toggle()
3912 mutex_exit(&ph->p_mutex); in ehci_save_data_toggle()
3924 usba_pipe_handle_data_t *ph) in ehci_restore_data_toggle() argument
3926 ehci_pipe_private_t *pp = (ehci_pipe_private_t *)ph->p_hcd_private; in ehci_restore_data_toggle()
3927 usb_ep_descr_t *eptd = &ph->p_ep; in ehci_restore_data_toggle()
3932 "ehci_restore_data_toggle: ph = 0x%p", (void *)ph); in ehci_restore_data_toggle()
3943 mutex_enter(&ph->p_mutex); in ehci_restore_data_toggle()
3945 data_toggle = usba_hcdi_get_data_toggle(ph->p_usba_device, in ehci_restore_data_toggle()
3946 ph->p_ep.bEndpointAddress); in ehci_restore_data_toggle()
3947 usba_hcdi_set_data_toggle(ph->p_usba_device, ph->p_ep.bEndpointAddress, in ehci_restore_data_toggle()
3950 mutex_exit(&ph->p_mutex); in ehci_restore_data_toggle()
3979 usba_pipe_handle_data_t *ph = pp->pp_pipe_handle; in ehci_handle_outstanding_requests() local
3980 usb_ep_descr_t *eptd = &ph->p_ep; in ehci_handle_outstanding_requests()
4012 ehci_hcdi_callback(ph, curr_tw, USB_CR_FLUSHED); in ehci_handle_outstanding_requests()
4030 usba_pipe_handle_data_t *ph = pp->pp_pipe_handle; in ehci_deallocate_intr_in_resource() local
4031 uchar_t ep_attr = ph->p_ep.bmAttributes; in ehci_deallocate_intr_in_resource()
4049 mutex_enter(&ph->p_mutex); in ehci_deallocate_intr_in_resource()
4050 ph->p_req_count--; in ehci_deallocate_intr_in_resource()
4051 mutex_exit(&ph->p_mutex); in ehci_deallocate_intr_in_resource()
4073 usba_pipe_handle_data_t *ph = pp->pp_pipe_handle; in ehci_do_client_periodic_in_req_callback() local
4074 usb_ep_descr_t *eptd = &ph->p_ep; in ehci_do_client_periodic_in_req_callback()
4090 ehci_hcdi_isoc_callback(ph, NULL, completion_reason); in ehci_do_client_periodic_in_req_callback()
4092 ehci_hcdi_callback(ph, NULL, completion_reason); in ehci_do_client_periodic_in_req_callback()
4105 usba_pipe_handle_data_t *ph, in ehci_hcdi_callback() argument
4110 ph->p_usba_device->usb_root_hub_dip); in ehci_hcdi_callback()
4111 ehci_pipe_private_t *pp = (ehci_pipe_private_t *)ph->p_hcd_private; in ehci_hcdi_callback()
4117 (void *)ph, (void *)tw, completion_reason); in ehci_hcdi_callback()
4158 usba_hcdi_cb(ph, curr_xfer_reqp, completion_reason); in ehci_hcdi_callback()