Lines Matching refs:idx
35 #define IDX_TO_VOLT_MIN_CMD(idx) (0x40 + idx) argument
36 #define IDX_TO_VOLT_MAX_CMD(idx) (0x50 + idx) argument
37 #define IDX_TO_VOLT_INP_CMD(idx) (0x60 + idx) argument
141 #define create_voltage_sysfs(idx) \ argument
142 static SENSOR_DEVICE_ATTR(in##idx##_input, S_IRUGO, \
143 show_in, NULL, idx); \
144 static SENSOR_DEVICE_ATTR(in##idx##_min, S_IRUGO, \
145 show_min, NULL, idx); \
146 static SENSOR_DEVICE_ATTR(in##idx##_max, S_IRUGO, \
147 show_max, NULL, idx); \
148 static SENSOR_DEVICE_ATTR(in##idx##_label, S_IRUGO, \
149 show_label, NULL, idx);