• Home
  • Raw
  • Download

Lines Matching refs:oops

96 static int oops(struct compress *compress, int e, const char *fmt, ...)  in oops()  function
136 oops(compress, errno, "cant read version"); in get_compress_version()
156 oops(compress, ENXIO, "this codec is not supported"); in _is_codec_supported()
161 oops(compress, EINVAL, "requested fragment size %d is below min supported %d", in _is_codec_supported()
166 oops(compress, EINVAL, "requested fragment size %d is above max supported %d", in _is_codec_supported()
171 oops(compress, EINVAL, "requested fragments %d are below min supported %d", in _is_codec_supported()
176 oops(compress, EINVAL, "requested fragments %d are above max supported %d", in _is_codec_supported()
192 oops(&bad_compress, errno, "cannot get device caps"); in _is_codec_type_supported()
224 oops(&bad_compress, EINVAL, "passed bad config"); in compress_open()
230 oops(&bad_compress, errno, "cannot allocate compress object"); in compress_open()
246 oops(&bad_compress, EINVAL, "can't deduce device direction from given flags"); in compress_open()
256 oops(&bad_compress, errno, "cannot open device '%s'", fn); in compress_open()
261 oops(compress, errno, "cannot get device caps"); in compress_open()
276 oops(compress, errno, "codec not supported\n"); in compress_open()
285 oops(&bad_compress, errno, "cannot set device"); in compress_open()
321 return oops(compress, ENODEV, "device not ready"); in compress_get_hpointer()
324 return oops(compress, errno, "cannot get avail"); in compress_get_hpointer()
326 return oops(compress, ENODATA, "sample rate unknown"); in compress_get_hpointer()
341 return oops(compress, ENODEV, "device not ready"); in compress_get_tstamp()
344 return oops(compress, errno, "cannot get tstamp"); in compress_get_tstamp()
361 return oops(compress, EINVAL, "Invalid flag set"); in compress_write()
363 return oops(compress, ENODEV, "device not ready"); in compress_write()
370 return oops(compress, errno, "cannot get avail"); in compress_write()
382 return oops(compress, EIO, "poll returned error!"); in compress_write()
389 return oops(compress, errno, "poll error"); in compress_write()
404 return oops(compress, errno, "write failed!"); in compress_write()
423 return oops(compress, EINVAL, "Invalid flag set"); in compress_read()
425 return oops(compress, ENODEV, "device not ready"); in compress_read()
431 return oops(compress, errno, "cannot get avail"); in compress_read()
442 return oops(compress, EIO, "poll returned error!"); in compress_read()
449 return oops(compress, errno, "poll error"); in compress_read()
464 return oops(compress, errno, "read failed!"); in compress_read()
477 return oops(compress, ENODEV, "device not ready"); in compress_start()
479 return oops(compress, errno, "cannot start the stream"); in compress_start()
488 return oops(compress, ENODEV, "device not ready"); in compress_stop()
490 return oops(compress, errno, "cannot stop the stream"); in compress_stop()
497 return oops(compress, ENODEV, "device not ready"); in compress_pause()
499 return oops(compress, errno, "cannot pause the stream"); in compress_pause()
506 return oops(compress, errno, "cannot resume the stream"); in compress_resume()
513 return oops(compress, ENODEV, "device not ready"); in compress_drain()
515 return oops(compress, errno, "cannot drain the stream"); in compress_drain()
522 return oops(compress, ENODEV, "device not ready"); in compress_partial_drain()
525 return oops(compress, EPERM, "next track not signalled"); in compress_partial_drain()
527 return oops(compress, errno, "cannot drain the stream\n"); in compress_partial_drain()
535 return oops(compress, ENODEV, "device not ready"); in compress_next_track()
538 return oops(compress, EPERM, "metadata not set"); in compress_next_track()
540 return oops(compress, errno, "cannot set next track\n"); in compress_next_track()
553 return oops(compress, ENODEV, "device not ready"); in compress_set_gapless_metadata()
560 return oops(compress, ENXIO, "gapless apis not supported in kernel"); in compress_set_gapless_metadata()
565 return oops(compress, errno, "can't set metadata for stream\n"); in compress_set_gapless_metadata()
570 return oops(compress, errno, "can't set metadata for stream\n"); in compress_set_gapless_metadata()
580 return oops(compress, ENODEV, "device not ready"); in compress_set_next_track_param()
583 return oops(compress, errno, "cannot set next track params\n"); in compress_set_next_track_param()
605 return oops(&bad_compress, errno, "cannot open device '%s'", fn); in is_codec_supported()
634 return oops(compress, EIO, "poll returned error!"); in compress_wait()
639 return oops(compress, ETIME, "poll timed out"); in compress_wait()
641 return oops(compress, errno, "poll error"); in compress_wait()
643 return oops(compress, EIO, "poll signalled unhandled event"); in compress_wait()
651 return oops(compress, ENODEV, "device not ready"); in compress_get_metadata()
658 return oops(compress, errno, "can't get metadata for stream\n"); in compress_get_metadata()
668 return oops(compress, ENODEV, "device not ready"); in compress_set_metadata()
675 return oops(compress, errno, "can't set metadata for stream\n"); in compress_set_metadata()