Ioctl support for setting what we read and write from /dev/fastgpio