Lines Matching refs:conn_index

885 		uint8_t conn_index = bt_conn_index(stream->conn);  in stream_dir()  local
888 for (size_t i = 0; i < ARRAY_SIZE(snks[conn_index]); i++) { in stream_dir()
889 const struct bt_bap_ep *snk_ep = snks[conn_index][i]; in stream_dir()
898 for (size_t i = 0; i < ARRAY_SIZE(srcs[conn_index]); i++) { in stream_dir()
899 const struct bt_bap_ep *src_ep = srcs[conn_index][i]; in stream_dir()
925 const uint8_t conn_index = bt_conn_index(conn); in add_sink() local
927 for (size_t i = 0U; i < ARRAY_SIZE(snks[conn_index]); i++) { in add_sink()
928 if (snks[conn_index][i] == NULL) { in add_sink()
931 snks[conn_index][i] = ep; in add_sink()
943 const uint8_t conn_index = bt_conn_index(conn); in add_source() local
945 for (size_t i = 0U; i < ARRAY_SIZE(srcs[conn_index]); i++) { in add_source()
946 if (srcs[conn_index][i] == NULL) { in add_source()
949 srcs[conn_index][i] = ep; in add_source()
1091 uint8_t conn_index; in cmd_discover() local
1135 conn_index = bt_conn_index(default_conn); in cmd_discover()
1137 memset(srcs[conn_index], 0, sizeof(srcs[conn_index])); in cmd_discover()
1141 memset(snks[conn_index], 0, sizeof(snks[conn_index])); in cmd_discover()
1156 uint8_t conn_index; in cmd_config() local
1163 conn_index = bt_conn_index(default_conn); in cmd_config()
1189 ep = snks[conn_index][index]; in cmd_config()
1197 ep = srcs[conn_index][index]; in cmd_config()
1698 uint8_t conn_index = bt_conn_index(conn); in conn_list_eps() local
1704 for (size_t i = 0U; i < ARRAY_SIZE(snks[conn_index]); i++) { in conn_list_eps()
1705 const struct bt_bap_ep *ep = snks[conn_index][i]; in conn_list_eps()
1722 for (size_t i = 0U; i < ARRAY_SIZE(srcs[conn_index]); i++) { in conn_list_eps()
1723 const struct bt_bap_ep *ep = srcs[conn_index][i]; in conn_list_eps()