1. 04 9月, 2012 1 次提交
  2. 28 8月, 2012 1 次提交
  3. 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
  4. 19 6月, 2012 1 次提交
  5. 13 6月, 2012 4 次提交
  6. 05 6月, 2012 2 次提交
  7. 15 5月, 2012 2 次提交
  8. 30 4月, 2012 3 次提交
  9. 26 4月, 2012 1 次提交
  10. 25 4月, 2012 3 次提交
  11. 19 4月, 2012 2 次提交
  12. 14 4月, 2012 3 次提交
  13. 11 4月, 2012 1 次提交
  14. 03 3月, 2012 2 次提交
  15. 25 2月, 2012 4 次提交
  16. 23 12月, 2011 1 次提交
  17. 09 12月, 2011 5 次提交
  18. 28 11月, 2011 1 次提交
  19. 27 11月, 2011 2 次提交