linux/drivers/counter
Uwe Kleine-König 9d7809aaea counter: stm32-timer-cnt: Use TIM_DIER_CCxIE(x) instead of TIM_DIER_CCxIE(x)
These two defines have the same purpose and this change doesn't
introduce any differences in drivers/counter/stm32-timer-cnt.o.

The only difference between the two is that

	TIM_DIER_CC_IE(1) == TIM_DIER_CC2IE

while

	TIM_DIER_CCxIE(1) == TIM_DIER_CC1IE

. That makes it necessary to have an explicit "+ 1" in the user code,
but IMHO this is a good thing as this is the code locatation that
"knows" that for software channel 1 you have to use TIM_DIER_CC2IE
(because software guys start counting at 0, while the relevant hardware
designer started at 1).

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Acked-by: William Breathitt Gray <wbg@kernel.org>
Link: https://lore.kernel.org/r/126bd153a03f39e42645573eecf44ffab5354fc7.1718791090.git.u.kleine-koenig@baylibre.com
Signed-off-by: Lee Jones <lee@kernel.org>
2024-06-26 16:09:55 +01:00
..
104-quad-8.c counter: 104-quad-8: Migrate to the regmap API 2023-05-18 20:39:46 -04:00
counter-chrdev.c counter: chrdev: fix getting array extensions 2023-09-04 14:56:27 -04:00
counter-chrdev.h counter: Add character device interface 2021-10-17 10:53:52 +01:00
counter-core.c counter: constify the struct device_type usage 2024-04-02 13:10:34 -04:00
counter-sysfs.c counter: i8254: Introduce the Intel 8254 interface library module 2023-06-08 10:11:17 -04:00
counter-sysfs.h counter: Internalize sysfs interface code 2021-10-17 10:52:58 +01:00
ftm-quaddec.c counter: Move symbols into COUNTER namespace 2022-09-30 14:32:35 +02:00
i8254.c counter: i8254: Introduce the Intel 8254 interface library module 2023-06-08 10:11:17 -04:00
intel-qep.c counter: Move symbols into COUNTER namespace 2022-09-30 14:32:35 +02:00
interrupt-cnt.c counter: interrupt-cnt: Implement watch_validate callback 2022-09-30 14:32:35 +02:00
Kconfig - New Drivers 2023-09-04 13:47:59 -07:00
Makefile counter: i8254: Introduce the Intel 8254 interface library module 2023-06-08 10:11:17 -04:00
microchip-tcb-capture.c First set of Counter fixes for 6.6 2023-10-02 13:13:15 +02:00
rz-mtu3-cnt.c counter: rz-mtu3-cnt: Reorder locking sequence for consistency 2023-08-16 09:41:29 -04:00
stm32-lptimer-cnt.c counter: stm32-lptimer-cnt: fix the check on arr and cmp registers update 2022-11-26 16:49:28 -05:00
stm32-timer-cnt.c counter: stm32-timer-cnt: Use TIM_DIER_CCxIE(x) instead of TIM_DIER_CCxIE(x) 2024-06-26 16:09:55 +01:00
ti-ecap-capture.c counter: ti-ecap-capture: Utilize COUNTER_COMP_FREQUENCY macro 2024-04-02 13:15:03 -04:00
ti-eqep.c counter: ti-eqep: Convert to platform remove callback returning void 2024-04-02 13:10:35 -04:00