index
:
kernel/git/torvalds/linux.git
master
Linux kernel source tree
Linus Torvalds
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
drivers
/
iio
/
industrialio-buffer.c
Age
Commit message (
Expand
)
Author
Files
Lines
2024-04-29
iio: buffer: initialize masklength accumulator to 0
David Lechner
1
-1
/
+1
2024-03-25
iio: buffer: iio: core: move to the cleanup.h magic
Nuno Sa
1
-73
/
+47
2023-12-21
iio: buffer: Use IIO_SEPARATE instead of a hard-coded 0
Christophe JAILLET
1
-3
/
+3
2023-11-16
iio: buffer: document known issue
Matti Vaittinen
1
-0
/
+16
2023-05-13
iio: buffer: fix coding style warnings
Nuno Sá
1
-49
/
+49
2023-02-18
iio: buffer: make sure O_NONBLOCK is respected
Nuno Sá
1
-8
/
+11
2023-02-18
iio: buffer: correctly return bytes written in output buffers
Nuno Sá
1
-1
/
+1
2022-11-23
iio: Don't silently expect attribute types
Matti Vaittinen
1
-4
/
+7
2022-11-23
iio: core: move 'mlock' to 'struct iio_dev_opaque'
Nuno Sá
1
-12
/
+17
2022-08-15
iio: Fix indentation for multiline conditional.
Joe Simmons-Talbott
1
-2
/
+2
2022-08-15
iio: Add blank lines after declarations.
Joe Simmons-Talbott
1
-0
/
+1
2022-07-01
iio: Don't use bare "unsigned"
Joe Simmons-Talbott
1
-5
/
+5
2022-06-15
iio: Use octal permissions and DEVICE_ATTR_{RO,RW}.
Joe Simmons-Talbott
1
-35
/
+21
2022-04-28
iio: Replace strtobool() with kstrtobool()
Lars-Peter Clausen
1
-3
/
+3
2022-04-10
iio: core: Move the currentmode entry to the opaque structure
Miquel Raynal
1
-6
/
+6
2022-04-04
iio: core: Print error and fail iio_device_register() in case sample bits do ...
Marek Vasut
1
-0
/
+13
2022-04-04
iio: buffer: remove usage of list iterator variable for list_for_each_entry_c...
Jakob Koschel
1
-2
/
+5
2022-04-04
iio: core: fix a few code style issues
Alexander Vorwerk
1
-2
/
+2
2022-03-18
Merge tag 'iio-for-5.18a' of https://git.kernel.org/pub/scm/linux/kernel/git/...
Greg Kroah-Hartman
1
-2
/
+2
2022-02-11
iio: buffer: Fix file related error handling in IIO_BUFFER_GET_FD_IOCTL
Mathias Krause
1
-3
/
+11
2022-01-23
iio: core: Use sysfs_emit()
Lars-Peter Clausen
1
-2
/
+2
2021-11-20
iio: buffer: Use dedicated variable in iio_buffers_alloc_sysfs_and_mask()
Andy Shevchenko
1
-12
/
+8
2021-10-24
Merge tag 'iio-for-5.16b' of https://git.kernel.org/pub/scm/linux/kernel/git/...
Greg Kroah-Hartman
1
-1
/
+1
2021-10-24
Merge tag 'iio-fixes-for-5.16a' of https://git.kernel.org/pub/scm/linux/kerne...
Greg Kroah-Hartman
1
-11
/
+17
2021-10-21
iio: buffer: Fix memory leak in iio_buffers_alloc_sysfs_and_mask()
Yang Yingliang
1
-5
/
+7
2021-10-20
iio: buffer: Fix uninitialized variable ret
Colin Ian King
1
-1
/
+1
2021-10-19
iio: Add output buffer support
Mihail Chindris
1
-2
/
+125
2021-10-19
iio: core: Introduce iio_push_to_buffers_with_ts_unaligned()
Jonathan Cameron
1
-0
/
+46
2021-10-17
iio: buffer: Fix memory leak in iio_buffer_register_legacy_sysfs_groups()
Yang Yingliang
1
-2
/
+2
2021-10-17
iio: buffer: Fix double-free in iio_buffers_alloc_sysfs_and_mask()
Yang Yingliang
1
-1
/
+1
2021-10-17
iio: buffer: Fix memory leak in __iio_buffer_alloc_sysfs_and_mask()
Yang Yingliang
1
-3
/
+2
2021-10-17
iio: buffer: check return value of kstrdup_const()
Yang Yingliang
1
-0
/
+5
2021-07-17
iio: buffer: Move a sanity check at the beginning of 'iio_scan_mask_set()'
Christophe JAILLET
1
-4
/
+5
2021-07-17
iio: buffer: Save a few cycles in 'iio_scan_mask_set()'
Christophe JAILLET
1
-2
/
+2
2021-06-03
iio: buffer: Remove redundant assignment to in_loc
Jiapeng Chong
1
-1
/
+0
2021-05-17
iio: core: move @info_exist_lock to struct iio_dev_opaque
Jonathan Cameron
1
-2
/
+3
2021-05-17
iio: core: move @scan_index_timestamp to struct iio_dev_opaque
Jonathan Cameron
1
-2
/
+5
2021-04-07
iio: buffer: use sysfs_attr_init() on allocated attrs
Alexandru Ardelean
1
-0
/
+1
2021-04-07
iio: buffer: return 0 for buffer getfd ioctl handler
Alexandru Ardelean
1
-1
/
+1
2021-03-29
iio: core: Use sysfs_emit() (trivial bits)
Lars-Peter Clausen
1
-10
/
+10
2021-03-25
iio: buffer: fix use-after-free for attached_buffers array
Alexandru Ardelean
1
-4
/
+5
2021-03-11
iio: buffer: add ioctl() to support opening extra buffers for IIO device
Alexandru Ardelean
1
-5
/
+139
2021-03-11
iio: buffer: introduce support for attaching more IIO buffers
Alexandru Ardelean
1
-19
/
+81
2021-03-11
iio: buffer: move __iio_buffer_free_sysfs_and_mask() before alloc
Alexandru Ardelean
1
-8
/
+8
2021-03-11
iio: core: wrap iio device & buffer into struct for character devices
Alexandru Ardelean
1
-4
/
+6
2021-03-11
iio: buffer: wrap all buffer attributes into iio_dev_attr
Alexandru Ardelean
1
-26
/
+51
2021-03-11
iio: add reference to iio buffer on iio_dev_attr
Alexandru Ardelean
1
-0
/
+4
2021-03-11
iio: core: merge buffer/ & scan_elements/ attributes
Alexandru Ardelean
1
-27
/
+88
2021-03-11
iio: buffer: group attr count and attr alloc
Alexandru Ardelean
1
-34
/
+37
2021-03-11
iio: core: rework iio device group creation
Alexandru Ardelean
1
-2
/
+10
2020-12-03
iio: buffer: Fix demux update
Nuno Sá
1
-3
/
+3
2020-11-21
iio: buffer: remove iio_buffer_set_attrs() helper
Alexandru Ardelean
1
-12
/
+0
2020-09-17
iio: buffer: split buffer sysfs creation to take buffer as primary arg
Alexandru Ardelean
1
-16
/
+30
2020-07-15
iio: buffer: fix attach/detach pollfunc order
Alexandru Ardelean
1
-13
/
+18
2020-07-07
iio: core: move iio_dev's buffer_list to the private iio device object
Alexandru Ardelean
1
-14
/
+24
2020-06-20
iio: Move attach/detach of the poll func to the core
Lars-Peter Clausen
1
-0
/
+13
2020-05-16
iio: buffer: remove attrcount_orig var from sysfs creation
Alexandru Ardelean
1
-3
/
+3
2020-05-16
iio: __iio_update_buffers: Update mode before preenable/after postdisable
Lars-Peter Clausen
1
-5
/
+3
2020-05-03
iio: buffer: extend short-hand use for 'indio_dev->buffer'
Alexandru Ardelean
1
-27
/
+34
2020-04-19
iio: buffer: remove 'scan_el_attrs' attribute group from buffer struct
Alexandru Ardelean
1
-8
/
+0
2020-04-19
iio: buffer: Don't allow buffers without any channels enabled to be activated
Lars-Peter Clausen
1
-0
/
+7
2020-04-19
iio: buffer: re-introduce bitmap_zalloc() for trialmask
Alexandru Ardelean
1
-2
/
+1
2020-01-22
Merge 5.5-rc7 into staging-next
Greg Kroah-Hartman
1
-1
/
+5
2020-01-13
iio: buffer: align the size of scan bytes to size of the largest element
Lars Möllendorf
1
-1
/
+5
2019-12-29
iio: buffer: rename 'read_first_n' callback to 'read'
Lars-Peter Clausen
1
-5
/
+5
2019-06-19
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500
Thomas Gleixner
1
-5
/
+1
2019-04-21
Merge 5.1-rc6 into staging-next
Greg Kroah-Hartman
1
-1
/
+2
2019-04-04
iio: buffer: Switch to bitmap_zalloc()
Andy Shevchenko
1
-14
/
+10
2019-03-09
iio: Fix scan mask selection
Lars-Peter Clausen
1
-3
/
+2
2018-02-20
Merge tag 'iio-fixes-for-4.16a' of git://git.kernel.org/pub/scm/linux/kernel/...
Greg Kroah-Hartman
1
-1
/
+1
2018-02-17
iio: buffer: check if a buffer has been set up when poll is called
Stefan Windfeldt-Prytz
1
-1
/
+1
2018-02-11
vfs: do bulk POLL* -> EPOLL* replacement
Linus Torvalds
1
-3
/
+3
2018-02-01
Merge tag 'staging-4.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...
Linus Torvalds
1
-0
/
+15
2018-01-08
iio: buffer: Expose data available
Matt Fornero
1
-0
/
+15
2017-11-28
the rest of drivers/*: annotate ->poll() instances
Al Viro
1
-1
/
+1
2017-03-02
sched/headers: Prepare to move signal wakeup & sigpending methods from <linux...
Ingo Molnar
1
-1
/
+1
2017-01-10
iio:buffer.h - split into buffer.h and buffer_impl.h
Jonathan Cameron
1
-0
/
+1
2017-01-10
iio:buffer: Push implementation of iio_device_attach_buffer into .c file
Jonathan Cameron
1
-0
/
+16
2017-01-10
iio:buffers: Push some docs down into the .c file.
Jonathan Cameron
1
-0
/
+5
2017-01-10
iio:buffer: Stop exporting iio_scan_mask_query
Jonathan Cameron
1
-14
/
+13
2017-01-10
iio:buffer: Introduced a function to assign the buffer specific attrs.
Jonathan Cameron
1
-0
/
+12
2017-01-10
iio:buffer: Stop exporting iio_update_demux
Jonathan Cameron
1
-131
/
+129
2016-09-24
iio: Use kmalloc_array() in iio_scan_mask_set()
Markus Elfring
1
-4
/
+3
2016-09-05
iio: ensure ret is initialized to zero before entering do loop
Colin Ian King
1
-2
/
+2
2016-08-21
iio: fix sched WARNING "do not call blocking ops when !TASK_RUNNING"
Brian Norris
1
-6
/
+17
2016-03-28
iio: fix config watermark initial value
Irina Tirdea
1
-0
/
+1
2016-02-06
iio: Add helper function for calculating scan index storage size
Lars-Peter Clausen
1
-34
/
+25
2015-12-13
Merge 4.4-rc5 into staging-next
Greg Kroah-Hartman
1
-1
/
+1
2015-11-21
iio: fix some warning messages
Dan Carpenter
1
-1
/
+1
2015-10-25
iio: Add buffer enable/disable callbacks
Lars-Peter Clausen
1
-1
/
+35
2015-10-25
iio: Add support for indicating fixed watermarks
Lars-Peter Clausen
1
-0
/
+5
2015-10-25
iio:iio_buffer_init(): Only set watermark if not already set
Lars-Peter Clausen
1
-1
/
+2
2015-10-25
iio: Set device watermark based on watermark of all attached buffers
Lars-Peter Clausen
1
-4
/
+10
2015-08-12
iio: industrialio-buffer: Fix iio_buffer_poll return value
Cristina Opriceana
1
-1
/
+1
2015-08-02
iio: buffer: Fix kernel docs warnings
Cristina Opriceana
1
-1
/
+14
2015-06-21
iio: allow userspace to flush the hwfifo with non-blocking reads
Octavian Purdila
1
-9
/
+9
2015-06-01
iio: Require strict scan mask matching in hardware mode
Lars-Peter Clausen
1
-5
/
+20
2015-06-01
iio: Specify supported modes for buffers
Lars-Peter Clausen
1
-3
/
+15
2015-06-01
iio: Always compute masklength
Lars-Peter Clausen
1
-6
/
+9
2015-06-01
iio: buffer: remove unneeded test
Laurent Navet
1
-2
/
+0
2015-05-23
iio: __iio_update_buffers: Leave device in sane state on error
Lars-Peter Clausen
1
-36
/
+46
2015-05-23
iio: __iio_update_buffers: Split enable and disable path into helper functions
Lars-Peter Clausen
1
-88
/
+103
2015-05-23
iio: __iio_update_buffers: Verify configuration before starting to apply it
Lars-Peter Clausen
1
-63
/
+101
2015-05-17
iio: __iio_update_buffers: Perform request_update() only for new buffers
Lars-Peter Clausen
1
-11
/
+25
2015-05-17
iio: __iio_update_buffers: Slightly refactor scan mask memory management
Lars-Peter Clausen
1
-10
/
+13
2015-05-17
iio: Replace printk in __iio_update_buffers with dev_dbg
Lars-Peter Clausen
1
-5
/
+7
2015-03-29
iio: add support for hardware fifo
Octavian Purdila
1
-13
/
+45
2015-03-29
iio: add watermark logic to iio read and poll
Josselin Costanzi
1
-15
/
+105
2015-02-04
iio: buffer: refactor buffer attributes setup
Octavian Purdila
1
-12
/
+19
2015-01-25
iio: Add new operating mode for non triggered sw buffers
Karol Wrona
1
-0
/
+2
2015-01-05
iio: buffer: fix custom buffer attributes copy
Octavian Purdila
1
-1
/
+1
2014-12-12
iio: buffer: Drop get_length callback
Lars-Peter Clausen
1
-8
/
+3
2014-12-12
iio: buffer: Make length attribute read only for buffers without set_length
Lars-Peter Clausen
1
-3
/
+7
2014-12-12
iio: buffer: Allocate standard attributes in the core
Lars-Peter Clausen
1
-18
/
+41
2014-12-12
iio: buffer: Move iio_buffer_alloc_sysfs and iio_buffer_free_sysfs
Lars-Peter Clausen
1
-94
/
+91
2014-12-12
iio: Move buffer registration to the core
Lars-Peter Clausen
1
-7
/
+11
2014-12-12
iio: Unexport iio_scan_mask_set()
Lars-Peter Clausen
1
-75
/
+74
2014-08-25
Merge tag 'iio-for-3.18a' of git://git.kernel.org/pub/scm/linux/kernel/git/ji...
Greg Kroah-Hartman
1
-30
/
+33
2014-08-08
iio:buffer: Wrong sized allocation of demux table elements.
Jonathan Cameron
1
-1
/
+1
2014-08-04
Merge tag 'staging-3.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...
Linus Torvalds
1
-4
/
+1
2014-08-01
iio: buffer: Coalesce adjacent demux table entries
Lars-Peter Clausen
1
-19
/
+28
2014-07-27
iio: buffer: Use roundup() instead of open-coding it
Lars-Peter Clausen
1
-11
/
+5
2014-07-20
iio: buffer: Fix demux table creation
Lars-Peter Clausen
1
-1
/
+1
2014-06-29
iio: staging: sca3000: hide stufftoread logic
Josselin Costanzi
1
-4
/
+1
2014-04-29
IIO: core: Modify scan element type
Srinivas Pandruvada
1
-6
/
+35
2014-04-22
Merge tag 'iio-fixes-for-3.15a' of git://git.kernel.org/pub/scm/linux/kernel/...
Greg Kroah-Hartman
1
-2
/
+4
2014-03-22
iio: querying buffer scan_mask should return 0/1
Alec Berg
1
-2
/
+4
2014-02-18
iio get rid of unneccessary error_ret
Hartmut Knaack
1
-10
/
+6
2013-12-03
iio: Add support for blocking IO on buffers
Lars-Peter Clausen
1
-1
/
+22
2013-12-03
iio: Add data_available callback for buffers
Lars-Peter Clausen
1
-1
/
+9
2013-10-19
Merge 3.12-rc6 into staging-next.
Greg Kroah-Hartman
1
-0
/
+3
2013-10-16
iio: Remove unused iio_sw_buffer_preenable()
Lars-Peter Clausen
1
-18
/
+0
2013-10-16
iio: Update buffer's bytes per datum after updating the scan mask
Lars-Peter Clausen
1
-1
/
+17
2013-10-15
iio:buffer: Free active scan mask in iio_disable_all_buffers()
Lars-Peter Clausen
1
-0
/
+3
2013-10-12
iio:buffer: Ignore noop requests for iio_update_buffers()
Lars-Peter Clausen
1
-0
/
+14
2013-10-12
iio: Add a helper to free a list of IIO device attributes
Lars-Peter Clausen
1
-19
/
+2
2013-10-12
iio:buffer: Add proper locking for iio_update_buffers()
Lars-Peter Clausen
1
-3
/
+26
2013-10-12
iio: Wakeup poll and blocking reads when the device is unregistered
Lars-Peter Clausen
1
-0
/
+16
2013-10-12
iio: Return -ENODEV for file operations if the device has been unregistered
Lars-Peter Clausen
1
-0
/
+6
2013-10-12
iio: Add reference counting for buffers
Lars-Peter Clausen
1
-5
/
+61
2013-09-25
Merge 3.12-rc2 into staging-next.
Greg Kroah-Hartman
1
-2
/
+28
2013-09-21
iio: Pass scan mask as unsigned long
Peter Meerwald
1
-2
/
+2
2013-09-21
iio: Stop sampling when the device is removed
Lars-Peter Clausen
1
-0
/
+19
2013-09-21
iio: Fix crash when scan_bytes is computed with active_scan_mask == NULL
Peter Meerwald
1
-2
/
+9
2013-09-18
iio: Minor cleanups of industrialio-buffer
Peter Meerwald
1
-5
/
+8
2013-09-15
iio: iio_push_to_buffers(): Change type of 'data' to const void *
Lars-Peter Clausen
1
-5
/
+5
2013-09-15
iio: refactor info mask and ext_info attribute creation.
Jonathan Cameron
1
-1
/
+1
2013-09-15
iio:buffer: Simplify iio_buffer_is_active()
Lars-Peter Clausen
1
-20
/
+11
2013-05-22
iio: buffer: cleanup messages in iio_update_buffers()
Michał Mirosław
1
-6
/
+4
2012-11-10
staging:iio: Add support for multiple buffers
Jonathan Cameron
1
-117
/
+263
2012-10-19
iio: Use strict_strtouint instead of kstrtoul
Lars-Peter Clausen
1
-3
/
+3
2012-09-08
iio: Drop timestamp parameter from buffer store_to callback
Lars-Peter Clausen
1
-3
/
+2
2012-09-03
iio: whitespace cleanup and removal of semicolon after functions
Peter Meerwald
1
-5
/
+5
2012-07-12
Merge tag 'togreg-3.6a' of git://git.kernel.org/pub/scm/linux/kernel/git/jic2...
Greg Kroah-Hartman
1
-7
/
+36
2012-07-09
iio: Introduce iio_validate_scan_mask_onehot
Lars-Peter Clausen
1
-0
/
+16
2012-07-09
iio: Add callback to check whether a scan mask is valid
Lars-Peter Clausen
1
-7
/
+20
2012-07-08
iio: iio_buffer_register: Use correct channel when calculating masklength
Lars-Peter Clausen
1
-1
/
+1
2012-06-18
iio: iio_buffer_register: Skip channels with negative scan index
Lars-Peter Clausen
1
-0
/
+3
2012-06-15
iio: buffer: Fix NULL pointer deref caused by empty scan mask
Lars-Peter Clausen
1
-0
/
+4
2012-05-14
iio: Use dev_to_iio_dev()
Lars-Peter Clausen
1
-8
/
+8
2012-04-25
IIO: Move the core files to drivers/iio
Jonathan Cameron
1
-0
/
+755