Lines Matching defs:conn
85 struct mcs_instance_t *lookup_inst_by_conn(struct bt_conn *conn) in lookup_inst_by_conn()
95 static void mcc_player_name_cb(struct bt_conn *conn, uint8_t err, const void *data, uint16_t length) in mcc_player_name_cb()
123 static uint8_t mcc_read_player_name_cb(struct bt_conn *conn, uint8_t err, in mcc_read_player_name_cb()
137 static uint8_t mcc_read_icon_obj_id_cb(struct bt_conn *conn, uint8_t err, in mcc_read_icon_obj_id_cb()
171 static uint8_t mcc_read_icon_url_cb(struct bt_conn *conn, uint8_t err, in mcc_read_icon_url_cb()
203 static void mcc_track_title_cb(struct bt_conn *conn, uint8_t err, const void *data, uint16_t length) in mcc_track_title_cb()
228 static uint8_t mcc_read_track_title_cb(struct bt_conn *conn, uint8_t err, in mcc_read_track_title_cb()
242 static void mcc_track_duration_cb(struct bt_conn *conn, uint8_t err, const void *data, in mcc_track_duration_cb()
264 static uint8_t mcc_read_track_duration_cb(struct bt_conn *conn, uint8_t err, in mcc_read_track_duration_cb()
278 static void mcc_track_position_cb(struct bt_conn *conn, uint8_t err, const void *data, in mcc_track_position_cb()
300 static uint8_t mcc_read_track_position_cb(struct bt_conn *conn, uint8_t err, in mcc_read_track_position_cb()
314 static void mcs_write_track_position_cb(struct bt_conn *conn, uint8_t err, in mcs_write_track_position_cb()
340 static void mcc_playback_speed_cb(struct bt_conn *conn, uint8_t err, const void *data, in mcc_playback_speed_cb()
362 static uint8_t mcc_read_playback_speed_cb(struct bt_conn *conn, uint8_t err, in mcc_read_playback_speed_cb()
376 static void mcs_write_playback_speed_cb(struct bt_conn *conn, uint8_t err, in mcs_write_playback_speed_cb()
401 static void mcc_seeking_speed_cb(struct bt_conn *conn, uint8_t err, const void *data, in mcc_seeking_speed_cb()
423 static uint8_t mcc_read_seeking_speed_cb(struct bt_conn *conn, uint8_t err, in mcc_read_seeking_speed_cb()
437 static uint8_t mcc_read_segments_obj_id_cb(struct bt_conn *conn, uint8_t err, in mcc_read_segments_obj_id_cb()
469 static void mcc_current_track_obj_id_cb(struct bt_conn *conn, uint8_t err, const void *data, in mcc_current_track_obj_id_cb()
496 static uint8_t mcc_read_current_track_obj_id_cb(struct bt_conn *conn, uint8_t err, in mcc_read_current_track_obj_id_cb()
508 static void mcs_write_current_track_obj_id_cb(struct bt_conn *conn, uint8_t err, in mcs_write_current_track_obj_id_cb()
535 static void mcc_next_track_obj_id_cb(struct bt_conn *conn, uint8_t err, const void *data, in mcc_next_track_obj_id_cb()
564 static uint8_t mcc_read_next_track_obj_id_cb(struct bt_conn *conn, uint8_t err, in mcc_read_next_track_obj_id_cb()
576 static void mcs_write_next_track_obj_id_cb(struct bt_conn *conn, uint8_t err, in mcs_write_next_track_obj_id_cb()
603 static void mcc_parent_group_obj_id_cb(struct bt_conn *conn, uint8_t err, const void *data, in mcc_parent_group_obj_id_cb()
630 static uint8_t mcc_read_parent_group_obj_id_cb(struct bt_conn *conn, uint8_t err, in mcc_read_parent_group_obj_id_cb()
642 static void mcc_current_group_obj_id_cb(struct bt_conn *conn, uint8_t err, const void *data, in mcc_current_group_obj_id_cb()
669 static uint8_t mcc_read_current_group_obj_id_cb(struct bt_conn *conn, uint8_t err, in mcc_read_current_group_obj_id_cb()
681 static void mcs_write_current_group_obj_id_cb(struct bt_conn *conn, uint8_t err, in mcs_write_current_group_obj_id_cb()
710 static void mcc_playing_order_cb(struct bt_conn *conn, uint8_t err, const void *data, in mcc_playing_order_cb()
732 static uint8_t mcc_read_playing_order_cb(struct bt_conn *conn, uint8_t err, in mcc_read_playing_order_cb()
746 static void mcs_write_playing_order_cb(struct bt_conn *conn, uint8_t err, in mcs_write_playing_order_cb()
771 static uint8_t mcc_read_playing_orders_supported_cb(struct bt_conn *conn, uint8_t err, in mcc_read_playing_orders_supported_cb()
800 static void mcc_media_state_cb(struct bt_conn *conn, uint8_t err, const void *data, uint16_t length) in mcc_media_state_cb()
821 static uint8_t mcc_read_media_state_cb(struct bt_conn *conn, uint8_t err, in mcc_read_media_state_cb()
835 static void mcs_write_cp_cb(struct bt_conn *conn, uint8_t err, in mcs_write_cp_cb()
871 static void mcc_opcodes_supported_cb(struct bt_conn *conn, uint8_t err, const void *data, in mcc_opcodes_supported_cb()
894 static uint8_t mcc_read_opcodes_supported_cb(struct bt_conn *conn, uint8_t err, in mcc_read_opcodes_supported_cb()
908 static void mcs_write_scp_cb(struct bt_conn *conn, uint8_t err, in mcs_write_scp_cb()
934 static void mcc_search_results_obj_id_cb(struct bt_conn *conn, uint8_t err, in mcc_search_results_obj_id_cb()
964 static uint8_t mcc_read_search_results_obj_id_cb(struct bt_conn *conn, uint8_t err, in mcc_read_search_results_obj_id_cb()
978 static uint8_t mcc_read_content_control_id_cb(struct bt_conn *conn, uint8_t err, in mcc_read_content_control_id_cb()
1007 static uint8_t mcs_notify_handler(struct bt_conn *conn, in mcs_notify_handler()
1173 struct bt_conn *conn = mcs_inst->conn; in reset_mcs_inst() local
1353 static void disconnected_cb(struct bt_conn *conn, uint8_t reason) in disconnected_cb()
1368 static void discovery_complete(struct bt_conn *conn, int err) in discovery_complete()
1388 static uint8_t discover_otc_char_func(struct bt_conn *conn, in discover_otc_char_func()
1481 static uint8_t discover_include_func(struct bt_conn *conn, in discover_include_func()
1538 static void discover_included(struct mcs_instance_t *mcs_inst, struct bt_conn *conn) in discover_included()
1564 static void subscribe_mcs_char_func(struct bt_conn *conn, uint8_t err, in subscribe_mcs_char_func()
1603 static int do_subscribe(struct mcs_instance_t *mcs_inst, struct bt_conn *conn, in do_subscribe()
1624 struct bt_conn *conn) in subscribe_next_mcs_char()
1766 static uint8_t discover_mcs_char_func(struct bt_conn *conn, in discover_mcs_char_func()
2006 static uint8_t discover_primary_func(struct bt_conn *conn, in discover_primary_func()
2093 int bt_mcc_discover_mcs(struct bt_conn *conn, bool subscribe) in bt_mcc_discover_mcs()
2141 int bt_mcc_read_player_name(struct bt_conn *conn) in bt_mcc_read_player_name()
2180 int bt_mcc_read_icon_obj_id(struct bt_conn *conn) in bt_mcc_read_icon_obj_id()
2220 int bt_mcc_read_icon_url(struct bt_conn *conn) in bt_mcc_read_icon_url()
2260 int bt_mcc_read_track_title(struct bt_conn *conn) in bt_mcc_read_track_title()
2300 int bt_mcc_read_track_duration(struct bt_conn *conn) in bt_mcc_read_track_duration()
2340 int bt_mcc_read_track_position(struct bt_conn *conn) in bt_mcc_read_track_position()
2380 int bt_mcc_set_track_position(struct bt_conn *conn, int32_t pos) in bt_mcc_set_track_position()
2425 int bt_mcc_read_playback_speed(struct bt_conn *conn) in bt_mcc_read_playback_speed()
2465 int bt_mcc_set_playback_speed(struct bt_conn *conn, int8_t speed) in bt_mcc_set_playback_speed()
2510 int bt_mcc_read_seeking_speed(struct bt_conn *conn) in bt_mcc_read_seeking_speed()
2550 int bt_mcc_read_segments_obj_id(struct bt_conn *conn) in bt_mcc_read_segments_obj_id()
2588 int bt_mcc_read_current_track_obj_id(struct bt_conn *conn) in bt_mcc_read_current_track_obj_id()
2626 int bt_mcc_set_current_track_obj_id(struct bt_conn *conn, uint64_t obj_id) in bt_mcc_set_current_track_obj_id()
2673 int bt_mcc_read_next_track_obj_id(struct bt_conn *conn) in bt_mcc_read_next_track_obj_id()
2711 int bt_mcc_set_next_track_obj_id(struct bt_conn *conn, uint64_t obj_id) in bt_mcc_set_next_track_obj_id()
2758 int bt_mcc_read_parent_group_obj_id(struct bt_conn *conn) in bt_mcc_read_parent_group_obj_id()
2796 int bt_mcc_read_current_group_obj_id(struct bt_conn *conn) in bt_mcc_read_current_group_obj_id()
2834 int bt_mcc_set_current_group_obj_id(struct bt_conn *conn, uint64_t obj_id) in bt_mcc_set_current_group_obj_id()
2883 int bt_mcc_read_playing_order(struct bt_conn *conn) in bt_mcc_read_playing_order()
2923 int bt_mcc_set_playing_order(struct bt_conn *conn, uint8_t order) in bt_mcc_set_playing_order()
2975 int bt_mcc_read_playing_orders_supported(struct bt_conn *conn) in bt_mcc_read_playing_orders_supported()
3015 int bt_mcc_read_media_state(struct bt_conn *conn) in bt_mcc_read_media_state()
3055 int bt_mcc_send_cmd(struct bt_conn *conn, const struct mpl_cmd *cmd) in bt_mcc_send_cmd()
3119 int bt_mcc_read_opcodes_supported(struct bt_conn *conn) in bt_mcc_read_opcodes_supported()
3159 int bt_mcc_send_search(struct bt_conn *conn, const struct mpl_search *search) in bt_mcc_send_search()
3214 int bt_mcc_read_search_results_obj_id(struct bt_conn *conn) in bt_mcc_read_search_results_obj_id()
3254 int bt_mcc_read_content_control_id(struct bt_conn *conn) in bt_mcc_read_content_control_id()
3296 struct bt_conn *conn, int result) in on_obj_selected()
3321 int on_icon_content(struct bt_ots_client *otc_inst, struct bt_conn *conn, in on_icon_content()
3413 struct bt_conn *conn, uint32_t offset, in on_track_segments_content()
3463 struct bt_conn *conn, uint32_t offset, in on_current_track_content()
3501 struct bt_conn *conn, uint32_t offset, uint32_t len, in on_next_track_content()
3566 struct bt_conn *conn, uint32_t offset, in on_parent_group_content()
3618 struct bt_conn *conn, uint32_t offset, in on_current_group_content()
3670 struct bt_conn *conn, int err, in on_object_metadata()
3693 int bt_mcc_otc_read_object_metadata(struct bt_conn *conn) in bt_mcc_otc_read_object_metadata()
3726 int bt_mcc_otc_read_icon_object(struct bt_conn *conn) in bt_mcc_otc_read_icon_object()
3759 int bt_mcc_otc_read_track_segments_object(struct bt_conn *conn) in bt_mcc_otc_read_track_segments_object()
3793 int bt_mcc_otc_read_current_track_object(struct bt_conn *conn) in bt_mcc_otc_read_current_track_object()
3827 int bt_mcc_otc_read_next_track_object(struct bt_conn *conn) in bt_mcc_otc_read_next_track_object()
3861 int bt_mcc_otc_read_parent_group_object(struct bt_conn *conn) in bt_mcc_otc_read_parent_group_object()
3897 int bt_mcc_otc_read_current_group_object(struct bt_conn *conn) in bt_mcc_otc_read_current_group_object()
3932 struct bt_ots_client *bt_mcc_otc_inst(struct bt_conn *conn) in bt_mcc_otc_inst()