I'm looking to use a timer in the AM335x device. However before I claim one, I would like to know if Linux or any other kernel modules are using any. So before I claim one, I need to know what the macros are that point at the DMTimers so I can search for the one I want to use to ensure it isn't already being used.
I've done a search through the code for DMTIMER and I get some responses that make reference to timer numbers larger than what this part has.
I also searched for the memory map addresses of the various timers to see if there's a macro out there set to one of the timer's memory address. No luck there.
So, any tips on how to "find" code using DMTimers within the Linux codebase?