Lines Matching refs:info
111 int bt_bap_ep_get_info(const struct bt_bap_ep *ep, struct bt_bap_ep_info *info) in bt_bap_ep_get_info() argument
121 CHECKIF(info == NULL) { in bt_bap_ep_get_info()
129 info->id = ep->status.id; in bt_bap_ep_get_info()
130 info->state = ep->status.state; in bt_bap_ep_get_info()
131 info->dir = dir; in bt_bap_ep_get_info()
132 info->qos_pref = &ep->qos_pref; in bt_bap_ep_get_info()
135 info->paired_ep = NULL; in bt_bap_ep_get_info()
136 info->iso_chan = NULL; in bt_bap_ep_get_info()
138 info->paired_ep = bt_bap_iso_get_paired_ep(ep); in bt_bap_ep_get_info()
139 info->iso_chan = &ep->iso->chan; in bt_bap_ep_get_info()
142 info->can_send = false; in bt_bap_ep_get_info()
143 info->can_recv = false; in bt_bap_ep_get_info()
146 info->can_send = true; in bt_bap_ep_get_info()
149 info->can_recv = true; in bt_bap_ep_get_info()
154 info->can_send = dir == BT_AUDIO_DIR_SINK; in bt_bap_ep_get_info()
155 info->can_recv = dir == BT_AUDIO_DIR_SOURCE; in bt_bap_ep_get_info()
160 info->can_send = dir == BT_AUDIO_DIR_SOURCE; in bt_bap_ep_get_info()
161 info->can_recv = dir == BT_AUDIO_DIR_SINK; in bt_bap_ep_get_info()
343 struct bt_bap_ep_info info; in bt_bap_stream_can_send() local
350 err = bt_bap_ep_get_info(stream->ep, &info); in bt_bap_stream_can_send()
355 return info.can_send; in bt_bap_stream_can_send()
425 int bt_bap_stream_get_tx_sync(struct bt_bap_stream *stream, struct bt_iso_tx_info *info) in bt_bap_stream_get_tx_sync() argument
435 CHECKIF(info == NULL) { in bt_bap_stream_get_tx_sync()
453 return bt_iso_chan_get_tx_sync(iso_chan, info); in bt_bap_stream_get_tx_sync()
584 struct bt_conn_info info; in conn_get_role() local
587 err = bt_conn_get_info(conn, &info); in conn_get_role()
590 return info.role; in conn_get_role()