Lines Matching refs:fileDescriptor
163 self->fileDescriptor = -1; in mix_audio_init()
357 mix->fileDescriptor = open(fn, O_RDWR|O_CREAT, S_IRUSR|S_IWUSR); in mix_audio_initialize_default()
359 if (mix->fileDescriptor == -1) in mix_audio_initialize_default()
361 mix->fileDescriptor = g_file_open_tmp ("mixaudio.XXXXXX", &filename, &err); in mix_audio_initialize_default()
379 mix->fileDescriptor = open(LPE_DEVICE, O_RDWR); in mix_audio_initialize_default()
381 if (mix->fileDescriptor != -1) in mix_audio_initialize_default()
386 g_debug("open() succeeded. fd=%d", mix->fileDescriptor); in mix_audio_initialize_default()
470 g_debug("Calling SNDRV_SST_STREAM_SET_PARAMS. fd=%d", mix->fileDescriptor); in mix_audio_SST_SET_PARAMS()
471 retVal = ioctl(mix->fileDescriptor, SNDRV_SST_STREAM_SET_PARAMS, &sst_params); in mix_audio_SST_SET_PARAMS()
594 if (mix->fileDescriptor != -1) in mix_audio_deinitialize_default()
596 g_debug("Closing fd=%d\n", mix->fileDescriptor); in mix_audio_deinitialize_default()
597 close(mix->fileDescriptor); in mix_audio_deinitialize_default()
598 mix->fileDescriptor = -1; in mix_audio_deinitialize_default()
633 g_debug("Calling SNDRV_SST_STREAM_DROP. fd=%d", mix->fileDescriptor); in mix_audio_stop_drop_default()
634 retVal = ioctl(mix->fileDescriptor, SNDRV_SST_STREAM_DROP); in mix_audio_stop_drop_default()
697 g_debug("Calling SNDRV_SST_STREAM_DRAIN fd=%d", mix->fileDescriptor); in mix_audio_stop_drain_default()
698 retVal = ioctl(mix->fileDescriptor, SNDRV_SST_STREAM_DRAIN); in mix_audio_stop_drain_default()
773 g_debug("Calling SNDRV_SST_STREAM_START. fd=%d", mix->fileDescriptor); in mix_audio_start_default()
774 retVal = ioctl(mix->fileDescriptor, SNDRV_SST_STREAM_START); in mix_audio_start_default()
930 g_debug("Calling SNDRV_SST_STREAM_GET_TSTAMP. fd=%d", mix->fileDescriptor); in mix_audio_get_timestamp_default()
931 ioctl(mix->fileDescriptor, SNDRV_SST_STREAM_GET_TSTAMP, &ts); in mix_audio_get_timestamp_default()
1055 bytes_read = readv(mix->fileDescriptor, vec, iovoutcnt); in mix_audio_capture_encode_default()
1167 g_debug("Calling SNDRV_SST_GET_VOL. fd=%d", mix->fileDescriptor); in mix_audio_get_volume_default()
1168 retVal = ioctl(mix->fileDescriptor, SNDRV_SST_GET_VOL, &vol); in mix_audio_get_volume_default()
1225 retVal = ioctl(mix->fileDescriptor, SNDRV_SST_MUTE, &m); in mix_audio_set_mute_default()
1261 g_debug("Calling SNDRV_SST_STREAM_PAUSE. fd=%d", mix->fileDescriptor); in mix_audio_pause_default()
1262 retVal = ioctl(mix->fileDescriptor, SNDRV_SST_STREAM_PAUSE); in mix_audio_pause_default()
1335 retVal = ioctl(mix->fileDescriptor, SNDRV_SST_STREAM_RESUME); in mix_audio_resume_default()
1412 retVal = ioctl(mix->fileDescriptor, SNDRV_SST_SET_VOL, &vol); in mix_audio_set_volume_default()
1442 g_debug("calling SNDRV_SST_FW_INFO fd=%d", mix->fileDescriptor); in mix_audio_FW_INFO()
1443 retVal = ioctl(mix->fileDescriptor, SNDRV_SST_FW_INFO, &cur_FW_INFO); in mix_audio_FW_INFO()
1505 g_debug("calling writev(fd=%d)", mix->fileDescriptor); in mix_audio_SST_writev()
1506 written = writev(mix->fileDescriptor, in, iovincnt); in mix_audio_SST_writev()
1521 g_debug("calling writev(fd=%d) with %d", mix->fileDescriptor, total_bytes); in mix_audio_SST_writev()
1522 written = writev(mix->fileDescriptor, in, iovincnt); in mix_audio_SST_writev()
1626 g_debug("calling stub STREAM_DECODE (writev) (fd=%d)", mix->fileDescriptor); in mix_audio_SST_STREAM_DECODE()
1627 written = writev(mix->fileDescriptor, in, iovincnt); in mix_audio_SST_STREAM_DECODE()
1636 g_debug("calling SNDRV_SST_STREAM_DECODE fd=%d", mix->fileDescriptor); in mix_audio_SST_STREAM_DECODE()
1637 retVal = ioctl(mix->fileDescriptor, SNDRV_SST_STREAM_DECODE, &dbufs); in mix_audio_SST_STREAM_DECODE()
2013 g_debug("%s fileDescriptor(%d)", prefix, mix->fileDescriptor); in mix_audio_debug_dump()
2067 g_debug("Calling SNDRV_SST_STREAM_GET_PARAMS. fd=%d", mix->fileDescriptor); in mix_audio_get_output_configuration_default()
2068 retVal = ioctl(mix->fileDescriptor, SNDRV_SST_STREAM_GET_PARAMS, &stream_params); in mix_audio_get_output_configuration_default()