]>
git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blob - include/linux/iio/timer/stm32-lptim-trigger.h
2 * Copyright (C) STMicroelectronics 2017
4 * Author: Fabrice Gasnier <fabrice.gasnier@st.com>
6 * License terms: GNU General Public License (GPL), version 2
9 #ifndef _STM32_LPTIM_TRIGGER_H_
10 #define _STM32_LPTIM_TRIGGER_H_
12 #include <linux/iio/iio.h>
13 #include <linux/iio/trigger.h>
15 #define LPTIM1_OUT "lptim1_out"
16 #define LPTIM2_OUT "lptim2_out"
17 #define LPTIM3_OUT "lptim3_out"
19 #if IS_ENABLED(CONFIG_IIO_STM32_LPTIMER_TRIGGER)
20 bool is_stm32_lptim_trigger(struct iio_trigger
*trig
);
22 static inline bool is_stm32_lptim_trigger(struct iio_trigger
*trig
)