/linux-2.6.39/drivers/staging/iio/meter/ |
D | meter.h | 6 IIO_DEVICE_ATTR(current_a_offset, _mode, _show, _store, _addr) 9 IIO_DEVICE_ATTR(current_b_offset, _mode, _show, _store, _addr) 12 IIO_DEVICE_ATTR(current_c_offset, _mode, _show, _store, _addr) 15 IIO_DEVICE_ATTR(volt_a_offset, _mode, _show, _store, _addr) 18 IIO_DEVICE_ATTR(volt_b_offset, _mode, _show, _store, _addr) 21 IIO_DEVICE_ATTR(volt_c_offset, _mode, _show, _store, _addr) 24 IIO_DEVICE_ATTR(reactive_power_a_offset, _mode, _show, _store, _addr) 27 IIO_DEVICE_ATTR(reactive_power_b_offset, _mode, _show, _store, _addr) 30 IIO_DEVICE_ATTR(reactive_power_c_offset, _mode, _show, _store, _addr) 33 IIO_DEVICE_ATTR(active_power_a_offset, _mode, _show, _store, _addr) [all …]
|
/linux-2.6.39/drivers/staging/iio/accel/ |
D | accel.h | 6 IIO_DEVICE_ATTR(accel_offset, _mode, _show, _store, _addr) 9 IIO_DEVICE_ATTR(accel_x_offset, _mode, _show, _store, _addr) 12 IIO_DEVICE_ATTR(accel_y_offset, _mode, _show, _store, _addr) 15 IIO_DEVICE_ATTR(accel_z_offset, _mode, _show, _store, _addr) 21 IIO_DEVICE_ATTR(accel_scale, _mode, _show, _store, _addr) 24 IIO_DEVICE_ATTR(accel_x_scale, _mode, _show, _store, _addr) 27 IIO_DEVICE_ATTR(accel_y_scale, _mode, _show, _store, _addr) 30 IIO_DEVICE_ATTR(accel_z_scale, _mode, _show, _store, _addr) 33 IIO_DEVICE_ATTR(accel_calibbias, _mode, _show, _store, _addr) 36 IIO_DEVICE_ATTR(accel_x_calibbias, _mode, _show, _store, _addr) [all …]
|
D | inclinometer.h | 7 IIO_DEVICE_ATTR(incli_x_raw, S_IRUGO, _show, NULL, _addr) 10 IIO_DEVICE_ATTR(incli_y_raw, S_IRUGO, _show, NULL, _addr) 13 IIO_DEVICE_ATTR(incli_z_raw, S_IRUGO, _show, NULL, _addr) 16 IIO_DEVICE_ATTR(incli_x_offset, _mode, _show, _store, _addr) 19 IIO_DEVICE_ATTR(incli_y_offset, _mode, _show, _store, _addr) 22 IIO_DEVICE_ATTR(incli_z_offset, _mode, _show, _store, _addr)
|
D | adis16240_core.c | 389 static IIO_DEVICE_ATTR(accel_x_peak_raw, S_IRUGO, 394 static IIO_DEVICE_ATTR(accel_y_peak_raw, S_IRUGO, 399 static IIO_DEVICE_ATTR(accel_z_peak_raw, S_IRUGO, 403 static IIO_DEVICE_ATTR(accel_xyz_squared_peak_raw, S_IRUGO, 421 static IIO_DEVICE_ATTR(reset, S_IWUSR, NULL, adis16240_write_reset, 0);
|
/linux-2.6.39/drivers/staging/iio/gyro/ |
D | gyro.h | 10 IIO_DEVICE_ATTR(gyro_offset, _mode, _show, _store, _addr) 13 IIO_DEVICE_ATTR(gyro_x_offset, _mode, _show, _store, _addr) 16 IIO_DEVICE_ATTR(gyro_y_offset, _mode, _show, _store, _addr) 19 IIO_DEVICE_ATTR(gyro_z_offset, _mode, _show, _store, _addr) 25 IIO_DEVICE_ATTR(gyro_scale, S_IRUGO, _show, _store, _addr) 28 IIO_DEVICE_ATTR(gyro_x_scale, _mode, _show, _store, _addr) 31 IIO_DEVICE_ATTR(gyro_y_scale, _mode, _show, _store, _addr) 34 IIO_DEVICE_ATTR(gyro_z_scale, _mode, _show, _store, _addr) 37 IIO_DEVICE_ATTR(gyro_calibbias, S_IRUGO, _show, _store, _addr) 40 IIO_DEVICE_ATTR(gyro_x_calibbias, _mode, _show, _store, _addr) [all …]
|
/linux-2.6.39/drivers/staging/iio/magnetometer/ |
D | magnet.h | 7 IIO_DEVICE_ATTR(magn_x_offset, _mode, _show, _store, _addr) 10 IIO_DEVICE_ATTR(magn_y_offset, _mode, _show, _store, _addr) 13 IIO_DEVICE_ATTR(magn_z_offset, _mode, _show, _store, _addr) 16 IIO_DEVICE_ATTR(magn_x_scale, _mode, _show, _store, _addr) 19 IIO_DEVICE_ATTR(magn_y_scale, _mode, _show, _store, _addr) 22 IIO_DEVICE_ATTR(magn_z_scale, _mode, _show, _store, _addr) 25 IIO_DEVICE_ATTR(magn_x_raw, S_IRUGO, _show, NULL, _addr) 28 IIO_DEVICE_ATTR(magn_y_raw, S_IRUGO, _show, NULL, _addr) 31 IIO_DEVICE_ATTR(magn_z_raw, S_IRUGO, _show, NULL, _addr)
|
D | hmc5843.c | 245 static IIO_DEVICE_ATTR(operating_mode, 310 static IIO_DEVICE_ATTR(meas_conf, 400 static IIO_DEVICE_ATTR(sampling_frequency, 465 static IIO_DEVICE_ATTR(magn_range, 479 static IIO_DEVICE_ATTR(magn_scale,
|
/linux-2.6.39/drivers/staging/iio/dds/ |
D | dds.h | 14 IIO_DEVICE_ATTR(dds##_channel##_freq##_num, \ 29 IIO_DEVICE_ATTR(dds##_channel##_freqsymbol, \ 37 IIO_DEVICE_ATTR(dds##_channel##_phase##_num, \ 52 IIO_DEVICE_ATTR(dds##_channel##_phasesymbol, \ 60 IIO_DEVICE_ATTR(dds##_channel##_pincontrol_en, \ 68 IIO_DEVICE_ATTR(dds##_channel##_pincontrol_freq_en, \ 76 IIO_DEVICE_ATTR(dds##_channel##_pincontrol_phase_en, \ 84 IIO_DEVICE_ATTR(dds##_channel##_out_enable, \ 93 IIO_DEVICE_ATTR(dds##_channel##_out##_output##_enable, \ 101 IIO_DEVICE_ATTR(dds##_channel##_out##_output##_wavetype, \
|
/linux-2.6.39/drivers/staging/iio/ |
D | sysfs.h | 71 #define IIO_DEVICE_ATTR(_name, _mode, _show, _store, _addr) \ macro 101 IIO_DEVICE_ATTR(revision, S_IRUGO, _show, NULL, 0) 108 IIO_DEVICE_ATTR(name, S_IRUGO, _show, NULL, 0) 114 IIO_DEVICE_ATTR(reset, S_IWUSR, NULL, _store, 0) 130 IIO_DEVICE_ATTR(sampling_frequency, _mode, _show, _store, 0) 140 IIO_DEVICE_ATTR(available_sampling_frequency, S_IRUGO, _show, NULL, 0) 143 IIO_DEVICE_ATTR(sampling_frequency_available, S_IRUGO, _show, NULL, 0) 161 IIO_DEVICE_ATTR(sw_ring_enable, S_IRUGO | S_IWUSR, _show, _store, 0) 172 IIO_DEVICE_ATTR(hw_ring_enable, S_IRUGO | S_IWUSR, _show, _store, 0) 175 IIO_DEVICE_ATTR(temp_raw, S_IRUGO, _show, NULL, 0)
|
/linux-2.6.39/drivers/staging/iio/adc/ |
D | ad7152.c | 129 IIO_DEVICE_ATTR(available_conversion_modes, S_IRUGO, _show, NULL, 0) 131 IIO_DEVICE_ATTR(conversion_mode, _mode, _show, _store, 0) 133 IIO_DEVICE_ATTR(ch1_offset, _mode, _show, _store, 0) 135 IIO_DEVICE_ATTR(ch2_offset, _mode, _show, _store, 0) 137 IIO_DEVICE_ATTR(ch1_gain, _mode, _show, _store, 0) 139 IIO_DEVICE_ATTR(ch2_gain, _mode, _show, _store, 0) 141 IIO_DEVICE_ATTR(ch1_value, S_IRUGO, _show, NULL, 0) 143 IIO_DEVICE_ATTR(ch2_value, S_IRUGO, _show, NULL, 0) 145 IIO_DEVICE_ATTR(ch1_setup, _mode, _show, _store, 0) 147 IIO_DEVICE_ATTR(ch2_setup, _mode, _show, _store, 0) [all …]
|
D | adc.h | 14 IIO_DEVICE_ATTR(adc_##_num, S_IRUGO, _show, NULL, _addr) 17 IIO_DEVICE_ATTR(in##_num##_raw, S_IRUGO, _show, NULL, _addr) 20 IIO_DEVICE_ATTR(in##_num##_##_name##_raw, S_IRUGO, _show, NULL, _addr)
|
D | ad7745.c | 134 IIO_DEVICE_ATTR(available_conversion_modes, S_IRUGO, _show, NULL, 0) 136 IIO_DEVICE_ATTR(conversion_mode, _mode, _show, _store, 0) 138 IIO_DEVICE_ATTR(cap_setup, _mode, _show, _store, 0) 140 IIO_DEVICE_ATTR(in0_setup, _mode, _show, _store, 0) 142 IIO_DEVICE_ATTR(exec_setup, _mode, _show, _store, 0) 144 IIO_DEVICE_ATTR(in0_gain, _mode, _show, _store, 0) 146 IIO_DEVICE_ATTR(cap_offs, _mode, _show, _store, 0) 148 IIO_DEVICE_ATTR(cap_gain, _mode, _show, _store, 0) 150 IIO_DEVICE_ATTR(cap0_raw, S_IRUGO, _show, NULL, 0) 152 IIO_DEVICE_ATTR(in0_raw, S_IRUGO, _show, NULL, 0) [all …]
|
D | ad7150.c | 144 IIO_DEVICE_ATTR(available_conversion_modes, S_IRUGO, _show, NULL, 0) 146 IIO_DEVICE_ATTR(conversion_mode, _mode, _show, _store, 0) 148 IIO_DEVICE_ATTR(available_threshold_modes, S_IRUGO, _show, NULL, 0) 150 IIO_DEVICE_ATTR(threshold_mode, _mode, _show, _store, 0) 152 IIO_DEVICE_ATTR(ch1_threshold, _mode, _show, _store, 0) 154 IIO_DEVICE_ATTR(ch2_threshold, _mode, _show, _store, 0) 156 IIO_DEVICE_ATTR(ch1_sensitivity, _mode, _show, _store, 0) 158 IIO_DEVICE_ATTR(ch2_sensitivity, _mode, _show, _store, 0) 160 IIO_DEVICE_ATTR(ch1_timeout, _mode, _show, _store, 0) 162 IIO_DEVICE_ATTR(ch2_timeout, _mode, _show, _store, 0) [all …]
|
D | ad7314.c | 126 static IIO_DEVICE_ATTR(mode, S_IRUGO | S_IWUSR, 138 static IIO_DEVICE_ATTR(available_modes, S_IRUGO, ad7314_show_available_modes, NULL, 0); 187 static IIO_DEVICE_ATTR(temperature, S_IRUGO, ad7314_show_temperature, NULL, 0); 198 static IIO_DEVICE_ATTR(name, S_IRUGO, ad7314_show_name, NULL, 0);
|
D | ad7291.c | 196 static IIO_DEVICE_ATTR(mode, S_IRUGO | S_IWUSR, 208 static IIO_DEVICE_ATTR(available_modes, S_IRUGO, ad7291_show_available_modes, NULL, 0); 229 static IIO_DEVICE_ATTR(reset, S_IWUSR, 267 static IIO_DEVICE_ATTR(ext_ref, S_IRUGO | S_IWUSR, 305 static IIO_DEVICE_ATTR(noise_delay, S_IRUGO | S_IWUSR, 335 static IIO_DEVICE_ATTR(t_sense, S_IRUGO, ad7291_show_t_sense, NULL, 0); 362 static IIO_DEVICE_ATTR(t_average, S_IRUGO, ad7291_show_t_average, NULL, 0); 391 static IIO_DEVICE_ATTR(voltage, S_IRUGO, ad7291_show_voltage, NULL, 0); 436 static IIO_DEVICE_ATTR(channel_mask, S_IRUGO | S_IWUSR, 450 static IIO_DEVICE_ATTR(name, S_IRUGO, ad7291_show_name, NULL, 0);
|
D | ad7816.c | 148 static IIO_DEVICE_ATTR(mode, S_IRUGO | S_IWUSR, 160 static IIO_DEVICE_ATTR(available_modes, S_IRUGO, ad7816_show_available_modes, NULL, 0); 205 static IIO_DEVICE_ATTR(channel, S_IRUGO | S_IWUSR, 237 static IIO_DEVICE_ATTR(value, S_IRUGO, ad7816_show_value, NULL, 0); 248 static IIO_DEVICE_ATTR(name, S_IRUGO, ad7816_show_name, NULL, 0);
|
D | ad7298_core.c | 107 static IIO_DEVICE_ATTR(temp0_input, S_IRUGO, ad7298_show_temp, NULL, 0); 120 static IIO_DEVICE_ATTR(in_scale, S_IRUGO, ad7298_show_scale, NULL, 0); 131 static IIO_DEVICE_ATTR(name, S_IRUGO, ad7298_show_name, NULL, 0);
|
D | adt75.c | 150 static IIO_DEVICE_ATTR(mode, S_IRUGO | S_IWUSR, 162 static IIO_DEVICE_ATTR(available_modes, S_IRUGO, adt75_show_available_modes, NULL, 0); 207 static IIO_DEVICE_ATTR(oneshot, S_IRUGO | S_IWUSR, 250 static IIO_DEVICE_ATTR(value, S_IRUGO, adt75_show_value, NULL, 0); 261 static IIO_DEVICE_ATTR(name, S_IRUGO, adt75_show_name, NULL, 0);
|
/linux-2.6.39/drivers/staging/iio/addac/ |
D | adt7316.c | 272 static IIO_DEVICE_ATTR(enabled, S_IRUGO | S_IWUSR, 316 static IIO_DEVICE_ATTR(select_ex_temp, S_IRUGO | S_IWUSR, 357 static IIO_DEVICE_ATTR(mode, S_IRUGO | S_IWUSR, 369 static IIO_DEVICE_ATTR(all_modes, S_IRUGO, adt7316_show_all_modes, NULL, 0); 451 static IIO_DEVICE_ATTR(ad_channel, S_IRUGO | S_IWUSR, 475 static IIO_DEVICE_ATTR(all_ad_channels, S_IRUGO, 512 static IIO_DEVICE_ATTR(disable_averaging, S_IRUGO | S_IWUSR, 551 static IIO_DEVICE_ATTR(enable_smbus_timeout, S_IRUGO | S_IWUSR, 576 static IIO_DEVICE_ATTR(reset, S_IWUSR, 614 static IIO_DEVICE_ATTR(powerdown, S_IRUGO | S_IWUSR, [all …]
|
/linux-2.6.39/drivers/staging/iio/resolver/ |
D | ad2s1210.c | 664 static IIO_DEVICE_ATTR(raw_io, S_IRUGO | S_IWUSR, 666 static IIO_DEVICE_ATTR(reset, S_IWUSR, 668 static IIO_DEVICE_ATTR(fclkin, S_IRUGO | S_IWUSR, 670 static IIO_DEVICE_ATTR(fexcit, S_IRUGO | S_IWUSR, 672 static IIO_DEVICE_ATTR(control, S_IRUGO | S_IWUSR, 674 static IIO_DEVICE_ATTR(bits, S_IRUGO | S_IWUSR, 676 static IIO_DEVICE_ATTR(fault, S_IRUGO | S_IWUSR, 678 static IIO_DEVICE_ATTR(pos, S_IRUGO, 680 static IIO_DEVICE_ATTR(vel, S_IRUGO, 682 static IIO_DEVICE_ATTR(pos_vel, S_IRUGO, [all …]
|
D | ad2s120x.c | 199 static IIO_DEVICE_ATTR(pos_vel, S_IRUGO, ad2s120x_show_pos_vel, NULL, 0); 200 static IIO_DEVICE_ATTR(pos, S_IRUGO, ad2s120x_show_pos, NULL, 0); 201 static IIO_DEVICE_ATTR(vel, S_IRUGO, ad2s120x_show_vel, NULL, 0);
|
/linux-2.6.39/drivers/staging/iio/light/ |
D | isl29018.c | 415 static IIO_DEVICE_ATTR(range, S_IRUGO | S_IWUSR, show_range, store_range, 0); 418 static IIO_DEVICE_ATTR(adc_resolution, S_IRUGO | S_IWUSR, 420 static IIO_DEVICE_ATTR(proximity_on_chip_ambient_infrared_supression, 424 static IIO_DEVICE_ATTR(illuminance0_input, S_IRUGO, show_lux, NULL, 0); 425 static IIO_DEVICE_ATTR(intensity_infrared_raw, S_IRUGO, show_ir, NULL, 0); 426 static IIO_DEVICE_ATTR(proximity_raw, S_IRUGO, show_proxim_ir, NULL, 0); 427 static IIO_DEVICE_ATTR(name, S_IRUGO, show_name, NULL, 0);
|
/linux-2.6.39/drivers/staging/iio/dac/ |
D | ad5624r_spi.c | 175 static IIO_DEVICE_ATTR(out_scale, S_IRUGO, ad5624r_show_scale, NULL, 0); 186 static IIO_DEVICE_ATTR(name, S_IRUGO, ad5624r_show_name, NULL, 0); 193 static IIO_DEVICE_ATTR(out_powerdown_mode, S_IRUGO | 201 IIO_DEVICE_ATTR(out##_num##_powerdown, \
|
D | dac.h | 6 IIO_DEVICE_ATTR(out##_num##_raw, S_IWUSR, NULL, _store, _addr)
|
D | ad5446.c | 107 static IIO_DEVICE_ATTR(out_scale, S_IRUGO, ad5446_show_scale, NULL, 0); 118 static IIO_DEVICE_ATTR(name, S_IRUGO, ad5446_show_name, NULL, 0); 190 static IIO_DEVICE_ATTR(out_powerdown_mode, S_IRUGO | S_IWUSR, 197 static IIO_DEVICE_ATTR(out0_powerdown, S_IRUGO | S_IWUSR,
|