Lines Matching refs:dir

91 static int pac_notify_loc(struct bt_conn *conn, enum bt_audio_dir dir);
539 static sys_slist_t *pacs_get(enum bt_audio_dir dir) in pacs_get() argument
541 switch (dir) { in pacs_get()
648 static int pac_notify_loc(struct bt_conn *conn, enum bt_audio_dir dir) in pac_notify_loc() argument
654 switch (dir) { in pac_notify_loc()
684 static int pac_notify(struct bt_conn *conn, enum bt_audio_dir dir) in pac_notify() argument
690 switch (dir) { in pac_notify()
712 pacs = pacs_get(dir); in pac_notify()
969 bool bt_pacs_context_available(enum bt_audio_dir dir, uint16_t context) in bt_pacs_context_available() argument
971 if (dir == BT_AUDIO_DIR_SOURCE) { in bt_pacs_context_available()
975 if (dir == BT_AUDIO_DIR_SINK) { in bt_pacs_context_available()
982 void bt_pacs_cap_foreach(enum bt_audio_dir dir, bt_pacs_cap_foreach_func_t func, void *user_data) in bt_pacs_cap_foreach() argument
991 pac = pacs_get(dir); in bt_pacs_cap_foreach()
1016 int bt_pacs_cap_register(enum bt_audio_dir dir, struct bt_pacs_cap *cap) in bt_pacs_cap_register() argument
1028 pac = pacs_get(dir); in bt_pacs_cap_register()
1037 bt_audio_dir_str(dir), codec_cap->id, codec_cap->cid, codec_cap->vid); in bt_pacs_cap_register()
1048 if (IS_ENABLED(CONFIG_BT_PAC_SNK_NOTIFIABLE) && dir == BT_AUDIO_DIR_SINK) { in bt_pacs_cap_register()
1053 if (IS_ENABLED(CONFIG_BT_PAC_SRC_NOTIFIABLE) && dir == BT_AUDIO_DIR_SOURCE) { in bt_pacs_cap_register()
1062 int bt_pacs_cap_unregister(enum bt_audio_dir dir, struct bt_pacs_cap *cap) in bt_pacs_cap_unregister() argument
1070 pac = pacs_get(dir); in bt_pacs_cap_unregister()
1075 LOG_DBG("cap %p dir %s", cap, bt_audio_dir_str(dir)); in bt_pacs_cap_unregister()
1081 switch (dir) { in bt_pacs_cap_unregister()
1101 int bt_pacs_set_location(enum bt_audio_dir dir, enum bt_audio_location location) in bt_pacs_set_location() argument
1103 switch (dir) { in bt_pacs_set_location()
1117 int bt_pacs_set_available_contexts(enum bt_audio_dir dir, enum bt_audio_context contexts) in bt_pacs_set_available_contexts() argument
1119 switch (dir) { in bt_pacs_set_available_contexts()
1129 int bt_pacs_set_supported_contexts(enum bt_audio_dir dir, enum bt_audio_context contexts) in bt_pacs_set_supported_contexts() argument
1131 switch (dir) { in bt_pacs_set_supported_contexts()
1141 enum bt_audio_context bt_pacs_get_available_contexts(enum bt_audio_dir dir) in bt_pacs_get_available_contexts() argument
1143 switch (dir) { in bt_pacs_get_available_contexts()