PWMSETSTATE
case PWMSETSTATE:
if (ioctl(fd, PWMSETSTATE, &state) == -1) {
const unsigned long pwm_ioctls[] = {PWMGETSTATE, PWMSETSTATE};