Home
last modified time | relevance | path

Searched refs:iio_buffer (Results 1 – 25 of 28) sorted by relevance

12

/linux-3.4.99/drivers/staging/iio/
Dbuffer.h17 struct iio_buffer;
39 int (*store_to)(struct iio_buffer *buffer, u8 *data, s64 timestamp);
40 int (*read_first_n)(struct iio_buffer *buffer,
44 int (*request_update)(struct iio_buffer *buffer);
46 int (*get_bytes_per_datum)(struct iio_buffer *buffer);
47 int (*set_bytes_per_datum)(struct iio_buffer *buffer, size_t bpd);
48 int (*get_length)(struct iio_buffer *buffer);
49 int (*set_length)(struct iio_buffer *buffer, int length);
71 struct iio_buffer { struct
92 void iio_buffer_init(struct iio_buffer *buffer); argument
[all …]
Dkfifo_buf.c12 struct iio_buffer buffer;
29 static int iio_request_update_kfifo(struct iio_buffer *r) in iio_request_update_kfifo()
43 static int iio_get_length_kfifo(struct iio_buffer *r) in iio_get_length_kfifo()
62 static int iio_get_bytes_per_datum_kfifo(struct iio_buffer *r) in iio_get_bytes_per_datum_kfifo()
67 static int iio_mark_update_needed_kfifo(struct iio_buffer *r) in iio_mark_update_needed_kfifo()
74 static int iio_set_bytes_per_datum_kfifo(struct iio_buffer *r, size_t bpd) in iio_set_bytes_per_datum_kfifo()
83 static int iio_set_length_kfifo(struct iio_buffer *r, int length) in iio_set_length_kfifo()
92 static int iio_store_to_kfifo(struct iio_buffer *r, in iio_store_to_kfifo()
104 static int iio_read_first_n_kfifo(struct iio_buffer *r, in iio_read_first_n_kfifo()
129 struct iio_buffer *iio_kfifo_allocate(struct iio_dev *indio_dev) in iio_kfifo_allocate()
[all …]
Dring_sw.c33 struct iio_buffer buf;
139 static int iio_read_first_n_sw_rb(struct iio_buffer *r, in iio_read_first_n_sw_rb()
258 static int iio_store_to_sw_rb(struct iio_buffer *r, in iio_store_to_sw_rb()
266 static int iio_request_update_sw_rb(struct iio_buffer *r) in iio_request_update_sw_rb()
281 static int iio_get_bytes_per_datum_sw_rb(struct iio_buffer *r) in iio_get_bytes_per_datum_sw_rb()
287 static int iio_mark_update_needed_sw_rb(struct iio_buffer *r) in iio_mark_update_needed_sw_rb()
294 static int iio_set_bytes_per_datum_sw_rb(struct iio_buffer *r, size_t bpd) in iio_set_bytes_per_datum_sw_rb()
303 static int iio_get_length_sw_rb(struct iio_buffer *r) in iio_get_length_sw_rb()
308 static int iio_set_length_sw_rb(struct iio_buffer *r, int length) in iio_set_length_sw_rb()
342 struct iio_buffer *iio_sw_rb_allocate(struct iio_dev *indio_dev) in iio_sw_rb_allocate()
[all …]
Dindustrialio-buffer.c44 struct iio_buffer *rb = indio_dev->buffer; in iio_buffer_read_first_n_outer()
58 struct iio_buffer *rb = indio_dev->buffer; in iio_buffer_poll()
67 void iio_buffer_init(struct iio_buffer *buffer) in iio_buffer_init()
116 static int iio_scan_mask_clear(struct iio_buffer *buffer, int bit) in iio_scan_mask_clear()
130 struct iio_buffer *buffer = indio_dev->buffer; in iio_scan_el_store()
193 struct iio_buffer *buffer = indio_dev->buffer; in iio_buffer_add_channel_sysfs()
251 struct iio_buffer *buffer = indio_dev->buffer; in __iio_buffer_attr_cleanup()
266 struct iio_buffer *buffer = indio_dev->buffer; in iio_buffer_register()
350 struct iio_buffer *buffer = indio_dev->buffer; in iio_buffer_read_length()
368 struct iio_buffer *buffer = indio_dev->buffer; in iio_buffer_write_length()
[all …]
Dkfifo_buf.h6 struct iio_buffer *iio_kfifo_allocate(struct iio_dev *indio_dev);
7 void iio_kfifo_free(struct iio_buffer *r);
Dring_sw.h28 struct iio_buffer *iio_sw_rb_allocate(struct iio_dev *indio_dev);
29 void iio_sw_rb_free(struct iio_buffer *ring);
Diio_simple_dummy_buffer.c49 struct iio_buffer *buffer = indio_dev->buffer; in iio_simple_dummy_trigger_h()
135 struct iio_buffer *buffer; in iio_simple_dummy_configure_buffer()
Dring_hw.h18 struct iio_buffer buf;
Diio.h350 struct iio_buffer *buffer;
/linux-3.4.99/drivers/staging/iio/accel/
Dsca3000_ring.c84 static int sca3000_read_first_n_hw_rb(struct iio_buffer *r, in sca3000_read_first_n_hw_rb()
137 static int sca3000_ring_get_length(struct iio_buffer *r) in sca3000_ring_get_length()
143 static int sca3000_ring_get_bytes_per_datum(struct iio_buffer *r) in sca3000_ring_get_bytes_per_datum()
254 static struct iio_buffer *sca3000_rb_allocate(struct iio_dev *indio_dev) in sca3000_rb_allocate()
256 struct iio_buffer *buf; in sca3000_rb_allocate()
272 static inline void sca3000_rb_free(struct iio_buffer *r) in sca3000_rb_free()
357 void sca3000_ring_int_process(u8 val, struct iio_buffer *ring) in sca3000_ring_int_process()
Dadis16204_ring.c63 struct iio_buffer *ring = indio_dev->buffer; in adis16204_trigger_handler()
107 struct iio_buffer *ring; in adis16204_configure_ring()
Dadis16240_ring.c60 struct iio_buffer *ring = indio_dev->buffer; in adis16240_trigger_handler()
105 struct iio_buffer *ring; in adis16240_configure_ring()
Dadis16209_ring.c63 struct iio_buffer *ring = indio_dev->buffer; in adis16209_trigger_handler()
108 struct iio_buffer *ring; in adis16209_configure_ring()
Dadis16201_ring.c65 struct iio_buffer *ring = indio_dev->buffer; in adis16201_trigger_handler()
110 struct iio_buffer *ring; in adis16201_configure_ring()
Dadis16203_ring.c65 struct iio_buffer *ring = indio_dev->buffer; in adis16203_trigger_handler()
112 struct iio_buffer *ring; in adis16203_configure_ring()
Dsca3000.h251 void sca3000_ring_int_process(u8 val, struct iio_buffer *ring);
Dlis3l02dq_ring.c138 struct iio_buffer *buffer = indio_dev->buffer; in lis3l02dq_trigger_handler()
402 struct iio_buffer *buffer; in lis3l02dq_configure_buffer()
/linux-3.4.99/drivers/staging/iio/adc/
Dad7887_ring.c32 struct iio_buffer *ring = indio_dev->buffer; in ad7887_ring_preenable()
86 struct iio_buffer *ring = indio_dev->buffer; in ad7887_trigger_handler()
Dad799x_ring.c35 struct iio_buffer *ring = indio_dev->buffer; in ad799x_ring_preenable()
75 struct iio_buffer *ring = indio_dev->buffer; in ad799x_trigger_handler()
Dad7298_ring.c31 struct iio_buffer *ring = indio_dev->buffer; in ad7298_ring_preenable()
94 struct iio_buffer *ring = indio_dev->buffer; in ad7298_trigger_handler()
Dad7476_ring.c33 struct iio_buffer *ring = indio_dev->buffer; in ad7476_ring_preenable()
Dad7606_ring.c49 struct iio_buffer *ring = indio_dev->buffer; in ad7606_poll_bh_to_ring()
/linux-3.4.99/drivers/staging/iio/gyro/
Dadis16260_ring.c66 struct iio_buffer *ring = indio_dev->buffer; in adis16260_trigger_handler()
110 struct iio_buffer *ring; in adis16260_configure_ring()
/linux-3.4.99/drivers/staging/iio/meter/
Dade7758_ring.c65 struct iio_buffer *ring = indio_dev->buffer; in ade7758_trigger_handler()
95 struct iio_buffer *ring = indio_dev->buffer; in ade7758_ring_preenable()
/linux-3.4.99/drivers/staging/iio/imu/
Dadis16400_ring.c119 struct iio_buffer *ring = indio_dev->buffer; in adis16400_trigger_handler()
182 struct iio_buffer *ring; in adis16400_configure_ring()

12