xref: /freebsd/share/man/man4/xhci.4 (revision fa9896e082a1046ff4fbc75fcba4d18d1f2efc19)
1f728775bSHans Petter Selasky.\"
230e555deSHans Petter Selasky.\" Copyright (c) 2011-2022 Hans Petter Selasky. All rights reserved.
3f728775bSHans Petter Selasky.\"
4f728775bSHans Petter Selasky.\" Redistribution and use in source and binary forms, with or without
5f728775bSHans Petter Selasky.\" modification, are permitted provided that the following conditions
6f728775bSHans Petter Selasky.\" are met:
7f728775bSHans Petter Selasky.\" 1. Redistributions of source code must retain the above copyright
8f728775bSHans Petter Selasky.\"    notice, this list of conditions and the following disclaimer.
9f728775bSHans Petter Selasky.\" 2. Redistributions in binary form must reproduce the above copyright
10f728775bSHans Petter Selasky.\"    notice, this list of conditions and the following disclaimer in the
11f728775bSHans Petter Selasky.\"    documentation and/or other materials provided with the distribution.
12f728775bSHans Petter Selasky.\"
13f1261466SEd Maste.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
14f1261466SEd Maste.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15f1261466SEd Maste.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16f1261466SEd Maste.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
17f1261466SEd Maste.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18f1261466SEd Maste.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19f1261466SEd Maste.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20f1261466SEd Maste.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21f1261466SEd Maste.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22f1261466SEd Maste.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23f1261466SEd Maste.\" SUCH DAMAGE.
24f728775bSHans Petter Selasky.\"
25*a2d60916SHans Petter Selasky.Dd October 21, 2022
26f728775bSHans Petter Selasky.Dt XHCI 4
27f728775bSHans Petter Selasky.Os
28f728775bSHans Petter Selasky.Sh NAME
29f728775bSHans Petter Selasky.Nm xhci
30f728775bSHans Petter Selasky.Nd USB eXtensible Host Controller driver
31f728775bSHans Petter Selasky.Sh SYNOPSIS
3230e555deSHans Petter Selasky.Cd "options USB_DEBUG"
33f728775bSHans Petter Selasky.Cd "device xhci"
34f728775bSHans Petter Selasky.Sh DESCRIPTION
35f728775bSHans Petter SelaskyThe
36f728775bSHans Petter Selasky.Nm
37f728775bSHans Petter Selaskydriver provides support for the
38f728775bSHans Petter Selasky.Tn USB
39f728775bSHans Petter SelaskyeXtensible Host Controller Interface,
40f728775bSHans Petter Selaskywhich allows use of
41f728775bSHans Petter Selasky.Tn USB
42f728775bSHans Petter Selasky1.0, 2.0 and 3.0 devices on the same
43f728775bSHans Petter Selasky.Tn USB
44f728775bSHans Petter Selaskyport.
45f728775bSHans Petter Selasky.Pp
46f728775bSHans Petter SelaskyThe
47f728775bSHans Petter Selasky.Tn XHCI
48f728775bSHans Petter Selaskycontroller supports
49f728775bSHans Petter Selasky.Tn USB
50*a2d60916SHans Petter Selaskyconnection speeds from 5.0Gbps and above when using USB 3.x
5130e555deSHans Petter Selaskycompliant devices.
521d40404bSRuslan Ermilov.Sh HARDWARE
531d40404bSRuslan ErmilovThe
541d40404bSRuslan Ermilov.Nm
551d40404bSRuslan Ermilovdriver supports
561d40404bSRuslan Ermilov.Tn XHCI
571d40404bSRuslan Ermilovcompatible controllers having PCI class 12 (serial bus),
581d40404bSRuslan Ermilovsubclass 3 (USB) and programming interface 48 (XHCI).
597722b7d5SEdward Tomasz Napierala.Sh SYSCTL VARIABLES
607722b7d5SEdward Tomasz NapieralaThe following variables are available as both
617722b7d5SEdward Tomasz Napierala.Xr sysctl 8
627722b7d5SEdward Tomasz Napieralavariables and
637722b7d5SEdward Tomasz Napierala.Xr loader 8
647722b7d5SEdward Tomasz Napieralatunables:
657722b7d5SEdward Tomasz Napierala.Bl -tag -width indent
667722b7d5SEdward Tomasz Napierala.It Va hw.usb.xhci.debug
6730e555deSHans Petter SelaskySet debug output level, where 0 is debugging disabled and larger
6830e555deSHans Petter Selaskyvalues increase debug message verbosity.
6930e555deSHans Petter SelaskyThe default value is 0.
7030e555deSHans Petter Selasky.It Va hw.usb.xhci.dcepquirk
7130e555deSHans Petter SelaskySet to enable quirk for deconfiguration of endpoints.
7230e555deSHans Petter SelaskyThe default value is 0.
7330e555deSHans Petter Selasky.It Va hw.usb.xhci.ctlquirk
7430e555deSHans Petter SelaskySet to submit full USB control request as one job, up to 64kBytes.
7530e555deSHans Petter SelaskyElse the USB control request will be split into multiple smaller
7630e555deSHans Petter Selaskyrequests.
7730e555deSHans Petter SelaskyThe default value is 1.
7830e555deSHans Petter Selasky.It Va hw.usb.xhci.streams
7930e555deSHans Petter SelaskySet to enable USB streams support.
8030e555deSHans Petter SelaskyThe default value is 0.
8130e555deSHans Petter Selasky.It Va hw.usb.xhci.route
8230e555deSHans Petter SelaskySet bitmap for switching EHCI ports to the XHCI controller.
8330e555deSHans Petter SelaskyThe default value is 0.
8430e555deSHans Petter Selasky.It Va hw.usb.xhci.polling
8530e555deSHans Petter SelaskySet to use a timer to poll the interrupt handler.
8630e555deSHans Petter SelaskyThe default value is 0.
8730e555deSHans Petter Selasky.It Va hw.usb.xhci.dma32
8830e555deSHans Petter SelaskySet to only use 32-bit DMA for the XHCI controller.
8930e555deSHans Petter SelaskyThe default value is 0.
9030e555deSHans Petter Selasky.It Va hw.usb.xhci.ctlstep
9130e555deSHans Petter SelaskySet to enable control endpoint status state stepping.
9230e555deSHans Petter SelaskyThe default value is 0.
931adc28f5SChristian Brueffer.El
94f728775bSHans Petter Selasky.Sh SEE ALSO
95f728775bSHans Petter Selasky.Xr ehci 4 ,
96f728775bSHans Petter Selasky.Xr ohci 4 ,
9730e555deSHans Petter Selasky.Xr uhci 4 and
98f728775bSHans Petter Selasky.Xr usb 4
99f728775bSHans Petter Selasky.Sh HISTORY
100f728775bSHans Petter SelaskyThe
101f728775bSHans Petter Selasky.Nm
102f728775bSHans Petter Selaskydevice driver first appeared in
103f728775bSHans Petter Selasky.Fx 8.2 .
104