/Linux-v5.4/include/linux/iio/ |
D | buffer_impl.h | 10 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 …]
|
D | buffer-dma.h | 106 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);
|
D | kfifo_buf.h | 5 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);
|
D | buffer-dmaengine.h | 10 struct iio_buffer; 13 struct iio_buffer *iio_dmaengine_buffer_alloc(struct device *dev, 15 void iio_dmaengine_buffer_free(struct iio_buffer *buffer);
|
D | buffer.h | 12 struct iio_buffer; 14 void iio_buffer_set_attrs(struct iio_buffer *buffer, 48 struct iio_buffer *buffer);
|
D | iio.h | 535 struct iio_buffer *buffer;
|
/Linux-v5.4/drivers/iio/buffer/ |
D | kfifo_buf.c | 17 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 …]
|
D | industrialio-buffer-cb.c | 15 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()
|
D | industrialio-buffer-dmaengine.c | 41 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()
|
D | industrialio-buffer-dma.c | 161 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()
|
D | industrialio-hw-consumer.c | 30 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()
|
D | industrialio-triggered-buffer.c | 46 struct iio_buffer *buffer; in iio_triggered_buffer_setup()
|
/Linux-v5.4/drivers/iio/ |
D | industrialio-buffer.c | 32 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/ |
D | iio_simple_dummy_buffer.c | 121 struct iio_buffer *buffer; in iio_simple_dummy_configure_buffer()
|
/Linux-v5.4/drivers/iio/gyro/ |
D | ssp_gyro_sensor.c | 99 struct iio_buffer *buffer; in ssp_gyro_probe()
|
/Linux-v5.4/drivers/iio/accel/ |
D | ssp_accel_sensor.c | 99 struct iio_buffer *buffer; in ssp_accel_probe()
|
/Linux-v5.4/drivers/iio/light/ |
D | acpi-als.c | 168 struct iio_buffer *buffer; in acpi_als_add()
|
D | apds9960.c | 992 struct iio_buffer *buffer; in apds9960_probe()
|
/Linux-v5.4/Documentation/driver-api/iio/ |
D | buffers.rst | 5 * struct :c:type:`iio_buffer` — general buffer structure
|
/Linux-v5.4/drivers/iio/health/ |
D | max30100.c | 422 struct iio_buffer *buffer; in max30100_probe()
|
D | max30102.c | 510 struct iio_buffer *buffer; in max30102_probe()
|
/Linux-v5.4/drivers/staging/iio/impedance-analyzer/ |
D | ad5933.c | 607 struct iio_buffer *buffer; in ad5933_register_ring_funcs_and_init()
|
/Linux-v5.4/drivers/iio/imu/st_lsm6dsx/ |
D | st_lsm6dsx_buffer.c | 707 struct iio_buffer *buffer; in st_lsm6dsx_fifo_setup()
|
/Linux-v5.4/drivers/iio/adc/ |
D | ti_am335x_adc.c | 387 struct iio_buffer *buffer; in tiadc_iio_buffered_hardware_setup()
|
D | ina2xx-adc.c | 953 struct iio_buffer *buffer; in ina2xx_probe()
|