~ubuntu-branches/debian/experimental/linux-tools/experimental

« back to all changes in this revision

Viewing changes to include/linux/iio/sysfs.h

  • Committer: Package Import Robot
  • Author(s): Ben Hutchings
  • Date: 2014-02-02 16:57:49 UTC
  • mfrom: (1.1.10) (0.1.21 sid)
  • Revision ID: package-import@ubuntu.com-20140202165749-tw94o9t1t0a8txk6
Tags: 3.13-1~exp2
Merge changes from sid up to 3.12.6-3

Show diffs side-by-side

added added

removed removed

Lines of Context:
100
100
#define IIO_CONST_ATTR_SAMP_FREQ_AVAIL(_string)                 \
101
101
        IIO_CONST_ATTR(sampling_frequency_available, _string)
102
102
 
 
103
/**
 
104
 * IIO_DEV_ATTR_INT_TIME_AVAIL - list available integration times
 
105
 * @_show: output method for the attribute
 
106
 **/
 
107
#define IIO_DEV_ATTR_INT_TIME_AVAIL(_show)              \
 
108
        IIO_DEVICE_ATTR(integration_time_available, S_IRUGO, _show, NULL, 0)
 
109
/**
 
110
 * IIO_CONST_ATTR_INT_TIME_AVAIL - list available integration times
 
111
 * @_string: frequency string for the attribute
 
112
 *
 
113
 * Constant version
 
114
 **/
 
115
#define IIO_CONST_ATTR_INT_TIME_AVAIL(_string)          \
 
116
        IIO_CONST_ATTR(integration_time_available, _string)
 
117
 
103
118
#define IIO_DEV_ATTR_TEMP_RAW(_show)                    \
104
119
        IIO_DEVICE_ATTR(in_temp_raw, S_IRUGO, _show, NULL, 0)
105
120