Lines Matching refs:param

211 	struct bt_cap_commander_change_volume_param param = {  in cmd_cap_commander_change_volume()  local
234 param.volume = (uint8_t)volume; in cmd_cap_commander_change_volume()
236 param.type = BT_CAP_SET_TYPE_AD_HOC; in cmd_cap_commander_change_volume()
242 param.count = 0U; in cmd_cap_commander_change_volume()
243 param.members = members; in cmd_cap_commander_change_volume()
251 param.members[i].member = conn; in cmd_cap_commander_change_volume()
252 param.count++; in cmd_cap_commander_change_volume()
255 shell_print(sh, "Setting volume to %u on %zu connections", param.volume, param.count); in cmd_cap_commander_change_volume()
257 err = bt_cap_commander_change_volume(&param); in cmd_cap_commander_change_volume()
271 struct bt_cap_commander_change_volume_mute_state_param param = { in cmd_cap_commander_change_volume_mute() local
282 param.mute = shell_strtobool(argv[1], 10, &err); in cmd_cap_commander_change_volume_mute()
292 param.count = 0U; in cmd_cap_commander_change_volume_mute()
293 param.members = members; in cmd_cap_commander_change_volume_mute()
301 param.members[i].member = conn; in cmd_cap_commander_change_volume_mute()
302 param.count++; in cmd_cap_commander_change_volume_mute()
305 shell_print(sh, "Setting volume mute to %d on %zu connections", param.mute, param.count); in cmd_cap_commander_change_volume_mute()
307 err = bt_cap_commander_change_volume_mute_state(&param); in cmd_cap_commander_change_volume_mute()
322 struct bt_cap_commander_change_volume_offset_param param = { in cmd_cap_commander_change_volume_offset() local
324 .param = member_params, in cmd_cap_commander_change_volume_offset()
374 param.count++; in cmd_cap_commander_change_volume_offset()
377 shell_print(sh, "Setting volume offset on %zu connections", param.count); in cmd_cap_commander_change_volume_offset()
379 err = bt_cap_commander_change_volume_offset(&param); in cmd_cap_commander_change_volume_offset()
397 struct bt_cap_commander_change_microphone_mute_state_param param = { in cmd_cap_commander_change_microphone_mute() local
408 param.mute = shell_strtobool(argv[1], 10, &err); in cmd_cap_commander_change_microphone_mute()
418 param.count = 0U; in cmd_cap_commander_change_microphone_mute()
419 param.members = members; in cmd_cap_commander_change_microphone_mute()
427 param.members[i].member = conn; in cmd_cap_commander_change_microphone_mute()
428 param.count++; in cmd_cap_commander_change_microphone_mute()
431 shell_print(sh, "Setting microphone mute to %d on %zu connections", param.mute, in cmd_cap_commander_change_microphone_mute()
432 param.count); in cmd_cap_commander_change_microphone_mute()
434 err = bt_cap_commander_change_microphone_mute_state(&param); in cmd_cap_commander_change_microphone_mute()
451 struct bt_cap_commander_change_microphone_gain_setting_param param = { in cmd_cap_commander_change_microphone_gain() local
453 .param = member_params, in cmd_cap_commander_change_microphone_gain()
503 param.count++; in cmd_cap_commander_change_microphone_gain()
506 shell_print(sh, "Setting microphone gain on %zu connections", param.count); in cmd_cap_commander_change_microphone_gain()
508 err = bt_cap_commander_change_microphone_gain_setting(&param); in cmd_cap_commander_change_microphone_gain()
527 struct bt_cap_commander_broadcast_reception_start_param param = { in cmd_cap_commander_broadcast_reception_start() local
529 .param = member_params, in cmd_cap_commander_broadcast_reception_start()
676 param.count = conn_cnt; in cmd_cap_commander_broadcast_reception_start()
678 shell_print(sh, "Starting broadcast reception on %zu connection(s)", param.count); in cmd_cap_commander_broadcast_reception_start()
680 err = bt_cap_commander_broadcast_reception_start(&param); in cmd_cap_commander_broadcast_reception_start()
696 struct bt_cap_commander_broadcast_reception_stop_param param = { in cmd_cap_commander_broadcast_reception_stop() local
698 .param = member_params, in cmd_cap_commander_broadcast_reception_stop()
751 param.count++; in cmd_cap_commander_broadcast_reception_stop()
754 shell_print(sh, "Stopping broadcast reception on %zu connection(s)", param.count); in cmd_cap_commander_broadcast_reception_stop()
756 err = bt_cap_commander_broadcast_reception_stop(&param); in cmd_cap_commander_broadcast_reception_stop()
772 struct bt_cap_commander_distribute_broadcast_code_param param = { in cmd_cap_commander_distribute_broadcast_code() local
774 .param = member_params, in cmd_cap_commander_distribute_broadcast_code()
830 param.count++; in cmd_cap_commander_distribute_broadcast_code()
833 memcpy(param.broadcast_code, argv[cap_argc], strlen(argv[cap_argc])); in cmd_cap_commander_distribute_broadcast_code()
834 shell_print(sh, "Distributing broadcast code on %zu connection(s)", param.count); in cmd_cap_commander_distribute_broadcast_code()
835 err = bt_cap_commander_distribute_broadcast_code(&param); in cmd_cap_commander_distribute_broadcast_code()