/illumos-gate/usr/src/uts/common/io/usb/hcd/uhci/ |
H A D | uhcitgt.c | 78 usb_addr = ph->p_usba_device->usb_addr; in uhci_hcdi_pipe_open() 79 uhcip = uhci_obtain_state(ph->p_usba_device->usb_root_hub_dip); in uhci_hcdi_pipe_open() 281 ph->p_usba_device, ph->p_ep.bEndpointAddress); in uhci_hcdi_pipe_open() 309 uhcip = uhci_obtain_state(ph->p_usba_device->usb_root_hub_dip); in uhci_hcdi_pipe_close() 311 usb_addr = ph->p_usba_device->usb_addr; in uhci_hcdi_pipe_close() 454 ph->p_usba_device->usb_root_hub_dip); in uhci_hcdi_pipe_reset() 488 if (ph->p_usba_device->usb_addr == ROOT_HUB_ADDR) { in uhci_hcdi_pipe_reset() 589 ph->p_usba_device->usb_root_hub_dip); in uhci_hcdi_pipe_reset_data_toggle() 599 usba_hcdi_set_data_toggle(ph->p_usba_device, ph->p_ep.bEndpointAddress, in uhci_hcdi_pipe_reset_data_toggle() 617 ph->p_usba_device->usb_root_hub_dip); in uhci_hcdi_pipe_ctrl_xfer() [all …]
|
H A D | uhcipolled.c | 80 uhcip = uhci_obtain_state(ph->p_usba_device->usb_root_hub_dip); in uhci_hcdi_polled_input_init() 295 uhcip = uhci_obtain_state(ph->p_usba_device->usb_root_hub_dip); in uhci_hcdi_polled_output_init() 429 SetTD_devaddr(uhcip, td, ph->p_usba_device->usb_addr); in uhci_hcdi_polled_write() 817 mutex_enter(&ph->p_usba_device->usb_mutex); in uhci_polled_insert_td_on_qh() 818 if (ph->p_usba_device->usb_port_status == USBA_LOW_SPEED_DEV) { in uhci_polled_insert_td_on_qh() 826 SetTD_devaddr(uhcip, td, ph->p_usba_device->usb_addr); in uhci_polled_insert_td_on_qh() 832 mutex_exit(&ph->p_usba_device->usb_mutex); in uhci_polled_insert_td_on_qh()
|
H A D | uhciutil.c | 1007 mutex_enter(&pipe_handle->p_usba_device->usb_mutex); in uhci_allocate_bandwidth() 1010 pipe_handle->p_usba_device->usb_port_status); in uhci_allocate_bandwidth() 1011 mutex_exit(&pipe_handle->p_usba_device->usb_mutex); in uhci_allocate_bandwidth() 1040 mutex_enter(&pipe_handle->p_usba_device->usb_mutex); in uhci_allocate_bandwidth() 1042 pipe_handle->p_usba_device->usb_port_status); in uhci_allocate_bandwidth() 1043 mutex_exit(&pipe_handle->p_usba_device->usb_mutex); in uhci_allocate_bandwidth() 1171 mutex_enter(&pipe_handle->p_usba_device->usb_mutex); in uhci_deallocate_bandwidth() 1173 pipe_handle->p_usba_device->usb_port_status); in uhci_deallocate_bandwidth() 1174 mutex_exit(&pipe_handle->p_usba_device->usb_mutex); in uhci_deallocate_bandwidth() 1190 mutex_enter(&pipe_handle->p_usba_device->usb_mutex); in uhci_deallocate_bandwidth() [all …]
|
/illumos-gate/usr/src/uts/common/io/usb/hcd/ehci/ |
H A D | ehci.c | 797 ph->p_usba_device->usb_root_hub_dip); in ehci_hcdi_pipe_open() 809 ph->p_usba_device->usb_addr, in ehci_hcdi_pipe_open() 824 if (ph->p_usba_device->usb_addr == ROOT_HUB_ADDR) { in ehci_hcdi_pipe_open() 1022 ph->p_usba_device->usb_root_hub_dip); in ehci_hcdi_pipe_close() 1029 ph->p_usba_device->usb_addr, in ehci_hcdi_pipe_close() 1033 if (ph->p_usba_device->usb_addr == ROOT_HUB_ADDR) { in ehci_hcdi_pipe_close() 1105 ph->p_usba_device->usb_root_hub_dip); in ehci_hcdi_pipe_reset() 1115 if (ph->p_usba_device->usb_addr == ROOT_HUB_ADDR) { in ehci_hcdi_pipe_reset() 1141 ph->p_usba_device->usb_root_hub_dip); in ehci_hcdi_pipe_reset_data_toggle() 1150 usba_hcdi_set_data_toggle(ph->p_usba_device, ph->p_ep.bEndpointAddress, in ehci_hcdi_pipe_reset_data_toggle() [all …]
|
H A D | ehci_hub.c | 314 ph->p_usba_device->usb_root_hub_dip); in ehci_handle_root_hub_pipe_open() 377 ph->p_usba_device->usb_root_hub_dip); in ehci_handle_root_hub_pipe_close() 446 ph->p_usba_device->usb_root_hub_dip); in ehci_handle_root_hub_pipe_reset() 1447 ph->p_usba_device->usb_root_hub_dip); in ehci_handle_root_hub_pipe_start_intr_polling() 1530 ph->p_usba_device->usb_root_hub_dip); in ehci_handle_root_hub_pipe_stop_intr_polling() 2057 ph->p_usba_device->usb_root_hub_dip); in ehci_root_hub_hcdi_callback()
|
H A D | ehci_xfer.c | 410 usba_device_t *usba_device = ph->p_usba_device; in ehci_unpack_endpoint() 958 usba_device = ph->p_usba_device; in ehci_clear_tt_buffer() 1808 if ((ph->p_usba_device->usb_addr == ROOT_HUB_ADDR) && in ehci_start_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() 2213 if ((ph->p_usba_device->usb_addr == ROOT_HUB_ADDR) && in ehci_stop_periodic_pipe_polling() 3231 ph->p_usba_device->usb_root_hub_dip); in ehci_xfer_timeout_handler() 3910 usba_hcdi_set_data_toggle(ph->p_usba_device, ph->p_ep.bEndpointAddress, in ehci_save_data_toggle() 3945 data_toggle = usba_hcdi_get_data_toggle(ph->p_usba_device, in ehci_restore_data_toggle() [all …]
|
H A D | ehci_util.c | 2171 if (ph->p_usba_device->usb_port_status != USBA_HIGH_SPEED_DEV) { in ehci_allocate_bandwidth() 2212 child_ud = ph->p_usba_device; in ehci_allocate_high_speed_bandwidth() 2217 port_status = ph->p_usba_device->usb_port_status; in ehci_allocate_high_speed_bandwidth() 2319 child_ud = ph->p_usba_device; in ehci_allocate_classic_tt_bandwidth() 2452 if (ph->p_usba_device->usb_port_status != USBA_HIGH_SPEED_DEV) { in ehci_deallocate_bandwidth() 2485 child_ud = ph->p_usba_device; in ehci_deallocate_high_speed_bandwidth() 2490 port_status = ph->p_usba_device->usb_port_status; in ehci_deallocate_high_speed_bandwidth() 2563 child_ud = ph->p_usba_device; in ehci_deallocate_classic_tt_bandwidth()
|
H A D | ehci_polled.c | 142 ehcip = ehci_obtain_state(ph->p_usba_device->usb_root_hub_dip); in ehci_hcdi_polled_input_init() 454 ehcip = ehci_obtain_state(ph->p_usba_device->usb_root_hub_dip); in ehci_hcdi_polled_output_init() 721 ehci_polledp->ehci_polled_usb_dev = ph->p_usba_device; in ehci_polled_init()
|
H A D | ehci_isoch.c | 1405 ph->p_usba_device->usb_root_hub_dip); in ehci_hcdi_isoc_callback()
|
H A D | ehci_isoch_util.c | 356 usba_device_t *usba_device = ph->p_usba_device; in ehci_allocate_itw()
|
/illumos-gate/usr/src/uts/common/io/usb/hcd/xhci/ |
H A D | xhci_usba.c | 42 return (xhci_hcdi_get_xhcip_from_dev(ph->p_usba_device)); in xhci_hcdi_get_xhcip() 95 if (ph->p_usba_device->usb_addr == ROOT_HUB_ADDR) { in xhci_hcdi_pipe_open() 106 xd = usba_hcdi_get_device_private(ph->p_usba_device); in xhci_hcdi_pipe_open() 384 if (ph->p_usba_device->usb_addr == ROOT_HUB_ADDR) { in xhci_hcdi_pipe_poll_fini() 391 xd = usba_hcdi_get_device_private(ph->p_usba_device); in xhci_hcdi_pipe_poll_fini() 520 if (ph->p_usba_device->usb_addr == ROOT_HUB_ADDR) in xhci_hcdi_pipe_close() 523 xd = usba_hcdi_get_device_private(ph->p_usba_device); in xhci_hcdi_pipe_close() 608 if (ph->p_usba_device->usb_addr == ROOT_HUB_ADDR) { in xhci_hcdi_pipe_reset() 613 xd = usba_hcdi_get_device_private(ph->p_usba_device); in xhci_hcdi_pipe_reset() 737 if (ph->p_usba_device->usb_addr == ROOT_HUB_ADDR) { in xhci_hcdi_pipe_ctrl_xfer() [all …]
|
H A D | xhci_polled.c | 269 xhcip = xhci_hcdi_get_xhcip_from_dev(pipe_handle->p_usba_device); in xhci_hcdi_console_input_init()
|
/illumos-gate/usr/src/uts/common/sys/usb/usba/ |
H A D | usba_types.h | 89 struct usba_device *p_usba_device; /* set on pipe open */ member 158 (ph)->p_usba_device->usb_ph_list[USBA_DEFAULT_PIPE_EP].usba_ph_data) 165 _NOTE(DATA_READABLE_WITHOUT_LOCK(usba_pipe_handle_data::p_usba_device))
|
/illumos-gate/usr/src/uts/common/io/usb/usba/ |
H A D | usbai_req.c | 165 ASSERT(ph_data->p_usba_device); in _usba_check_req() 167 if (ph_data->p_usba_device->usb_ph_list[0].usba_ph_data == NULL) { in _usba_check_req() 173 if (usba_check_in_list(&(ph_data->p_usba_device->usb_allocated), in _usba_check_req() 565 rval = ph_data->p_usba_device->usb_hcdi_ops-> in usba_start_next_req() 574 rval = ph_data->p_usba_device->usb_hcdi_ops-> in usba_start_next_req() 1143 usba_device = ph_data->p_usba_device; in usb_pipe_ctrl_xfer() 1539 usba_device = ph_data->p_usba_device; in usb_pipe_bulk_xfer() 1830 usba_device = ph_data->p_usba_device; in usb_pipe_intr_xfer() 1965 usba_device = ph_data->p_usba_device; in usba_pipe_sync_stop_intr_polling() 2385 usba_device = ph_data->p_usba_device; in usb_pipe_isoc_xfer() [all …]
|
H A D | hcdi.c | 489 usba_device_t *usba_device = ph_data->p_usba_device; in usba_hcdi_cb() 611 p_usba_device->usb_root_hub_dip); in hcdi_cb_thread() 775 p_usba_device->usb_root_hub_dip); in hcdi_shared_cb_thread() 856 req_wrp->wr_ph_data->p_usba_device; in hcdi_autoclearing()
|
H A D | usbai_pipe_mgmt.c | 533 ph_data->p_usba_device = usba_device; in usba_init_pipe_handle() 632 usba_device = ph_data->p_usba_device; in usba_destroy_pipe_handle() 1179 usba_device = ph_data->p_usba_device; in usba_pipe_sync_close() 1419 usba_device = ph_data->p_usba_device; in usba_pipe_sync_reset() 1476 usba_device = ph_data->p_usba_device; in usba_pipe_clear()
|
/illumos-gate/usr/src/uts/common/io/usb/hcd/openhci/ |
H A D | ohci.c | 2454 ph->p_usba_device->usb_root_hub_dip); in ohci_hcdi_pipe_open() 2464 ph->p_usba_device->usb_addr, in ohci_hcdi_pipe_open() 2482 if (ph->p_usba_device->usb_addr == ROOT_HUB_ADDR) { in ohci_hcdi_pipe_open() 2666 ph->p_usba_device->usb_root_hub_dip); in ohci_hcdi_pipe_close() 2673 ph->p_usba_device->usb_addr, in ohci_hcdi_pipe_close() 2679 if (ph->p_usba_device->usb_addr == ROOT_HUB_ADDR) { in ohci_hcdi_pipe_close() 2748 ph->p_usba_device->usb_root_hub_dip); in ohci_hcdi_pipe_reset() 2758 if (ph->p_usba_device->usb_addr == ROOT_HUB_ADDR) { in ohci_hcdi_pipe_reset() 2784 ph->p_usba_device->usb_root_hub_dip); in ohci_hcdi_pipe_reset_data_toggle() 2793 usba_hcdi_set_data_toggle(ph->p_usba_device, ph->p_ep.bEndpointAddress, in ohci_hcdi_pipe_reset_data_toggle() [all …]
|
H A D | ohci_hub.c | 330 ph->p_usba_device->usb_root_hub_dip); in ohci_handle_root_hub_pipe_open() 393 ph->p_usba_device->usb_root_hub_dip); in ohci_handle_root_hub_pipe_close() 462 ph->p_usba_device->usb_root_hub_dip); in ohci_handle_root_hub_pipe_reset() 1295 ph->p_usba_device->usb_root_hub_dip); in ohci_handle_root_hub_pipe_start_intr_polling() 1376 ph->p_usba_device->usb_root_hub_dip); in ohci_handle_root_hub_pipe_stop_intr_polling() 1749 ph->p_usba_device->usb_root_hub_dip); in ohci_root_hub_hcdi_callback()
|
H A D | ohci_polled.c | 133 ohcip = ohci_obtain_state(ph->p_usba_device->usb_root_hub_dip); in ohci_hcdi_polled_input_init() 363 ohcip = ohci_obtain_state(ph->p_usba_device->usb_root_hub_dip); in ohci_hcdi_polled_output_init() 628 ohci_polledp->ohci_polled_usb_dev = ph->p_usba_device; in ohci_polled_init()
|