how to modify camera device drivers in mini 2440 with linux os

vinay
can any one can guide, how to change the camera(ov7670) autofocus which
have been interfaced to mini2440  from the device itself from the terminal.
 or suggest any procedure for doing so.
 my requirement is to change the auto focus i.e.., automatic gain
adjustment,automatic white balance to be disabled to my camera. due to the
change in auto adjustments of camera, the intensities values observed were
getting modified.
 so please help me regarding this issue