Lines Matching refs:oops
277 static int oops(struct pcm *pcm, int e, const char *fmt, ...) in oops() function
439 oops(pcm, errno, "failed to commit %d frames\n", frames); in pcm_mmap_transfer_areas()
494 return oops(pcm, EINVAL, "pcm %p, hw_ptr %p, tstamp %p", pcm, hw_ptr, tstamp); in pcm_mmap_get_hw_ptr()
497 return oops(pcm, errno, "pcm_is_ready failed"); in pcm_mmap_get_hw_ptr()
501 return oops(pcm, errno, "pcm_sync_ptr failed"); in pcm_mmap_get_hw_ptr()
504 return oops(pcm, EINVAL, "pcm %p, mmap_status is NULL", pcm); in pcm_mmap_get_hw_ptr()
508 return oops(pcm, ENOSYS, "invalid stream state %d", pcm->mmap_status->state); in pcm_mmap_get_hw_ptr()
512 return oops(pcm, errno, "invalid time stamp"); in pcm_mmap_get_hw_ptr()
536 return oops(pcm, errno, "cannot write initial data"); in pcm_write()
552 return oops(pcm, errno, "cannot write stream data"); in pcm_write()
584 return oops(pcm, errno, "cannot read stream data"); in pcm_read()
900 oops(pcm, errno, "cannot open device '%s'", fn); in pcm_open()
906 oops(pcm, errno, "failed to reset blocking mode '%s'", fn); in pcm_open()
911 oops(pcm, errno, "cannot get info"); in pcm_open()
933 oops(pcm, EINVAL, "noirq only currently supported with mmap()."); in pcm_open()
949 oops(pcm, errno, "cannot set hw params"); in pcm_open()
962 oops(pcm, errno, "failed to mmap buffer %d bytes\n", in pcm_open()
1010 oops(pcm, errno, "cannot set sw params"); in pcm_open()
1016 oops(pcm, errno, "mmap status failed"); in pcm_open()
1025 oops(pcm, errno, "cannot set timestamp type"); in pcm_open()
1054 return oops(pcm, errno, "cannot prepare channel"); in pcm_prepare()
1070 return oops(pcm, errno, "cannot start channel"); in pcm_start()
1079 return oops(pcm, errno, "cannot stop channel"); in pcm_stop()
1287 oops(pcm, errno, "wait error: hw 0x%x app 0x%x avail 0x%x\n", in pcm_mmap_transfer()