Camarray configure white-balance

I followed this tutorial and managed to get the camarray running. I also managed to use external trigger mode and change exposure using the video 4 linux command line interface.

Now I would like to configure white balance. How do I trigger auto white balancing and how to I configure white balance manually?

In addition to this question I have another question:
Is it possible to access the raw-data (BAYER) of the cameras rather than the RGB data?

Update:
I saw that there are functions for white balancing and color gain configuration available for the Raspberry PI: https://github.com/ArduCAM/MIPI_Camera/blob/61a08e05f84840bb15ea1a8601b6645dc45d59f3/RPI/arducamstill.c#L69
Where are those functions available for the Jetson Nano?

Kind regards,
Michael