aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio/inkern.c
AgeCommit message (Expand)AuthorFilesLines
2024-03-25iio: inkern: move to the cleanup.h magicNuno Sa1-174/+89
2023-07-09iio: inkern: Add a helper to query an available minimum raw valueHerve Codina1-0/+63
2023-07-09iio: inkern: Replace a FIXME comment by a TODO oneHerve Codina1-1/+1
2023-07-09iio: inkern: Use max_array() to get the maximum value from an arrayHerve Codina1-5/+2
2023-07-09iio: inkern: Fix headers inclusion orderHerve Codina1-1/+1
2023-07-09iio: inkern: Remove the 'unused' variable usage in iio_channel_read_max()Herve Codina1-5/+2
2023-07-09iio: inkern: Check error explicitly in iio_channel_read_max()Herve Codina1-1/+4
2022-08-15iio: inkern: fix coding style warningsNuno Sá1-32/+32
2022-08-15iio: inkern: remove OF dependenciesNuno Sá1-24/+1
2022-08-15iio: inkern: move to fwnode propertiesNuno Sá1-74/+83
2022-08-15iio: inkern: split of_iio_channel_get_by_name()Nuno Sá1-47/+65
2022-08-15iio: inkern: only return error codes in iio_channel_get_*() APIsNuno Sá1-15/+39
2022-08-15iio: inkern: fix return value in devm_of_iio_channel_get_by_name()Nuno Sá1-0/+2
2022-08-15iio: inkern: only release the device node when done with itNuno Sá1-2/+4
2022-01-30iio: inkern: make a best effort on offset calculationLiam Beguin1-5/+27
2022-01-30iio: inkern: apply consumer scale when no channel scale is availableLiam Beguin1-3/+3
2022-01-30iio: inkern: apply consumer scale on IIO_VAL_INT casesLiam Beguin1-1/+1
2021-10-19iio: inkern: introduce devm_iio_map_array_register() short-hand functionAlexandru Ardelean1-0/+17
2021-05-17iio: core: move @info_exist_lock to struct iio_dev_opaqueJonathan Cameron1-18/+28
2021-05-17iio: inkern: simplify some devm functionsYicong Yang1-38/+23
2021-04-07iio: Fix iio_read_channel_processed_scale()Linus Walleij1-1/+1
2021-03-25iio: Provide iio_read_channel_processed_scale() APILinus Walleij1-2/+14
2021-01-16iio: provide of_iio_channel_get_by_name() and devm_ version itDmitry Baryshkov1-8/+26
2020-12-03io:core: In iio_map_array_register() cleanup in case of errorLino Sanfilippo1-0/+2
2020-12-03iio:core: Introduce unlocked version of iio_map_array_unregister()Lino Sanfilippo1-9/+18
2020-04-19iio: inkern: drop devm_iio_channel_release{_all} API callsAlexandru Ardelean1-27/+0
2019-07-12Merge tag 'driver-core-5.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-1/+1
2019-06-24bus_find_device: Unify the match callback with class_find_deviceSuzuki K Poulose1-1/+1
2019-06-19treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500Thomas Gleixner1-4/+1
2019-04-14iio: inkern: Convert iio_read_avail_channel_raw into a wrapperArtur Rojek1-10/+2
2019-04-14iio: inkern: API for reading available iio channel attribute valuesArtur Rojek1-0/+20
2018-06-12treewide: kzalloc() -> kcalloc()Kees Cook1-1/+1
2018-01-10IIO: inkern: API for manipulating channel attributesArnaud Pouliquen1-5/+12
2017-07-27Merge tag 'iio-for-4.14a' of git://git.kernel.org/pub/scm/linux/kernel/git/ji...Greg Kroah-Hartman1-3/+3
2017-07-22iio: Convert to using %pOF instead of full_nameRob Herring1-2/+2
2017-07-15iio: core: Fix mapping of iio channels to entry numbersGaurav Gupta1-1/+1
2017-07-03Merge tag 'char-misc-4.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-0/+60
2017-06-03iio: inkern: api for manipulating ext_info of iio channelsPeter Rosin1-0/+60
2017-04-26iio: inkern: fix a static checker errorPeter Rosin1-3/+1
2017-01-14iio: inkern: pass through raw values if no scalingLinus Walleij1-2/+8
2016-11-13iio: inkern: add helpers to query available values from channelsPeter Rosin1-0/+104
2016-09-27iio: inkern: add iio_read_channel_offset helperMatt Ranostay1-13/+26
2016-04-19iio: core: Add devm_ APIs for iio_channel_{get,release}_allLaxman Dewangan1-0/+36
2016-04-19iio: core: Add devm_ APIs for iio_channel_{get,release}Laxman Dewangan1-0/+48
2016-04-16iio: inkern: add a missing space before ifSlawomir Stepien1-1/+1
2016-02-01Merge tag 'iio-fixes-for-4.5a' of git://git.kernel.org/pub/scm/linux/kernel/g...Greg Kroah-Hartman1-0/+2
2016-01-30iio: inkern: fix a NULL dereference on errorDan Carpenter1-0/+2
2015-12-12iio/inkern.c Use list_for_each_entry_safeAnshul Garg1-4/+2
2015-01-21Merge tag 'iio-for-3.20a_take2' of git://git.kernel.org/pub/scm/linux/kernel/...Greg Kroah-Hartman1-1/+29
2015-01-08Merge tag 'iio-fixes-for-3.19a' of git://git.kernel.org/pub/scm/linux/kernel/...Greg Kroah-Hartman1-0/+3
2015-01-05iio: inkern: add out of range error messageStefan Wahren1-1/+4
2015-01-01iio: iio: Fix iio_channel_read return if channel havn't infoFabien Proriol1-0/+3
2014-12-12iio: inkern: add iio_write_channel_rawDmitry Eremin-Solenikov1-0/+25
2014-11-05Merge tag 'iio-for-3.19a' of git://git.kernel.org/pub/scm/linux/kernel/git/ji...Greg Kroah-Hartman1-5/+28
2014-10-25iio: inkern: Add of_xlate function to struct iio_infoIvan T. Ivanov1-5/+28
2014-08-25iio:inkern: fix overwritten -EPROBE_DEFER in of_iio_channel_get_by_nameJohannes Pointner1-1/+1
2014-06-21iio: of_iio_channel_get_by_name() returns non-null pointers for error legsAdam Thomson1-2/+4
2014-04-29IIO: core: Introduce read_raw_multiSrinivas Pandruvada1-2/+14
2014-03-16iio: inkern: add iio_read_channel_average_rawSebastian Reichel1-0/+18
2013-07-03iio: inkern: fix iio_convert_raw_to_processed_unlockedAlexandre Belloni1-1/+1
2013-06-04iio:inkern: Fix typo/bug in convert raw to processed.Michael Hennerich1-1/+1
2013-06-04inkern: iio_device_put after incorrect return/gotoJoe Perches1-1/+1
2013-03-16iio: Add OF supportGuenter Roeck1-0/+171
2013-02-06iio: Update iio_channel_get API to use consumer device pointer as argumentGuenter Roeck1-1/+10
2013-02-02iio: Simplify iio_map_array_unregister APIGuenter Roeck1-25/+11
2013-02-02iio: Update iio_channel_get_all and iio_channel_get_all_cb APIGuenter Roeck1-2/+4
2012-11-10staging:iio:in kernel users: Add a data field for channel specific info.Jonathan Cameron1-0/+1
2012-10-19iio: Add a logarithmic fractional value typeLars-Peter Clausen1-0/+3
2012-10-19iio: Don't compare boolean values to true/falseLars-Peter Clausen1-1/+1
2012-09-22iio: inkern: clean up error return codeKim, Milo1-5/+8
2012-09-22iio: inkern: put the IIO device when it fails to allocate memoryKim, Milo1-1/+4
2012-09-17iio:inkern: Add function to read the processed valueLars-Peter Clausen1-9/+109
2012-09-17iio: inkern: add error case in iio_channel_get()Kim, Milo1-1/+10
2012-09-15iio: inkern: allocate zeroed memoryKim, Milo1-1/+1
2012-08-27iio: use IIO_CHAN_INFO_RAW rather than 0Kim, Milo1-2/+4
2012-07-12iio: double unlock on error pathDan Carpenter1-1/+2
2012-07-08iio: Fix inkern remove incorrect put of deviceJonathan Cameron1-1/+0
2012-06-30iio: Rename _st_ functions to loose the bit that meant the staging version.Jonathan Cameron1-18/+15
2012-06-04iio:inkern: Use iio_device_{get,put}Lars-Peter Clausen1-7/+6
2012-05-02Merge 3.4-rc5 into staging-nextGreg Kroah-Hartman1-0/+293
2012-04-25IIO: Move the core files to drivers/iioJonathan Cameron1-0/+292