Directory Files
.. 2
File Size
Kconfig 1.5 kB
Makefile 595 B
acpi.c 10 kB
cap.c 5.6 kB
ctl.c 28 kB
ctl.h 4.7 kB
debugfs.c 17 kB
dma_port.c 12 kB
dma_port.h 937 B
dma_test.c 19 kB
domain.c 22 kB
eeprom.c 15 kB
icm.c 66 kB
lc.c 12 kB
nhi.c 36 kB
nhi.h 3.0 kB
nhi_ops.c 4.4 kB
nhi_regs.h 4.6 kB
nvm.c 6.4 kB
path.c 15 kB
property.c 19 kB
quirks.c 1.6 kB
retimer.c 12 kB
sb_regs.h 1.2 kB
switch.c 77 kB
tb.c 41 kB
tb.h 41 kB
tb_msgs.h 12 kB
tb_regs.h 14 kB
test.c 85 kB
thunderbolt.mod.c 0 B
thunderbolt_dma_test.mod.c 0 B
tmu.c 8.6 kB
tunnel.c 44 kB
tunnel.h 4.2 kB
usb4.c 51 kB
usb4_port.c 6.1 kB
xdomain.c 52 kB

Linux v5.15-rc6 - thunderbolt

# SPDX-License-Identifier: GPL-2.0-only
menuconfig USB4
	tristate "Unified support for USB4 and Thunderbolt"
	depends on PCI
	select APPLE_PROPERTIES if EFI_STUB && X86
	select CRC32
	select CRYPTO
	select CRYPTO_HASH
	select NVMEM
	help
	  USB4 and Thunderbolt driver. USB4 is the public specification
	  based on the Thunderbolt 3 protocol. This driver is required if
	  you want to hotplug Thunderbolt and USB4 compliant devices on
	  Apple hardware or on PCs with Intel Falcon Ridge or newer.

	  To compile this driver a module, choose M here. The module will be
	  called thunderbolt.

if USB4

config USB4_DEBUGFS_WRITE
	bool "Enable write by debugfs to configuration spaces (DANGEROUS)"
	help
	  Enables writing to device configuration registers through
	  debugfs interface.

	  Only enable this if you know what you are doing! Never enable
	  this for production systems or distro kernels.

config USB4_KUNIT_TEST
	bool "KUnit tests"
	depends on KUNIT=y

config USB4_DMA_TEST
	tristate "DMA traffic test driver"
	depends on DEBUG_FS
	help
	  This allows sending and receiving DMA traffic through loopback
	  connection. Loopback connection can be done by either special
	  dongle that has TX/RX lines crossed, or by simply connecting a
	  cable back to the host. Only enable this if you know what you
	  are doing. Normal users and distro kernels should say N here.

	  To compile this driver a module, choose M here. The module will be
	  called thunderbolt_dma_test.

endif # USB4