Custom Sensor device driver test issue on TX2

I’m developing 5M pixel Custom sensor driver on Jetson TX2.
I recently checked the image from the custom sensor.

However, the implementation of the sensor’s register setting functions has not been finalized.

How can I verify the functional implementation of the set_gain, set_frame_rate, and set_exposure functions in the device driver code?