xref: /linux/Documentation/ABI/testing/configfs-most (revision cbac924200b838cfb8d8b1415113d788089dc50b)
1What: 		/sys/kernel/config/most_<component>
2Date: 		March 8, 2019
3KernelVersion:  5.2
4Description: 	Interface is used to configure and connect device channels
5		to component drivers.
6
7		Attributes are visible only when configfs is mounted. To mount
8		configfs in /sys/kernel/config directory use:
9		# mount -t configfs none /sys/kernel/config/
10
11
12What: 		/sys/kernel/config/most_cdev/<link>
13Date: 		March 8, 2019
14KernelVersion:  5.2
15Description:
16		The attributes:
17
18		buffer_size
19				configure the buffer size for this channel
20
21		subbuffer_size
22				configure the sub-buffer size for this channel
23				(needed for synchronous and isochronous data)
24
25
26		num_buffers
27				configure number of buffers used for this
28				channel
29
30		datatype
31				configure type of data that will travel over
32				this channel
33
34		direction
35				configure whether this link will be an input
36				or output
37
38		dbr_size
39				configure DBR data buffer size (this is used
40				for MediaLB communication only)
41
42		packets_per_xact
43				configure the number of packets that will be
44				collected from the network before being
45				transmitted via USB (this is used for USB
46				communication only)
47
48		device
49				name of the device the link is to be attached to
50
51		channel
52				name of the channel the link is to be attached to
53
54		comp_params
55				pass parameters needed by some components
56
57		create_link
58				write '1' to this attribute to trigger the
59				creation of the link. In case of speculative
60				configuration, the creation is post-poned until
61				a physical device is being attached to the bus.
62
63		destroy_link
64				write '1' to this attribute to destroy an
65				active link
66
67What: 		/sys/kernel/config/most_video/<link>
68Date: 		March 8, 2019
69KernelVersion:  5.2
70Description:
71		The attributes:
72
73		buffer_size
74				configure the buffer size for this channel
75
76		subbuffer_size
77				configure the sub-buffer size for this channel
78				(needed for synchronous and isochronous data)
79
80
81		num_buffers
82				configure number of buffers used for this
83				channel
84
85		datatype
86				configure type of data that will travel over
87				this channel
88
89		direction
90				configure whether this link will be an input
91				or output
92
93		dbr_size
94				configure DBR data buffer size (this is used
95				for MediaLB communication only)
96
97		packets_per_xact
98				configure the number of packets that will be
99				collected from the network before being
100				transmitted via USB (this is used for USB
101				communication only)
102
103		device
104				name of the device the link is to be attached to
105
106		channel
107				name of the channel the link is to be attached to
108
109		comp_params
110				pass parameters needed by some components
111
112		create_link
113				write '1' to this attribute to trigger the
114				creation of the link. In case of speculative
115				configuration, the creation is post-poned until
116				a physical device is being attached to the bus.
117
118		destroy_link
119				write '1' to this attribute to destroy an
120				active link
121
122What: 		/sys/kernel/config/most_net/<link>
123Date: 		March 8, 2019
124KernelVersion:  5.2
125Description:
126		The attributes:
127
128		buffer_size
129				configure the buffer size for this channel
130
131		subbuffer_size
132				configure the sub-buffer size for this channel
133				(needed for synchronous and isochronous data)
134
135
136		num_buffers
137				configure number of buffers used for this
138				channel
139
140		datatype
141				configure type of data that will travel over
142				this channel
143
144		direction
145				configure whether this link will be an input
146				or output
147
148		dbr_size
149				configure DBR data buffer size (this is used
150				for MediaLB communication only)
151
152		packets_per_xact
153				configure the number of packets that will be
154				collected from the network before being
155				transmitted via USB (this is used for USB
156				communication only)
157
158		device
159				name of the device the link is to be attached to
160
161		channel
162				name of the channel the link is to be attached to
163
164		comp_params
165				pass parameters needed by some components
166
167		create_link
168				write '1' to this attribute to trigger the
169				creation of the link. In case of speculative
170				configuration, the creation is post-poned until
171				a physical device is being attached to the bus.
172
173		destroy_link
174				write '1' to this attribute to destroy an
175				active link
176
177What: 		/sys/kernel/config/most_sound/<card>
178Date: 		March 8, 2019
179KernelVersion:  5.2
180Description:
181		The attributes:
182
183		create_card
184				write '1' to this attribute to trigger the
185                                registration of the sound card with the ALSA
186				subsystem.
187
188What: 		/sys/kernel/config/most_sound/<card>/<link>
189Date: 		March 8, 2019
190KernelVersion:  5.2
191Description:
192		The attributes:
193
194		buffer_size
195				configure the buffer size for this channel
196
197		subbuffer_size
198				configure the sub-buffer size for this channel
199				(needed for synchronous and isochronous data)
200
201
202		num_buffers
203				configure number of buffers used for this
204				channel
205
206		datatype
207				configure type of data that will travel over
208				this channel
209
210		direction
211				configure whether this link will be an input
212				or output
213
214		dbr_size
215				configure DBR data buffer size (this is used
216				for MediaLB communication only)
217
218		packets_per_xact
219				configure the number of packets that will be
220				collected from the network before being
221				transmitted via USB (this is used for USB
222				communication only)
223
224		device
225				name of the device the link is to be attached to
226
227		channel
228				name of the channel the link is to be attached to
229
230		comp_params
231				pass parameters needed by some components
232
233		create_link
234				write '1' to this attribute to trigger the
235				creation of the link. In case of speculative
236				configuration, the creation is post-poned until
237				a physical device is being attached to the bus.
238
239		destroy_link
240				write '1' to this attribute to destroy an
241				active link
242