Warmth is set via sysfs knobs, not the ntx_io ioctl. c.f.,
KOReader's HAL for more details.
Note that the same caveats as above apply; this will not be in sync with Nickjel's UI.
(You'll notice that you can *also* set the brightness via sysfs knobs on those devices, but this wasn't true for older devices, hence prefering the ioctl for that).
(As for the answer to your actual question; it's in the kernel headers:
https://github.com/koreader/KoboUSBM...ms.h#L185-L189