Hi @MrAlexIV
Thanks for your question
With the A53 core running linux the use of modules like gpios, can, etc. is a bit different, instead of passing the values directly with the register like in a baremetal implementation or with an RTD (like with the M7 core). For a linux implementation a driver is needed to pass those values between the OS and the hardware, some of those drivers are already implemented with the BSP distribution that NXP gives.
For the use of CAN with linux you could review the example that is given in the BSP User Manual

[Linux BSP 44.0 User Manual for S32G2 platforms]
the example is writing those commands in the linux console, you could do a C program that use the system() function to send commands and only execute your C code.