Home
last modified time | relevance | path

Searched refs:iio_priv (Results 1 – 25 of 97) sorted by relevance

1234

/drivers/staging/iio/addac/
Dadt7316.c224 struct adt7316_chip_info *chip = iio_priv(dev_info); in adt7316_show_enabled()
256 struct adt7316_chip_info *chip = iio_priv(dev_info); in adt7316_store_enabled()
280 struct adt7316_chip_info *chip = iio_priv(dev_info); in adt7316_show_select_ex_temp()
294 struct adt7316_chip_info *chip = iio_priv(dev_info); in adt7316_store_select_ex_temp()
324 struct adt7316_chip_info *chip = iio_priv(dev_info); in adt7316_show_mode()
338 struct adt7316_chip_info *chip = iio_priv(dev_info); in adt7316_store_mode()
374 struct adt7316_chip_info *chip = iio_priv(dev_info); in adt7316_show_ad_channel()
413 struct adt7316_chip_info *chip = iio_priv(dev_info); in adt7316_store_ad_channel()
459 struct adt7316_chip_info *chip = iio_priv(dev_info); in adt7316_show_all_ad_channels()
481 struct adt7316_chip_info *chip = iio_priv(dev_info); in adt7316_show_disable_averaging()
[all …]
/drivers/staging/iio/
Diio_simple_dummy_events.c34 struct iio_dummy_state *st = iio_priv(indio_dev); in iio_simple_dummy_read_event_config()
53 struct iio_dummy_state *st = iio_priv(indio_dev); in iio_simple_dummy_write_event_config()
95 struct iio_dummy_state *st = iio_priv(indio_dev); in iio_simple_dummy_read_event_value()
112 struct iio_dummy_state *st = iio_priv(indio_dev); in iio_simple_dummy_write_event_value()
153 struct iio_dummy_state *st = iio_priv(indio_dev); in iio_simple_dummy_events_register()
184 struct iio_dummy_state *st = iio_priv(indio_dev); in iio_simple_dummy_events_unregister()
/drivers/staging/iio/meter/
Dade7854-i2c.c24 struct ade7854_state *st = iio_priv(indio_dev); in ade7854_i2c_write_reg_8()
43 struct ade7854_state *st = iio_priv(indio_dev); in ade7854_i2c_write_reg_16()
63 struct ade7854_state *st = iio_priv(indio_dev); in ade7854_i2c_write_reg_24()
84 struct ade7854_state *st = iio_priv(indio_dev); in ade7854_i2c_write_reg_32()
105 struct ade7854_state *st = iio_priv(indio_dev); in ade7854_i2c_read_reg_8()
131 struct ade7854_state *st = iio_priv(indio_dev); in ade7854_i2c_read_reg_16()
157 struct ade7854_state *st = iio_priv(indio_dev); in ade7854_i2c_read_reg_24()
183 struct ade7854_state *st = iio_priv(indio_dev); in ade7854_i2c_read_reg_32()
214 st = iio_priv(indio_dev); in ade7854_i2c_probe()
Dade7854-spi.c25 struct ade7854_state *st = iio_priv(indio_dev); in ade7854_spi_write_reg_8()
53 struct ade7854_state *st = iio_priv(indio_dev); in ade7854_spi_write_reg_16()
82 struct ade7854_state *st = iio_priv(indio_dev); in ade7854_spi_write_reg_24()
112 struct ade7854_state *st = iio_priv(indio_dev); in ade7854_spi_write_reg_32()
142 struct ade7854_state *st = iio_priv(indio_dev); in ade7854_spi_read_reg_8()
184 struct ade7854_state *st = iio_priv(indio_dev); in ade7854_spi_read_reg_16()
225 struct ade7854_state *st = iio_priv(indio_dev); in ade7854_spi_read_reg_24()
267 struct ade7854_state *st = iio_priv(indio_dev); in ade7854_spi_read_reg_32()
312 st = iio_priv(indio_dev); in ade7854_spi_probe()
Dade7854.c32 struct ade7854_state *st = iio_priv(indio_dev); in ade7854_read_8bit()
49 struct ade7854_state *st = iio_priv(indio_dev); in ade7854_read_16bit()
66 struct ade7854_state *st = iio_priv(indio_dev); in ade7854_read_24bit()
84 struct ade7854_state *st = iio_priv(indio_dev); in ade7854_read_32bit()
100 struct ade7854_state *st = iio_priv(indio_dev); in ade7854_write_8bit()
121 struct ade7854_state *st = iio_priv(indio_dev); in ade7854_write_16bit()
142 struct ade7854_state *st = iio_priv(indio_dev); in ade7854_write_24bit()
163 struct ade7854_state *st = iio_priv(indio_dev); in ade7854_write_32bit()
180 struct ade7854_state *st = iio_priv(indio_dev); in ade7854_reset()
429 struct ade7854_state *st = iio_priv(indio_dev); in ade7854_set_irq()
[all …]
/drivers/staging/iio/light/
Dtsl2583.c201 struct tsl2583_chip *chip = iio_priv(indio_dev); in taos_get_lux()
335 struct tsl2583_chip *chip = iio_priv(indio_dev); in taos_als_calibrate()
404 struct tsl2583_chip *chip = iio_priv(indio_dev); in taos_chip_on()
470 struct tsl2583_chip *chip = iio_priv(indio_dev); in taos_chip_off()
487 struct tsl2583_chip *chip = iio_priv(indio_dev); in taos_power_state_show()
513 struct tsl2583_chip *chip = iio_priv(indio_dev); in taos_gain_show()
538 struct tsl2583_chip *chip = iio_priv(indio_dev); in taos_gain_store()
575 struct tsl2583_chip *chip = iio_priv(indio_dev); in taos_als_time_show()
584 struct tsl2583_chip *chip = iio_priv(indio_dev); in taos_als_time_store()
612 struct tsl2583_chip *chip = iio_priv(indio_dev); in taos_als_trim_show()
[all …]
Disl29018.c75 struct isl29018_chip *chip = iio_priv(i2c_get_clientdata(client)); in isl29018_write_data()
170 struct isl29018_chip *chip = iio_priv(i2c_get_clientdata(client)); in isl29018_read_lux()
242 struct isl29018_chip *chip = iio_priv(indio_dev); in show_range()
251 struct isl29018_chip *chip = iio_priv(indio_dev); in store_range()
284 struct isl29018_chip *chip = iio_priv(indio_dev); in show_resolution()
293 struct isl29018_chip *chip = iio_priv(indio_dev); in store_resolution()
324 struct isl29018_chip *chip = iio_priv(indio_dev); in show_prox_infrared_supression()
335 struct isl29018_chip *chip = iio_priv(indio_dev); in store_prox_infrared_supression()
361 struct isl29018_chip *chip = iio_priv(indio_dev); in isl29018_write_raw()
381 struct isl29018_chip *chip = iio_priv(indio_dev); in isl29018_read_raw()
[all …]
/drivers/staging/iio/resolver/
Dad2s1210.c203 struct ad2s1210_state *st = iio_priv(dev_get_drvdata(dev)); in ad2s1210_store_softreset()
217 struct ad2s1210_state *st = iio_priv(dev_get_drvdata(dev)); in ad2s1210_show_fclkin()
226 struct ad2s1210_state *st = iio_priv(dev_get_drvdata(dev)); in ad2s1210_store_fclkin()
255 struct ad2s1210_state *st = iio_priv(dev_get_drvdata(dev)); in ad2s1210_show_fexcit()
263 struct ad2s1210_state *st = iio_priv(dev_get_drvdata(dev)); in ad2s1210_store_fexcit()
290 struct ad2s1210_state *st = iio_priv(dev_get_drvdata(dev)); in ad2s1210_show_control()
302 struct ad2s1210_state *st = iio_priv(dev_get_drvdata(dev)); in ad2s1210_store_control()
348 struct ad2s1210_state *st = iio_priv(dev_get_drvdata(dev)); in ad2s1210_show_resolution()
356 struct ad2s1210_state *st = iio_priv(dev_get_drvdata(dev)); in ad2s1210_store_resolution()
406 struct ad2s1210_state *st = iio_priv(dev_get_drvdata(dev)); in ad2s1210_show_fault()
[all …]
/drivers/staging/iio/adc/
Dadt7410.c148 struct adt7410_chip_info *chip = iio_priv(dev_info); in adt7410_show_mode()
171 struct adt7410_chip_info *chip = iio_priv(dev_info); in adt7410_store_mode()
215 struct adt7410_chip_info *chip = iio_priv(dev_info); in adt7410_show_resolution()
237 struct adt7410_chip_info *chip = iio_priv(dev_info); in adt7410_store_resolution()
273 struct adt7410_chip_info *chip = iio_priv(dev_info); in adt7410_show_id()
323 struct adt7410_chip_info *chip = iio_priv(dev_info); in adt7410_show_value()
362 struct adt7410_chip_info *chip = iio_priv(indio_dev); in adt7410_event_handler()
396 struct adt7410_chip_info *chip = iio_priv(dev_info); in adt7410_show_event_mode()
415 struct adt7410_chip_info *chip = iio_priv(dev_info); in adt7410_set_event_mode()
448 struct adt7410_chip_info *chip = iio_priv(dev_info); in adt7410_show_fault_queue()
[all …]
Dadt7310.c179 struct adt7310_chip_info *chip = iio_priv(dev_info); in adt7310_show_mode()
202 struct adt7310_chip_info *chip = iio_priv(dev_info); in adt7310_store_mode()
246 struct adt7310_chip_info *chip = iio_priv(dev_info); in adt7310_show_resolution()
268 struct adt7310_chip_info *chip = iio_priv(dev_info); in adt7310_store_resolution()
304 struct adt7310_chip_info *chip = iio_priv(dev_info); in adt7310_show_id()
354 struct adt7310_chip_info *chip = iio_priv(dev_info); in adt7310_show_value()
393 struct adt7310_chip_info *chip = iio_priv(indio_dev); in adt7310_event_handler()
428 struct adt7310_chip_info *chip = iio_priv(dev_info); in adt7310_show_event_mode()
447 struct adt7310_chip_info *chip = iio_priv(dev_info); in adt7310_set_event_mode()
480 struct adt7310_chip_info *chip = iio_priv(dev_info); in adt7310_show_fault_queue()
[all …]
Dad7816.c117 struct ad7816_chip_info *chip = iio_priv(indio_dev); in ad7816_show_mode()
131 struct ad7816_chip_info *chip = iio_priv(indio_dev); in ad7816_store_mode()
163 struct ad7816_chip_info *chip = iio_priv(indio_dev); in ad7816_show_channel()
174 struct ad7816_chip_info *chip = iio_priv(indio_dev); in ad7816_store_channel()
212 struct ad7816_chip_info *chip = iio_priv(indio_dev); in ad7816_show_value()
267 struct ad7816_chip_info *chip = iio_priv(indio_dev); in ad7816_show_oti()
288 struct ad7816_chip_info *chip = iio_priv(indio_dev); in ad7816_set_oti()
362 chip = iio_priv(indio_dev); in ad7816_probe()
437 struct ad7816_chip_info *chip = iio_priv(indio_dev); in ad7816_remove()
Dad7606_core.c41 struct ad7606_state *st = iio_priv(indio_dev); in ad7606_scan_direct()
87 struct ad7606_state *st = iio_priv(indio_dev); in ad7606_read_raw()
117 struct ad7606_state *st = iio_priv(indio_dev); in ad7606_show_range()
126 struct ad7606_state *st = iio_priv(indio_dev); in ad7606_store_range()
151 struct ad7606_state *st = iio_priv(indio_dev); in ad7606_show_oversampling_ratio()
172 struct ad7606_state *st = iio_priv(indio_dev); in ad7606_store_oversampling_ratio()
420 struct ad7606_state *st = iio_priv(indio_dev); in ad7606_interrupt()
471 st = iio_priv(indio_dev); in ad7606_probe()
570 struct ad7606_state *st = iio_priv(indio_dev); in ad7606_remove()
590 struct ad7606_state *st = iio_priv(indio_dev); in ad7606_suspend()
[all …]
Dad7291.c136 struct ad7291_chip_info *chip = iio_priv(indio_dev); in ad7291_store_reset()
156 struct ad7291_chip_info *chip = iio_priv(private); in ad7291_event_handler()
218 struct ad7291_chip_info *chip = iio_priv(indio_dev); in ad7291_show_hyst()
236 struct ad7291_chip_info *chip = iio_priv(indio_dev); in ad7291_set_hyst()
315 struct ad7291_chip_info *chip = iio_priv(indio_dev); in ad7291_read_event_value()
354 struct ad7291_chip_info *chip = iio_priv(indio_dev); in ad7291_write_event_value()
382 struct ad7291_chip_info *chip = iio_priv(indio_dev); in ad7291_read_event_config()
407 struct ad7291_chip_info *chip = iio_priv(indio_dev); in ad7291_write_event_config()
458 struct ad7291_chip_info *chip = iio_priv(indio_dev); in ad7291_read_raw()
593 chip = iio_priv(indio_dev); in ad7291_probe()
[all …]
/drivers/staging/iio/dac/
Dad5624r_spi.c101 struct ad5624r_state *st = iio_priv(indio_dev); in ad5624r_read_raw()
121 struct ad5624r_state *st = iio_priv(indio_dev); in ad5624r_write_raw()
144 struct ad5624r_state *st = iio_priv(indio_dev); in ad5624r_read_powerdown_mode()
156 struct ad5624r_state *st = iio_priv(indio_dev); in ad5624r_write_powerdown_mode()
176 struct ad5624r_state *st = iio_priv(indio_dev); in ad5624r_read_dac_powerdown()
190 struct ad5624r_state *st = iio_priv(indio_dev); in ad5624r_write_dac_powerdown()
263 st = iio_priv(indio_dev); in ad5624r_probe()
317 struct ad5624r_state *st = iio_priv(indio_dev); in ad5624r_remove()
Dad5421.c108 struct ad5421_state *st = iio_priv(indio_dev); in ad5421_write_unlocked()
129 struct ad5421_state *st = iio_priv(indio_dev); in ad5421_read()
163 struct ad5421_state *st = iio_priv(indio_dev); in ad5421_update_ctrl()
181 struct ad5421_state *st = iio_priv(indio_dev); in ad5421_fault_handler()
300 struct ad5421_state *st = iio_priv(indio_dev); in ad5421_read_raw()
369 struct ad5421_state *st = iio_priv(indio_dev); in ad5421_write_event_config()
400 struct ad5421_state *st = iio_priv(indio_dev); in ad5421_read_event_config()
465 st = iio_priv(indio_dev); in ad5421_probe()
Dad5446.c69 struct ad5446_state *st = iio_priv(indio_dev); in ad5446_write_powerdown_mode()
87 struct ad5446_state *st = iio_priv(indio_dev); in ad5446_read_powerdown_mode()
99 struct ad5446_state *st = iio_priv(indio_dev); in ad5446_read_dac_powerdown()
109 struct ad5446_state *st = iio_priv(indio_dev); in ad5446_write_dac_powerdown()
253 struct ad5446_state *st = iio_priv(indio_dev); in ad5446_read_raw()
273 struct ad5446_state *st = iio_priv(indio_dev); in ad5446_write_raw()
329 st = iio_priv(indio_dev); in ad5446_probe()
394 struct ad5446_state *st = iio_priv(indio_dev); in ad5446_remove()
Dad5504.c79 struct ad5504_state *st = iio_priv(indio_dev); in ad5504_read_raw()
108 struct ad5504_state *st = iio_priv(indio_dev); in ad5504_write_raw()
128 struct ad5504_state *st = iio_priv(indio_dev); in ad5504_read_powerdown_mode()
140 struct ad5504_state *st = iio_priv(indio_dev); in ad5504_write_powerdown_mode()
158 struct ad5504_state *st = iio_priv(indio_dev); in ad5504_read_dac_powerdown()
172 struct ad5504_state *st = iio_priv(indio_dev); in ad5504_write_dac_powerdown()
305 st = iio_priv(indio_dev); in ad5504_probe()
361 struct ad5504_state *st = iio_priv(indio_dev); in ad5504_remove()
Dad5686.c176 struct ad5686_state *st = iio_priv(indio_dev); in ad5686_read_powerdown_mode()
190 struct ad5686_state *st = iio_priv(indio_dev); in ad5686_write_powerdown_mode()
214 struct ad5686_state *st = iio_priv(indio_dev); in ad5686_read_dac_powerdown()
228 struct ad5686_state *st = iio_priv(indio_dev); in ad5686_write_dac_powerdown()
294 struct ad5686_state *st = iio_priv(indio_dev); in ad5686_read_raw()
325 struct ad5686_state *st = iio_priv(indio_dev); in ad5686_write_raw()
365 st = iio_priv(indio_dev); in ad5686_probe()
421 struct ad5686_state *st = iio_priv(indio_dev); in ad5686_remove()
Dad5791.c97 struct ad5791_state *st = iio_priv(indio_dev); in ad5791_read_powerdown_mode()
109 struct ad5791_state *st = iio_priv(indio_dev); in ad5791_write_powerdown_mode()
127 struct ad5791_state *st = iio_priv(indio_dev); in ad5791_read_dac_powerdown()
139 struct ad5791_state *st = iio_priv(indio_dev); in ad5791_write_dac_powerdown()
229 struct ad5791_state *st = iio_priv(indio_dev); in ad5791_read_raw()
263 struct ad5791_state *st = iio_priv(indio_dev); in ad5791_write_raw()
296 st = iio_priv(indio_dev); in ad5791_probe()
380 struct ad5791_state *st = iio_priv(indio_dev); in ad5791_remove()
Dad5360.c191 struct ad5360_state *st = iio_priv(indio_dev); in ad5360_write_unlocked()
215 struct ad5360_state *st = iio_priv(indio_dev); in ad5360_read()
254 struct ad5360_state *st = iio_priv(indio_dev); in ad5360_read_dac_powerdown()
262 struct ad5360_state *st = iio_priv(indio_dev); in ad5360_update_ctrl()
317 struct ad5360_state *st = iio_priv(indio_dev); in ad5360_write_raw()
373 struct ad5360_state *st = iio_priv(indio_dev); in ad5360_read_raw()
438 struct ad5360_state *st = iio_priv(indio_dev); in ad5360_alloc_channels()
473 st = iio_priv(indio_dev); in ad5360_probe()
530 struct ad5360_state *st = iio_priv(indio_dev); in ad5360_remove()
Dad5380.c171 struct ad5380_state *st = iio_priv(indio_dev); in ad5380_read_dac_powerdown()
180 struct ad5380_state *st = iio_priv(indio_dev); in ad5380_write_dac_powerdown()
216 struct ad5380_state *st = iio_priv(indio_dev); in ad5380_read_powerdown_mode()
233 struct ad5380_state *st = iio_priv(indio_dev); in ad5380_write_powerdown_mode()
292 struct ad5380_state *st = iio_priv(indio_dev); in ad5380_write_raw()
320 struct ad5380_state *st = iio_priv(indio_dev); in ad5380_read_raw()
362 struct ad5380_state *st = iio_priv(indio_dev); in ad5380_alloc_channels()
398 st = iio_priv(indio_dev); in ad5380_probe()
467 struct ad5380_state *st = iio_priv(indio_dev); in ad5380_remove()
/drivers/staging/iio/accel/
Dsca3000_core.c245 struct sca3000_state *st = iio_priv(indio_dev); in sca3000_check_status()
272 struct sca3000_state *st = iio_priv(indio_dev); in sca3000_show_rev()
300 struct sca3000_state *st = iio_priv(indio_dev); in sca3000_show_available_measurement_modes()
332 struct sca3000_state *st = iio_priv(indio_dev); in sca3000_show_measurement_mode()
383 struct sca3000_state *st = iio_priv(indio_dev); in sca3000_store_measurement_mode()
460 struct sca3000_state *st = iio_priv(indio_dev); in sca3000_read_raw()
507 struct sca3000_state *st = iio_priv(indio_dev); in sca3000_read_av_freq()
578 struct sca3000_state *st = iio_priv(indio_dev); in sca3000_read_frequency()
620 struct sca3000_state *st = iio_priv(indio_dev); in sca3000_set_frequency()
680 struct sca3000_state *st = iio_priv(indio_dev); in sca3000_read_temp()
[all …]
/drivers/staging/iio/magnetometer/
Dhmc5843.c151 struct hmc5843_data *data = iio_priv(indio_dev); in hmc5843_read_measurement()
188 struct hmc5843_data *data = iio_priv(indio_dev); in hmc5843_show_operating_mode()
199 struct hmc5843_data *data = iio_priv(indio_dev); in hmc5843_set_operating_mode()
264 struct hmc5843_data *data = iio_priv(indio_dev); in hmc5843_show_measurement_configuration()
336 struct hmc5843_data *data = iio_priv(indio_dev); in set_sampling_frequency()
408 struct hmc5843_data *data = iio_priv(indio_dev); in show_range()
422 struct hmc5843_data *data = iio_priv(indio_dev); in set_range()
459 struct hmc5843_data *data = iio_priv(indio_dev); in hmc5843_read_raw()
525 struct hmc5843_data *data = iio_priv(indio_dev); in hmc5843_init_client()
553 data = iio_priv(indio_dev); in hmc5843_probe()
Dak8975.c112 struct ak8975_data *data = iio_priv(indio_dev); in ak8975_write_data()
164 struct ak8975_data *data = iio_priv(indio_dev); in ak8975_setup()
246 struct ak8975_data *data = iio_priv(indio_dev); in show_mode()
259 struct ak8975_data *data = iio_priv(indio_dev); in store_mode()
351 struct ak8975_data *data = iio_priv(indio_dev); in ak8975_read_axis()
431 struct ak8975_data *data = iio_priv(indio_dev); in ak8975_read_raw()
513 data = iio_priv(indio_dev); in ak8975_probe()
550 struct ak8975_data *data = iio_priv(indio_dev); in ak8975_remove()
/drivers/staging/iio/cdc/
Dad7150.c104 struct ad7150_chip_info *chip = iio_priv(indio_dev); in ad7150_read_raw()
131 struct ad7150_chip_info *chip = iio_priv(indio_dev); in ad7150_read_event_config()
169 struct ad7150_chip_info *chip = iio_priv(indio_dev); in ad7150_write_event_params()
218 struct ad7150_chip_info *chip = iio_priv(indio_dev); in ad7150_write_event_config()
283 struct ad7150_chip_info *chip = iio_priv(indio_dev); in ad7150_read_event_value()
311 struct ad7150_chip_info *chip = iio_priv(indio_dev); in ad7150_write_event_value()
345 struct ad7150_chip_info *chip = iio_priv(indio_dev); in ad7150_show_timeout()
374 struct ad7150_chip_info *chip = iio_priv(indio_dev); in ad7150_store_timeout()
462 struct ad7150_chip_info *chip = iio_priv(indio_dev); in ad7150_event_handler()
564 chip = iio_priv(indio_dev); in ad7150_probe()

1234