Lines Matching full:bis
1458 /* Only remove one data path for BIS as per the spec */ in bt_iso_remove_data_path()
2511 struct bt_iso_chan *bis, *tmp; in cleanup_big() local
2513 SYS_SLIST_FOR_EACH_CONTAINER_SAFE(&big->bis_channels, bis, tmp, node) { in cleanup_big()
2514 if (bis->iso != NULL) { in cleanup_big()
2515 bt_conn_unref(bis->iso); in cleanup_big()
2516 bis->iso = NULL; in cleanup_big()
2519 sys_slist_remove(&big->bis_channels, NULL, &bis->node); in cleanup_big()
2527 struct bt_iso_chan *bis; in big_disconnect() local
2529 SYS_SLIST_FOR_EACH_CONTAINER(&big->bis_channels, bis, node) { in big_disconnect()
2530 bis->iso->err = reason; in big_disconnect()
2532 bt_iso_disconnected(bis->iso); in big_disconnect()
2542 struct bt_iso_chan *bis = bis_channels[i]; in big_init_bis() local
2545 bis->iso = iso_new(); in big_init_bis()
2547 if (!bis->iso) { in big_init_bis()
2548 LOG_ERR("Unable to allocate BIS connection"); in big_init_bis()
2551 iso_conn = &bis->iso->iso; in big_init_bis()
2556 iso_conn->bis_id = bt_conn_index(bis->iso); in big_init_bis()
2558 bt_iso_chan_add(bis->iso, bis); in big_init_bis()
2560 sys_slist_append(&big->bis_channels, &bis->node); in big_init_bis()
2575 struct bt_iso_chan *bis; in hci_le_create_big() local
2583 bis = SYS_SLIST_PEEK_HEAD_CONTAINER(&big->bis_channels, bis, node); in hci_le_create_big()
2584 __ASSERT(bis != NULL, "bis was NULL"); in hci_le_create_big()
2586 /* All BIS will share the same QOS */ in hci_le_create_big()
2587 qos = bis->qos; in hci_le_create_big()
2614 SYS_SLIST_FOR_EACH_CONTAINER(&big->bis_channels, bis, node) { in hci_le_create_big()
2615 bt_iso_chan_set_state(bis, BT_ISO_STATE_CONNECTING); in hci_le_create_big()
2629 struct bt_iso_chan *bis; in hci_le_create_big_test() local
2639 bis = SYS_SLIST_PEEK_HEAD_CONTAINER(&big->bis_channels, bis, node); in hci_le_create_big_test()
2640 __ASSERT(bis != NULL, "bis was NULL"); in hci_le_create_big_test()
2642 /* All BIS will share the same QOS */ in hci_le_create_big_test()
2643 qos = bis->qos; in hci_le_create_big_test()
2681 SYS_SLIST_FOR_EACH_CONTAINER(&big->bis_channels, bis, node) { in hci_le_create_big_test()
2682 bt_iso_chan_set_state(bis, BT_ISO_STATE_CONNECTING); in hci_le_create_big_test()
2697 const struct bt_iso_chan *bis = param->bis_channels[i]; in is_advanced_big_param() local
2698 const struct bt_iso_chan_qos *qos = bis->qos; in is_advanced_big_param()
2719 LOG_DBG("NULL BIS channels"); in valid_big_param()
2725 LOG_DBG("Invalid number of BIS %u", param->num_bis); in valid_big_param()
2731 struct bt_iso_chan *bis = param->bis_channels[i]; in valid_big_param() local
2733 CHECKIF(bis == NULL) { in valid_big_param()
2739 if (bis->iso) { in valid_big_param()
2745 CHECKIF(bis->qos == NULL) { in valid_big_param()
2751 CHECKIF(bis->qos->tx == NULL || in valid_big_param()
2752 !valid_chan_io_qos(bis->qos->tx, true, true, in valid_big_param()
2905 struct bt_iso_chan *bis; in hci_le_big_complete() local
2928 LOG_ERR("Invalid number of BIS created, was %u expected %u", evt->num_bis, in hci_le_big_complete()
2937 SYS_SLIST_FOR_EACH_CONTAINER(&big->bis_channels, bis, node) { in hci_le_big_complete()
2939 struct bt_conn *iso_conn = bis->iso; in hci_le_big_complete()
3015 struct bt_iso_chan *bis; in bt_iso_big_terminate() local
3023 bis = SYS_SLIST_PEEK_HEAD_CONTAINER(&big->bis_channels, bis, node); in bt_iso_big_terminate()
3024 __ASSERT(bis != NULL, "bis was NULL"); in bt_iso_big_terminate()
3027 bis->iso->iso.info.type == BT_ISO_CHAN_TYPE_BROADCASTER) { in bt_iso_big_terminate()
3034 SYS_SLIST_FOR_EACH_CONTAINER(&big->bis_channels, bis, node) { in bt_iso_big_terminate()
3035 bt_iso_chan_set_state(bis, BT_ISO_STATE_DISCONNECTING); in bt_iso_big_terminate()
3039 bis->iso->iso.info.type == BT_ISO_CHAN_TYPE_SYNC_RECEIVER) { in bt_iso_big_terminate()
3080 struct bt_iso_chan *bis; in hci_le_big_sync_established() local
3102 LOG_ERR("Invalid number of BIS synced, was %u expected %u", evt->num_bis, in hci_le_big_sync_established()
3111 SYS_SLIST_FOR_EACH_CONTAINER(&big->bis_channels, bis, node) { in hci_le_big_sync_established()
3113 struct bt_conn *iso_conn = bis->iso; in hci_le_big_sync_established()
3172 req->bis[bit_idx++] = i; in hci_le_big_create_sync()
3192 struct bt_iso_chan *bis; in bt_iso_big_sync() local
3212 LOG_DBG("Invalid BIS bitfield 0x%08x", param->bis_bitfield); in bt_iso_big_sync()
3217 LOG_DBG("NULL BIS channels"); in bt_iso_big_sync()
3222 LOG_DBG("Invalid number of BIS %u", param->num_bis); in bt_iso_big_sync()
3272 SYS_SLIST_FOR_EACH_CONTAINER(&big->bis_channels, bis, node) { in bt_iso_big_sync()
3273 bt_iso_chan_set_state(bis, BT_ISO_STATE_CONNECTING); in bt_iso_big_sync()