I'm trying to modify the device driver of the CBB-Serial beaglebone cape. I want to change a part of how it handles the CAN protocol's CRC check for a school project. My overall goal is to modify the CRC computation of one node and observe the reaction of other nodes on the CAN bus.
I've found the device overlay for the cape here. How can I efficiently search through the kernel to find where the pins dcan1_rx and dcan1_tx are being read and written to? I'm hoping this will lead me to the CRC computation.