1. 22 1月, 2017 3 次提交
  2. 21 1月, 2017 1 次提交
  3. 15 1月, 2017 2 次提交
  4. 11 1月, 2017 7 次提交
  5. 31 12月, 2016 1 次提交
  6. 11 12月, 2016 2 次提交
  7. 03 12月, 2016 2 次提交
  8. 19 11月, 2016 2 次提交
  9. 13 11月, 2016 1 次提交
  10. 12 11月, 2016 1 次提交
  11. 06 11月, 2016 2 次提交
  12. 24 10月, 2016 1 次提交
  13. 09 10月, 2016 1 次提交
  14. 28 9月, 2016 3 次提交
  15. 25 9月, 2016 1 次提交
  16. 18 9月, 2016 1 次提交
    • J
      iio: adc: men_z188_adc: constify iio_info structures · 52ceb773
      Julia Lawall 提交于
      Check for iio_info structures that are only stored in the info field of a
      iio_dev structure.  This field is declared const, so iio_info structures
      that have this property can be declared as const also.
      
      The semantic patch that makes this change is as follows:
      (http://coccinelle.lip6.fr/)
      
      // <smpl>
      @r disable optional_qualifier@
      identifier i;
      position p;
      @@
      static struct iio_info i@p = { ... };
      
      @ok@
      identifier r.i;
      struct iio_dev e;
      position p;
      @@
      e.info = &i@p;
      
      @bad@
      position p != {r.p,ok.p};
      identifier r.i;
      struct iio_info e;
      @@
      e@i@p
      
      @depends on !bad disable optional_qualifier@
      identifier r.i;
      @@
      static
      +const
       struct iio_info i = { ... };
      // </smpl>
      
      The result of size on this file before the change is:
         text	      data     bss     dec         hex	  filename
         1529	       312       0    1841         731
         drivers/iio/adc/men_z188_adc.o
      
      and after the change it is:
         text	     data        bss	    dec	    hex	filename
         1689       168          0       1857     741
         drivers/iio/adc/men_z188_adc.o
      Signed-off-by: NJulia Lawall <Julia.Lawall@lip6.fr>
      Signed-off-by: NJonathan Cameron <jic23@kernel.org>
      52ceb773
  17. 06 9月, 2016 2 次提交
  18. 04 9月, 2016 1 次提交
    • W
      iio: stx104: Add IIO support for the ADC channels · 4075a283
      William Breathitt Gray 提交于
      The Apex Embedded Systems STX104 features 16 channels of single-ended (8
      channels of true differential) 16-bit analog input. Differential input
      configuration may be selected via a physical jumper on the device.
      Similarly, input polarity (unipolar/bipolar) is configured via a
      physical jumper on the device.
      
      Input gain selection is available to the user via software, thus
      allowing eight possible input ranges: +-10V, +-5V, +-2.5V, +-1.25V,
      0 to 10V, 0 to 5V, 0 to 2.5V, and 0 to 1.25V. Four input gain
      configurations are supported: x1, x2, x4, and x8.
      
      This ADC resolution is 16-bits (1/65536 of full scale). Analog input
      samples are taken on software trigger; neither FIFO sampling nor
      interrupt triggering is supported by this driver.
      
      The Apex Embedded Systems STX104 is primarily an analog-to-digital
      converter device. The STX104 IIO driver was initially placed in the DAC
      directory because only the DAC portion of the STX104 was supported at
      the time. Now that ADC support has been added to the STX104 IIO driver,
      the driver should be moved to the more appropriate ADC directory.
      Signed-off-by: NWilliam Breathitt Gray <vilhelm.gray@gmail.com>
      Signed-off-by: NJonathan Cameron <jic23@kernel.org>
      4075a283
  19. 03 9月, 2016 1 次提交
  20. 01 9月, 2016 1 次提交
  21. 30 8月, 2016 1 次提交
  22. 29 8月, 2016 1 次提交
  23. 24 8月, 2016 1 次提交
  24. 22 8月, 2016 1 次提交