/illumos-gate/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()
|
/illumos-gate/usr/src/uts/common/io/usb/usba/ |
H A D | usbai_req.c | 119 uchar_t direction = ph_data->p_ep.bEndpointAddress & in _usba_check_req() 121 uchar_t ep_attrs = ph_data->p_ep.bmAttributes & in _usba_check_req() 423 uchar_t ep_dir = ph_data->p_ep.bEndpointAddress & USB_EP_DIR_MASK; in usba_flags_attr_check() 424 uchar_t ep_attr = ph_data->p_ep.bmAttributes & USB_EP_ATTR_MASK; in usba_flags_attr_check() 509 uchar_t ep_attrs = ph_data->p_ep.bmAttributes & in usba_start_next_req() 738 uint_t direction = ph_data->p_ep.bEndpointAddress & in usba_req_normal_cb() 762 switch (req_wrp->wr_ph_data->p_ep.bmAttributes & in usba_req_normal_cb() 798 switch (req_wrp->wr_ph_data->p_ep.bmAttributes & in usba_req_normal_cb() 848 (void *)ph_data, ph_data->p_ep.bEndpointAddress, in usba_req_exc_cb() 866 switch (req_wrp->wr_ph_data->p_ep.bmAttributes & in usba_req_exc_cb() [all …]
|
H A D | usbai_pipe_mgmt.c | 534 ph_data->p_ep = *ep; in usba_init_pipe_handle() 549 ph_data->p_ep.wMaxPacketSize, maxpktsize); in usba_init_pipe_handle() 551 ph_data->p_ep.wMaxPacketSize = maxpktsize; in usba_init_pipe_handle() 557 ph_impl->usba_ph_ep = ph_data->p_ep; in usba_init_pipe_handle() 1176 attribute = ph_data->p_ep.bmAttributes & USB_EP_ATTR_MASK; in usba_pipe_sync_close() 1177 dir = ph_data->p_ep.bEndpointAddress & USB_EP_DIR_MASK; in usba_pipe_sync_close()
|
H A D | hcdi.c | 493 usb_ep_descr_t *eptd = &ph_data->p_ep; in usba_hcdi_cb() 663 switch (req_wrp->wr_ph_data->p_ep.bmAttributes & in hcdi_do_cb() 898 req_wrp->wr_ph_data->p_ep.bEndpointAddress, in hcdi_autoclearing() 917 req_wrp->wr_ph_data->p_ep.bEndpointAddress, in hcdi_autoclearing()
|
/illumos-gate/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() 1713 pipe_dir = ph->p_ep.bEndpointAddress & USB_EP_DIR_MASK; in ehci_insert_bulk_req() 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() 1902 usb_ep_descr_t *eptd = &ph->p_ep; in ehci_start_pipe_polling() 2013 usb_ep_descr_t *endpoint = &ph->p_ep; in ehci_set_periodic_pipe_polling() [all …]
|
H A D | ehci_intr.c | 657 eptd = &pp->pp_pipe_handle->p_ep; in ehci_check_for_short_xfer() 803 attributes = ph->p_ep.bmAttributes & USB_EP_ATTR_MASK; in ehci_handle_error() 825 if (((ph->p_ep.bmAttributes & in ehci_handle_error() 1048 usb_ep_descr_t *eptd = &ph->p_ep; in ehci_handle_bulk_qtd() 1108 usb_ep_descr_t *eptd = &ph->p_ep; in ehci_handle_intr_qtd() 1253 usb_ep_descr_t *eptd = &pp->pp_pipe_handle->p_ep; in ehci_sendup_qtd_message()
|
H A D | ehci_isoch.c | 250 if ((ph->p_ep.bEndpointAddress & USB_EP_DIR_MASK) == in ehci_isoc_pipe_cleanup() 331 max_ep_pkt_size = (ph->p_ep.wMaxPacketSize & in ehci_allocate_isoc_resources() 333 CalculateITDMultiField(ph->p_ep.wMaxPacketSize); in ehci_allocate_isoc_resources() 354 pipe_dir = ph->p_ep.bEndpointAddress & USB_EP_DIR_MASK; in ehci_allocate_isoc_resources() 584 multi = CalculateITDMultiField(ph->p_ep.wMaxPacketSize); in ehci_insert_itd_req() 660 buf[1] |= ph->p_ep.wMaxPacketSize & in ehci_insert_itd_req() 772 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() 2107 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 | 798 usb_ep_descr_t *epdt = &ph->p_ep; in ehci_hcdi_pipe_open() 1024 usb_ep_descr_t *eptd = &ph->p_ep; in ehci_hcdi_pipe_close() 1150 usba_hcdi_set_data_toggle(ph->p_usba_device, ph->p_ep.bEndpointAddress, in ehci_hcdi_pipe_reset_data_toggle() 1357 pipe_dir = ph->p_ep.bEndpointAddress & USB_EP_DIR_MASK; in ehci_hcdi_pipe_intr_xfer() 1508 pipe_dir = ph->p_ep.bEndpointAddress & USB_EP_DIR_MASK; in ehci_hcdi_pipe_isoc_xfer()
|
H A D | ehci_util.c | 2203 usb_ep_descr_t *endpoint = &ph->p_ep; in ehci_allocate_high_speed_bandwidth() 2310 usb_ep_descr_t *endpoint = &ph->p_ep; in ehci_allocate_classic_tt_bandwidth() 2477 usb_ep_descr_t *endpoint = &ph->p_ep; in ehci_deallocate_high_speed_bandwidth() 2555 usb_ep_descr_t *endpoint = &ph->p_ep; in ehci_deallocate_classic_tt_bandwidth() 3875 usb_ep_descr_t *eptd = &pp->pp_pipe_handle->p_ep; in ehci_get_xfer_attrs()
|
H A D | ehci_isoch_util.c | 357 usb_ep_descr_t *endpoint = &ph->p_ep; in ehci_allocate_itw() 1338 uchar_t ep_attr = ph->p_ep.bmAttributes; in ehci_deallocate_isoc_in_resource()
|
/illumos-gate/usr/src/uts/common/sys/usb/usba/ |
H A D | usba_types.h | 99 usb_ep_descr_t p_ep; member 151 #define USBA_PH2ENDPOINT(ph) (((usba_pipe_handle_data_t *)(ph))->p_ep) 168 _NOTE(DATA_READABLE_WITHOUT_LOCK(usba_pipe_handle_data::p_ep))
|
/illumos-gate/usr/src/uts/common/io/usb/hcd/openhci/ |
H A D | ohci.c | 2455 usb_ep_descr_t *epdt = &ph->p_ep; in ohci_hcdi_pipe_open() 2668 usb_ep_descr_t *eptd = &ph->p_ep; in ohci_hcdi_pipe_close() 2793 usba_hcdi_set_data_toggle(ph->p_usba_device, ph->p_ep.bEndpointAddress, in ohci_hcdi_pipe_reset_data_toggle() 2994 pipe_dir = ph->p_ep.bEndpointAddress & USB_EP_DIR_MASK; in ohci_hcdi_pipe_intr_xfer() 3145 pipe_dir = ph->p_ep.bEndpointAddress & USB_EP_DIR_MASK; in ohci_hcdi_pipe_isoc_xfer() 3246 usb_ep_descr_t *endpoint = &ph->p_ep; in ohci_allocate_bandwidth() 3404 usb_ep_descr_t *endpoint = &ph->p_ep; in ohci_deallocate_bandwidth() 3834 usb_ep_descr_t *endpoint = &ph->p_ep; in ohci_unpack_endpoint() 3901 switch (ph->p_ep.bmAttributes & USB_EP_ATTR_MASK) { in ohci_insert_ed() 4260 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 | 172 p_ep.bmAttributes & USB_EP_ATTR_MASK; in ohci_hcdi_polled_input_init() 629 ohci_polledp->ohci_polled_ep_addr = ph->p_ep.bEndpointAddress; in ohci_polled_init() 716 pipe_attr = ph->p_ep.bmAttributes & USB_EP_ATTR_MASK; in ohci_polled_init() 1763 p_ep.bEndpointAddress & USB_EP_DIR_MASK; in ohci_polled_process_input_list() 1914 pipe_attr = ph->p_ep.bmAttributes & USB_EP_ATTR_MASK; in ohci_polled_insert_td() 2220 pipe_dir = ph->p_ep.bEndpointAddress & USB_EP_DIR_MASK; in ohci_polled_create_tw()
|
/illumos-gate/usr/src/uts/common/io/usb/hcd/xhci/ |
H A D | xhci_endpoint.c | 38 (ph->p_ep.bEndpointAddress & USB_EP_DIR_MASK) == USB_EP_DIR_IN); in xhci_endpoint_is_periodic_in() 72 ep = ph->p_ep.bEndpointAddress & USB_EP_NUM_MASK; in xhci_endpoint_pipe_to_epid() 76 if ((ph->p_ep.bEndpointAddress & USB_EP_DIR_MASK) == USB_EP_DIR_IN) in xhci_endpoint_pipe_to_epid() 594 xep->xep_pipe->p_ep.wMaxPacketSize & XHCI_CONTEXT_MPS_MASK; in xhci_endpoint_setup_context() 743 xep->xep_type = ph->p_ep.bmAttributes & USB_EP_ATTR_MASK; in xhci_endpoint_init() 792 if (xep->xep_type != (ph->p_ep.bmAttributes & USB_EP_ATTR_MASK)) { in xhci_endpoint_reopen()
|
H A D | xhci_usba.c | 534 if ((ph->p_ep.bmAttributes & USB_EP_ATTR_MASK) == USB_EP_ATTR_INTR && in xhci_hcdi_pipe_close() 597 if ((ph->p_ep.bEndpointAddress & USB_EP_DIR_MASK) == USB_EP_DIR_IN) { in xhci_hcdi_pipe_close() 982 if ((ph->p_ep.bEndpointAddress & USB_EP_DIR_MASK) == USB_EP_DIR_IN) { in xhci_hcdi_pipe_bulk_xfer() 1254 if ((ph->p_ep.bEndpointAddress & USB_EP_DIR_MASK) == USB_EP_DIR_IN) { in xhci_hcdi_intr_oneshot() 1340 if ((ph->p_ep.bEndpointAddress & USB_EP_DIR_MASK) == USB_EP_DIR_IN) { in xhci_hcdi_pipe_intr_xfer() 1495 if ((ph->p_ep.bEndpointAddress & USB_EP_DIR_MASK) == USB_EP_DIR_IN) { in xhci_hcdi_pipe_isoc_xfer()
|
H A D | xhci_dma.c | 468 mps = xep->xep_pipe->p_ep.wMaxPacketSize; in xhci_transfer_trb_fill_data()
|
H A D | xhci_hub.c | 712 ASSERT((ph->p_ep.bEndpointAddress & USB_EP_NUM_MASK) == 1); in xhci_root_hub_intr_root_enable()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/usba/ |
H A D | usb.c | 355 bcopy(&pipe_handle.p_ep, &ept_descr, sizeof (usb_ep_descr_t)); in usb_pipe_handle() 390 addr + offsetof(usba_pipe_handle_data_t, p_ep)); in usb_pipe_handle()
|