1. 24 Jun, 2013 2 commits
    • Alessandro Rubini's avatar
      kernel: redefine calibration, less error-prone · 1ab5931a
      Alessandro Rubini authored
      This commit redefines the calibration data structure. Mainly, it now
      is a single structure. This allows to turn a constant number into a
      sizeof and manage the whole structure as a single entity, preparing
      for better management (like checking it is valid and fix endianness).
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
      1ab5931a
    • Alessandro Rubini's avatar
      kernel: rename a few functions · 8e7db1cf
      Alessandro Rubini authored
      This commit has very little technical effect, but makes stuff more readable:
      
        zfad_get_range(): renamed to zfad_convert_hw_range()
        zfad_convert_user_range(): new function, same as above by now
        zfad_calibration(): renamed to zfad_set_range() because this it is.
      
      This also changes some management of the range values, to hide
      hardware values as much as possible, and remove the magic numbers
      (they now live only within the zfad_hw_range[] array.
      
      As for the big switch of attribute settings, a comment now
      explains where setting happens.  And for range settings avoid
      using the calibration values for RANGE_OPEN, as the code picked
      unpredicatable values, as RANGE_OPEN is out of array bounds.
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
      8e7db1cf
  2. 23 Jun, 2013 1 commit
  3. 21 Jun, 2013 4 commits
  4. 20 Jun, 2013 7 commits
  5. 19 Jun, 2013 3 commits
  6. 30 Apr, 2013 10 commits
  7. 05 Apr, 2013 6 commits
  8. 30 Mar, 2013 2 commits
  9. 27 Mar, 2013 1 commit
  10. 26 Mar, 2013 3 commits
  11. 23 Mar, 2013 1 commit