Lines Matching refs:retval
267 int retval = 0; in out_standby() local
275 retval = (out->bluetooth_output_.Suspend() ? 0 : -EIO); in out_standby()
282 retval = -EBUSY; in out_standby()
288 << " standby (suspend) retval=" << retval; in out_standby()
290 return retval; in out_standby()
303 int retval = 0; in out_set_parameters() local
310 if (params.empty()) return retval; in out_set_parameters()
386 << ", kvpairs=[" << kvpairs << "], retval=" << retval; in out_set_parameters()
387 return retval; in out_set_parameters()
599 int retval = 0; in out_pause() local
604 retval = (out->bluetooth_output_.Suspend() ? 0 : -EIO); in out_pause()
611 retval = -EBUSY; in out_pause()
617 << ", pausing (suspend) retval=" << retval; in out_pause()
619 return retval; in out_pause()
625 int retval = 0; in out_resume() local
630 retval = (out->bluetooth_output_.Start() ? 0 : -EIO); in out_resume()
637 retval = -EBUSY; in out_resume()
642 retval = -EINVAL; in out_resume()
648 << ", resuming (start) retval=" << retval; in out_resume()
650 return retval; in out_resume()
866 int retval = 0; in in_standby() local
876 return retval; in in_standby()
880 retval = (in->bluetooth_input_.Suspend() ? 0 : -EIO); in in_standby()
885 return retval; in in_standby()
897 << " standby (suspend) retval=" << retval; in in_standby()
899 return retval; in in_standby()
912 int retval = 0; in in_set_parameters() local
921 if (params.empty()) return retval; in in_set_parameters()
926 return retval; in in_set_parameters()
1001 int retval = 0; in in_read() local
1005 retval = (in->bluetooth_input_.Start() ? 0 : -EIO); in in_read()
1010 retval = -EBUSY; in in_read()
1015 retval = -EINVAL; in in_read()
1021 << ", starting (start) retval=" << retval; in in_read()
1023 if (retval) { in in_read()
1026 return retval; in in_read()