linux/drivers/thunderbolt
Mika Westerberg 0b2863ac3c thunderbolt: Add functions for allocating and releasing HopIDs
Each port has a separate path configuration space that is used for
finding the next hop (switch) in the path. HopID is an index to this
configuration space. HopIDs 0 - 7 are reserved by the protocol.

In order to get next available HopID for each direction we provide two
pairs of helper functions that can be used to allocate and release
HopIDs for a given port.

While there remove obsolete TODO comment.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
2019-04-18 11:18:52 +03:00
..
cap.c thunderbolt: Add dummy read after port capability list walk on Light Ridge 2019-04-18 11:18:51 +03:00
ctl.c thunderbolt: Add Intel as copyright holder 2018-10-02 15:52:08 -07:00
ctl.h thunderbolt: Add Intel as copyright holder 2018-10-02 15:52:08 -07:00
dma_port.c thunderbolt: Convert rest of the driver files to use SPDX identifier 2018-10-02 15:52:08 -07:00
dma_port.h thunderbolt: Convert rest of the driver files to use SPDX identifier 2018-10-02 15:52:08 -07:00
domain.c thunderbolt: Export IOMMU based DMA protection support to userspace 2018-12-05 12:01:56 +03:00
eeprom.c thunderbolt: Add Intel as copyright holder 2018-10-02 15:52:08 -07:00
icm.c thunderbolt: Do not allocate switch if depth is greater than 6 2019-04-18 11:18:51 +03:00
Kconfig thunderbolt: Add support for host and device NVM firmware upgrade 2017-06-09 11:42:43 +02:00
lc.c thunderbolt: Set sleep bit when suspending switch 2019-04-18 11:18:52 +03:00
Makefile thunderbolt: Rename tunnel_pci to tunnel 2019-04-18 11:18:52 +03:00
nhi_regs.h thunderbolt: Add Intel as copyright holder 2018-10-02 15:52:08 -07:00
nhi.c thunderbolt: Add functions for allocating and releasing HopIDs 2019-04-18 11:18:52 +03:00
nhi.h thunderbolt: Add Intel as copyright holder 2018-10-02 15:52:08 -07:00
path.c thunderbolt: Properly disable path 2019-04-18 11:18:52 +03:00
property.c thunderbolt: property: Fix a missing check of kzalloc 2019-03-28 11:30:47 +03:00
switch.c thunderbolt: Add functions for allocating and releasing HopIDs 2019-04-18 11:18:52 +03:00
tb_msgs.h thunderbolt: Convert rest of the driver files to use SPDX identifier 2018-10-02 15:52:08 -07:00
tb_regs.h thunderbolt: Generalize tunnel creation functionality 2019-04-18 11:18:52 +03:00
tb.c thunderbolt: Generalize tunnel creation functionality 2019-04-18 11:18:52 +03:00
tb.h thunderbolt: Add functions for allocating and releasing HopIDs 2019-04-18 11:18:52 +03:00
tunnel.c thunderbolt: Generalize tunnel creation functionality 2019-04-18 11:18:52 +03:00
tunnel.h thunderbolt: Generalize tunnel creation functionality 2019-04-18 11:18:52 +03:00
xdomain.c thunderbolt: xdomain: Fix to check return value of kmemdup 2019-03-22 13:27:44 +03:00