Home
last modified time | relevance | path

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

12

/drivers/staging/iio/meter/
Dmeter.h6 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 …]
/drivers/staging/iio/dds/
Ddds.h14 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, \
/drivers/staging/iio/
Diio_dummy_evgen.c163 static IIO_DEVICE_ATTR(poke_ev0, S_IWUSR, NULL, &iio_evgen_poke, 0);
164 static IIO_DEVICE_ATTR(poke_ev1, S_IWUSR, NULL, &iio_evgen_poke, 1);
165 static IIO_DEVICE_ATTR(poke_ev2, S_IWUSR, NULL, &iio_evgen_poke, 2);
166 static IIO_DEVICE_ATTR(poke_ev3, S_IWUSR, NULL, &iio_evgen_poke, 3);
167 static IIO_DEVICE_ATTR(poke_ev4, S_IWUSR, NULL, &iio_evgen_poke, 4);
168 static IIO_DEVICE_ATTR(poke_ev5, S_IWUSR, NULL, &iio_evgen_poke, 5);
169 static IIO_DEVICE_ATTR(poke_ev6, S_IWUSR, NULL, &iio_evgen_poke, 6);
170 static IIO_DEVICE_ATTR(poke_ev7, S_IWUSR, NULL, &iio_evgen_poke, 7);
171 static IIO_DEVICE_ATTR(poke_ev8, S_IWUSR, NULL, &iio_evgen_poke, 8);
172 static IIO_DEVICE_ATTR(poke_ev9, S_IWUSR, NULL, &iio_evgen_poke, 9);
Dsysfs.h57 #define IIO_DEVICE_ATTR(_name, _mode, _show, _store, _addr) \ macro
80 IIO_DEVICE_ATTR(reset, S_IWUSR, NULL, _store, 0)
89 IIO_DEVICE_ATTR(sampling_frequency, _mode, _show, _store, 0)
98 IIO_DEVICE_ATTR(sampling_frequency_available, S_IRUGO, _show, NULL, 0)
109 IIO_DEVICE_ATTR(in_temp_raw, S_IRUGO, _show, NULL, 0)
/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,
574 static IIO_DEVICE_ATTR(reset, S_IWUSR,
612 static IIO_DEVICE_ATTR(powerdown, S_IRUGO | S_IWUSR,
[all …]
/drivers/staging/iio/resolver/
Dad2s1210.c542 static IIO_DEVICE_ATTR(reset, S_IWUSR,
544 static IIO_DEVICE_ATTR(fclkin, S_IRUGO | S_IWUSR,
546 static IIO_DEVICE_ATTR(fexcit, S_IRUGO | S_IWUSR,
548 static IIO_DEVICE_ATTR(control, S_IRUGO | S_IWUSR,
550 static IIO_DEVICE_ATTR(bits, S_IRUGO | S_IWUSR,
552 static IIO_DEVICE_ATTR(fault, S_IRUGO | S_IWUSR,
555 static IIO_DEVICE_ATTR(los_thrd, S_IRUGO | S_IWUSR,
558 static IIO_DEVICE_ATTR(dos_ovr_thrd, S_IRUGO | S_IWUSR,
561 static IIO_DEVICE_ATTR(dos_mis_thrd, S_IRUGO | S_IWUSR,
564 static IIO_DEVICE_ATTR(dos_rst_max_thrd, S_IRUGO | S_IWUSR,
[all …]
/drivers/staging/iio/adc/
Dadt7410.c196 static IIO_DEVICE_ATTR(mode, S_IRUGO | S_IWUSR,
208 static IIO_DEVICE_ATTR(available_modes, S_IRUGO, adt7410_show_available_modes, NULL, 0);
263 static IIO_DEVICE_ATTR(resolution, S_IRUGO | S_IWUSR,
286 static IIO_DEVICE_ATTR(id, S_IRUGO | S_IWUSR,
344 static IIO_DEVICE_ATTR(value, S_IRUGO, adt7410_show_value, NULL, 0);
668 static IIO_DEVICE_ATTR(event_mode,
671 static IIO_DEVICE_ATTR(available_event_modes,
674 static IIO_DEVICE_ATTR(fault_queue,
677 static IIO_DEVICE_ATTR(t_alarm_high,
680 static IIO_DEVICE_ATTR(t_alarm_low,
[all …]
Dad7291.c142 static IIO_DEVICE_ATTR(reset, S_IWUSR, NULL, ad7291_store_reset, 0);
255 static IIO_DEVICE_ATTR(in_temp0_thresh_both_hyst_raw,
259 static IIO_DEVICE_ATTR(in_voltage0_thresh_both_hyst_raw,
262 static IIO_DEVICE_ATTR(in_voltage1_thresh_both_hyst_raw,
265 static IIO_DEVICE_ATTR(in_voltage2_thresh_both_hyst_raw,
268 static IIO_DEVICE_ATTR(in_voltage3_thresh_both_hyst_raw,
271 static IIO_DEVICE_ATTR(in_voltage4_thresh_both_hyst_raw,
274 static IIO_DEVICE_ATTR(in_voltage5_thresh_both_hyst_raw,
277 static IIO_DEVICE_ATTR(in_voltage6_thresh_both_hyst_raw,
280 static IIO_DEVICE_ATTR(in_voltage7_thresh_both_hyst_raw,
Dadt7310.c227 static IIO_DEVICE_ATTR(mode, S_IRUGO | S_IWUSR,
239 static IIO_DEVICE_ATTR(available_modes, S_IRUGO, adt7310_show_available_modes, NULL, 0);
294 static IIO_DEVICE_ATTR(resolution, S_IRUGO | S_IWUSR,
317 static IIO_DEVICE_ATTR(id, S_IRUGO | S_IWUSR,
375 static IIO_DEVICE_ATTR(value, S_IRUGO, adt7310_show_value, NULL, 0);
700 static IIO_DEVICE_ATTR(event_mode,
703 static IIO_DEVICE_ATTR(available_event_modes,
706 static IIO_DEVICE_ATTR(fault_queue,
709 static IIO_DEVICE_ATTR(t_alarm_high,
712 static IIO_DEVICE_ATTR(t_alarm_low,
[all …]
Dad7816.c144 static IIO_DEVICE_ATTR(mode, S_IRUGO | S_IWUSR,
156 static IIO_DEVICE_ATTR(available_modes, S_IRUGO, ad7816_show_available_modes, NULL, 0);
201 static IIO_DEVICE_ATTR(channel, S_IRUGO | S_IWUSR,
233 static IIO_DEVICE_ATTR(value, S_IRUGO, ad7816_show_value, NULL, 0);
321 static IIO_DEVICE_ATTR(oti, S_IRUGO | S_IWUSR,
Dad799x_core.c367 static IIO_DEVICE_ATTR(in_voltage0_thresh_both_hyst_raw,
373 static IIO_DEVICE_ATTR(in_voltage1_thresh_both_hyst_raw,
379 static IIO_DEVICE_ATTR(in_voltage2_thresh_both_hyst_raw,
385 static IIO_DEVICE_ATTR(in_voltage3_thresh_both_hyst_raw,
/drivers/staging/iio/impedance-analyzer/
Dad5933.c312 static IIO_DEVICE_ATTR(out_voltage0_freq_start, S_IRUGO | S_IWUSR,
317 static IIO_DEVICE_ATTR(out_voltage0_freq_increment, S_IRUGO | S_IWUSR,
435 static IIO_DEVICE_ATTR(out_voltage0_scale, S_IRUGO | S_IWUSR,
440 static IIO_DEVICE_ATTR(out_voltage0_scale_available, S_IRUGO,
445 static IIO_DEVICE_ATTR(in_voltage0_scale, S_IRUGO | S_IWUSR,
450 static IIO_DEVICE_ATTR(in_voltage0_scale_available, S_IRUGO,
455 static IIO_DEVICE_ATTR(out_voltage0_freq_points, S_IRUGO | S_IWUSR,
460 static IIO_DEVICE_ATTR(out_voltage0_settling_cycles, S_IRUGO | S_IWUSR,
/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,
/drivers/staging/iio/accel/
Dsca3000_ring.c208 static IIO_DEVICE_ATTR(50_percent, S_IRUGO | S_IWUSR,
213 static IIO_DEVICE_ATTR(75_percent, S_IRUGO | S_IWUSR,
228 static IIO_DEVICE_ATTR(in_accel_scale,
Dadis16204_core.c303 IIO_DEVICE_ATTR(in_accel_xy, S_IRUGO, _show, NULL, _addr)
305 IIO_DEVICE_ATTR(in_accel_xypeak, S_IRUGO, _show, NULL, _addr)
313 static IIO_DEVICE_ATTR(reset, S_IWUSR, NULL, adis16204_write_reset, 0);
Dadis16220_core.c457 static IIO_DEVICE_ATTR(reset, S_IWUSR, NULL,
461 IIO_DEVICE_ATTR(capture, S_IWUSR, NULL, _store, 0)
466 IIO_DEVICE_ATTR(capture_count, _mode, _show, _store, _addr)
/drivers/staging/iio/magnetometer/
Dhmc5843.c228 static IIO_DEVICE_ATTR(operating_mode,
293 static IIO_DEVICE_ATTR(meas_conf,
383 static IIO_DEVICE_ATTR(sampling_frequency,
448 static IIO_DEVICE_ATTR(in_magn_range,
/drivers/staging/iio/dac/
Ddac.h6 IIO_DEVICE_ATTR(out_voltage##_num##_raw, S_IWUSR, NULL, _store, _addr)
Dmax517.c145 static IIO_DEVICE_ATTR(out_voltage1_scale, S_IRUGO,
154 static IIO_DEVICE_ATTR(out_voltage2_scale, S_IRUGO,
Dad5624r_spi.c211 static IIO_DEVICE_ATTR(out_voltage_powerdown_mode, S_IRUGO |
219 IIO_DEVICE_ATTR(out_voltage##_num##_powerdown, \
Dad5446.c134 static IIO_DEVICE_ATTR(out_voltage_powerdown_mode, S_IRUGO | S_IWUSR,
141 static IIO_DEVICE_ATTR(out_voltage0_powerdown, S_IRUGO | S_IWUSR,
Dad5504.c196 static IIO_DEVICE_ATTR(out_voltage_powerdown_mode, S_IRUGO |
204 IIO_DEVICE_ATTR(out_voltage##_num##_powerdown, \
Dad5686.c250 IIO_DEVICE_ATTR(out_voltage##_num##_powerdown_mode, \
261 IIO_DEVICE_ATTR(out_voltage##_num##_powerdown, \
/drivers/staging/iio/light/
Disl29018.c434 static IIO_DEVICE_ATTR(range, S_IRUGO | S_IWUSR, show_range, store_range, 0);
437 static IIO_DEVICE_ATTR(adc_resolution, S_IRUGO | S_IWUSR,
439 static IIO_DEVICE_ATTR(proximity_on_chip_ambient_infrared_supression,

12