Lines Matching +full:sub +full:- +full:controllers
1 .. SPDX-License-Identifier: GPL-2.0
4 PCI Non-Transparent Bridge (NTB) Endpoint Function (EPF) User Guide
9 This document is a guide to help users use pci-epf-vntb function driver
13 Documentation/PCI/endpoint/pci-vntb-function.rst
19 ---------------------------
28 # ls /sys/kernel/config/pci_ep/controllers
32 -------------------------
36 # ls /sys/bus/pci-epf/drivers
45 Creating pci-epf-vntb Device
46 ----------------------------
49 pci-epf-vntb device, the following commands can be used::
51 # mount -t configfs none /sys/kernel/config
55 The "mkdir func1" above creates the pci-epf-ntb function device that will
62 baseclass_code deviceid msi_interrupts pci-epf-ntb.0
68 when the device is bound to the driver. The pci-epf-vntb driver populates
77 Configuring pci-epf-vntb Device
78 -------------------------------
80 The user can configure the pci-epf-vntb device using its configfs entry. In order
87 The PCI endpoint framework also automatically creates a sub-directory in the
88 function attribute directory. This sub-directory has the same name as the name
109 Binding pci-epf-ntb Device to EP Controller
110 --------------------------------------------
112 NTB function device should be attached to PCI endpoint controllers
115 # ln -s controllers/5f010000.pcie_ep functions/pci-epf-ntb/func1/primary
117 Once the above step is completed, the PCI endpoint controllers are ready to
122 --------------
125 field should be populated with '1'. For NTB, both the PCI endpoint controllers
128 # echo 1 > controllers/5f010000.pcie_ep/start
134 -------------------------
137 "Creating pci-epf-ntb Device" section above::
147 -----------------------------------------
150 "Creating pci-epf-ntb Device" section above::
156 -----------------------
164 :doc:`Non-Transparent Bridge <../../driver-api/ntb>`