Lines Matching refs:ioctl
30 # include <sys/ioctl.h>
51 * 4.4BSD-Lite switched to an unsigned long ioctl arg. Detect common
291 if (ioctl(fd, AIOGSIZE, &s_size) == -1)
301 if (ioctl(fd, AIOSSIZE, &s_size) == -1)
311 if (ioctl(fd, SNDCTL_DSP_SETFRAGMENT, &tmp) == -1)
318 if (ioctl(fd, AIOGFMT, &s_c_p) == -1)
327 if (ioctl(ctl_fd, SOUND_MIXER_READ_DEVMASK, &devmask) == -1)
329 if (ioctl(ctl_fd, SOUND_MIXER_READ_RECMASK, &recmask) == -1)
364 rval = ioctl(ctl_fd, AUDIO_SETINFO, (char *)&info);
409 rval = ioctl(ctl_fd, agc, &l);
411 rval = ioctl(ctl_fd
429 rval = ioctl(ctl_fd, audiomonitor, &l );
431 rval = ioctl(ctl_fd, SOUND_MIXER_WRITE_VOLUME,
447 rval = ioctl(ctl_fd, SOUND_MIXER_WRITE_RECSRC, &l);
455 if (ioctl(ctl_fd, SOUND_MIXER_READ_RECSRC, &l) == -1)
465 ioctl(ctl_fd, AUDIO_GETINFO, (char *)&info);
473 rval = ioctl(ctl_fd, AUDIO_SETINFO, (char *)&info);
488 * verify the ioctl's work.
497 if (ioctl(ctl_fd, SOUND_MIXER_READ_RECSRC, &recsrc) == -1)
502 ioctl(ctl_fd, AUDIO_GETDEV, &device);
506 ioctl(ctl_fd, AUDIO_GETINFO, (char *)&info);