Home
last modified time | relevance | path

Searched refs:IIO_DEVICE_ATTR (Results 1 – 37 of 37) sorted by relevance

/linux-4.4.14/drivers/staging/iio/meter/
Dmeter.h9 IIO_DEVICE_ATTR(current_a_offset, _mode, _show, _store, _addr)
12 IIO_DEVICE_ATTR(current_b_offset, _mode, _show, _store, _addr)
15 IIO_DEVICE_ATTR(current_c_offset, _mode, _show, _store, _addr)
18 IIO_DEVICE_ATTR(volt_a_offset, _mode, _show, _store, _addr)
21 IIO_DEVICE_ATTR(volt_b_offset, _mode, _show, _store, _addr)
24 IIO_DEVICE_ATTR(volt_c_offset, _mode, _show, _store, _addr)
27 IIO_DEVICE_ATTR(reactive_power_a_offset, _mode, _show, _store, _addr)
30 IIO_DEVICE_ATTR(reactive_power_b_offset, _mode, _show, _store, _addr)
33 IIO_DEVICE_ATTR(reactive_power_c_offset, _mode, _show, _store, _addr)
36 IIO_DEVICE_ATTR(active_power_a_offset, _mode, _show, _store, _addr)
[all …]
/linux-4.4.14/drivers/staging/iio/frequency/
Ddds.h16 IIO_DEVICE_ATTR(out_altvoltage##_channel##_frequency##_num, \
31 IIO_DEVICE_ATTR(out_altvoltage##_channel##_frequencysymbol, \
39 IIO_DEVICE_ATTR(out_altvoltage##_channel##_phase##_num, \
54 IIO_DEVICE_ATTR(out_altvoltage##_channel##_phasesymbol, \
62 IIO_DEVICE_ATTR(out_altvoltage##_channel##_pincontrol_en, \
70 IIO_DEVICE_ATTR(out_altvoltage##_channel##_pincontrol_frequency_en,\
78 IIO_DEVICE_ATTR(out_altvoltage##_channel##_pincontrol_phase_en, \
86 IIO_DEVICE_ATTR(out_altvoltage##_channel##_out_enable, \
95 IIO_DEVICE_ATTR(out_altvoltage##_channel##_out##_output##_enable,\
103 IIO_DEVICE_ATTR(out_altvoltage##_channel##_out##_output##_wavetype,\
Dad9834.c222 static IIO_DEVICE_ATTR(out_altvoltage0_out0_wavetype_available, S_IRUGO,
242 static IIO_DEVICE_ATTR(out_altvoltage0_out1_wavetype_available, S_IRUGO,
/linux-4.4.14/drivers/staging/iio/
Diio_dummy_evgen.c202 static IIO_DEVICE_ATTR(poke_ev0, S_IWUSR, NULL, &iio_evgen_poke, 0);
203 static IIO_DEVICE_ATTR(poke_ev1, S_IWUSR, NULL, &iio_evgen_poke, 1);
204 static IIO_DEVICE_ATTR(poke_ev2, S_IWUSR, NULL, &iio_evgen_poke, 2);
205 static IIO_DEVICE_ATTR(poke_ev3, S_IWUSR, NULL, &iio_evgen_poke, 3);
206 static IIO_DEVICE_ATTR(poke_ev4, S_IWUSR, NULL, &iio_evgen_poke, 4);
207 static IIO_DEVICE_ATTR(poke_ev5, S_IWUSR, NULL, &iio_evgen_poke, 5);
208 static IIO_DEVICE_ATTR(poke_ev6, S_IWUSR, NULL, &iio_evgen_poke, 6);
209 static IIO_DEVICE_ATTR(poke_ev7, S_IWUSR, NULL, &iio_evgen_poke, 7);
210 static IIO_DEVICE_ATTR(poke_ev8, S_IWUSR, NULL, &iio_evgen_poke, 8);
211 static IIO_DEVICE_ATTR(poke_ev9, S_IWUSR, NULL, &iio_evgen_poke, 9);
/linux-4.4.14/include/linux/iio/
Dsysfs.h58 #define IIO_DEVICE_ATTR(_name, _mode, _show, _store, _addr) \ macro
85 IIO_DEVICE_ATTR(sampling_frequency, _mode, _show, _store, 0)
94 IIO_DEVICE_ATTR(sampling_frequency_available, S_IRUGO, _show, NULL, 0)
109 IIO_DEVICE_ATTR(integration_time_available, S_IRUGO, _show, NULL, 0)
120 IIO_DEVICE_ATTR(in_temp_raw, S_IRUGO, _show, NULL, 0)
/linux-4.4.14/drivers/staging/iio/addac/
Dadt7316.c270 static IIO_DEVICE_ATTR(enabled, S_IRUGO | S_IWUSR,
314 static IIO_DEVICE_ATTR(select_ex_temp, S_IRUGO | S_IWUSR,
355 static IIO_DEVICE_ATTR(mode, S_IRUGO | S_IWUSR,
367 static IIO_DEVICE_ATTR(all_modes, S_IRUGO, adt7316_show_all_modes, NULL, 0);
449 static IIO_DEVICE_ATTR(ad_channel, S_IRUGO | S_IWUSR,
473 static IIO_DEVICE_ATTR(all_ad_channels, S_IRUGO,
510 static IIO_DEVICE_ATTR(disable_averaging, S_IRUGO | S_IWUSR,
549 static IIO_DEVICE_ATTR(enable_smbus_timeout, S_IRUGO | S_IWUSR,
587 static IIO_DEVICE_ATTR(powerdown, S_IRUGO | S_IWUSR,
625 static IIO_DEVICE_ATTR(fast_ad_clock, S_IRUGO | S_IWUSR,
[all …]
/linux-4.4.14/drivers/staging/iio/resolver/
Dad2s1210.c530 static IIO_DEVICE_ATTR(fclkin, S_IRUGO | S_IWUSR,
532 static IIO_DEVICE_ATTR(fexcit, S_IRUGO | S_IWUSR,
534 static IIO_DEVICE_ATTR(control, S_IRUGO | S_IWUSR,
536 static IIO_DEVICE_ATTR(bits, S_IRUGO | S_IWUSR,
538 static IIO_DEVICE_ATTR(fault, S_IRUGO | S_IWUSR,
541 static IIO_DEVICE_ATTR(los_thrd, S_IRUGO | S_IWUSR,
544 static IIO_DEVICE_ATTR(dos_ovr_thrd, S_IRUGO | S_IWUSR,
547 static IIO_DEVICE_ATTR(dos_mis_thrd, S_IRUGO | S_IWUSR,
550 static IIO_DEVICE_ATTR(dos_rst_max_thrd, S_IRUGO | S_IWUSR,
553 static IIO_DEVICE_ATTR(dos_rst_min_thrd, S_IRUGO | S_IWUSR,
[all …]
/linux-4.4.14/drivers/staging/iio/impedance-analyzer/
Dad5933.c341 static IIO_DEVICE_ATTR(out_voltage0_freq_start, S_IRUGO | S_IWUSR,
346 static IIO_DEVICE_ATTR(out_voltage0_freq_increment, S_IRUGO | S_IWUSR,
464 static IIO_DEVICE_ATTR(out_voltage0_scale, S_IRUGO | S_IWUSR,
469 static IIO_DEVICE_ATTR(out_voltage0_scale_available, S_IRUGO,
474 static IIO_DEVICE_ATTR(in_voltage0_scale, S_IRUGO | S_IWUSR,
479 static IIO_DEVICE_ATTR(in_voltage0_scale_available, S_IRUGO,
484 static IIO_DEVICE_ATTR(out_voltage0_freq_points, S_IRUGO | S_IWUSR,
489 static IIO_DEVICE_ATTR(out_voltage0_settling_cycles, S_IRUGO | S_IWUSR,
/linux-4.4.14/drivers/iio/frequency/
Dad9523.c547 static IIO_DEVICE_ATTR(pll1_locked, S_IRUGO,
552 static IIO_DEVICE_ATTR(pll2_locked, S_IRUGO,
557 static IIO_DEVICE_ATTR(pll1_reference_clk_a_present, S_IRUGO,
562 static IIO_DEVICE_ATTR(pll1_reference_clk_b_present, S_IRUGO,
567 static IIO_DEVICE_ATTR(pll1_reference_clk_test_present, S_IRUGO,
572 static IIO_DEVICE_ATTR(vcxo_clk_present, S_IRUGO,
577 static IIO_DEVICE_ATTR(pll2_feedback_clk_present, S_IRUGO,
582 static IIO_DEVICE_ATTR(pll2_reference_clk_present, S_IRUGO,
587 static IIO_DEVICE_ATTR(sync_dividers, S_IWUSR,
592 static IIO_DEVICE_ATTR(store_eeprom, S_IWUSR,
/linux-4.4.14/drivers/staging/iio/adc/
Dad7816.c142 static IIO_DEVICE_ATTR(mode, S_IRUGO | S_IWUSR,
154 static IIO_DEVICE_ATTR(available_modes, S_IRUGO, ad7816_show_available_modes,
200 static IIO_DEVICE_ATTR(channel, S_IRUGO | S_IWUSR,
231 static IIO_DEVICE_ATTR(value, S_IRUGO, ad7816_show_value, NULL, 0);
321 static IIO_DEVICE_ATTR(oti, S_IRUGO | S_IWUSR,
Dad7192.c382 static IIO_DEVICE_ATTR(in_voltage_scale_available, S_IRUGO,
452 static IIO_DEVICE_ATTR(bridge_switch_en, S_IRUGO | S_IWUSR,
456 static IIO_DEVICE_ATTR(ac_excitation_en, S_IRUGO | S_IWUSR,
Dad7606_core.c144 static IIO_DEVICE_ATTR(in_voltage_range, S_IRUGO | S_IWUSR,
199 static IIO_DEVICE_ATTR(oversampling_ratio, S_IRUGO | S_IWUSR,
Dad7280a.c760 static IIO_DEVICE_ATTR(in_temp_thresh_low_value,
766 static IIO_DEVICE_ATTR(in_temp_thresh_high_value,
Dmxs-lradc.c1028 static IIO_DEVICE_ATTR(in_voltage##ch##_scale_available, S_IRUGO, \
/linux-4.4.14/drivers/staging/iio/cdc/
Dad7746.c347 static IIO_DEVICE_ATTR(in_capacitance0_calibbias_calibration,
349 static IIO_DEVICE_ATTR(in_capacitance1_calibbias_calibration,
351 static IIO_DEVICE_ATTR(in_capacitance0_calibscale_calibration,
353 static IIO_DEVICE_ATTR(in_capacitance1_calibscale_calibration,
355 static IIO_DEVICE_ATTR(in_voltage0_calibscale_calibration,
438 static IIO_DEVICE_ATTR(in_capacitance_sampling_frequency,
442 static IIO_DEVICE_ATTR(in_voltage_sampling_frequency,
Dad7152.c154 static IIO_DEVICE_ATTR(in_capacitance0_calibbias_calibration,
156 static IIO_DEVICE_ATTR(in_capacitance1_calibbias_calibration,
158 static IIO_DEVICE_ATTR(in_capacitance0_calibscale_calibration,
160 static IIO_DEVICE_ATTR(in_capacitance1_calibscale_calibration,
Dad7150.c414 IIO_DEVICE_ATTR(in_capacitance##chan##_##type##_##dir##_timeout, \
/linux-4.4.14/drivers/staging/iio/accel/
Dsca3000_ring.c194 static IIO_DEVICE_ATTR(50_percent, S_IRUGO | S_IWUSR,
199 static IIO_DEVICE_ATTR(75_percent, S_IRUGO | S_IWUSR,
214 static IIO_DEVICE_ATTR(in_accel_scale,
Dadis16220_core.c224 IIO_DEVICE_ATTR(capture, S_IWUSR, NULL, _store, 0)
229 IIO_DEVICE_ATTR(capture_count, _mode, _show, _store, _addr)
Dsca3000_core.c380 static IIO_DEVICE_ATTR(measurement_mode_available, S_IRUGO,
384 static IIO_DEVICE_ATTR(measurement_mode, S_IRUGO | S_IWUSR,
391 static IIO_DEVICE_ATTR(revision, S_IRUGO, sca3000_show_rev, NULL, 0);
Dadis16240_core.c68 static IIO_DEVICE_ATTR(in_accel_xyz_squared_peak_raw, S_IRUGO,
/linux-4.4.14/drivers/iio/humidity/
Dhtu21.c158 static IIO_DEVICE_ATTR(battery_low, S_IRUGO,
160 static IIO_DEVICE_ATTR(heater_enable, S_IRUGO | S_IWUSR,
/linux-4.4.14/drivers/iio/adc/
Dmcp3422.c293 static IIO_DEVICE_ATTR(sampling_frequency_available, S_IRUGO,
295 static IIO_DEVICE_ATTR(in_voltage_scale_available, S_IRUGO,
/linux-4.4.14/drivers/staging/iio/light/
Disl29018.c485 static IIO_DEVICE_ATTR(in_illuminance_integration_time_available, S_IRUGO,
487 static IIO_DEVICE_ATTR(in_illuminance_scale_available, S_IRUGO,
489 static IIO_DEVICE_ATTR(proximity_on_chip_ambient_infrared_suppression,
/linux-4.4.14/drivers/iio/temperature/
Dtsys02d.c106 static IIO_DEVICE_ATTR(battery_low, S_IRUGO,
/linux-4.4.14/include/linux/iio/common/
Dst_sensors.h68 IIO_DEVICE_ATTR(name, S_IRUGO, \
/linux-4.4.14/drivers/staging/iio/magnetometer/
Dhmc5843_core.c245 static IIO_DEVICE_ATTR(meas_conf,
330 static IIO_DEVICE_ATTR(scale_available, S_IRUGO,
/linux-4.4.14/drivers/iio/light/
Dcm32181.c282 static IIO_DEVICE_ATTR(in_illuminance_integration_time_available,
Dcm3232.c312 static IIO_DEVICE_ATTR(in_illuminance_integration_time_available,
Dltr501.c1098 static IIO_DEVICE_ATTR(in_proximity_scale_available, S_IRUGO,
1100 static IIO_DEVICE_ATTR(in_intensity_scale_available, S_IRUGO,
/linux-4.4.14/drivers/iio/dac/
Dmcp4725.c120 static IIO_DEVICE_ATTR(store_eeprom, S_IWUSR, NULL, mcp4725_store_eeprom, 0);
Dad5360.c297 static IIO_DEVICE_ATTR(out_voltage_powerdown,
/linux-4.4.14/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_core.c699 static IIO_DEVICE_ATTR(in_gyro_matrix, S_IRUGO, inv_attr_show, NULL,
701 static IIO_DEVICE_ATTR(in_accel_matrix, S_IRUGO, inv_attr_show, NULL,
/linux-4.4.14/drivers/iio/accel/
Dbma180.c446 static IIO_DEVICE_ATTR(in_accel_filter_low_pass_3db_frequency_available,
449 static IIO_DEVICE_ATTR(in_accel_scale_available,
Dmma8452.c269 static IIO_DEVICE_ATTR(in_accel_scale_available, S_IRUGO,
271 static IIO_DEVICE_ATTR(in_accel_filter_high_pass_3db_frequency_available,
Dbmc150-accel-core.c800 static IIO_DEVICE_ATTR(hwfifo_enabled, S_IRUGO,
802 static IIO_DEVICE_ATTR(hwfifo_watermark, S_IRUGO,
/linux-4.4.14/drivers/iio/proximity/
Das3935.c147 static IIO_DEVICE_ATTR(sensor_sensitivity, S_IRUGO | S_IWUSR,