Lines Matching refs:pa_sync

72 	struct bt_le_per_adv_sync *pa_sync;  member
333 if (scan_delegator.recv_states[i].pa_sync == sync) { in bass_lookup_pa_sync()
380 internal_state->pa_sync = sync; in pa_synced()
399 internal_state->pa_sync = NULL; in pa_terminated()
492 uint8_t pa_sync; in scan_delegator_add_source() local
541 pa_sync = net_buf_simple_pull_u8(buf); in scan_delegator_add_source()
542 if (pa_sync > BT_BAP_BASS_PA_REQ_SYNC) { in scan_delegator_add_source()
543 LOG_DBG("Invalid PA sync value %u", pa_sync); in scan_delegator_add_source()
569 pa_sync == BT_BAP_BASS_PA_REQ_NO_SYNC) { in scan_delegator_add_source()
633 if (pa_sync != BT_BAP_BASS_PA_REQ_NO_SYNC) { in scan_delegator_add_source()
636 err = pa_sync_request(conn, state, pa_sync, pa_interval); in scan_delegator_add_source()
642 LOG_DBG("PA sync %u from %p was rejected with reason %d", pa_sync, conn, in scan_delegator_add_source()
676 uint8_t pa_sync; in scan_delegator_mod_src() local
698 pa_sync = net_buf_simple_pull_u8(buf); in scan_delegator_mod_src()
699 if (pa_sync > BT_BAP_BASS_PA_REQ_SYNC) { in scan_delegator_mod_src()
700 LOG_DBG("Invalid PA sync value %u", pa_sync); in scan_delegator_mod_src()
731 pa_sync == BT_BAP_BASS_PA_REQ_NO_SYNC) { in scan_delegator_mod_src()
824 if (pa_sync != BT_BAP_BASS_PA_REQ_NO_SYNC && in scan_delegator_mod_src()
827 const int err = pa_sync_request(conn, state, pa_sync, in scan_delegator_mod_src()
835 LOG_DBG("PA sync %u from %p was rejected with reason %d", pa_sync, conn, in scan_delegator_mod_src()
846 } else if (pa_sync == BT_BAP_BASS_PA_REQ_NO_SYNC && in scan_delegator_mod_src()
966 internal_state->pa_sync = NULL; in scan_delegator_rem_src()
1383 struct bt_le_per_adv_sync *pa_sync; in bt_bap_scan_delegator_add_src() local
1389 pa_sync = bt_le_per_adv_sync_lookup_addr(&param->addr, param->sid); in bt_bap_scan_delegator_add_src()
1391 if (pa_sync != NULL) { in bt_bap_scan_delegator_add_src()
1392 internal_state = bass_lookup_pa_sync(pa_sync); in bt_bap_scan_delegator_add_src()
1415 pa_sync == NULL ? BT_BAP_PA_STATE_NOT_SYNCED : BT_BAP_PA_STATE_SYNCED; in bt_bap_scan_delegator_add_src()
1425 internal_state->pa_sync = pa_sync; in bt_bap_scan_delegator_add_src()