Home
last modified time | relevance | path

Searched refs:iio_ring_buffer (Results 1 – 25 of 35) sorted by relevance

12

/linux-2.6.39/drivers/staging/iio/
Dkfifo_buf.h7 struct iio_ring_buffer ring;
16 int iio_create_kfifo(struct iio_ring_buffer **r);
17 int iio_init_kfifo(struct iio_ring_buffer *r, struct iio_dev *indio_dev);
18 void iio_exit_kfifo(struct iio_ring_buffer *r);
19 void iio_free_kfifo(struct iio_ring_buffer *r);
20 void iio_mark_kfifo_in_use(struct iio_ring_buffer *r);
21 void iio_unmark_kfifo_in_use(struct iio_ring_buffer *r);
23 int iio_store_to_kfifo(struct iio_ring_buffer *r, u8 *data, s64 timestamp);
24 int iio_rip_kfifo(struct iio_ring_buffer *r,
29 int iio_request_update_kfifo(struct iio_ring_buffer *r);
[all …]
Dring_sw.h41 int iio_create_sw_rb(struct iio_ring_buffer **r);
49 int iio_init_sw_rb(struct iio_ring_buffer *r, struct iio_dev *indio_dev);
56 void iio_exit_sw_rb(struct iio_ring_buffer *r);
63 void iio_free_sw_rb(struct iio_ring_buffer *r);
70 void iio_mark_sw_rb_in_use(struct iio_ring_buffer *r);
77 void iio_unmark_sw_rb_in_use(struct iio_ring_buffer *r);
85 int iio_read_last_from_sw_rb(struct iio_ring_buffer *r, u8 *data);
93 int iio_store_to_sw_rb(struct iio_ring_buffer *r, u8 *data, s64 timestamp);
103 int iio_rip_sw_rb(struct iio_ring_buffer *r,
113 int iio_request_update_sw_rb(struct iio_ring_buffer *r);
[all …]
Dring_generic.h16 struct iio_ring_buffer;
24 int iio_push_ring_event(struct iio_ring_buffer *ring_buf,
37 int iio_push_or_escallate_ring_event(struct iio_ring_buffer *ring_buf,
69 void (*mark_in_use)(struct iio_ring_buffer *ring);
70 void (*unmark_in_use)(struct iio_ring_buffer *ring);
72 int (*store_to)(struct iio_ring_buffer *ring, u8 *data, s64 timestamp);
73 int (*read_last)(struct iio_ring_buffer *ring, u8 *data);
74 int (*rip_lots)(struct iio_ring_buffer *ring,
79 int (*mark_param_change)(struct iio_ring_buffer *ring);
80 int (*request_update)(struct iio_ring_buffer *ring);
[all …]
Dkfifo_buf.c21 int iio_request_update_kfifo(struct iio_ring_buffer *r) in iio_request_update_kfifo()
42 void iio_mark_kfifo_in_use(struct iio_ring_buffer *r) in iio_mark_kfifo_in_use()
51 void iio_unmark_kfifo_in_use(struct iio_ring_buffer *r) in iio_unmark_kfifo_in_use()
60 int iio_get_length_kfifo(struct iio_ring_buffer *r) in iio_get_length_kfifo()
93 struct iio_ring_buffer *r = to_iio_ring_buffer(dev); in iio_kfifo_release()
104 struct iio_ring_buffer *iio_kfifo_allocate(struct iio_dev *indio_dev) in iio_kfifo_allocate()
123 int iio_get_bytes_per_datum_kfifo(struct iio_ring_buffer *r) in iio_get_bytes_per_datum_kfifo()
129 int iio_set_bytes_per_datum_kfifo(struct iio_ring_buffer *r, size_t bpd) in iio_set_bytes_per_datum_kfifo()
140 int iio_mark_update_needed_kfifo(struct iio_ring_buffer *r) in iio_mark_update_needed_kfifo()
148 int iio_set_length_kfifo(struct iio_ring_buffer *r, int length) in iio_set_length_kfifo()
[all …]
Dindustrialio-ring.c25 int iio_push_ring_event(struct iio_ring_buffer *ring_buf, in iio_push_ring_event()
36 int iio_push_or_escallate_ring_event(struct iio_ring_buffer *ring_buf, in iio_push_or_escallate_ring_event()
62 struct iio_ring_buffer *rb = hand->private; in iio_ring_open()
81 struct iio_ring_buffer *rb = hand->private; in iio_ring_release()
99 struct iio_ring_buffer *rb = filp->private_data; in iio_ring_rip_outer()
126 __iio_request_ring_buffer_event_chrdev(struct iio_ring_buffer *buf, in __iio_request_ring_buffer_event_chrdev()
150 __iio_free_ring_buffer_event_chrdev(struct iio_ring_buffer *buf) in __iio_free_ring_buffer_event_chrdev()
157 struct iio_ring_buffer *buf in iio_ring_access_release()
168 __iio_request_ring_buffer_access_chrdev(struct iio_ring_buffer *buf, in __iio_request_ring_buffer_access_chrdev()
218 static void __iio_free_ring_buffer_access_chrdev(struct iio_ring_buffer *buf) in __iio_free_ring_buffer_access_chrdev()
[all …]
Dring_sw.c43 void iio_mark_sw_rb_in_use(struct iio_ring_buffer *r) in iio_mark_sw_rb_in_use()
52 void iio_unmark_sw_rb_in_use(struct iio_ring_buffer *r) in iio_unmark_sw_rb_in_use()
155 int iio_rip_sw_rb(struct iio_ring_buffer *r, in iio_rip_sw_rb()
283 int iio_store_to_sw_rb(struct iio_ring_buffer *r, u8 *data, s64 timestamp) in iio_store_to_sw_rb()
312 int iio_read_last_from_sw_rb(struct iio_ring_buffer *r, in iio_read_last_from_sw_rb()
319 int iio_request_update_sw_rb(struct iio_ring_buffer *r) in iio_request_update_sw_rb()
340 int iio_get_bytes_per_datum_sw_rb(struct iio_ring_buffer *r) in iio_get_bytes_per_datum_sw_rb()
347 int iio_set_bytes_per_datum_sw_rb(struct iio_ring_buffer *r, size_t bpd) in iio_set_bytes_per_datum_sw_rb()
358 int iio_get_length_sw_rb(struct iio_ring_buffer *r) in iio_get_length_sw_rb()
364 int iio_set_length_sw_rb(struct iio_ring_buffer *r, int length) in iio_set_length_sw_rb()
[all …]
Dring_hw.h18 struct iio_ring_buffer buf;
/linux-2.6.39/drivers/staging/iio/accel/
Dsca3000_ring.c49 static int sca3000_rip_hw_rb(struct iio_ring_buffer *r, in sca3000_rip_hw_rb()
109 static int sca3000_ring_get_length(struct iio_ring_buffer *r) in sca3000_ring_get_length()
115 static int sca3000_ring_get_bytes_per_datum(struct iio_ring_buffer *r) in sca3000_ring_get_bytes_per_datum()
121 struct iio_ring_buffer *r = to_iio_ring_buffer(dev); in sca3000_ring_release()
141 struct iio_ring_buffer *ring = dev_get_drvdata(dev); in sca3000_show_ring_bpse()
172 struct iio_ring_buffer *ring = dev_get_drvdata(dev); in sca3000_store_ring_bpse()
253 static struct iio_ring_buffer *sca3000_rb_allocate(struct iio_dev *indio_dev) in sca3000_rb_allocate()
255 struct iio_ring_buffer *buf; in sca3000_rb_allocate()
272 static inline void sca3000_rb_free(struct iio_ring_buffer *r) in sca3000_rb_free()
353 void sca3000_ring_int_process(u8 val, struct iio_ring_buffer *ring) in sca3000_ring_int_process()
Dadis16203.h103 int adis16203_initialize_ring(struct iio_ring_buffer *ring);
104 void adis16203_uninitialize_ring(struct iio_ring_buffer *ring);
133 static inline int adis16203_initialize_ring(struct iio_ring_buffer *ring) in adis16203_initialize_ring()
138 static inline void adis16203_uninitialize_ring(struct iio_ring_buffer *ring) in adis16203_uninitialize_ring()
Dadis16204.h111 int adis16204_initialize_ring(struct iio_ring_buffer *ring);
112 void adis16204_uninitialize_ring(struct iio_ring_buffer *ring);
141 static inline int adis16204_initialize_ring(struct iio_ring_buffer *ring) in adis16204_initialize_ring()
146 static inline void adis16204_uninitialize_ring(struct iio_ring_buffer *ring) in adis16204_uninitialize_ring()
Dadis16201.h110 int adis16201_initialize_ring(struct iio_ring_buffer *ring);
111 void adis16201_uninitialize_ring(struct iio_ring_buffer *ring);
140 static inline int adis16201_initialize_ring(struct iio_ring_buffer *ring) in adis16201_initialize_ring()
145 static inline void adis16201_uninitialize_ring(struct iio_ring_buffer *ring) in adis16201_uninitialize_ring()
Dadis16204_ring.c118 struct iio_ring_buffer *ring = st->indio_dev->ring; in adis16204_trigger_bh_to_ring()
160 struct iio_ring_buffer *ring; in adis16204_configure_ring()
198 int adis16204_initialize_ring(struct iio_ring_buffer *ring) in adis16204_initialize_ring()
203 void adis16204_uninitialize_ring(struct iio_ring_buffer *ring) in adis16204_uninitialize_ring()
Dadis16201_ring.c128 struct iio_ring_buffer *ring = st->indio_dev->ring; in adis16201_trigger_bh_to_ring()
170 struct iio_ring_buffer *ring; in adis16201_configure_ring()
210 int adis16201_initialize_ring(struct iio_ring_buffer *ring) in adis16201_initialize_ring()
215 void adis16201_uninitialize_ring(struct iio_ring_buffer *ring) in adis16201_uninitialize_ring()
Dadis16203_ring.c123 struct iio_ring_buffer *ring = st->indio_dev->ring; in adis16203_trigger_bh_to_ring()
165 struct iio_ring_buffer *ring; in adis16203_configure_ring()
203 int adis16203_initialize_ring(struct iio_ring_buffer *ring) in adis16203_initialize_ring()
208 void adis16203_uninitialize_ring(struct iio_ring_buffer *ring) in adis16203_uninitialize_ring()
/linux-2.6.39/drivers/staging/iio/imu/
Dadis16300.h144 int adis16300_initialize_ring(struct iio_ring_buffer *ring);
145 void adis16300_uninitialize_ring(struct iio_ring_buffer *ring);
174 static inline int adis16300_initialize_ring(struct iio_ring_buffer *ring) in adis16300_initialize_ring()
179 static inline void adis16300_uninitialize_ring(struct iio_ring_buffer *ring) in adis16300_uninitialize_ring()
/linux-2.6.39/drivers/staging/iio/meter/
Dade7758.h134 int ade7758_initialize_ring(struct iio_ring_buffer *ring);
135 void ade7758_uninitialize_ring(struct iio_ring_buffer *ring);
162 static inline int ade7758_initialize_ring(struct iio_ring_buffer *ring) in ade7758_initialize_ring()
166 static inline void ade7758_uninitialize_ring(struct iio_ring_buffer *ring) in ade7758_uninitialize_ring()
Dade7758_ring.c125 struct iio_ring_buffer *ring = st->indio_dev->ring; in ade7758_trigger_bh_to_ring()
170 struct iio_ring_buffer *ring; in ade7758_configure_ring()
204 int ade7758_initialize_ring(struct iio_ring_buffer *ring) in ade7758_initialize_ring()
209 void ade7758_uninitialize_ring(struct iio_ring_buffer *ring) in ade7758_uninitialize_ring()
/linux-2.6.39/drivers/staging/iio/adc/
Dad7887_ring.c37 struct iio_ring_buffer *ring = dev_get_drvdata(dev); in ad7887_show_type()
63 struct iio_ring_buffer *ring = dev_get_drvdata(dev); in ad7887_scan_el_attr_is_visible()
85 struct iio_ring_buffer *ring = st->indio_dev->ring; in ad7887_scan_from_ring()
125 struct iio_ring_buffer *ring = indio_dev->ring; in ad7887_ring_preenable()
194 struct iio_ring_buffer *ring = indio_dev->ring; in ad7887_poll_bh_to_ring()
Dad7606_ring.c40 struct iio_ring_buffer *ring = dev_get_drvdata(dev); in ad7606_show_type()
77 struct iio_ring_buffer *ring = dev_get_drvdata(dev); in ad7606_scan_el_attr_is_visible()
107 struct iio_ring_buffer *ring = st->indio_dev->ring; in ad7606_scan_from_ring()
138 struct iio_ring_buffer *ring = indio_dev->ring; in ad7606_ring_preenable()
185 struct iio_ring_buffer *ring = indio_dev->ring; in ad7606_poll_bh_to_ring()
Dad799x_ring.c32 struct iio_ring_buffer *ring = st->indio_dev->ring; in ad799x_single_channel_from_ring()
74 struct iio_ring_buffer *ring = indio_dev->ring; in ad799x_ring_preenable()
130 struct iio_ring_buffer *ring = indio_dev->ring; in ad799x_poll_bh_to_ring()
Dad7476_ring.c36 struct iio_ring_buffer *ring = dev_get_drvdata(dev); in ad7476_show_type()
63 struct iio_ring_buffer *ring = st->indio_dev->ring; in ad7476_scan_from_ring()
94 struct iio_ring_buffer *ring = indio_dev->ring; in ad7476_ring_preenable()
Dad7298_ring.c70 struct iio_ring_buffer *ring = st->indio_dev->ring; in ad7298_scan_from_ring()
106 struct iio_ring_buffer *ring = indio_dev->ring; in ad7298_ring_preenable()
187 struct iio_ring_buffer *ring = indio_dev->ring; in ad7298_poll_bh_to_ring()
Dmax1363_ring.c33 struct iio_ring_buffer *ring = st->indio_dev->ring; in max1363_single_channel_from_ring()
78 struct iio_ring_buffer *ring = indio_dev->ring; in max1363_ring_preenable()
/linux-2.6.39/drivers/staging/iio/Documentation/
Dring.txt11 iio_ring_buffer and it is a pointer to this that is provided to the
15 struct iio_ring_buffer contains 4 function pointers
21 Also in struct iio_ring_buffer is a struct iio_ring_access_funcs.
/linux-2.6.39/drivers/staging/iio/gyro/
Dadis16260_ring.c126 struct iio_ring_buffer *ring = st->indio_dev->ring; in adis16260_trigger_bh_to_ring()
168 struct iio_ring_buffer *ring; in adis16260_configure_ring()

12