Lines Matching refs:ctrl_param
41 #define CTRL_PARAM(_ctrl_param) CONTAINER_OF(_ctrl_param, struct bt_a2dp, ctrl_param)
66 struct bt_avdtp_ctrl_params ctrl_param; member
655 ep = CONTAINER_OF(a2dp->ctrl_param.sep, struct bt_a2dp_ep, sep); in bt_a2dp_ctrl_cb()
656 if ((ep->stream == NULL) || (CTRL_REQ(req) != &a2dp->ctrl_param)) { in bt_a2dp_ctrl_cb()
736 a2dp->ctrl_param.req.func = cb; in bt_a2dp_stream_ctrl_pre()
737 a2dp->ctrl_param.acp_stream_ep_id = stream->remote_ep != NULL in bt_a2dp_stream_ctrl_pre()
740 a2dp->ctrl_param.sep = &stream->local_ep->sep; in bt_a2dp_stream_ctrl_pre()
753 return bt_avdtp_open(&a2dp->session, &a2dp->ctrl_param); in bt_a2dp_stream_establish()
765 return bt_avdtp_close(&a2dp->session, &a2dp->ctrl_param); in bt_a2dp_stream_release()
777 return bt_avdtp_start(&a2dp->session, &a2dp->ctrl_param); in bt_a2dp_stream_start()
789 return bt_avdtp_suspend(&a2dp->session, &a2dp->ctrl_param); in bt_a2dp_stream_suspend()
801 return bt_avdtp_abort(&a2dp->session, &a2dp->ctrl_param); in bt_a2dp_stream_abort()