Lines Matching refs:rsp_cb
648 static int bt_a2dp_ctrl_cb(struct bt_avdtp_req *req, bt_a2dp_rsp_cb rsp_cb, bt_a2dp_done_cb done_cb, in bt_a2dp_ctrl_cb() argument
666 if (rsp_cb != NULL) { in bt_a2dp_ctrl_cb()
667 rsp_cb(stream, req->status); in bt_a2dp_ctrl_cb()
679 bt_a2dp_rsp_cb rsp_cb = a2dp_cb != NULL ? a2dp_cb->establish_rsp : NULL; in bt_a2dp_open_cb() local
684 return bt_a2dp_ctrl_cb(req, rsp_cb, done_cb, false); in bt_a2dp_open_cb()
690 bt_a2dp_rsp_cb rsp_cb = a2dp_cb != NULL ? a2dp_cb->start_rsp : NULL; in bt_a2dp_start_cb() local
694 return bt_a2dp_ctrl_cb(req, rsp_cb, done_cb, false); in bt_a2dp_start_cb()
700 bt_a2dp_rsp_cb rsp_cb = a2dp_cb != NULL ? a2dp_cb->suspend_rsp : NULL; in bt_a2dp_suspend_cb() local
704 return bt_a2dp_ctrl_cb(req, rsp_cb, done_cb, false); in bt_a2dp_suspend_cb()
710 bt_a2dp_rsp_cb rsp_cb = a2dp_cb != NULL ? a2dp_cb->release_rsp : NULL; in bt_a2dp_close_cb() local
714 return bt_a2dp_ctrl_cb(req, rsp_cb, done_cb, true); in bt_a2dp_close_cb()
720 bt_a2dp_rsp_cb rsp_cb = a2dp_cb != NULL ? a2dp_cb->abort_rsp : NULL; in bt_a2dp_abort_cb() local
724 return bt_a2dp_ctrl_cb(req, rsp_cb, done_cb, true); in bt_a2dp_abort_cb()