Home
last modified time | relevance | path

Searched refs:xhci_caps (Results 1 – 9 of 9) sorted by relevance

/illumos-gate/usr/src/uts/common/io/usb/hcd/xhci/
H A Dxhci_context.c34 npages = xhcip->xhci_caps.xcap_max_scratch; in xhci_scratchpad_fini()
65 ASSERT(xhcip->xhci_caps.xcap_max_scratch > 0); in xhci_scratchpad_alloc()
66 npages = xhcip->xhci_caps.xcap_max_scratch; in xhci_scratchpad_alloc()
91 B_TRUE, xhcip->xhci_caps.xcap_pagesize, B_FALSE) == in xhci_scratchpad_alloc()
163 if (xhcip->xhci_caps.xcap_max_scratch != 0) { in xhci_context_init()
176 npages = xhcip->xhci_caps.xcap_max_scratch; in xhci_context_init()
218 xd->xd_slot <= xhcip->xhci_caps.xcap_max_slots); in xhci_context_slot_output_init()
240 xd->xd_slot <= xhcip->xhci_caps.xcap_max_slots); in xhci_context_slot_output_fini()
H A Dxhci_hub.c252 if (port < 1 || port > xhcip->xhci_caps.xcap_max_ports) in xhci_root_hub_handle_port_clear_feature()
333 if (port < 1 || port > xhcip->xhci_caps.xcap_max_ports) in xhci_root_hub_handle_port_set_feature()
455 if (port < 1 || port > xhcip->xhci_caps.xcap_max_ports) in xhci_root_hub_handle_port_get_status()
623 for (i = 0; i <= xhcip->xhci_caps.xcap_max_ports; i++) { in xhci_root_hub_psc_callback()
760 hdp->bNbrPorts = xhcip->xhci_caps.xcap_max_ports; in xhci_root_hub_fill_hub_desc()
763 if (xhcip->xhci_caps.xcap_flags & XCAP_PPC) in xhci_root_hub_fill_hub_desc()
779 for (i = 1; i < xhcip->xhci_caps.xcap_max_ports; i++) { in xhci_root_hub_fill_hub_desc()
822 hub->bcdUSB = xhci_root_vers_to_bcd(xhcip->xhci_caps.xcap_usb_vers); in xhci_root_hub_fill_dev_desc()
H A Dxhci.c1227 xcap = &xhcip->xhci_caps; in xhci_read_params()
1313 xhcip->xhci_caps.xcap_flags &= ~XCAP_AC64; in xhci_identify()
1347 if (XHCI_NINTR > xhcip->xhci_caps.xcap_max_intrs) { in xhci_alloc_intrs()
1350 XHCI_NINTR, xhcip->xhci_caps.xcap_max_intrs); in xhci_alloc_intrs()
1365 intr_types &= xhcip->xhci_caps.xcap_intr_types; in xhci_alloc_intrs()
1426 if (xhcip->xhci_caps.xcap_xecp_off == 0) in xhci_find_ext_cap()
1429 off = xhcip->xhci_caps.xcap_xecp_off << 2; in xhci_find_ext_cap()
1727 config |= xhcip->xhci_caps.xcap_max_slots; in xhci_controller_configure()
1846 xhi.xhi_nports = xhcip->xhci_caps.xcap_max_ports; in xhci_ioctl_portsc()
1869 xhcip->xhci_caps.xcap_max_ports) in xhci_ioctl_clear()
[all …]
H A Dxhci_dma.c66 if (xhcip->xhci_caps.xcap_flags & XCAP_AC64) { in xhci_dma_transfer_attr()
139 attrp->dma_attr_count_max = xhcip->xhci_caps.xcap_pagesize; in xhci_dma_dma_attr()
140 attrp->dma_attr_maxxfer = xhcip->xhci_caps.xcap_pagesize; in xhci_dma_dma_attr()
141 attrp->dma_attr_seg = xhcip->xhci_caps.xcap_pagesize - 1; in xhci_dma_dma_attr()
156 attrp->dma_attr_align = xhcip->xhci_caps.xcap_pagesize; in xhci_dma_scratchpad_attr()
H A Dxhci_ring.c173 xhcip->xhci_caps.xcap_pagesize, B_FALSE) == B_FALSE) in xhci_ring_alloc()
176 xrp->xr_ntrb = xhcip->xhci_caps.xcap_pagesize / sizeof (xhci_trb_t); in xhci_ring_alloc()
H A Dxhci_event.c126 if (port < 1 || port > xhcip->xhci_caps.xcap_max_ports) { in xhci_event_process_psc()
H A Dxhci_endpoint.c453 return (MIN(xhcip->xhci_caps.xcap_pagesize, mps)); in xhci_endpoint_avg_trb()
457 return (xhcip->xhci_caps.xcap_pagesize); in xhci_endpoint_avg_trb()
564 if (xhcip->xhci_caps.xcap_flags2 & XCAP2_LEC) in xhci_endpoint_setup_context()
596 if (xhcip->xhci_caps.xcap_flags2 & XCAP2_LEC) { in xhci_endpoint_setup_context()
H A Dxhci_usba.c1612 if (xhcip->xhci_caps.xcap_flags & XCAP_CSZ) { in xhci_hcdi_device_init()
/illumos-gate/usr/src/uts/common/sys/usb/hcd/xhci/
H A Dxhci.h645 xhci_capability_t xhci_caps; member