linux-stable/include/linux/iio
David Lechner 5987279373 iio: event: add optional event label support
This adds a new optional field to struct iio_info to allow drivers to
specify a label for the event. This is useful for cases where there are
many events or the event attribute name is not descriptive enough or
where an event doesn't have any other attributes.

The implementation is based on the existing label support for channels.
So either all events of a device have a label attribute or none do.

Signed-off-by: David Lechner <dlechner@baylibre.com>
Link: https://lore.kernel.org/r/20231005-ad2s1210-mainline-v4-12-ec00746840fc@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2023-10-11 15:54:41 +01:00
..
accel
adc
afe
common iio: make invensense timestamp module generic 2023-07-20 19:21:28 +01:00
dac
frequency
gyro iio: gyro: itg3200_core: do not use internal iio_dev lock 2022-11-23 19:43:58 +00:00
imu iio: imu: adis: Remove adis_initial_startup function 2022-11-23 20:37:51 +00:00
timer
buffer-dma.h
buffer-dmaengine.h
buffer.h
buffer_impl.h iio: Don't silently expect attribute types 2022-11-23 19:44:04 +00:00
configfs.h
consumer.h iio: inkern: Add a helper to query an available minimum raw value 2023-07-09 22:48:17 +01:00
driver.h
events.h
hw-consumer.h
iio-gts-helper.h iio: fix doc for iio_gts_find_sel_by_int_time 2023-05-13 17:54:57 +01:00
iio-opaque.h iio: core: move 'mlock' to 'struct iio_dev_opaque' 2022-11-23 19:44:00 +00:00
iio.h iio: event: add optional event label support 2023-10-11 15:54:41 +01:00
kfifo_buf.h iio: Don't silently expect attribute types 2022-11-23 19:44:04 +00:00
machine.h
sw_device.h iio: Remove unused declarations 2023-09-12 10:42:03 +01:00
sw_trigger.h iio: Remove unused declarations 2023-09-12 10:42:03 +01:00
sysfs.h iio: Add IIO_STATIC_CONST_DEVICE_ATTR 2022-11-23 19:44:03 +00:00
trigger.h iio: trigger: Add simple trigger_validation helper 2023-05-23 21:20:17 +01:00
trigger_consumer.h
triggered_buffer.h iio: Don't silently expect attribute types 2022-11-23 19:44:04 +00:00
triggered_event.h
types.h iio: Add event enums for running period and count 2023-07-23 13:16:18 +01:00