ENCIOC_GETENCSTAT
if (ioctl(fd, ENCIOC_GETENCSTAT, (caddr_t) &estat) < 0) {
if (ioctl(fd, ENCIOC_GETENCSTAT, (caddr_t) &stat) < 0) {
case ENCIOC_GETENCSTAT:
case ENCIOC_GETENCSTAT: {
r = ioctl(fd, ENCIOC_GETENCSTAT, (caddr_t) &encstat);
r = ioctl(fd, ENCIOC_GETENCSTAT, (caddr_t) &estat);
if (ioctl(fd, ENCIOC_GETENCSTAT, (caddr_t) &estat) < 0) {