/titanic_41/usr/src/uts/common/io/usb/hcd/uhci/ |
H A D | uhcitgt.c | 83 ph->p_ep.bEndpointAddress & USB_EP_NUM_MASK); in uhci_hcdi_pipe_open() 102 switch (UHCI_XFER_TYPE(&ph->p_ep)) { in uhci_hcdi_pipe_open() 108 ASSERT(UHCI_XFER_DIR(&ph->p_ep) == USB_EP_DIR_IN); in uhci_hcdi_pipe_open() 154 if (UHCI_PERIODIC_ENDPOINT(&ph->p_ep)) { in uhci_hcdi_pipe_open() 156 if (ph->p_ep.wMaxPacketSize == 0) { in uhci_hcdi_pipe_open() 190 if (UHCI_PERIODIC_ENDPOINT(&ph->p_ep)) { in uhci_hcdi_pipe_open() 230 if (UHCI_XFER_TYPE(&ph->p_ep) != USB_EP_ATTR_ISOCH) { in uhci_hcdi_pipe_open() 238 if (UHCI_PERIODIC_ENDPOINT(&ph->p_ep)) { in uhci_hcdi_pipe_open() 276 if (((ph->p_ep.bmAttributes) & USB_EP_ATTR_MASK) == USB_EP_ATTR_INTR || in uhci_hcdi_pipe_open() 277 ((ph->p_ep.bmAttributes) & USB_EP_ATTR_MASK) == USB_EP_ATTR_BULK) { in uhci_hcdi_pipe_open() [all …]
|
H A D | uhciutil.c | 999 usb_ep_descr_t *endpoint = &pipe_handle->p_ep; in uhci_allocate_bandwidth() 1162 usb_ep_descr_t *endpoint = &pipe_handle->p_ep; in uhci_deallocate_bandwidth() 1417 switch (UHCI_XFER_TYPE(&ph->p_ep)) { in uhci_insert_qh() 1550 pipe_dir = UHCI_XFER_DIR(&ph->p_ep); in uhci_insert_intr_td() 1560 ph->p_ep.wMaxPacketSize; in uhci_insert_intr_td() 1653 mps = ph->p_ep.wMaxPacketSize; in uhci_insert_intr_td() 1756 if (UHCI_XFER_TYPE(&ph->p_ep) == USB_EP_ATTR_ISOCH) { in uhci_create_transfer_wrapper() 1961 if (UHCI_XFER_TYPE(&ph->p_ep) == USB_EP_ATTR_ISOCH) { in uhci_fill_in_td() 1991 ph->p_ep.bEndpointAddress & END_POINT_ADDRESS_MASK); in uhci_fill_in_td() 2093 usb_ep_descr_t *ept = &pp->pp_pipe_handle->p_ep; in uhci_modify_td_active_bits() [all …]
|
H A D | uhci.c | 1152 if (UHCI_XFER_DIR(&ph->p_ep) == USB_EP_DIR_OUT) { in uhci_handle_intr_td() 1176 ph->p_ep.bmAttributes, ph->p_ep.bEndpointAddress); in uhci_handle_intr_td() 1324 usb_ep_descr_t *ept = &pp->pp_pipe_handle->p_ep; in uhci_sendup_td_message() 1426 usb_ep_descr_t *eptd = &usb_pp->p_ep; in uhci_handle_ctrl_td() 1804 if (UHCI_XFER_TYPE(&pp->pp_pipe_handle->p_ep) == USB_EP_ATTR_ISOCH) { in uhci_parse_td_error()
|
H A D | uhcipolled.c | 430 SetTD_endpt(uhcip, td, ph->p_ep.bEndpointAddress & in uhci_hcdi_polled_write() 822 eptd = &ph->p_ep; in uhci_polled_insert_td_on_qh()
|
H A D | uhcihub.c | 966 switch (UHCI_XFER_TYPE(&ph->p_ep)) { in uhci_rh_hcdi_callback()
|
/titanic_41/usr/src/uts/common/io/usb/usba/ |
H A D | usbai_req.c | 118 uchar_t direction = ph_data->p_ep.bEndpointAddress & in _usba_check_req() 120 uchar_t ep_attrs = ph_data->p_ep.bmAttributes & in _usba_check_req() 418 uchar_t ep_dir = ph_data->p_ep.bEndpointAddress & USB_EP_DIR_MASK; in usba_flags_attr_check() 419 uchar_t ep_attr = ph_data->p_ep.bmAttributes & USB_EP_ATTR_MASK; in usba_flags_attr_check() 504 uchar_t ep_attrs = ph_data->p_ep.bmAttributes & in usba_start_next_req() 733 uint_t direction = ph_data->p_ep.bEndpointAddress & in usba_req_normal_cb() 757 switch (req_wrp->wr_ph_data->p_ep.bmAttributes & in usba_req_normal_cb() 793 switch (req_wrp->wr_ph_data->p_ep.bmAttributes & in usba_req_normal_cb() 843 (void *)ph_data, ph_data->p_ep.bEndpointAddress, in usba_req_exc_cb() 861 switch (req_wrp->wr_ph_data->p_ep.bmAttributes & in usba_req_exc_cb() [all …]
|
H A D | usbai_pipe_mgmt.c | 516 ph_data->p_ep = *ep; in usba_init_pipe_handle() 530 ph_data->p_ep.wMaxPacketSize, maxpktsize); in usba_init_pipe_handle() 532 ph_data->p_ep.wMaxPacketSize = maxpktsize; in usba_init_pipe_handle() 538 ph_impl->usba_ph_ep = ph_data->p_ep; in usba_init_pipe_handle() 1091 attribute = ph_data->p_ep.bmAttributes & USB_EP_ATTR_MASK; in usba_pipe_sync_close() 1092 dir = ph_data->p_ep.bEndpointAddress & USB_EP_DIR_MASK; in usba_pipe_sync_close()
|
H A D | hcdi.c | 479 usb_ep_descr_t *eptd = &ph_data->p_ep; in usba_hcdi_cb() 649 switch (req_wrp->wr_ph_data->p_ep.bmAttributes & in hcdi_do_cb() 884 req_wrp->wr_ph_data->p_ep.bEndpointAddress, in hcdi_autoclearing() 903 req_wrp->wr_ph_data->p_ep.bEndpointAddress, in hcdi_autoclearing()
|
H A D | usbai_util.c | 1372 ep_num = ph_data->p_ep.bEndpointAddress & USB_EP_NUM_MASK; in usb_ep_num() 1645 eptd = &ph_data->p_ep; in usba_sync_clear_feature()
|
/titanic_41/usr/src/uts/common/io/usb/hcd/ehci/ |
H A D | ehci_xfer.c | 321 if (EHCI_ISOC_ENDPOINT((&ph->p_ep))) { in ehci_alloc_qh() 406 usb_ep_descr_t *endpoint = &ph->p_ep; in ehci_unpack_endpoint() 544 switch (ph->p_ep.bmAttributes & USB_EP_ATTR_MASK) { in ehci_insert_qh() 959 eptd = &ph->p_ep; in ehci_clear_tt_buffer() 1130 attributes = pp->pp_pipe_handle->p_ep.bmAttributes & USB_EP_ATTR_MASK; in ehci_remove_qh() 1715 pipe_dir = ph->p_ep.bEndpointAddress & USB_EP_DIR_MASK; in ehci_insert_bulk_req() 1798 usb_ep_descr_t *eptd = &ph->p_ep; in ehci_start_periodic_pipe_polling() 1803 ph->p_ep.bEndpointAddress & USB_EP_NUM_MASK); in ehci_start_periodic_pipe_polling() 1904 usb_ep_descr_t *eptd = &ph->p_ep; in ehci_start_pipe_polling() 2015 usb_ep_descr_t *endpoint = &ph->p_ep; in ehci_set_periodic_pipe_polling() [all …]
|
H A D | ehci_intr.c | 659 eptd = &pp->pp_pipe_handle->p_ep; in ehci_check_for_short_xfer() 805 attributes = ph->p_ep.bmAttributes & USB_EP_ATTR_MASK; in ehci_handle_error() 827 if (((ph->p_ep.bmAttributes & in ehci_handle_error() 1050 usb_ep_descr_t *eptd = &ph->p_ep; in ehci_handle_bulk_qtd() 1110 usb_ep_descr_t *eptd = &ph->p_ep; in ehci_handle_intr_qtd() 1255 usb_ep_descr_t *eptd = &pp->pp_pipe_handle->p_ep; in ehci_sendup_qtd_message()
|
H A D | ehci_isoch.c | 249 if ((ph->p_ep.bEndpointAddress & USB_EP_DIR_MASK) == in ehci_isoc_pipe_cleanup() 330 max_ep_pkt_size = (ph->p_ep.wMaxPacketSize & in ehci_allocate_isoc_resources() 332 CalculateITDMultiField(ph->p_ep.wMaxPacketSize); in ehci_allocate_isoc_resources() 353 pipe_dir = ph->p_ep.bEndpointAddress & USB_EP_DIR_MASK; in ehci_allocate_isoc_resources() 583 multi = CalculateITDMultiField(ph->p_ep.wMaxPacketSize); in ehci_insert_itd_req() 659 buf[1] |= ph->p_ep.wMaxPacketSize & in ehci_insert_itd_req() 771 xfer_state |= (ph->p_ep.wMaxPacketSize << in ehci_insert_sitd_req()
|
H A D | ehci_polled.c | 256 pipe_attr = ph->p_ep.bmAttributes & USB_EP_ATTR_MASK; in ehci_hcdi_polled_input_enter() 327 p_ep.bmAttributes & USB_EP_ATTR_MASK; in ehci_hcdi_polled_input_exit() 404 p_ep.bmAttributes & USB_EP_ATTR_MASK; in ehci_hcdi_polled_read() 722 ehci_polledp->ehci_polled_ep_addr = ph->p_ep.bEndpointAddress; in ehci_polled_init() 815 pipe_attr = ph->p_ep.bmAttributes & USB_EP_ATTR_MASK; in ehci_polled_init() 1374 p_ep.bmAttributes & USB_EP_ATTR_MASK; in ehci_polled_process_active_intr_qtd_list() 1376 p_ep.bEndpointAddress & USB_EP_DIR_MASK; in ehci_polled_process_active_intr_qtd_list() 2109 pipe_dir = ph->p_ep.bEndpointAddress & USB_EP_DIR_MASK; in ehci_polled_create_tw()
|
H A D | ehci_hub.c | 315 usb_ep_descr_t *eptd = &ph->p_ep; in ehci_handle_root_hub_pipe_open() 378 usb_ep_descr_t *eptd = &ph->p_ep; in ehci_handle_root_hub_pipe_close() 447 usb_ep_descr_t *eptd = &ph->p_ep; in ehci_handle_root_hub_pipe_reset() 1448 usb_ep_descr_t *eptd = &ph->p_ep; in ehci_handle_root_hub_pipe_start_intr_polling() 1531 usb_ep_descr_t *eptd = &ph->p_ep; in ehci_handle_root_hub_pipe_stop_intr_polling() 1919 eptd = &ehcip->ehci_root_hub.rh_intr_pipe_handle->p_ep; in ehci_handle_root_hub_status_change() 2058 uchar_t attributes = ph->p_ep.bmAttributes & in ehci_root_hub_hcdi_callback()
|
H A D | ehci.c | 813 usb_ep_descr_t *epdt = &ph->p_ep; in ehci_hcdi_pipe_open() 1039 usb_ep_descr_t *eptd = &ph->p_ep; in ehci_hcdi_pipe_close() 1165 usba_hcdi_set_data_toggle(ph->p_usba_device, ph->p_ep.bEndpointAddress, in ehci_hcdi_pipe_reset_data_toggle() 1372 pipe_dir = ph->p_ep.bEndpointAddress & USB_EP_DIR_MASK; in ehci_hcdi_pipe_intr_xfer() 1523 pipe_dir = ph->p_ep.bEndpointAddress & USB_EP_DIR_MASK; in ehci_hcdi_pipe_isoc_xfer()
|
H A D | ehci_util.c | 2182 usb_ep_descr_t *endpoint = &ph->p_ep; in ehci_allocate_high_speed_bandwidth() 2289 usb_ep_descr_t *endpoint = &ph->p_ep; in ehci_allocate_classic_tt_bandwidth() 2456 usb_ep_descr_t *endpoint = &ph->p_ep; in ehci_deallocate_high_speed_bandwidth() 2534 usb_ep_descr_t *endpoint = &ph->p_ep; in ehci_deallocate_classic_tt_bandwidth() 3853 usb_ep_descr_t *eptd = &pp->pp_pipe_handle->p_ep; in ehci_get_xfer_attrs()
|
H A D | ehci_isoch_util.c | 356 usb_ep_descr_t *endpoint = &ph->p_ep; in ehci_allocate_itw() 1337 uchar_t ep_attr = ph->p_ep.bmAttributes; in ehci_deallocate_isoc_in_resource()
|
/titanic_41/usr/src/uts/common/sys/usb/usba/ |
H A D | usba_types.h | 91 usb_ep_descr_t p_ep; member 142 #define USBA_PH2ENDPOINT(ph) (((usba_pipe_handle_data_t *)(ph))->p_ep) 159 _NOTE(DATA_READABLE_WITHOUT_LOCK(usba_pipe_handle_data::p_ep))
|
/titanic_41/usr/src/uts/common/io/usb/hcd/openhci/ |
H A D | ohci.c | 2471 usb_ep_descr_t *epdt = &ph->p_ep; in ohci_hcdi_pipe_open() 2684 usb_ep_descr_t *eptd = &ph->p_ep; in ohci_hcdi_pipe_close() 2809 usba_hcdi_set_data_toggle(ph->p_usba_device, ph->p_ep.bEndpointAddress, in ohci_hcdi_pipe_reset_data_toggle() 3010 pipe_dir = ph->p_ep.bEndpointAddress & USB_EP_DIR_MASK; in ohci_hcdi_pipe_intr_xfer() 3161 pipe_dir = ph->p_ep.bEndpointAddress & USB_EP_DIR_MASK; in ohci_hcdi_pipe_isoc_xfer() 3262 usb_ep_descr_t *endpoint = &ph->p_ep; in ohci_allocate_bandwidth() 3420 usb_ep_descr_t *endpoint = &ph->p_ep; in ohci_deallocate_bandwidth() 3850 usb_ep_descr_t *endpoint = &ph->p_ep; in ohci_unpack_endpoint() 3917 switch (ph->p_ep.bmAttributes & USB_EP_ATTR_MASK) { in ohci_insert_ed() 4276 attributes = pp->pp_pipe_handle->p_ep.bmAttributes & USB_EP_ATTR_MASK; in ohci_remove_ed() [all …]
|
H A D | ohci_hub.c | 331 usb_ep_descr_t *eptd = &ph->p_ep; in ohci_handle_root_hub_pipe_open() 394 usb_ep_descr_t *eptd = &ph->p_ep; in ohci_handle_root_hub_pipe_close() 463 usb_ep_descr_t *eptd = &ph->p_ep; in ohci_handle_root_hub_pipe_reset() 1296 usb_ep_descr_t *eptd = &ph->p_ep; in ohci_handle_root_hub_pipe_start_intr_polling() 1377 usb_ep_descr_t *eptd = &ph->p_ep; in ohci_handle_root_hub_pipe_stop_intr_polling() 1597 eptd = &ohcip->ohci_root_hub.rh_intr_pipe_handle->p_ep; in ohci_handle_root_hub_status_change() 1750 uchar_t attributes = ph->p_ep.bmAttributes & in ohci_root_hub_hcdi_callback()
|
H A D | ohci_polled.c | 170 p_ep.bmAttributes & USB_EP_ATTR_MASK; in ohci_hcdi_polled_input_init() 627 ohci_polledp->ohci_polled_ep_addr = ph->p_ep.bEndpointAddress; in ohci_polled_init() 714 pipe_attr = ph->p_ep.bmAttributes & USB_EP_ATTR_MASK; in ohci_polled_init() 1760 p_ep.bEndpointAddress & USB_EP_DIR_MASK; in ohci_polled_process_input_list() 1911 pipe_attr = ph->p_ep.bmAttributes & USB_EP_ATTR_MASK; in ohci_polled_insert_td() 2217 pipe_dir = ph->p_ep.bEndpointAddress & USB_EP_DIR_MASK; in ohci_polled_create_tw()
|
/titanic_41/usr/src/cmd/mdb/common/modules/usba/ |
H A D | usb.c | 353 bcopy(&pipe_handle.p_ep, &ept_descr, sizeof (usb_ep_descr_t)); in usb_pipe_handle() 388 addr + offsetof(usba_pipe_handle_data_t, p_ep)); in usb_pipe_handle()
|