/titanic_44/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 …]
|
/titanic_44/usr/src/uts/common/io/usb/hcd/ehci/ |
H A D | ehci.c | 812 ph->p_usba_device->usb_root_hub_dip); in ehci_hcdi_pipe_open() 824 ph->p_usba_device->usb_addr, in ehci_hcdi_pipe_open() 839 if (ph->p_usba_device->usb_addr == ROOT_HUB_ADDR) { in ehci_hcdi_pipe_open() 1037 ph->p_usba_device->usb_root_hub_dip); in ehci_hcdi_pipe_close() 1044 ph->p_usba_device->usb_addr, in ehci_hcdi_pipe_close() 1048 if (ph->p_usba_device->usb_addr == ROOT_HUB_ADDR) { in ehci_hcdi_pipe_close() 1120 ph->p_usba_device->usb_root_hub_dip); in ehci_hcdi_pipe_reset() 1130 if (ph->p_usba_device->usb_addr == ROOT_HUB_ADDR) { in ehci_hcdi_pipe_reset() 1156 ph->p_usba_device->usb_root_hub_dip); in ehci_hcdi_pipe_reset_data_toggle() 1165 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() 1810 if ((ph->p_usba_device->usb_addr == ROOT_HUB_ADDR) && in ehci_start_periodic_pipe_polling() 2044 mutex_enter(&ph->p_usba_device->usb_mutex); in ehci_set_periodic_pipe_polling() 2052 ph->p_usba_device->usb_port_status); in ehci_set_periodic_pipe_polling() 2054 mutex_exit(&ph->p_usba_device->usb_mutex); in ehci_set_periodic_pipe_polling() 2215 if ((ph->p_usba_device->usb_addr == ROOT_HUB_ADDR) && in ehci_stop_periodic_pipe_polling() 3235 ph->p_usba_device->usb_root_hub_dip); in ehci_xfer_timeout_handler() 3914 usba_hcdi_set_data_toggle(ph->p_usba_device, ph->p_ep.bEndpointAddress, in ehci_save_data_toggle() 3949 data_toggle = usba_hcdi_get_data_toggle(ph->p_usba_device, in ehci_restore_data_toggle() [all …]
|
H A D | ehci_util.c | 2150 if (ph->p_usba_device->usb_port_status != USBA_HIGH_SPEED_DEV) { in ehci_allocate_bandwidth() 2191 child_ud = ph->p_usba_device; in ehci_allocate_high_speed_bandwidth() 2196 port_status = ph->p_usba_device->usb_port_status; in ehci_allocate_high_speed_bandwidth() 2298 child_ud = ph->p_usba_device; in ehci_allocate_classic_tt_bandwidth() 2431 if (ph->p_usba_device->usb_port_status != USBA_HIGH_SPEED_DEV) { in ehci_deallocate_bandwidth() 2464 child_ud = ph->p_usba_device; in ehci_deallocate_high_speed_bandwidth() 2469 port_status = ph->p_usba_device->usb_port_status; in ehci_deallocate_high_speed_bandwidth() 2542 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 | 1404 ph->p_usba_device->usb_root_hub_dip); in ehci_hcdi_isoc_callback()
|
H A D | ehci_isoch_util.c | 355 usba_device_t *usba_device = ph->p_usba_device; in ehci_allocate_itw()
|
/titanic_44/usr/src/uts/common/sys/usb/usba/ |
H A D | usba_types.h | 87 struct usba_device *p_usba_device; /* set on pipe open */ member 149 (ph)->p_usba_device->usb_ph_list[USBA_DEFAULT_PIPE_EP].usba_ph_data) 156 _NOTE(DATA_READABLE_WITHOUT_LOCK(usba_pipe_handle_data::p_usba_device))
|
/titanic_44/usr/src/uts/common/io/usb/usba/ |
H A D | usbai_req.c | 162 ASSERT(ph_data->p_usba_device); in _usba_check_req() 164 if (ph_data->p_usba_device->usb_ph_list[0].usba_ph_data == NULL) { in _usba_check_req() 170 if (usba_check_in_list(&(ph_data->p_usba_device->usb_allocated), in _usba_check_req() 560 rval = ph_data->p_usba_device->usb_hcdi_ops-> in usba_start_next_req() 569 rval = ph_data->p_usba_device->usb_hcdi_ops-> in usba_start_next_req() 1138 usba_device = ph_data->p_usba_device; in usb_pipe_ctrl_xfer() 1534 usba_device = ph_data->p_usba_device; in usb_pipe_bulk_xfer() 1825 usba_device = ph_data->p_usba_device; in usb_pipe_intr_xfer() 1960 usba_device = ph_data->p_usba_device; in usba_pipe_sync_stop_intr_polling() 2380 usba_device = ph_data->p_usba_device; in usb_pipe_isoc_xfer() [all …]
|
H A D | hcdi.c | 475 usba_device_t *usba_device = ph_data->p_usba_device; in usba_hcdi_cb() 597 p_usba_device->usb_root_hub_dip); in hcdi_cb_thread() 761 p_usba_device->usb_root_hub_dip); in hcdi_shared_cb_thread() 842 req_wrp->wr_ph_data->p_usba_device; in hcdi_autoclearing()
|
H A D | usbai_pipe_mgmt.c | 515 ph_data->p_usba_device = usba_device; in usba_init_pipe_handle() 613 usba_device = ph_data->p_usba_device; in usba_destroy_pipe_handle() 1094 usba_device = ph_data->p_usba_device; in usba_pipe_sync_close() 1334 usba_device = ph_data->p_usba_device; in usba_pipe_sync_reset() 1391 usba_device = ph_data->p_usba_device; in usba_pipe_clear()
|
/titanic_44/usr/src/uts/common/io/usb/hcd/openhci/ |
H A D | ohci.c | 2470 ph->p_usba_device->usb_root_hub_dip); in ohci_hcdi_pipe_open() 2480 ph->p_usba_device->usb_addr, in ohci_hcdi_pipe_open() 2498 if (ph->p_usba_device->usb_addr == ROOT_HUB_ADDR) { in ohci_hcdi_pipe_open() 2682 ph->p_usba_device->usb_root_hub_dip); in ohci_hcdi_pipe_close() 2689 ph->p_usba_device->usb_addr, in ohci_hcdi_pipe_close() 2695 if (ph->p_usba_device->usb_addr == ROOT_HUB_ADDR) { in ohci_hcdi_pipe_close() 2764 ph->p_usba_device->usb_root_hub_dip); in ohci_hcdi_pipe_reset() 2774 if (ph->p_usba_device->usb_addr == ROOT_HUB_ADDR) { in ohci_hcdi_pipe_reset() 2800 ph->p_usba_device->usb_root_hub_dip); in ohci_hcdi_pipe_reset_data_toggle() 2809 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 | 131 ohcip = ohci_obtain_state(ph->p_usba_device->usb_root_hub_dip); in ohci_hcdi_polled_input_init() 361 ohcip = ohci_obtain_state(ph->p_usba_device->usb_root_hub_dip); in ohci_hcdi_polled_output_init() 626 ohci_polledp->ohci_polled_usb_dev = ph->p_usba_device; in ohci_polled_init()
|