WSL2-Linux-Kernel/drivers/thunderbolt
Rafael J. Wysocki a73a204b44 thunderbolt: ACPI: Replace tb_acpi_find_port() with acpi_find_child_by_adr()
Use acpi_find_child_by_adr() to find the child matching a given bus
address instead of tb_acpi_find_port() that walks the list of children
of an ACPI device directly for this purpose and drop the latter.

Apart from simplifying the code, this will help to eliminate the
children list head from struct acpi_device as it is redundant and it
is used in questionable ways in some places (in particular, locking is
needed for walking the list pointed to it safely, but it is often
missing).

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
2022-06-20 20:32:26 +02:00
..
Kconfig thunderbolt: Add DMA traffic test driver 2020-11-11 10:20:16 +03:00
Makefile thunderbolt: build kunit tests without structleak plugin 2021-10-06 17:53:49 -06:00
acpi.c thunderbolt: ACPI: Replace tb_acpi_find_port() with acpi_find_child_by_adr() 2022-06-20 20:32:26 +02:00
cap.c thunderbolt: cap: Fix kernel-doc formatting issue 2021-01-28 12:33:18 +03:00
ctl.c thunderbolt: Replace usage of found with dedicated list iterator variable 2022-04-04 12:31:50 +03:00
ctl.h thunderbolt: Decrease control channel timeout for software connection manager 2021-03-18 18:25:30 +03:00
debugfs.c thunderbolt: debugfs: Show all accessible dwords 2021-03-12 13:13:34 +03:00
dma_port.c thunderbolt: Use generic tb_nvm_[read|write]_data() for Thunderbolt 2/3 devices 2021-05-31 14:37:54 +03:00
dma_port.h thunderbolt: Convert rest of the driver files to use SPDX identifier 2018-10-02 15:52:08 -07:00
dma_test.c thunderbolt: Allow multiple DMA tunnels over a single XDomain connection 2021-03-18 18:25:31 +03:00
domain.c thunderbolt: Make iommu_dma_protection more accurate 2022-04-28 10:30:25 +02:00
eeprom.c thunderbolt: Rename EEPROM handling bits to match USB4 spec 2022-03-04 17:10:36 +03:00
icm.c thunderbolt: Check return value of kmemdup() in icm_handle_event() 2021-12-15 13:39:08 +03:00
lc.c thunderbolt: Add internal xHCI connect flows for Thunderbolt 3 devices 2022-02-02 13:56:51 +03:00
nhi.c USB / Thunderbolt changes for 5.19-rc1 2022-06-03 11:17:49 -07:00
nhi.h thunderbolt: Add support for Intel Alder Lake 2021-06-11 11:42:54 +03:00
nhi_ops.c thunderbolt: Software CM only should set force power in Tiger Lake 2020-09-03 12:06:40 +03:00
nhi_regs.h thunderbolt: Add support for Intel Ice Lake 2019-08-26 12:15:06 +03:00
nvm.c thunderbolt: Drop duplicate NULL checks around nvmem_unregister() 2022-02-21 18:00:30 +01:00
path.c thunderbolt: Dump path config space entries during discovery 2022-04-19 10:26:13 +03:00
property.c thunderbolt: Add tb_property_copy_dir() 2021-03-18 18:25:31 +03:00
quirks.c thunderbolt: Add quirk for Intel Goshen Ridge DP credits 2021-06-01 10:48:59 +03:00
retimer.c thunderbolt: Runtime resume USB4 port when retimers are scanned 2021-12-07 15:18:33 +03:00
sb_regs.h thunderbolt: Add additional USB4 port operations for retimer access 2021-06-01 10:53:31 +03:00
switch.c thunderbolt: Ignore port locked error in tb_port_wait_for_link_width() 2022-05-05 09:25:16 +03:00
tb.c thunderbolt: Add support for XDomain lane bonding 2022-05-05 09:25:23 +03:00
tb.h thunderbolt: Split setting link width and lane bonding into own functions 2022-05-05 09:25:04 +03:00
tb_msgs.h thunderbolt: Add support for XDomain lane bonding 2022-05-05 09:25:23 +03:00
tb_regs.h thunderbolt: Add support for XDomain lane bonding 2022-05-05 09:25:23 +03:00
test.c USB / Thunderbolt changes for 5.19-rc1 2022-06-03 11:17:49 -07:00
tmu.c thunderbolt: Enable CL0s for Intel Titan Ridge 2021-12-28 10:43:56 +03:00
tunnel.c thunderbolt: Fix buffer allocation of devices with no DisplayPort adapters 2022-05-12 09:22:11 +03:00
tunnel.h thunderbolt: Use different lane for second DisplayPort tunnel 2022-04-19 10:26:18 +03:00
usb4.c thunderbolt: Move usb4_switch_wait_for_bit() to switch.c 2021-12-22 17:13:14 +03:00
usb4_port.c thunderbolt: Link USB4 ports to their USB Type-C connectors 2022-04-29 12:17:48 +03:00
xdomain.c thunderbolt: Add support for XDomain lane bonding 2022-05-05 09:25:23 +03:00