Lines Matching refs:file
37 file function
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
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
77 The 'enable' file provides a counter that indicates how many times the device
78 has been enabled. If the 'enable' file currently returns '4', and a '1' is
83 The 'rom' file is special in that it provides read-only access to the device's
84 ROM file, if available. It's disabled by default, however, so applications
85 should write the string "1" to the file to enable it before attempting a read
86 call, and disable it following the access by writing "0" to the file. Note
89 'enable' file, documented above.
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,
111 The legacy_io file is a read/write file that can be used by applications to
112 do legacy port I/O. The application should open the file, seek to the desired
114 file should be mmapped with an offset corresponding to the memory offset