Lines Matching refs:param

354 	struct bt_bap_broadcast_assistant_add_src_param param = { 0 };  in cmd_bap_broadcast_assistant_add_src()  local
360 result = bt_addr_le_from_str(argv[1], argv[2], &param.addr); in cmd_bap_broadcast_assistant_add_src()
380 param.adv_sid = adv_sid; in cmd_bap_broadcast_assistant_add_src()
382 param.pa_sync = shell_strtobool(argv[4], 0, &result); in cmd_bap_broadcast_assistant_add_src()
402 param.broadcast_id = broadcast_id; in cmd_bap_broadcast_assistant_add_src()
424 param.pa_interval = pa_interval; in cmd_bap_broadcast_assistant_add_src()
426 param.pa_interval = BT_BAP_PA_INTERVAL_UNKNOWN; in cmd_bap_broadcast_assistant_add_src()
467 param.num_subgroups = 1; in cmd_bap_broadcast_assistant_add_src()
468 param.subgroups = &subgroup; in cmd_bap_broadcast_assistant_add_src()
470 result = bt_bap_broadcast_assistant_add_src(default_conn, &param); in cmd_bap_broadcast_assistant_add_src()
516 struct bt_bap_broadcast_assistant_add_src_param param = { 0 }; in scan_recv_cb() local
568 bt_addr_le_copy(&param.addr, info->addr); in scan_recv_cb()
569 param.adv_sid = info->sid; in scan_recv_cb()
570 param.pa_interval = info->interval; in scan_recv_cb()
571 param.broadcast_id = sr_info.broadcast_id; in scan_recv_cb()
572 param.pa_sync = auto_scan.pa_sync; in scan_recv_cb()
573 param.num_subgroups = 1; in scan_recv_cb()
574 param.subgroups = &auto_scan.subgroup; in scan_recv_cb()
576 err = bt_bap_broadcast_assistant_add_src(default_conn, &param); in scan_recv_cb()
774 struct bt_bap_broadcast_assistant_mod_src_param param = { 0 }; in cmd_bap_broadcast_assistant_mod_src() local
791 param.src_id = src_id; in cmd_bap_broadcast_assistant_mod_src()
793 param.pa_sync = shell_strtobool(argv[2], 0, &result); in cmd_bap_broadcast_assistant_mod_src()
802 param.pa_interval = BT_BAP_PA_INTERVAL_UNKNOWN; in cmd_bap_broadcast_assistant_mod_src()
820 param.pa_interval = pa_interval; in cmd_bap_broadcast_assistant_mod_src()
823 param.pa_interval = BT_BAP_PA_INTERVAL_UNKNOWN; in cmd_bap_broadcast_assistant_mod_src()
864 param.num_subgroups = 1; in cmd_bap_broadcast_assistant_mod_src()
865 param.subgroups = &subgroup; in cmd_bap_broadcast_assistant_mod_src()
867 result = bt_bap_broadcast_assistant_mod_src(default_conn, &param); in cmd_bap_broadcast_assistant_mod_src()
888 struct bt_bap_broadcast_assistant_add_src_param *param = user_data; in add_pa_sync_base_subgroup_cb() local
893 if (param->num_subgroups == CONFIG_BT_BAP_BASS_MAX_SUBGROUPS) { in add_pa_sync_base_subgroup_cb()
905 subgroup_param = &param->subgroups[param->num_subgroups]; in add_pa_sync_base_subgroup_cb()
920 param->num_subgroups++; in add_pa_sync_base_subgroup_cb()
929 struct bt_bap_broadcast_assistant_add_src_param param = { 0 }; in cmd_bap_broadcast_assistant_add_pa_sync() local
951 bt_addr_le_copy(&param.addr, &pa_info.addr); in cmd_bap_broadcast_assistant_add_pa_sync()
952 param.adv_sid = pa_info.sid; in cmd_bap_broadcast_assistant_add_pa_sync()
953 param.pa_interval = pa_info.interval; in cmd_bap_broadcast_assistant_add_pa_sync()
957 param.pa_sync = shell_strtobool(argv[1], 0, &err); in cmd_bap_broadcast_assistant_add_pa_sync()
971 param.broadcast_id); in cmd_bap_broadcast_assistant_add_pa_sync()
976 param.broadcast_id = broadcast_id; in cmd_bap_broadcast_assistant_add_pa_sync()
999 param.subgroups = subgroup_params; in cmd_bap_broadcast_assistant_add_pa_sync()
1002 add_pa_sync_base_subgroup_cb, &param); in cmd_bap_broadcast_assistant_add_pa_sync()
1011 for (size_t j = 0U; j < param.num_subgroups; j++) { in cmd_bap_broadcast_assistant_add_pa_sync()
1031 err = bt_bap_broadcast_assistant_add_src(default_conn, &param); in cmd_bap_broadcast_assistant_add_pa_sync()