1. 10 11月, 2012 1 次提交
  2. 19 10月, 2012 1 次提交
  3. 18 9月, 2012 1 次提交
  4. 07 9月, 2012 1 次提交
  5. 04 9月, 2012 3 次提交
  6. 28 8月, 2012 1 次提交
  7. 10 7月, 2012 1 次提交
    • L
      iio: Add callback to check whether a scan mask is valid · 939546d1
      Lars-Peter Clausen 提交于
      This is useful for cases where the number of valid scan masks grows
      exponentially, but it is rather easy to check whether a mask is valid or not
      programmatically.
      
      An example of such a case is a device with multiple ADCs where each ADC has a
      upstream MUX, which allows to select from a number of physical channels.
      
        +-------+   +-------+
        |       |   |       | --- Channel 1
        | ADC 1 |---| MUX 1 | ---   ...
        |       |   |       | --- Channel M
        +-------+   +-------+
      
           .            .            .
           .            .            .
           .            .            .
      
        +-------+   +-------+
        |       |   |       | --- Channel M * N + 1
        | ADC N |---| MUX N | ---       ...
        |       |   |       | --- Channel M * N + M
        +-------+   +-------+
      
      The number of necessary scan masks for this case is (M+1)**N - 1, on the other
      hand it is easy to check whether subsets for each ADC of the scanmask have only
      one bit set.
      Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
      Signed-off-by: NJonathan Cameron <jic23@kernel.org>
      939546d1
  8. 19 6月, 2012 1 次提交
  9. 13 6月, 2012 4 次提交
  10. 05 6月, 2012 2 次提交
  11. 15 5月, 2012 2 次提交
  12. 30 4月, 2012 3 次提交
  13. 26 4月, 2012 1 次提交
  14. 25 4月, 2012 3 次提交
  15. 19 4月, 2012 2 次提交
  16. 14 4月, 2012 3 次提交
  17. 11 4月, 2012 1 次提交
  18. 03 3月, 2012 2 次提交
  19. 25 2月, 2012 4 次提交
  20. 23 12月, 2011 1 次提交
  21. 09 12月, 2011 2 次提交