include <linux/stat.h>
include <uapi/linux/fuse.h>
include <uapi/linux/fcntl.h>

resource fd_graphic[fd]

openat$fd_graphic(fd const[AT_FDCWD], file ptr[in, string["/dev/cpu_ctl/graphic/uclamp.colocate"]], flags const[O_RDWR], mode const[0]) fd_graphic

type read_graphic array[int8, 1024]
read$GRAOHIC(fd fd_graphic, buf ptr[out, read_graphic], len bytesize[buf])

write$GRAPHIC_INT(fd fd_graphic, data ptr[in, int32], len bytesize[data])