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