Lines Matching refs:device
8 For each RapidIO device, the RapidIO subsystem creates files in an individual
13 nn - two-digit hexadecimal ID of RapidIO network where the device resides
14 d - device typr: 'e' - for endpoint or 's' - for switch
15 iiii - four-digit device destID for endpoints, or switchID for switches
17 For example, below is a list of device directories that represents a typical
31 Each device subdirectory contains the following informational read-only files:
33 did - returns the device identifier
34 vid - returns the device vendor identifier
35 device_rev - returns the device revision level
36 asm_did - returns identifier for the assembly containing the device
37 asm_rev - returns revision level of the assembly containing the device
38 asm_vid - returns vendor identifier of the assembly containing the device
39 destid - returns device destination ID assigned by the enumeration routine
41 lprev - returns name of previous device (switch) on the path to the device
43 modalias - returns the device modalias
45 In addition to the files listed above, each device has a binary attribute file
46 that allows read/write access to the device configuration registers using
49 config - reads from and writes to the device configuration registers.
52 and provides an access to the RapidIO device registers using standard file read
59 attributes. It is possible that RapidIO master port drivers and endpoint device
60 drivers will add their device-specific sysfs attributes but such attributes are
67 common and device-specific sysfs attributes for switches. Because switches are
69 device-specific sysfs attributes by specifying a callback function that may be
77 destid - device destination ID that defines a route to the switch
79 lnext - returns names of devices linked to the switch except one of a device
82 a switch port has no attached device, returns "null" instead of
83 a device name.
91 errlog - reads contents of device error log until it is empty.
102 process on specific mport device, a user needs to write mport_ID (not
104 number (0 ... RIO_MAX_MPORTS) assigned to the mport device.
122 mport device.
124 Each mport device subdirectory in addition to standard entries contains the
125 following device-specific attributes:
128 mport device. If value 0xFFFFFFFF is returned this means that
137 After enumeration or discovery was performed for a given mport device,
139 child RapidIO device connected to the mport. Naming conventions for RapidIO
142 The example below shows mport device subdirectory with several child RapidIO
153 lrwxrwxrwx 1 root root 0 Feb 11 15:11 device -> ../../../0000:01:00.0