~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/ABI/testing/sysfs-bus-counter

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/ABI/testing/sysfs-bus-counter (Version linux-6.12-rc7) and /Documentation/ABI/testing/sysfs-bus-counter (Version linux-2.6.0)


  1 What:           /sys/bus/counter/devices/count    
  2 KernelVersion:  6.4                               
  3 Contact:        linux-iio@vger.kernel.org         
  4 Description:                                      
  5                 Indicates the cascading of Cou    
  6                                                   
  7                 Valid attribute values are boo    
  8                                                   
  9 What:           /sys/bus/counter/devices/count    
 10 KernelVersion:  6.4                               
 11 Contact:        linux-iio@vger.kernel.org         
 12 Description:                                      
 13                 Selects the external clock pin    
 14                 Counter X.                        
 15                                                   
 16                 MTCLKA-MTCLKB:                    
 17                         MTCLKA and MTCLKB pins    
 18                         phase clock.              
 19                                                   
 20                 MTCLKC-MTCLKD:                    
 21                         MTCLKC and MTCLKD pins    
 22                         phase clock.              
 23                                                   
 24 What:           /sys/bus/counter/devices/count    
 25 KernelVersion:  6.4                               
 26 Contact:        linux-iio@vger.kernel.org         
 27 Description:                                      
 28                 Discrete set of available valu    
 29                 configuration are listed in th    
 30                                                   
 31 What:           /sys/bus/counter/devices/count    
 32 KernelVersion:  5.2                               
 33 Contact:        linux-iio@vger.kernel.org         
 34 Description:                                      
 35                 Count data of Count Y represen    
 36                                                   
 37 What:           /sys/bus/counter/devices/count    
 38 KernelVersion:  6.1                               
 39 Contact:        linux-iio@vger.kernel.org         
 40 Description:                                      
 41                 Historical capture of the Coun    
 42                                                   
 43 What:           /sys/bus/counter/devices/count    
 44 KernelVersion:  5.2                               
 45 Contact:        linux-iio@vger.kernel.org         
 46 Description:                                      
 47                 Count value ceiling for Count     
 48                 respective counter.               
 49                                                   
 50 What:           /sys/bus/counter/devices/count    
 51 KernelVersion:  5.2                               
 52 Contact:        linux-iio@vger.kernel.org         
 53 Description:                                      
 54                 Count value floor for Count Y.    
 55                 respective counter.               
 56                                                   
 57 What:           /sys/bus/counter/devices/count    
 58 KernelVersion:  5.2                               
 59 Contact:        linux-iio@vger.kernel.org         
 60 Description:                                      
 61                 Count mode for channel Y. The     
 62                 Count Y are used by the count     
 63                 count modes are available:        
 64                                                   
 65                 normal:                           
 66                         Counting is continuous    
 67                                                   
 68                 range limit:                      
 69                         An upper or lower limi    
 70                         in the mechanical coun    
 71                         the Count Y ceiling va    
 72                         to the Count Y floor v    
 73                         count = ceiling when c    
 74                         when counting down. At    
 75                         counting is resumed on    
 76                         reversed.                 
 77                                                   
 78                 non-recycle:                      
 79                         The counter is disable    
 80                         underflow takes place.    
 81                         new count value is loa    
 82                         operation or direct wr    
 83                                                   
 84                 modulo-n:                         
 85                         A count value boundary    
 86                         value and the Count Y     
 87                         reset to the Count Y f    
 88                         counting up, while the    
 89                         ceiling value at count    
 90                         counter does not freez    
 91                         counts continuously th    
 92                                                   
 93                 interrupt on terminal count:      
 94                         The output signal is i    
 95                         until the counter reac    
 96                         goes high and remains     
 97                         set.                      
 98                                                   
 99                 hardware retriggerable one-sho    
100                         The output signal is i    
101                         will go low by a trigg    
102                         low until the counter     
103                         go high and remain hig    
104                         trigger results in loa    
105                         value and setting the     
106                         the one-shot pulse.       
107                                                   
108                 rate generator:                   
109                         The output signal is i    
110                         has decremented to 1,     
111                         clock pulse. The outpu    
112                         counter is reloaded to    
113                         repeats in a periodic     
114                                                   
115                 square wave mode:                 
116                         The output signal is i    
117                                                   
118                         If the initial count i    
119                         by two on succeeding c    
120                         expires, the output si    
121                         counter is reloaded to    
122                         repeats in periodic ma    
123                                                   
124                         If the initial count i    
125                         (an even number) is lo    
126                         two on succeeding cloc    
127                         the count expires, the    
128                         counter is reloaded to    
129                         Succeeding clock pulse    
130                         the count expires, the    
131                         counter is reloaded to    
132                         process repeats in a p    
133                                                   
134                 software triggered strobe:        
135                         The output signal is i    
136                         expires, the output wi    
137                         then go high again. Th    
138                         by setting the preset     
139                                                   
140                 hardware triggered strobe:        
141                         The output signal is i    
142                         by a trigger input sig    
143                         output signal will go     
144                         go high again. A trigg    
145                         to the preset value.      
146                                                   
147 What:           /sys/bus/counter/devices/count    
148 What:           /sys/bus/counter/devices/count    
149 What:           /sys/bus/counter/devices/count    
150 What:           /sys/bus/counter/devices/count    
151 What:           /sys/bus/counter/devices/count    
152 KernelVersion:  5.2                               
153 Contact:        linux-iio@vger.kernel.org         
154 Description:                                      
155                 Discrete set of available valu    
156                 configuration are listed in th    
157                 newline characters.               
158                                                   
159 What:           /sys/bus/counter/devices/count    
160 KernelVersion:  5.2                               
161 Contact:        linux-iio@vger.kernel.org         
162 Description:                                      
163                 Read-only attribute that indic    
164                 Y. Two count directions are av    
165                                                   
166                 Some counter devices are able     
167                 their counting. For example, q    
168                 determine the direction of mov    
169                 phase of the respective A and     
170                 This attribute exposes such co    
171                                                   
172 What:           /sys/bus/counter/devices/count    
173 KernelVersion:  5.2                               
174 Contact:        linux-iio@vger.kernel.org         
175 Description:                                      
176                 Whether channel Y counter is e    
177                 boolean.                          
178                                                   
179                 This attribute is intended to     
180                 for Count Y. Suppose a counter    
181                 movement of a conveyor belt: t    
182                 to temporarily pause the count    
183                 and then finally unpause the c    
184                 left off.                         
185                                                   
186 What:           /sys/bus/counter/devices/count    
187 KernelVersion:  5.2                               
188 Contact:        linux-iio@vger.kernel.org         
189 Description:                                      
190                 Read-only attribute that indic    
191                 present at the channel Y count    
192                                                   
193 What:           /sys/bus/counter/devices/count    
194 KernelVersion:  5.2                               
195 Contact:        linux-iio@vger.kernel.org         
196 Description:                                      
197                 Count function mode of Count Y    
198                 triggered by conditions specif    
199                 attributes. The following coun    
200                                                   
201                 increase:                         
202                         Accumulated count is i    
203                                                   
204                 decrease:                         
205                         Accumulated count is d    
206                                                   
207                 pulse-direction:                  
208                         Rising edges on signal    
209                         The input level of sig    
210                                                   
211                 quadrature x1 a:                  
212                         If direction is forwar    
213                         signal A updates the r    
214                         is backward, falling e    
215                         updates the respective    
216                         determines the directi    
217                                                   
218                 quadrature x1 b:                  
219                         If direction is forwar    
220                         signal B updates the r    
221                         is backward, falling e    
222                         updates the respective    
223                         determines the directi    
224                                                   
225                 quadrature x2 a:                  
226                         Any state transition o    
227                         the respective count.     
228                         direction.                
229                                                   
230                 quadrature x2 b:                  
231                         Any state transition o    
232                         the respective count.     
233                         direction.                
234                                                   
235                 quadrature x4:                    
236                         Any state transition o    
237                         updates the respective    
238                         determines the directi    
239                                                   
240 What:           /sys/bus/counter/devices/count    
241 KernelVersion:  5.2                               
242 Contact:        linux-iio@vger.kernel.org         
243 Description:                                      
244                 Read-only attribute that indic    
245                 Count Y. If possible, this sho    
246                 respective channel as it appea    
247                                                   
248 What:           /sys/bus/counter/devices/count    
249 KernelVersion:  5.2                               
250 Contact:        linux-iio@vger.kernel.org         
251 Description:                                      
252                 Configure the prescaler value     
253                 On the FlexTimer, the counter     
254                 prescaler (i.e. a counter). Th    
255                 divider.                          
256                                                   
257 What:           /sys/bus/counter/devices/count    
258 KernelVersion:  5.2                               
259 Contact:        linux-iio@vger.kernel.org         
260 Description:                                      
261                 If the counter device supports    
262                 used to load counter channels     
263                 preset operation trigger event    
264                 Y is provided by this attribut    
265                                                   
266 What:           /sys/bus/counter/devices/count    
267 KernelVersion:  5.2                               
268 Contact:        linux-iio@vger.kernel.org         
269 Description:                                      
270                 Whether channel Y counter pres    
271                 attribute values are boolean.     
272                                                   
273 What:           /sys/bus/counter/devices/count    
274 KernelVersion:  5.2                               
275 Contact:        linux-iio@vger.kernel.org         
276 Description:                                      
277                 Action mode of Count Y for Sig    
278                 the condition of Signal Z that    
279                 evaluation for Count Y. The fo    
280                 available:                        
281                                                   
282                 none:                             
283                         Signal does not trigge    
284                         Pulse-Direction count     
285                         evaluated as Direction    
286                                                   
287                 rising edge:                      
288                         Low state transitions     
289                                                   
290                 falling edge:                     
291                         High state transitions    
292                                                   
293                 both edges:                       
294                         Any state transition.     
295                                                   
296 What:           /sys/bus/counter/devices/count    
297 KernelVersion:  6.1                               
298 Contact:        linux-iio@vger.kernel.org         
299 Description:                                      
300                 This attribute indicates the n    
301                                                   
302 What:           /sys/bus/counter/devices/count    
303 What:           /sys/bus/counter/devices/count    
304 What:           /sys/bus/counter/devices/count    
305 What:           /sys/bus/counter/devices/count    
306 What:           /sys/bus/counter/devices/count    
307 What:           /sys/bus/counter/devices/count    
308 What:           /sys/bus/counter/devices/count    
309 What:           /sys/bus/counter/devices/count    
310 What:           /sys/bus/counter/devices/count    
311 What:           /sys/bus/counter/devices/count    
312 What:           /sys/bus/counter/devices/count    
313 What:           /sys/bus/counter/devices/count    
314 What:           /sys/bus/counter/devices/count    
315 What:           /sys/bus/counter/devices/count    
316 What:           /sys/bus/counter/devices/count    
317 What:           /sys/bus/counter/devices/count    
318 What:           /sys/bus/counter/devices/count    
319 What:           /sys/bus/counter/devices/count    
320 What:           /sys/bus/counter/devices/count    
321 What:           /sys/bus/counter/devices/count    
322 What:           /sys/bus/counter/devices/count    
323 KernelVersion:  5.16                              
324 Contact:        linux-iio@vger.kernel.org         
325 Description:                                      
326                 Read-only attribute that indic    
327                 respective extension or Synaps    
328                                                   
329 What:           /sys/bus/counter/devices/count    
330 KernelVersion:  5.14                              
331 Contact:        linux-iio@vger.kernel.org         
332 Description:                                      
333                 If the counter device supports    
334                 attribute indicates the value     
335                 shorter or equal to configured    
336                 filter is disabled.               
337                                                   
338 What:           /sys/bus/counter/devices/count    
339 KernelVersion:  5.16                              
340 Contact:        linux-iio@vger.kernel.org         
341 Description:                                      
342                 Size of the Counter events que    
343                 counter_event data structures.    
344                 rounded-up to a power of 2.       
345                                                   
346 What:           /sys/bus/counter/devices/count    
347 KernelVersion:  5.2                               
348 Contact:        linux-iio@vger.kernel.org         
349 Description:                                      
350                 Read-only attribute that indic    
351                 the Counter. This should match    
352                 appears in its respective data    
353                                                   
354 What:           /sys/bus/counter/devices/count    
355 KernelVersion:  5.2                               
356 Contact:        linux-iio@vger.kernel.org         
357 Description:                                      
358                 Read-only attribute that indic    
359                 belonging to the Counter.         
360                                                   
361 What:           /sys/bus/counter/devices/count    
362 KernelVersion:  5.2                               
363 Contact:        linux-iio@vger.kernel.org         
364 Description:                                      
365                 Read-only attribute that indic    
366                 belonging to the Counter.         
367                                                   
368 What:           /sys/bus/counter/devices/count    
369 KernelVersion:  5.7                               
370 Contact:        linux-iio@vger.kernel.org         
371 Description:                                      
372                 Read-only attribute that indic    
373                 encoder cable fault (not conne    
374                 for the respective channel of     
375                 are boolean. Detection must fi    
376                 corresponding cable_fault_enab    
377                                                   
378 What:           /sys/bus/counter/devices/count    
379 KernelVersion:  5.7                               
380 Contact:        linux-iio@vger.kernel.org         
381 Description:                                      
382                 Whether detection of different    
383                 respective channel of Signal Y    
384                 values are boolean.               
385                                                   
386 What:           /sys/bus/counter/devices/count    
387 KernelVersion:  5.7                               
388 Contact:        linux-iio@vger.kernel.org         
389 Description:                                      
390                 Filter clock factor for input     
391                 affects the inputs of both qua    
392                                                   
393 What:           /sys/bus/counter/devices/count    
394 KernelVersion:  5.2                               
395 Contact:        linux-iio@vger.kernel.org         
396 Description:                                      
397                 Active level of index input Si    
398                 non-synchronous load mode.        
399                                                   
400 What:           /sys/bus/counter/devices/count    
401 What:           /sys/bus/counter/devices/count    
402 KernelVersion:  5.2                               
403 Contact:        linux-iio@vger.kernel.org         
404 Description:                                      
405                 Discrete set of available valu    
406                 configuration are listed in th    
407                                                   
408 What:           /sys/bus/counter/devices/count    
409 KernelVersion:  6.1                               
410 Contact:        linux-iio@vger.kernel.org         
411 Description:                                      
412                 Active level of Signal Y. The     
413                 available:                        
414                                                   
415                 positive:                         
416                         Signal high state cons    
417                                                   
418                 negative:                         
419                         Signal low state consi    
420                                                   
421 What:           /sys/bus/counter/devices/count    
422 KernelVersion:  5.2                               
423 Contact:        linux-iio@vger.kernel.org         
424 Description:                                      
425                 Read-only attribute that indic    
426                 Signal Y. If possible, this sh    
427                 respective signal as it appear    
428                                                   
429 What:           /sys/bus/counter/devices/count    
430 KernelVersion:  5.2                               
431 Contact:        linux-iio@vger.kernel.org         
432 Description:                                      
433                 Signal level state of Signal Y    
434                 states are available:             
435                                                   
436                 low:                              
437                         Low level state.          
438                                                   
439                 high:                             
440                         High level state.         
441                                                   
442 What:           /sys/bus/counter/devices/count    
443 KernelVersion:  5.2                               
444 Contact:        linux-iio@vger.kernel.org         
445 Description:                                      
446                 Configure the counter associat    
447                 non-synchronous or synchronous    
448                 cannot be selected in non-quad    
449                 mode.                             
450                                                   
451                 non-synchronous:                  
452                         A logic low level is t    
453                         input. The index funct    
454                         is performed directly     
455                         input.                    
456                                                   
457                 synchronous:                      
458                         Intended for interfaci    
459                         quadrature clock mode.    
460                         via index_polarity. Th    
461                         preset_enable) is perf    
462                         quadrature clock on th    
463                                                   
464 What:           /sys/bus/counter/devices/count    
465 KernelVersion:  6.1                               
466 Contact:        linux-iio@vger.kernel.org         
467 Description:                                      
468                 Read-only attribute that indic    
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php