Searched refs:iio_buffer (Results 1 – 19 of 19) sorted by relevance
/linux-6.6.21/include/linux/iio/ |
D | buffer_impl.h | 13 struct iio_buffer; 54 int (*store_to)(struct iio_buffer *buffer, const void *data); 55 int (*read)(struct iio_buffer *buffer, size_t n, char __user *buf); 56 size_t (*data_available)(struct iio_buffer *buffer); 57 int (*remove_from)(struct iio_buffer *buffer, void *data); 58 int (*write)(struct iio_buffer *buffer, size_t n, const char __user *buf); 59 size_t (*space_available)(struct iio_buffer *buffer); 61 int (*request_update)(struct iio_buffer *buffer); 63 int (*set_bytes_per_datum)(struct iio_buffer *buffer, size_t bpd); 64 int (*set_length)(struct iio_buffer *buffer, unsigned int length); [all …]
|
D | buffer-dma.h | 101 struct iio_buffer buffer; 130 int iio_dma_buffer_enable(struct iio_buffer *buffer, 132 int iio_dma_buffer_disable(struct iio_buffer *buffer, 134 int iio_dma_buffer_read(struct iio_buffer *buffer, size_t n, 136 size_t iio_dma_buffer_data_available(struct iio_buffer *buffer); 137 int iio_dma_buffer_set_bytes_per_datum(struct iio_buffer *buffer, size_t bpd); 138 int iio_dma_buffer_set_length(struct iio_buffer *buffer, unsigned int length); 139 int iio_dma_buffer_request_update(struct iio_buffer *buffer);
|
D | kfifo_buf.h | 5 struct iio_buffer; 11 struct iio_buffer *iio_kfifo_allocate(void); 12 void iio_kfifo_free(struct iio_buffer *r);
|
D | buffer.h | 12 struct iio_buffer; 21 int iio_pop_from_buffer(struct iio_buffer *buffer, void *data); 56 struct iio_buffer *buffer);
|
D | sysfs.h | 12 struct iio_buffer; 28 struct iio_buffer *buffer;
|
D | iio-opaque.h | 52 struct iio_buffer **attached_buffers;
|
D | iio.h | 581 struct iio_buffer *buffer;
|
/linux-6.6.21/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_kfifo(struct iio_buffer *r, size_t n, char __user *buf) in iio_read_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() 141 static size_t iio_kfifo_buf_space_available(struct iio_buffer *r) in iio_kfifo_buf_space_available() [all …]
|
D | industrialio-buffer-dmaengine.c | 43 struct iio_buffer *buffer) in iio_buffer_to_dmaengine_buffer() 104 static void iio_dmaengine_buffer_release(struct iio_buffer *buf) in iio_dmaengine_buffer_release() 135 struct iio_buffer *buffer = to_iio_dev_attr(attr)->buffer; in iio_dmaengine_buffer_get_length_align() 162 static struct iio_buffer *iio_dmaengine_buffer_alloc(struct device *dev, in iio_dmaengine_buffer_alloc() 220 static void iio_dmaengine_buffer_free(struct iio_buffer *buffer) in iio_dmaengine_buffer_free() 247 static struct iio_buffer *devm_iio_dmaengine_buffer_alloc(struct device *dev, in devm_iio_dmaengine_buffer_alloc() 250 struct iio_buffer *buffer; in devm_iio_dmaengine_buffer_alloc() 280 struct iio_buffer *buffer; in devm_iio_dmaengine_buffer_setup()
|
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-dma.c | 160 static struct iio_dma_buffer_queue *iio_buffer_to_queue(struct iio_buffer *buf) in iio_buffer_to_queue() 280 int iio_dma_buffer_request_update(struct iio_buffer *buffer) in iio_dma_buffer_request_update() 400 int iio_dma_buffer_enable(struct iio_buffer *buffer, in iio_dma_buffer_enable() 426 int iio_dma_buffer_disable(struct iio_buffer *buffer, in iio_dma_buffer_disable() 481 int iio_dma_buffer_read(struct iio_buffer *buffer, size_t n, in iio_dma_buffer_read() 537 size_t iio_dma_buffer_data_available(struct iio_buffer *buf) in iio_dma_buffer_data_available() 572 int iio_dma_buffer_set_bytes_per_datum(struct iio_buffer *buffer, size_t bpd) in iio_dma_buffer_set_bytes_per_datum() 588 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_ext()
|
/linux-6.6.21/drivers/iio/ |
D | industrialio-buffer.c | 36 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 = ib->buffer; in iio_buffer_read() 167 static size_t iio_buffer_space_available(struct iio_buffer *buf) in iio_buffer_space_available() 179 struct iio_buffer *rb = ib->buffer; in iio_buffer_write() 242 struct iio_buffer *rb = ib->buffer; in iio_buffer_poll() 268 struct iio_buffer *rb = ib->buffer; in iio_buffer_read_wrapper() 281 struct iio_buffer *rb = ib->buffer; in iio_buffer_write_wrapper() [all …]
|
D | iio_core.h | 15 struct iio_buffer; 23 struct iio_buffer *buffer; 52 struct iio_buffer *buffer,
|
D | industrialio-core.c | 1148 struct iio_buffer *buffer, in __iio_add_chan_devattr()
|
/linux-6.6.21/Documentation/driver-api/iio/ |
D | buffers.rst | 5 * struct iio_buffer — general buffer structure
|
/linux-6.6.21/drivers/iio/dac/ |
D | ad5766.c | 578 struct iio_buffer *buffer = indio_dev->buffer; in ad5766_trigger_handler()
|
D | ad3552r.c | 586 struct iio_buffer *buf = indio_dev->buffer; in ad3552r_trigger_handler()
|