Lines Matching refs:to_iio_dev_attr
357 return sysfs_emit(buf, "%u\n", to_iio_dev_attr(attr)->c->scan_index); in iio_show_scan_index()
364 struct iio_dev_attr *this_attr = to_iio_dev_attr(attr); in iio_show_fixed_type()
396 struct iio_buffer *buffer = to_iio_dev_attr(attr)->buffer; in iio_scan_el_show()
399 ret = !!test_bit(to_iio_dev_attr(attr)->address, in iio_scan_el_show()
510 struct iio_dev_attr *this_attr = to_iio_dev_attr(attr); in iio_scan_el_store()
545 struct iio_buffer *buffer = to_iio_dev_attr(attr)->buffer; in iio_scan_el_ts_show()
557 struct iio_buffer *buffer = to_iio_dev_attr(attr)->buffer; in iio_scan_el_ts_store()
636 struct iio_buffer *buffer = to_iio_dev_attr(attr)->buffer; in length_show()
645 struct iio_buffer *buffer = to_iio_dev_attr(attr)->buffer; in length_store()
676 struct iio_buffer *buffer = to_iio_dev_attr(attr)->buffer; in enable_show()
1299 struct iio_buffer *buffer = to_iio_dev_attr(attr)->buffer; in enable_store()
1327 struct iio_buffer *buffer = to_iio_dev_attr(attr)->buffer; in watermark_show()
1337 struct iio_buffer *buffer = to_iio_dev_attr(attr)->buffer; in watermark_store()
1369 struct iio_buffer *buffer = to_iio_dev_attr(attr)->buffer; in data_available_show()
1378 struct iio_buffer *buffer = to_iio_dev_attr(attr)->buffer; in direction_show()