xref: /linux/Documentation/ABI/testing/sysfs-bus-most (revision cdd38c5f1ce4398ec58fec95904b75824daab7b5)
1b50220c1SChristian GrommWhat:		/sys/bus/most/devices/<dev>/description
24a1a3e9bSChristian GrommDate:		March 2017
34a1a3e9bSChristian GrommKernelVersion:	4.15
44a1a3e9bSChristian GrommContact:	Christian Gromm <christian.gromm@microchip.com>
54a1a3e9bSChristian GrommDescription:
6b50220c1SChristian Gromm		Provides information about the physical location of the
7b50220c1SChristian Gromm		device. Hardware attached via USB, for instance,
84a1a3e9bSChristian Gromm		might return <1-1.1:1.0>
94a1a3e9bSChristian GrommUsers:
104a1a3e9bSChristian Gromm
11b50220c1SChristian GrommWhat:		/sys/bus/most/devices/<dev>/interface
124a1a3e9bSChristian GrommDate:		March 2017
134a1a3e9bSChristian GrommKernelVersion:	4.15
144a1a3e9bSChristian GrommContact:	Christian Gromm <christian.gromm@microchip.com>
154a1a3e9bSChristian GrommDescription:
164a1a3e9bSChristian Gromm		Indicates the type of peripheral interface the device uses.
174a1a3e9bSChristian GrommUsers:
184a1a3e9bSChristian Gromm
19b50220c1SChristian GrommWhat:		/sys/bus/most/devices/<dev>/dci
204a1a3e9bSChristian GrommDate:		June 2016
214a1a3e9bSChristian GrommKernelVersion:	4.15
224a1a3e9bSChristian GrommContact:	Christian Gromm <christian.gromm@microchip.com>
234a1a3e9bSChristian GrommDescription:
244a1a3e9bSChristian Gromm		If the network interface controller is attached via USB, a dci
254a1a3e9bSChristian Gromm		directory is created that allows applications to read and
264a1a3e9bSChristian Gromm		write the controller's DCI registers.
274a1a3e9bSChristian GrommUsers:
284a1a3e9bSChristian Gromm
29b50220c1SChristian GrommWhat:		/sys/bus/most/devices/<dev>/dci/arb_address
304a1a3e9bSChristian GrommDate:		June 2016
314a1a3e9bSChristian GrommKernelVersion:	4.15
324a1a3e9bSChristian GrommContact:	Christian Gromm <christian.gromm@microchip.com>
334a1a3e9bSChristian GrommDescription:
344a1a3e9bSChristian Gromm		This is used to set an arbitrary DCI register address an
354a1a3e9bSChristian Gromm		application wants to read from or write to.
364a1a3e9bSChristian GrommUsers:
374a1a3e9bSChristian Gromm
38b50220c1SChristian GrommWhat:		/sys/bus/most/devices/<dev>/dci/arb_value
394a1a3e9bSChristian GrommDate:		June 2016
404a1a3e9bSChristian GrommKernelVersion:	4.15
414a1a3e9bSChristian GrommContact:	Christian Gromm <christian.gromm@microchip.com>
424a1a3e9bSChristian GrommDescription:
434a1a3e9bSChristian Gromm		This is used to read and write the DCI register whose address
444a1a3e9bSChristian Gromm		is stored in arb_address.
454a1a3e9bSChristian GrommUsers:
464a1a3e9bSChristian Gromm
47b50220c1SChristian GrommWhat:		/sys/bus/most/devices/<dev>/dci/mep_eui48_hi
484a1a3e9bSChristian GrommDate:		June 2016
494a1a3e9bSChristian GrommKernelVersion:	4.15
504a1a3e9bSChristian GrommContact:	Christian Gromm <christian.gromm@microchip.com>
514a1a3e9bSChristian GrommDescription:
524a1a3e9bSChristian Gromm		This is used to check and configure the MAC address.
534a1a3e9bSChristian GrommUsers:
544a1a3e9bSChristian Gromm
55b50220c1SChristian GrommWhat:		/sys/bus/most/devices/<dev>/dci/mep_eui48_lo
564a1a3e9bSChristian GrommDate:		June 2016
574a1a3e9bSChristian GrommKernelVersion:	4.15
584a1a3e9bSChristian GrommContact:	Christian Gromm <christian.gromm@microchip.com>
594a1a3e9bSChristian GrommDescription:
604a1a3e9bSChristian Gromm		This is used to check and configure the MAC address.
614a1a3e9bSChristian GrommUsers:
624a1a3e9bSChristian Gromm
63b50220c1SChristian GrommWhat:		/sys/bus/most/devices/<dev>/dci/mep_eui48_mi
644a1a3e9bSChristian GrommDate:		June 2016
654a1a3e9bSChristian GrommKernelVersion:	4.15
664a1a3e9bSChristian GrommContact:	Christian Gromm <christian.gromm@microchip.com>
674a1a3e9bSChristian GrommDescription:
684a1a3e9bSChristian Gromm		This is used to check and configure the MAC address.
694a1a3e9bSChristian GrommUsers:
704a1a3e9bSChristian Gromm
71b50220c1SChristian GrommWhat:		/sys/bus/most/devices/<dev>/dci/mep_filter
724a1a3e9bSChristian GrommDate:		June 2016
734a1a3e9bSChristian GrommKernelVersion:	4.15
744a1a3e9bSChristian GrommContact:	Christian Gromm <christian.gromm@microchip.com>
754a1a3e9bSChristian GrommDescription:
764a1a3e9bSChristian Gromm		This is used to check and configure the MEP filter address.
774a1a3e9bSChristian GrommUsers:
784a1a3e9bSChristian Gromm
79b50220c1SChristian GrommWhat:		/sys/bus/most/devices/<dev>/dci/mep_hash0
804a1a3e9bSChristian GrommDate:		June 2016
814a1a3e9bSChristian GrommKernelVersion:	4.15
824a1a3e9bSChristian GrommContact:	Christian Gromm <christian.gromm@microchip.com>
834a1a3e9bSChristian GrommDescription:
844a1a3e9bSChristian Gromm		This is used to check and configure the MEP hash table.
854a1a3e9bSChristian GrommUsers:
864a1a3e9bSChristian Gromm
87b50220c1SChristian GrommWhat:		/sys/bus/most/devices/<dev>/dci/mep_hash1
884a1a3e9bSChristian GrommDate:		June 2016
894a1a3e9bSChristian GrommKernelVersion:	4.15
904a1a3e9bSChristian GrommContact:	Christian Gromm <christian.gromm@microchip.com>
914a1a3e9bSChristian GrommDescription:
924a1a3e9bSChristian Gromm		This is used to check and configure the MEP hash table.
934a1a3e9bSChristian GrommUsers:
944a1a3e9bSChristian Gromm
95b50220c1SChristian GrommWhat:		/sys/bus/most/devices/<dev>/dci/mep_hash2
964a1a3e9bSChristian GrommDate:		June 2016
974a1a3e9bSChristian GrommKernelVersion:	4.15
984a1a3e9bSChristian GrommContact:	Christian Gromm <christian.gromm@microchip.com>
994a1a3e9bSChristian GrommDescription:
1004a1a3e9bSChristian Gromm		This is used to check and configure the MEP hash table.
1014a1a3e9bSChristian GrommUsers:
1024a1a3e9bSChristian Gromm
103b50220c1SChristian GrommWhat:		/sys/bus/most/devices/<dev>/dci/mep_hash3
1044a1a3e9bSChristian GrommDate:		June 2016
1054a1a3e9bSChristian GrommKernelVersion:	4.15
1064a1a3e9bSChristian GrommContact:	Christian Gromm <christian.gromm@microchip.com>
1074a1a3e9bSChristian GrommDescription:
1084a1a3e9bSChristian Gromm		This is used to check and configure the MEP hash table.
1094a1a3e9bSChristian GrommUsers:
1104a1a3e9bSChristian Gromm
111b50220c1SChristian GrommWhat:		/sys/bus/most/devices/<dev>/dci/ni_state
1124a1a3e9bSChristian GrommDate:		June 2016
1134a1a3e9bSChristian GrommKernelVersion:	4.15
1144a1a3e9bSChristian GrommContact:	Christian Gromm <christian.gromm@microchip.com>
1154a1a3e9bSChristian GrommDescription:
1164a1a3e9bSChristian Gromm		Indicates the current network interface state.
1174a1a3e9bSChristian GrommUsers:
1184a1a3e9bSChristian Gromm
119b50220c1SChristian GrommWhat:		/sys/bus/most/devices/<dev>/dci/node_address
1204a1a3e9bSChristian GrommDate:		June 2016
1214a1a3e9bSChristian GrommKernelVersion:	4.15
1224a1a3e9bSChristian GrommContact:	Christian Gromm <christian.gromm@microchip.com>
1234a1a3e9bSChristian GrommDescription:
1244a1a3e9bSChristian Gromm		Indicates the current node address.
1254a1a3e9bSChristian GrommUsers:
1264a1a3e9bSChristian Gromm
127b50220c1SChristian GrommWhat:		/sys/bus/most/devices/<dev>/dci/node_position
1284a1a3e9bSChristian GrommDate:		June 2016
1294a1a3e9bSChristian GrommKernelVersion:	4.15
1304a1a3e9bSChristian GrommContact:	Christian Gromm <christian.gromm@microchip.com>
1314a1a3e9bSChristian GrommDescription:
1324a1a3e9bSChristian Gromm		Indicates the current node position.
1334a1a3e9bSChristian GrommUsers:
1344a1a3e9bSChristian Gromm
135b50220c1SChristian GrommWhat:		/sys/bus/most/devices/<dev>/dci/packet_bandwidth
1364a1a3e9bSChristian GrommDate:		June 2016
1374a1a3e9bSChristian GrommKernelVersion:	4.15
1384a1a3e9bSChristian GrommContact:	Christian Gromm <christian.gromm@microchip.com>
1394a1a3e9bSChristian GrommDescription:
1404a1a3e9bSChristian Gromm		Indicates the configured packet bandwidth.
1414a1a3e9bSChristian GrommUsers:
1424a1a3e9bSChristian Gromm
143b50220c1SChristian GrommWhat:		/sys/bus/most/devices/<dev>/dci/sync_ep
1444a1a3e9bSChristian GrommDate:		June 2016
1454a1a3e9bSChristian GrommKernelVersion:	4.15
1464a1a3e9bSChristian GrommContact:	Christian Gromm <christian.gromm@microchip.com>
1474a1a3e9bSChristian GrommDescription:
1484a1a3e9bSChristian Gromm		Triggers the controller's synchronization process for a certain
1494a1a3e9bSChristian Gromm		endpoint.
1504a1a3e9bSChristian GrommUsers:
1514a1a3e9bSChristian Gromm
152b50220c1SChristian GrommWhat:		/sys/bus/most/devices/<dev>/<channel>/
1534a1a3e9bSChristian GrommDate:		March 2017
1544a1a3e9bSChristian GrommKernelVersion:	4.15
1554a1a3e9bSChristian GrommContact:	Christian Gromm <christian.gromm@microchip.com>
1564a1a3e9bSChristian GrommDescription:
1574a1a3e9bSChristian Gromm		For every channel of the device a directory is created, whose
1584a1a3e9bSChristian Gromm		name is dictated by the HDM. This enables an application to
1594a1a3e9bSChristian Gromm		collect information about the channel's capabilities and
1604a1a3e9bSChristian Gromm		configure it.
1614a1a3e9bSChristian GrommUsers:
1624a1a3e9bSChristian Gromm
163b50220c1SChristian GrommWhat:		/sys/bus/most/devices/<dev>/<channel>/available_datatypes
1644a1a3e9bSChristian GrommDate:		March 2017
1654a1a3e9bSChristian GrommKernelVersion:	4.15
1664a1a3e9bSChristian GrommContact:	Christian Gromm <christian.gromm@microchip.com>
1674a1a3e9bSChristian GrommDescription:
168b50220c1SChristian Gromm		Indicates the data types the channel can transport.
1694a1a3e9bSChristian GrommUsers:
1704a1a3e9bSChristian Gromm
171b50220c1SChristian GrommWhat:		/sys/bus/most/devices/<dev>/<channel>/available_directions
1724a1a3e9bSChristian GrommDate:		March 2017
1734a1a3e9bSChristian GrommKernelVersion:	4.15
1744a1a3e9bSChristian GrommContact:	Christian Gromm <christian.gromm@microchip.com>
1754a1a3e9bSChristian GrommDescription:
176b50220c1SChristian Gromm		Indicates the directions the channel is capable of.
1774a1a3e9bSChristian GrommUsers:
1784a1a3e9bSChristian Gromm
179b50220c1SChristian GrommWhat:		/sys/bus/most/devices/<dev>/<channel>/number_of_packet_buffers
1804a1a3e9bSChristian GrommDate:		March 2017
1814a1a3e9bSChristian GrommKernelVersion:	4.15
1824a1a3e9bSChristian GrommContact:	Christian Gromm <christian.gromm@microchip.com>
1834a1a3e9bSChristian GrommDescription:
184b50220c1SChristian Gromm		Indicates the number of packet buffers the channel can
1854a1a3e9bSChristian Gromm		handle.
1864a1a3e9bSChristian GrommUsers:
1874a1a3e9bSChristian Gromm
188b50220c1SChristian GrommWhat:		/sys/bus/most/devices/<dev>/<channel>/number_of_stream_buffers
1894a1a3e9bSChristian GrommDate:		March 2017
1904a1a3e9bSChristian GrommKernelVersion:	4.15
1914a1a3e9bSChristian GrommContact:	Christian Gromm <christian.gromm@microchip.com>
1924a1a3e9bSChristian GrommDescription:
193b50220c1SChristian Gromm		Indicates the number of streaming buffers the channel can
1944a1a3e9bSChristian Gromm		handle.
1954a1a3e9bSChristian GrommUsers:
1964a1a3e9bSChristian Gromm
197b50220c1SChristian GrommWhat:		/sys/bus/most/devices/<dev>/<channel>/size_of_packet_buffer
1984a1a3e9bSChristian GrommDate:		March 2017
1994a1a3e9bSChristian GrommKernelVersion:	4.15
2004a1a3e9bSChristian GrommContact:	Christian Gromm <christian.gromm@microchip.com>
2014a1a3e9bSChristian GrommDescription:
202b50220c1SChristian Gromm		Indicates the size of a packet buffer the channel can
2034a1a3e9bSChristian Gromm		handle.
2044a1a3e9bSChristian GrommUsers:
2054a1a3e9bSChristian Gromm
206b50220c1SChristian GrommWhat:		/sys/bus/most/devices/<dev>/<channel>/size_of_stream_buffer
2074a1a3e9bSChristian GrommDate:		March 2017
2084a1a3e9bSChristian GrommKernelVersion:	4.15
2094a1a3e9bSChristian GrommContact:	Christian Gromm <christian.gromm@microchip.com>
2104a1a3e9bSChristian GrommDescription:
211b50220c1SChristian Gromm		Indicates the size of a streaming buffer the channel can
2124a1a3e9bSChristian Gromm		handle.
2134a1a3e9bSChristian GrommUsers:
2144a1a3e9bSChristian Gromm
215b50220c1SChristian GrommWhat:		/sys/bus/most/devices/<dev>/<channel>/set_number_of_buffers
2164a1a3e9bSChristian GrommDate:		March 2017
2174a1a3e9bSChristian GrommKernelVersion:	4.15
2184a1a3e9bSChristian GrommContact:	Christian Gromm <christian.gromm@microchip.com>
2194a1a3e9bSChristian GrommDescription:
220b50220c1SChristian Gromm		This is to read back the configured number of buffers of
221b50220c1SChristian Gromm		the channel.
2224a1a3e9bSChristian GrommUsers:
2234a1a3e9bSChristian Gromm
224b50220c1SChristian GrommWhat:		/sys/bus/most/devices/<dev>/<channel>/set_buffer_size
2254a1a3e9bSChristian GrommDate:		March 2017
2264a1a3e9bSChristian GrommKernelVersion:	4.15
2274a1a3e9bSChristian GrommContact:	Christian Gromm <christian.gromm@microchip.com>
2284a1a3e9bSChristian GrommDescription:
229b50220c1SChristian Gromm		This is to read back the configured buffer size of the channel.
2304a1a3e9bSChristian GrommUsers:
2314a1a3e9bSChristian Gromm
232b50220c1SChristian GrommWhat:		/sys/bus/most/devices/<dev>/<channel>/set_direction
2334a1a3e9bSChristian GrommDate:		March 2017
2344a1a3e9bSChristian GrommKernelVersion:	4.15
2354a1a3e9bSChristian GrommContact:	Christian Gromm <christian.gromm@microchip.com>
2364a1a3e9bSChristian GrommDescription:
237b50220c1SChristian Gromm		This is to read back the configured direction of the channel.
238*002a9c2fSMauro Carvalho Chehab		The following strings will be accepted::
239*002a9c2fSMauro Carvalho Chehab
240b50220c1SChristian Gromm			'tx',
241b50220c1SChristian Gromm			'rx'
2424a1a3e9bSChristian GrommUsers:
2434a1a3e9bSChristian Gromm
244b50220c1SChristian GrommWhat:		/sys/bus/most/devices/<dev>/<channel>/set_datatype
2454a1a3e9bSChristian GrommDate:		March 2017
2464a1a3e9bSChristian GrommKernelVersion:	4.15
2474a1a3e9bSChristian GrommContact:	Christian Gromm <christian.gromm@microchip.com>
2484a1a3e9bSChristian GrommDescription:
249b50220c1SChristian Gromm		This is to read back the configured data type of the channel.
250*002a9c2fSMauro Carvalho Chehab		The following strings will be accepted::
251*002a9c2fSMauro Carvalho Chehab
2524a1a3e9bSChristian Gromm			'control',
2534a1a3e9bSChristian Gromm			'async',
2544a1a3e9bSChristian Gromm			'sync',
2554a1a3e9bSChristian Gromm			'isoc_avp'
2564a1a3e9bSChristian GrommUsers:
2574a1a3e9bSChristian Gromm
258b50220c1SChristian GrommWhat:		/sys/bus/most/devices/<dev>/<channel>/set_subbuffer_size
2594a1a3e9bSChristian GrommDate:		March 2017
2604a1a3e9bSChristian GrommKernelVersion:	4.15
2614a1a3e9bSChristian GrommContact:	Christian Gromm <christian.gromm@microchip.com>
2624a1a3e9bSChristian GrommDescription:
263b50220c1SChristian Gromm		This is to read back the configured subbuffer size of
264b50220c1SChristian Gromm		the channel.
2654a1a3e9bSChristian GrommUsers:
2664a1a3e9bSChristian Gromm
267b50220c1SChristian GrommWhat:		/sys/bus/most/devices/<dev>/<channel>/set_packets_per_xact
2684a1a3e9bSChristian GrommDate:		March 2017
2694a1a3e9bSChristian GrommKernelVersion:	4.15
2704a1a3e9bSChristian GrommContact:	Christian Gromm <christian.gromm@microchip.com>
2714a1a3e9bSChristian GrommDescription:
272b50220c1SChristian Gromm		This is to read back the configured number of packets per
273b50220c1SChristian Gromm		transaction of the channel. This is only applicable when
274b50220c1SChristian Gromm		connected via USB.
2754a1a3e9bSChristian GrommUsers:
2764a1a3e9bSChristian Gromm
277b50220c1SChristian GrommWhat:		/sys/bus/most/devices/<dev>/<channel>/channel_starving
2784a1a3e9bSChristian GrommDate:		March 2017
2794a1a3e9bSChristian GrommKernelVersion:	4.15
2804a1a3e9bSChristian GrommContact:	Christian Gromm <christian.gromm@microchip.com>
2814a1a3e9bSChristian GrommDescription:
282b50220c1SChristian Gromm		Indicates whether channel ran out of buffers.
2834a1a3e9bSChristian GrommUsers:
2844a1a3e9bSChristian Gromm
2854a1a3e9bSChristian GrommWhat:		/sys/bus/most/drivers/most_core/components
2864a1a3e9bSChristian GrommDate:		March 2017
2874a1a3e9bSChristian GrommKernelVersion:	4.15
2884a1a3e9bSChristian GrommContact:	Christian Gromm <christian.gromm@microchip.com>
2894a1a3e9bSChristian GrommDescription:
2904a1a3e9bSChristian Gromm		This is used to retrieve a list of registered components.
2914a1a3e9bSChristian GrommUsers:
2924a1a3e9bSChristian Gromm
2934a1a3e9bSChristian GrommWhat:		/sys/bus/most/drivers/most_core/links
2944a1a3e9bSChristian GrommDate:		March 2017
2954a1a3e9bSChristian GrommKernelVersion:	4.15
2964a1a3e9bSChristian GrommContact:	Christian Gromm <christian.gromm@microchip.com>
2974a1a3e9bSChristian GrommDescription:
2984a1a3e9bSChristian Gromm		This is used to retrieve a list of established links.
2994a1a3e9bSChristian GrommUsers:
300