Lines Matching +full:resource +full:- +full:files
1 .. SPDX-License-Identifier: GPL-2.0
11 |-- 0000:17:00.0
12 | |-- class
13 | |-- config
14 | |-- device
15 | |-- enable
16 | |-- irq
17 | |-- local_cpus
18 | |-- remove
19 | |-- resource
20 | |-- resource0
21 | |-- resource1
22 | |-- resource2
23 | |-- revision
24 | |-- rom
25 | |-- subsystem_device
26 | |-- subsystem_vendor
27 | `-- vendor
28 `-- ...
34 files, each with their own function.
46 resource PCI resource host addresses (ascii, ro)
47 resource0..N PCI resource N, if present (binary, mmap, rw\ [1]_)
48 resource0_wc..N_wc PCI WC map resource N, if prefetchable (binary, mmap)
50 rom PCI ROM resource, if present (binary, ro)
58 ro - read only file
59 rw - file is readable and writable
60 wo - write only file
61 mmap - file is mmapable
62 ascii - file contains ascii text
63 binary - file contains binary data
64 cpumask - file contains a cpumask type
68 The read only files are informational, writes to them will be ignored, with
69 the exception of the 'rom' file. Writable files can be used to perform
71 mmapable files are available via an mmap of the file at offset 0 and can be
83 The 'rom' file is special in that it provides read-only access to the device's
91 The 'remove' file is used to remove the PCI device, by writing a non-zero
92 integer to the file. This does not involve any kind of hot-plug functionality,
99 ----------------------------------------
106 |-- bridge -> ../../../devices/pci0000:17
107 |-- cpuaffinity
108 |-- legacy_io
109 `-- legacy_mem
120 --------------------------------------
122 In order to support PCI resource mapping as described above, Linux platform
125 mmap() through files in /proc/bus/pci, platforms may also set HAVE_PCI_MMAP.
131 Platforms which support write-combining maps of PCI resources must define
132 arch_can_pci_mmap_wc() which shall evaluate to non-zero at runtime when
133 write-combining is permitted. Platforms which support maps of I/O resources