blob: bc6b8bd18da49bf32ab23eb0b12e75e27d81790e [file] [log] [blame]
Christian Grommdeaf3b72019-04-03 15:19:55 +02001What: /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
Mauro Carvalho Chehab54a19b42020-10-30 08:40:50 +010018 buffer_size
19 configure the buffer size for this channel
Christian Grommdeaf3b72019-04-03 15:19:55 +020020
Mauro Carvalho Chehab54a19b42020-10-30 08:40:50 +010021 subbuffer_size
22 configure the sub-buffer size for this channel
Christian Grommdeaf3b72019-04-03 15:19:55 +020023 (needed for synchronous and isochrnous data)
24
25
Mauro Carvalho Chehab54a19b42020-10-30 08:40:50 +010026 num_buffers
27 configure number of buffers used for this
Christian Grommdeaf3b72019-04-03 15:19:55 +020028 channel
29
Mauro Carvalho Chehab54a19b42020-10-30 08:40:50 +010030 datatype
31 configure type of data that will travel over
Christian Grommdeaf3b72019-04-03 15:19:55 +020032 this channel
33
Mauro Carvalho Chehab54a19b42020-10-30 08:40:50 +010034 direction
35 configure whether this link will be an input
Christian Grommdeaf3b72019-04-03 15:19:55 +020036 or output
37
Mauro Carvalho Chehab54a19b42020-10-30 08:40:50 +010038 dbr_size
39 configure DBR data buffer size (this is used
George G. Davis259c20b2019-06-05 16:30:11 -040040 for MediaLB communication only)
Christian Grommdeaf3b72019-04-03 15:19:55 +020041
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
George G. Davis259c20b2019-06-05 16:30:11 -040046 communication only)
Christian Grommdeaf3b72019-04-03 15:19:55 +020047
Mauro Carvalho Chehab54a19b42020-10-30 08:40:50 +010048 device
49 name of the device the link is to be attached to
Christian Grommdeaf3b72019-04-03 15:19:55 +020050
Mauro Carvalho Chehab54a19b42020-10-30 08:40:50 +010051 channel
52 name of the channel the link is to be attached to
Christian Grommdeaf3b72019-04-03 15:19:55 +020053
Mauro Carvalho Chehab54a19b42020-10-30 08:40:50 +010054 comp_params
55 pass parameters needed by some components
Christian Grommdeaf3b72019-04-03 15:19:55 +020056
Mauro Carvalho Chehab54a19b42020-10-30 08:40:50 +010057 create_link
58 write '1' to this attribute to trigger the
Christian Grommdeaf3b72019-04-03 15:19:55 +020059 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
Mauro Carvalho Chehab54a19b42020-10-30 08:40:50 +010063 destroy_link
64 write '1' to this attribute to destroy an
Christian Grommdeaf3b72019-04-03 15:19:55 +020065 active link
66
67What: /sys/kernel/config/most_video/<link>
68Date: March 8, 2019
69KernelVersion: 5.2
70Description:
71 The attributes:
72
Mauro Carvalho Chehab54a19b42020-10-30 08:40:50 +010073 buffer_size
74 configure the buffer size for this channel
Christian Grommdeaf3b72019-04-03 15:19:55 +020075
Mauro Carvalho Chehab54a19b42020-10-30 08:40:50 +010076 subbuffer_size
77 configure the sub-buffer size for this channel
Christian Grommdeaf3b72019-04-03 15:19:55 +020078 (needed for synchronous and isochrnous data)
79
80
Mauro Carvalho Chehab54a19b42020-10-30 08:40:50 +010081 num_buffers
82 configure number of buffers used for this
Christian Grommdeaf3b72019-04-03 15:19:55 +020083 channel
84
Mauro Carvalho Chehab54a19b42020-10-30 08:40:50 +010085 datatype
86 configure type of data that will travel over
Christian Grommdeaf3b72019-04-03 15:19:55 +020087 this channel
88
Mauro Carvalho Chehab54a19b42020-10-30 08:40:50 +010089 direction
90 configure whether this link will be an input
Christian Grommdeaf3b72019-04-03 15:19:55 +020091 or output
92
Mauro Carvalho Chehab54a19b42020-10-30 08:40:50 +010093 dbr_size
94 configure DBR data buffer size (this is used
George G. Davis259c20b2019-06-05 16:30:11 -040095 for MediaLB communication only)
Christian Grommdeaf3b72019-04-03 15:19:55 +020096
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
George G. Davis259c20b2019-06-05 16:30:11 -0400101 communication only)
Christian Grommdeaf3b72019-04-03 15:19:55 +0200102
Mauro Carvalho Chehab54a19b42020-10-30 08:40:50 +0100103 device
104 name of the device the link is to be attached to
Christian Grommdeaf3b72019-04-03 15:19:55 +0200105
Mauro Carvalho Chehab54a19b42020-10-30 08:40:50 +0100106 channel
107 name of the channel the link is to be attached to
Christian Grommdeaf3b72019-04-03 15:19:55 +0200108
Mauro Carvalho Chehab54a19b42020-10-30 08:40:50 +0100109 comp_params
110 pass parameters needed by some components
Christian Grommdeaf3b72019-04-03 15:19:55 +0200111
Mauro Carvalho Chehab54a19b42020-10-30 08:40:50 +0100112 create_link
113 write '1' to this attribute to trigger the
Christian Grommdeaf3b72019-04-03 15:19:55 +0200114 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
Mauro Carvalho Chehab54a19b42020-10-30 08:40:50 +0100118 destroy_link
119 write '1' to this attribute to destroy an
Christian Grommdeaf3b72019-04-03 15:19:55 +0200120 active link
121
122What: /sys/kernel/config/most_net/<link>
123Date: March 8, 2019
124KernelVersion: 5.2
125Description:
126 The attributes:
127
Mauro Carvalho Chehab54a19b42020-10-30 08:40:50 +0100128 buffer_size
129 configure the buffer size for this channel
Christian Grommdeaf3b72019-04-03 15:19:55 +0200130
Mauro Carvalho Chehab54a19b42020-10-30 08:40:50 +0100131 subbuffer_size
132 configure the sub-buffer size for this channel
Christian Grommdeaf3b72019-04-03 15:19:55 +0200133 (needed for synchronous and isochrnous data)
134
135
Mauro Carvalho Chehab54a19b42020-10-30 08:40:50 +0100136 num_buffers
137 configure number of buffers used for this
Christian Grommdeaf3b72019-04-03 15:19:55 +0200138 channel
139
Mauro Carvalho Chehab54a19b42020-10-30 08:40:50 +0100140 datatype
141 configure type of data that will travel over
Christian Grommdeaf3b72019-04-03 15:19:55 +0200142 this channel
143
Mauro Carvalho Chehab54a19b42020-10-30 08:40:50 +0100144 direction
145 configure whether this link will be an input
Christian Grommdeaf3b72019-04-03 15:19:55 +0200146 or output
147
Mauro Carvalho Chehab54a19b42020-10-30 08:40:50 +0100148 dbr_size
149 configure DBR data buffer size (this is used
George G. Davis259c20b2019-06-05 16:30:11 -0400150 for MediaLB communication only)
Christian Grommdeaf3b72019-04-03 15:19:55 +0200151
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
George G. Davis259c20b2019-06-05 16:30:11 -0400156 communication only)
Christian Grommdeaf3b72019-04-03 15:19:55 +0200157
Mauro Carvalho Chehab54a19b42020-10-30 08:40:50 +0100158 device
159 name of the device the link is to be attached to
Christian Grommdeaf3b72019-04-03 15:19:55 +0200160
Mauro Carvalho Chehab54a19b42020-10-30 08:40:50 +0100161 channel
162 name of the channel the link is to be attached to
Christian Grommdeaf3b72019-04-03 15:19:55 +0200163
Mauro Carvalho Chehab54a19b42020-10-30 08:40:50 +0100164 comp_params
165 pass parameters needed by some components
Christian Grommdeaf3b72019-04-03 15:19:55 +0200166
Mauro Carvalho Chehab54a19b42020-10-30 08:40:50 +0100167 create_link
168 write '1' to this attribute to trigger the
Christian Grommdeaf3b72019-04-03 15:19:55 +0200169 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
Mauro Carvalho Chehab54a19b42020-10-30 08:40:50 +0100173 destroy_link
174 write '1' to this attribute to destroy an
Christian Grommdeaf3b72019-04-03 15:19:55 +0200175 active link
176
177What: /sys/kernel/config/most_sound/<card>
178Date: March 8, 2019
179KernelVersion: 5.2
180Description:
181 The attributes:
182
Mauro Carvalho Chehab54a19b42020-10-30 08:40:50 +0100183 create_card
184 write '1' to this attribute to trigger the
Christian Grommdeaf3b72019-04-03 15:19:55 +0200185 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
Mauro Carvalho Chehab54a19b42020-10-30 08:40:50 +0100194 buffer_size
195 configure the buffer size for this channel
Christian Grommdeaf3b72019-04-03 15:19:55 +0200196
Mauro Carvalho Chehab54a19b42020-10-30 08:40:50 +0100197 subbuffer_size
198 configure the sub-buffer size for this channel
Christian Grommdeaf3b72019-04-03 15:19:55 +0200199 (needed for synchronous and isochrnous data)
200
201
Mauro Carvalho Chehab54a19b42020-10-30 08:40:50 +0100202 num_buffers
203 configure number of buffers used for this
Christian Grommdeaf3b72019-04-03 15:19:55 +0200204 channel
205
Mauro Carvalho Chehab54a19b42020-10-30 08:40:50 +0100206 datatype
207 configure type of data that will travel over
Christian Grommdeaf3b72019-04-03 15:19:55 +0200208 this channel
209
Mauro Carvalho Chehab54a19b42020-10-30 08:40:50 +0100210 direction
211 configure whether this link will be an input
Christian Grommdeaf3b72019-04-03 15:19:55 +0200212 or output
213
Mauro Carvalho Chehab54a19b42020-10-30 08:40:50 +0100214 dbr_size
215 configure DBR data buffer size (this is used
George G. Davis259c20b2019-06-05 16:30:11 -0400216 for MediaLB communication only)
Christian Grommdeaf3b72019-04-03 15:19:55 +0200217
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
George G. Davis259c20b2019-06-05 16:30:11 -0400222 communication only)
Christian Grommdeaf3b72019-04-03 15:19:55 +0200223
Mauro Carvalho Chehab54a19b42020-10-30 08:40:50 +0100224 device
225 name of the device the link is to be attached to
Christian Grommdeaf3b72019-04-03 15:19:55 +0200226
Mauro Carvalho Chehab54a19b42020-10-30 08:40:50 +0100227 channel
228 name of the channel the link is to be attached to
Christian Grommdeaf3b72019-04-03 15:19:55 +0200229
Mauro Carvalho Chehab54a19b42020-10-30 08:40:50 +0100230 comp_params
231 pass parameters needed by some components
Christian Grommdeaf3b72019-04-03 15:19:55 +0200232
Mauro Carvalho Chehab54a19b42020-10-30 08:40:50 +0100233 create_link
234 write '1' to this attribute to trigger the
Christian Grommdeaf3b72019-04-03 15:19:55 +0200235 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
Mauro Carvalho Chehab54a19b42020-10-30 08:40:50 +0100239 destroy_link
240 write '1' to this attribute to destroy an
Christian Grommdeaf3b72019-04-03 15:19:55 +0200241 active link