Home
last modified time | relevance | path

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

/linux-4.19.296/include/linux/iio/
Dbuffer_impl.h10 struct iio_buffer;
47 int (*store_to)(struct iio_buffer *buffer, const void *data);
48 int (*read_first_n)(struct iio_buffer *buffer,
51 size_t (*data_available)(struct iio_buffer *buffer);
53 int (*request_update)(struct iio_buffer *buffer);
55 int (*set_bytes_per_datum)(struct iio_buffer *buffer, size_t bpd);
56 int (*set_length)(struct iio_buffer *buffer, unsigned int length);
58 int (*enable)(struct iio_buffer *buffer, struct iio_dev *indio_dev);
59 int (*disable)(struct iio_buffer *buffer, struct iio_dev *indio_dev);
61 void (*release)(struct iio_buffer *buffer);
[all …]
Dbuffer-dma.h107 struct iio_buffer buffer;
136 int iio_dma_buffer_enable(struct iio_buffer *buffer,
138 int iio_dma_buffer_disable(struct iio_buffer *buffer,
140 int iio_dma_buffer_read(struct iio_buffer *buffer, size_t n,
142 size_t iio_dma_buffer_data_available(struct iio_buffer *buffer);
143 int iio_dma_buffer_set_bytes_per_datum(struct iio_buffer *buffer, size_t bpd);
144 int iio_dma_buffer_set_length(struct iio_buffer *buffer, unsigned int length);
145 int iio_dma_buffer_request_update(struct iio_buffer *buffer);
Dkfifo_buf.h5 struct iio_buffer;
8 struct iio_buffer *iio_kfifo_allocate(void);
9 void iio_kfifo_free(struct iio_buffer *r);
11 struct iio_buffer *devm_iio_kfifo_allocate(struct device *dev);
12 void devm_iio_kfifo_free(struct device *dev, struct iio_buffer *r);
Dbuffer-dmaengine.h11 struct iio_buffer;
14 struct iio_buffer *iio_dmaengine_buffer_alloc(struct device *dev,
16 void iio_dmaengine_buffer_free(struct iio_buffer *buffer);
Dbuffer.h15 struct iio_buffer;
17 void iio_buffer_set_attrs(struct iio_buffer *buffer,
51 struct iio_buffer *buffer);
Diio.h538 struct iio_buffer *buffer;
/linux-4.19.296/drivers/iio/buffer/
Dkfifo_buf.c16 struct iio_buffer buffer;
41 static int iio_request_update_kfifo(struct iio_buffer *r) in iio_request_update_kfifo()
61 static int iio_mark_update_needed_kfifo(struct iio_buffer *r) in iio_mark_update_needed_kfifo()
68 static int iio_set_bytes_per_datum_kfifo(struct iio_buffer *r, size_t bpd) in iio_set_bytes_per_datum_kfifo()
77 static int iio_set_length_kfifo(struct iio_buffer *r, unsigned int length) in iio_set_length_kfifo()
89 static int iio_store_to_kfifo(struct iio_buffer *r, in iio_store_to_kfifo()
100 static int iio_read_first_n_kfifo(struct iio_buffer *r, in iio_read_first_n_kfifo()
120 static size_t iio_kfifo_buf_data_available(struct iio_buffer *r) in iio_kfifo_buf_data_available()
132 static void iio_kfifo_buffer_release(struct iio_buffer *buffer) in iio_kfifo_buffer_release()
153 struct iio_buffer *iio_kfifo_allocate(void) in iio_kfifo_allocate()
[all …]
Dindustrialio-buffer-cb.c18 struct iio_buffer buffer;
25 static struct iio_cb_buffer *buffer_to_cb_buffer(struct iio_buffer *buffer) in buffer_to_cb_buffer()
30 static int iio_buffer_cb_store_to(struct iio_buffer *buffer, const void *data) in iio_buffer_cb_store_to()
36 static void iio_buffer_cb_release(struct iio_buffer *buffer) in iio_buffer_cb_release()
Dindustrialio-buffer-dmaengine.c42 struct iio_buffer *buffer) in iio_buffer_to_dmaengine_buffer()
101 static void iio_dmaengine_buffer_release(struct iio_buffer *buf) in iio_dmaengine_buffer_release()
141 struct iio_buffer *iio_dmaengine_buffer_alloc(struct device *dev, in iio_dmaengine_buffer_alloc()
199 void iio_dmaengine_buffer_free(struct iio_buffer *buffer) in iio_dmaengine_buffer_free()
Dindustrialio-buffer-dma.c162 static struct iio_dma_buffer_queue *iio_buffer_to_queue(struct iio_buffer *buf) in iio_buffer_to_queue()
282 int iio_dma_buffer_request_update(struct iio_buffer *buffer) in iio_dma_buffer_request_update()
402 int iio_dma_buffer_enable(struct iio_buffer *buffer, in iio_dma_buffer_enable()
428 int iio_dma_buffer_disable(struct iio_buffer *buffer, in iio_dma_buffer_disable()
483 int iio_dma_buffer_read(struct iio_buffer *buffer, size_t n, in iio_dma_buffer_read()
539 size_t iio_dma_buffer_data_available(struct iio_buffer *buf) in iio_dma_buffer_data_available()
574 int iio_dma_buffer_set_bytes_per_datum(struct iio_buffer *buffer, size_t bpd) in iio_dma_buffer_set_bytes_per_datum()
590 int iio_dma_buffer_set_length(struct iio_buffer *buffer, unsigned int length) in iio_dma_buffer_set_length()
Dindustrialio-hw-consumer.c30 struct iio_buffer buffer;
35 struct iio_buffer *buffer) in iio_buffer_to_hw_consumer_buffer()
40 static void iio_hw_buf_release(struct iio_buffer *buffer) in iio_hw_buf_release()
Dindustrialio-triggered-buffer.c49 struct iio_buffer *buffer; in iio_triggered_buffer_setup()
/linux-4.19.296/drivers/iio/
Dindustrialio-buffer.c36 static bool iio_buffer_is_active(struct iio_buffer *buf) in iio_buffer_is_active()
41 static size_t iio_buffer_data_available(struct iio_buffer *buf) in iio_buffer_data_available()
47 struct iio_buffer *buf, size_t required) in iio_buffer_flush_hwfifo()
55 static bool iio_buffer_ready(struct iio_dev *indio_dev, struct iio_buffer *buf, in iio_buffer_ready()
110 struct iio_buffer *rb = indio_dev->buffer; in iio_buffer_read_first_n_outer()
176 struct iio_buffer *rb = indio_dev->buffer; in iio_buffer_poll()
202 void iio_buffer_init(struct iio_buffer *buffer) in iio_buffer_init()
218 void iio_buffer_set_attrs(struct iio_buffer *buffer, in iio_buffer_set_attrs()
318 struct iio_buffer *buffer, int bit) in iio_scan_mask_set()
355 static int iio_scan_mask_clear(struct iio_buffer *buffer, int bit) in iio_scan_mask_clear()
[all …]
/linux-4.19.296/drivers/iio/dummy/
Diio_simple_dummy_buffer.c124 struct iio_buffer *buffer; in iio_simple_dummy_configure_buffer()
/linux-4.19.296/drivers/iio/gyro/
Dssp_gyro_sensor.c109 struct iio_buffer *buffer; in ssp_gyro_probe()
/linux-4.19.296/drivers/iio/accel/
Dssp_accel_sensor.c109 struct iio_buffer *buffer; in ssp_accel_probe()
Dsca3000.c1279 struct iio_buffer *buffer; in sca3000_configure_ring()
/linux-4.19.296/drivers/iio/light/
Dacpi-als.c181 struct iio_buffer *buffer; in acpi_als_add()
Dapds9960.c991 struct iio_buffer *buffer; in apds9960_probe()
/linux-4.19.296/drivers/iio/health/
Dmax30100.c422 struct iio_buffer *buffer; in max30100_probe()
Dmax30102.c517 struct iio_buffer *buffer; in max30102_probe()
/linux-4.19.296/drivers/iio/imu/st_lsm6dsx/
Dst_lsm6dsx_buffer.c522 struct iio_buffer *buffer; in st_lsm6dsx_fifo_setup()
/linux-4.19.296/drivers/iio/adc/
Dti_am335x_adc.c384 struct iio_buffer *buffer; in tiadc_iio_buffered_hardware_setup()
Dina2xx-adc.c954 struct iio_buffer *buffer; in ina2xx_probe()