Lines Matching refs:param

894 	struct bt_le_per_adv_sync_transfer_param param = { 0 };  in pa_sync_past()  local
897 param.skip = PA_SYNC_SKIP; in pa_sync_past()
898 param.timeout = sync_timeout; in pa_sync_past()
900 err = bt_le_per_adv_sync_transfer_subscribe(conn, &param); in pa_sync_past()
905 (void)k_work_reschedule(&pa_timer, K_MSEC(param.timeout * 10)); in pa_sync_past()
1417 struct bt_bap_broadcast_assistant_add_src_param param = { 0 }; in btp_bap_broadcast_assistant_add_src() local
1427 bt_addr_le_copy(&param.addr, &cp->broadcaster_address); in btp_bap_broadcast_assistant_add_src()
1428 param.adv_sid = cp->advertiser_sid; in btp_bap_broadcast_assistant_add_src()
1429 param.pa_sync = cp->padv_sync > 0 ? true : false; in btp_bap_broadcast_assistant_add_src()
1430 param.broadcast_id = sys_get_le24(cp->broadcast_id); in btp_bap_broadcast_assistant_add_src()
1431 param.pa_interval = sys_le16_to_cpu(cp->padv_interval); in btp_bap_broadcast_assistant_add_src()
1432 param.num_subgroups = MIN(cp->num_subgroups, CONFIG_BT_BAP_BASS_MAX_SUBGROUPS); in btp_bap_broadcast_assistant_add_src()
1433 param.subgroups = delegator_subgroups; in btp_bap_broadcast_assistant_add_src()
1436 for (uint8_t i = 0; i < param.num_subgroups; i++) { in btp_bap_broadcast_assistant_add_src()
1454 err = bt_bap_broadcast_assistant_add_src(conn, &param); in btp_bap_broadcast_assistant_add_src()
1490 struct bt_bap_broadcast_assistant_mod_src_param param = { 0 }; in btp_bap_broadcast_assistant_modify_src() local
1500 param.src_id = cp->src_id; in btp_bap_broadcast_assistant_modify_src()
1501 param.pa_sync = cp->padv_sync > 0 ? true : false; in btp_bap_broadcast_assistant_modify_src()
1502 param.pa_interval = sys_le16_to_cpu(cp->padv_interval); in btp_bap_broadcast_assistant_modify_src()
1503 param.num_subgroups = MIN(cp->num_subgroups, CONFIG_BT_BAP_BASS_MAX_SUBGROUPS); in btp_bap_broadcast_assistant_modify_src()
1504 param.subgroups = delegator_subgroups; in btp_bap_broadcast_assistant_modify_src()
1507 for (uint8_t i = 0; i < param.num_subgroups; i++) { in btp_bap_broadcast_assistant_modify_src()
1525 err = bt_bap_broadcast_assistant_mod_src(conn, &param); in btp_bap_broadcast_assistant_modify_src()