Home
last modified time | relevance | path

Searched refs:p_ep (Results 1 – 25 of 26) sorted by relevance

12

/illumos-gate/usr/src/uts/common/io/usb/hcd/uhci/
H A Duhcitgt.c83 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()
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()
238 if (UHCI_PERIODIC_ENDPOINT(&ph->p_ep)) { in uhci_hcdi_pipe_open()
306 usb_ep_descr_t *eptd = &ph->p_ep; in uhci_hcdi_pipe_close()
456 usb_ep_descr_t *eptd = &ph->p_ep; in uhci_hcdi_pipe_reset()
489 switch (UHCI_XFER_TYPE(&ph->p_ep)) { in uhci_hcdi_pipe_reset()
962 usb_ep_descr_t *eptd = &ph->p_ep; in uhci_start_periodic_pipe_polling()
[all …]
H A Duhciutil.c999 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()
2093 usb_ep_descr_t *ept = &pp->pp_pipe_handle->p_ep; in uhci_modify_td_active_bits()
3465 usb_pp->p_ep.bmAttributes, in uhci_handle_bulk_td()
3466 usb_pp->p_ep.bEndpointAddress); in uhci_handle_bulk_td()
4352 usb_pp->p_ep.bmAttributes, usb_pp->p_ep.bEndpointAddress); in uhci_handle_isoc_td()
[all …]
H A Duhci.c1152 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 Duhcipolled.c430 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 Duhcihub.c966 switch (UHCI_XFER_TYPE(&ph->p_ep)) { in uhci_rh_hcdi_callback()
/illumos-gate/usr/src/uts/common/io/usb/usba/
H A Dusbai_req.c119 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()
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()
906 switch (req_wrp->wr_ph_data->p_ep.bmAttributes & in usba_req_exc_cb()
977 switch (req_wrp->wr_ph_data->p_ep.bmAttributes & in usba_req_set_cb_flags()
[all …]
H A Dusbai_pipe_mgmt.c534 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 Dhcdi.c493 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 Dehci_xfer.c959 eptd = &ph->p_ep; in ehci_clear_tt_buffer()
1796 usb_ep_descr_t *eptd = &ph->p_ep; in ehci_start_periodic_pipe_polling()
1902 usb_ep_descr_t *eptd = &ph->p_ep; in ehci_start_pipe_polling()
2107 ph->p_ep.wMaxPacketSize; in ehci_allocate_intr_resources()
2203 usb_ep_descr_t *eptd = &ph->p_ep; in ehci_stop_periodic_pipe_polling()
3650 usb_ep_descr_t *eptd = &ph->p_ep; in ehci_pipe_cleanup()
3872 usb_ep_descr_t *eptd = &ph->p_ep; in ehci_save_data_toggle()
3927 usb_ep_descr_t *eptd = &ph->p_ep; in ehci_restore_data_toggle()
3946 ph->p_ep.bEndpointAddress); in ehci_restore_data_toggle()
3980 usb_ep_descr_t *eptd = &ph->p_ep; in ehci_handle_outstanding_requests()
[all …]
H A Dehci_intr.c659 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 Dehci_isoch.c250 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 Dehci_polled.c256 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 Dehci_hub.c315 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 Dehci.c798 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 Dehci_util.c2196 usb_ep_descr_t *endpoint = &ph->p_ep; in ehci_allocate_high_speed_bandwidth()
2303 usb_ep_descr_t *endpoint = &ph->p_ep; in ehci_allocate_classic_tt_bandwidth()
2470 usb_ep_descr_t *endpoint = &ph->p_ep; in ehci_deallocate_high_speed_bandwidth()
2548 usb_ep_descr_t *endpoint = &ph->p_ep; in ehci_deallocate_classic_tt_bandwidth()
3868 usb_ep_descr_t *eptd = &pp->pp_pipe_handle->p_ep; in ehci_get_xfer_attrs()
H A Dehci_isoch_util.c357 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 Dusba_types.h99 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 Dohci.c2455 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()
5082 usb_ep_descr_t *eptd = &ph->p_ep; in ohci_start_periodic_pipe_polling()
5171 usb_ep_descr_t *eptd = &ph->p_ep; in ohci_start_pipe_polling()
5395 ph->p_ep.wMaxPacketSize; in ohci_allocate_intr_resources()
8444 eptd = &pp->pp_pipe_handle->p_ep; in ohci_parse_error()
8742 if (((ph->p_ep.bmAttributes & in ohci_handle_error()
9028 ph->p_ep.bmAttributes, in ohci_handle_ctrl_td()
9029 ph->p_ep.bEndpointAddress); in ohci_handle_ctrl_td()
10652 ph->p_ep.bEndpointAddress); in ohci_restore_data_toggle()
[all …]
H A Dohci_hub.c331 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 Dohci_polled.c172 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 Dxhci_endpoint.c37 (ph->p_ep.bEndpointAddress & USB_EP_DIR_MASK) == USB_EP_DIR_IN); in xhci_endpoint_is_periodic_in()
55 ep = ph->p_ep.bEndpointAddress & USB_EP_NUM_MASK; in xhci_endpoint_pipe_to_epid()
59 if ((ph->p_ep.bEndpointAddress & USB_EP_DIR_MASK) == USB_EP_DIR_IN) in xhci_endpoint_pipe_to_epid()
467 mps = xep->xep_pipe->p_ep.wMaxPacketSize & XHCI_CONTEXT_MPS_MASK; in xhci_endpoint_setup_context()
587 xep->xep_type = ph->p_ep.bmAttributes & USB_EP_ATTR_MASK; in xhci_endpoint_init()
H A Dxhci_usba.c432 if ((ph->p_ep.bmAttributes & USB_EP_ATTR_MASK) == USB_EP_ATTR_INTR && in xhci_hcdi_pipe_close()
520 if ((ph->p_ep.bEndpointAddress & USB_EP_DIR_MASK) == USB_EP_DIR_IN) { in xhci_hcdi_pipe_close()
876 if ((ph->p_ep.bEndpointAddress & USB_EP_DIR_MASK) == USB_EP_DIR_IN) { in xhci_hcdi_pipe_bulk_xfer()
1148 if ((ph->p_ep.bEndpointAddress & USB_EP_DIR_MASK) == USB_EP_DIR_IN) { in xhci_hcdi_intr_oneshot()
1234 if ((ph->p_ep.bEndpointAddress & USB_EP_DIR_MASK) == USB_EP_DIR_IN) { in xhci_hcdi_pipe_intr_xfer()
1389 if ((ph->p_ep.bEndpointAddress & USB_EP_DIR_MASK) == USB_EP_DIR_IN) { in xhci_hcdi_pipe_isoc_xfer()
H A Dxhci_dma.c468 mps = xep->xep_pipe->p_ep.wMaxPacketSize; in xhci_transfer_trb_fill_data()
H A Dxhci_hub.c712 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 Dusb.c355 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()

12