Lines Matching refs:sync
121 static void sync_cb(struct bt_le_per_adv_sync *sync, in sync_cb() argument
129 static void term_cb(struct bt_le_per_adv_sync *sync, in term_cb() argument
138 static void biginfo_cb(struct bt_le_per_adv_sync *sync, in biginfo_cb() argument
313 static int create_pa_sync(struct bt_le_per_adv_sync **sync) in create_pa_sync() argument
327 err = bt_le_per_adv_sync_create(&sync_create_param, sync); in create_pa_sync()
340 err = bt_le_per_adv_sync_delete(*sync); in create_pa_sync()
353 static int create_big_sync(struct bt_iso_big **big, struct bt_le_per_adv_sync *sync) in create_big_sync() argument
393 err = bt_iso_big_sync(sync, &big_sync_param, big); in create_big_sync()
412 static int cleanup(struct bt_le_per_adv_sync *sync, struct bt_iso_big *big) in cleanup() argument
417 if (!per_adv_lost && sync) { in cleanup()
419 pa_err = bt_le_per_adv_sync_delete(sync); in cleanup()
455 struct bt_le_per_adv_sync *sync = NULL; in test_run_receiver() local
490 err = create_pa_sync(&sync); in test_run_receiver()
499 err = create_big_sync(&big, sync); in test_run_receiver()
501 (void)cleanup(sync, big); in test_run_receiver()
513 return cleanup(sync, big); in test_run_receiver()