Lines Matching full:ep
102 struct bt_bap_ep *ep; in bt_bap_unicast_server_reconfig() local
107 ep = stream->ep; in bt_bap_unicast_server_reconfig()
111 err = unicast_server_cb->reconfig(stream, ep->dir, codec_cfg, &ep->qos_pref, &rsp); in bt_bap_unicast_server_reconfig()
120 (void)memcpy(&ep->codec_cfg, codec_cfg, sizeof(*codec_cfg)); in bt_bap_unicast_server_reconfig()
122 return ascs_ep_set_state(ep, BT_BAP_EP_STATE_CODEC_CONFIGURED); in bt_bap_unicast_server_reconfig()
127 struct bt_bap_ep *ep = stream->ep; in bt_bap_unicast_server_start() local
129 if (ep->dir != BT_AUDIO_DIR_SINK) { in bt_bap_unicast_server_start()
131 stream, ep->dir); in bt_bap_unicast_server_start()
139 if (ep->iso->chan.state == BT_ISO_STATE_CONNECTED) { in bt_bap_unicast_server_start()
140 return ascs_ep_set_state(ep, BT_BAP_EP_STATE_STREAMING); in bt_bap_unicast_server_start()
143 ep->receiver_ready = true; in bt_bap_unicast_server_start()
151 struct bt_bap_ep *ep; in bt_bap_unicast_server_metadata() local
156 if (meta_len > sizeof(ep->codec_cfg.meta)) { in bt_bap_unicast_server_metadata()
172 ep = stream->ep; in bt_bap_unicast_server_metadata()
173 (void)memcpy(ep->codec_cfg.meta, meta, meta_len); in bt_bap_unicast_server_metadata()
176 return ascs_ep_set_state(ep, ep->status.state); in bt_bap_unicast_server_metadata()
181 return bt_ascs_disable_ase(stream->ep); in bt_bap_unicast_server_disable()
186 return bt_ascs_release_ase(stream->ep); in bt_bap_unicast_server_release()