Home
last modified time | relevance | path

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

12

/Linux-v5.4/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.h106 struct iio_buffer buffer;
135 int iio_dma_buffer_enable(struct iio_buffer *buffer,
137 int iio_dma_buffer_disable(struct iio_buffer *buffer,
139 int iio_dma_buffer_read(struct iio_buffer *buffer, size_t n,
141 size_t iio_dma_buffer_data_available(struct iio_buffer *buffer);
142 int iio_dma_buffer_set_bytes_per_datum(struct iio_buffer *buffer, size_t bpd);
143 int iio_dma_buffer_set_length(struct iio_buffer *buffer, unsigned int length);
144 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.h10 struct iio_buffer;
13 struct iio_buffer *iio_dmaengine_buffer_alloc(struct device *dev,
15 void iio_dmaengine_buffer_free(struct iio_buffer *buffer);
Dbuffer.h12 struct iio_buffer;
14 void iio_buffer_set_attrs(struct iio_buffer *buffer,
48 struct iio_buffer *buffer);
Diio.h535 struct iio_buffer *buffer;
/Linux-v5.4/drivers/iio/buffer/
Dkfifo_buf.c17 struct iio_buffer buffer;
42 static int iio_request_update_kfifo(struct iio_buffer *r) in iio_request_update_kfifo()
62 static int iio_mark_update_needed_kfifo(struct iio_buffer *r) in iio_mark_update_needed_kfifo()
69 static int iio_set_bytes_per_datum_kfifo(struct iio_buffer *r, size_t bpd) in iio_set_bytes_per_datum_kfifo()
78 static int iio_set_length_kfifo(struct iio_buffer *r, unsigned int length) in iio_set_length_kfifo()
90 static int iio_store_to_kfifo(struct iio_buffer *r, in iio_store_to_kfifo()
101 static int iio_read_first_n_kfifo(struct iio_buffer *r, in iio_read_first_n_kfifo()
121 static size_t iio_kfifo_buf_data_available(struct iio_buffer *r) in iio_kfifo_buf_data_available()
133 static void iio_kfifo_buffer_release(struct iio_buffer *buffer) in iio_kfifo_buffer_release()
154 struct iio_buffer *iio_kfifo_allocate(void) in iio_kfifo_allocate()
[all …]
Dindustrialio-buffer-cb.c15 struct iio_buffer buffer;
22 static struct iio_cb_buffer *buffer_to_cb_buffer(struct iio_buffer *buffer) in buffer_to_cb_buffer()
27 static int iio_buffer_cb_store_to(struct iio_buffer *buffer, const void *data) in iio_buffer_cb_store_to()
33 static void iio_buffer_cb_release(struct iio_buffer *buffer) in iio_buffer_cb_release()
Dindustrialio-buffer-dmaengine.c41 struct iio_buffer *buffer) in iio_buffer_to_dmaengine_buffer()
100 static void iio_dmaengine_buffer_release(struct iio_buffer *buf) in iio_dmaengine_buffer_release()
140 struct iio_buffer *iio_dmaengine_buffer_alloc(struct device *dev, in iio_dmaengine_buffer_alloc()
198 void iio_dmaengine_buffer_free(struct iio_buffer *buffer) in iio_dmaengine_buffer_free()
Dindustrialio-buffer-dma.c161 static struct iio_dma_buffer_queue *iio_buffer_to_queue(struct iio_buffer *buf) in iio_buffer_to_queue()
281 int iio_dma_buffer_request_update(struct iio_buffer *buffer) in iio_dma_buffer_request_update()
401 int iio_dma_buffer_enable(struct iio_buffer *buffer, in iio_dma_buffer_enable()
427 int iio_dma_buffer_disable(struct iio_buffer *buffer, in iio_dma_buffer_disable()
482 int iio_dma_buffer_read(struct iio_buffer *buffer, size_t n, in iio_dma_buffer_read()
538 size_t iio_dma_buffer_data_available(struct iio_buffer *buf) in iio_dma_buffer_data_available()
573 int iio_dma_buffer_set_bytes_per_datum(struct iio_buffer *buffer, size_t bpd) in iio_dma_buffer_set_bytes_per_datum()
589 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.c46 struct iio_buffer *buffer; in iio_triggered_buffer_setup()
/Linux-v5.4/drivers/iio/
Dindustrialio-buffer.c32 static bool iio_buffer_is_active(struct iio_buffer *buf) in iio_buffer_is_active()
37 static size_t iio_buffer_data_available(struct iio_buffer *buf) in iio_buffer_data_available()
43 struct iio_buffer *buf, size_t required) in iio_buffer_flush_hwfifo()
51 static bool iio_buffer_ready(struct iio_dev *indio_dev, struct iio_buffer *buf, in iio_buffer_ready()
106 struct iio_buffer *rb = indio_dev->buffer; in iio_buffer_read_first_n_outer()
172 struct iio_buffer *rb = indio_dev->buffer; in iio_buffer_poll()
198 void iio_buffer_init(struct iio_buffer *buffer) in iio_buffer_init()
214 void iio_buffer_set_attrs(struct iio_buffer *buffer, in iio_buffer_set_attrs()
314 struct iio_buffer *buffer, int bit) in iio_scan_mask_set()
351 static int iio_scan_mask_clear(struct iio_buffer *buffer, int bit) in iio_scan_mask_clear()
[all …]
/Linux-v5.4/drivers/iio/dummy/
Diio_simple_dummy_buffer.c121 struct iio_buffer *buffer; in iio_simple_dummy_configure_buffer()
/Linux-v5.4/drivers/iio/gyro/
Dssp_gyro_sensor.c99 struct iio_buffer *buffer; in ssp_gyro_probe()
/Linux-v5.4/drivers/iio/accel/
Dssp_accel_sensor.c99 struct iio_buffer *buffer; in ssp_accel_probe()
/Linux-v5.4/drivers/iio/light/
Dacpi-als.c168 struct iio_buffer *buffer; in acpi_als_add()
Dapds9960.c992 struct iio_buffer *buffer; in apds9960_probe()
/Linux-v5.4/Documentation/driver-api/iio/
Dbuffers.rst5 * struct :c:type:`iio_buffer` — general buffer structure
/Linux-v5.4/drivers/iio/health/
Dmax30100.c422 struct iio_buffer *buffer; in max30100_probe()
Dmax30102.c510 struct iio_buffer *buffer; in max30102_probe()
/Linux-v5.4/drivers/staging/iio/impedance-analyzer/
Dad5933.c607 struct iio_buffer *buffer; in ad5933_register_ring_funcs_and_init()
/Linux-v5.4/drivers/iio/imu/st_lsm6dsx/
Dst_lsm6dsx_buffer.c707 struct iio_buffer *buffer; in st_lsm6dsx_fifo_setup()
/Linux-v5.4/drivers/iio/adc/
Dti_am335x_adc.c387 struct iio_buffer *buffer; in tiadc_iio_buffered_hardware_setup()
Dina2xx-adc.c953 struct iio_buffer *buffer; in ina2xx_probe()

12