Lines Matching refs:index

213 	unsigned long index;  in cmd_micp_mic_dev_aics_deactivate()  local
216 index = shell_strtoul(argv[1], 0, &result); in cmd_micp_mic_dev_aics_deactivate()
223 if (index >= micp_included.aics_cnt) { in cmd_micp_mic_dev_aics_deactivate()
225 micp_included.aics_cnt, index); in cmd_micp_mic_dev_aics_deactivate()
230 result = bt_aics_deactivate(micp_included.aics[index]); in cmd_micp_mic_dev_aics_deactivate()
241 unsigned long index; in cmd_micp_mic_dev_aics_activate() local
244 index = shell_strtoul(argv[1], 0, &result); in cmd_micp_mic_dev_aics_activate()
251 if (index >= micp_included.aics_cnt) { in cmd_micp_mic_dev_aics_activate()
253 micp_included.aics_cnt, index); in cmd_micp_mic_dev_aics_activate()
258 result = bt_aics_activate(micp_included.aics[index]); in cmd_micp_mic_dev_aics_activate()
269 unsigned long index; in cmd_micp_mic_dev_aics_input_state_get() local
272 index = shell_strtoul(argv[1], 0, &result); in cmd_micp_mic_dev_aics_input_state_get()
279 if (index >= micp_included.aics_cnt) { in cmd_micp_mic_dev_aics_input_state_get()
281 micp_included.aics_cnt, index); in cmd_micp_mic_dev_aics_input_state_get()
286 result = bt_aics_state_get(micp_included.aics[index]); in cmd_micp_mic_dev_aics_input_state_get()
297 unsigned long index; in cmd_micp_mic_dev_aics_gain_setting_get() local
300 index = shell_strtoul(argv[1], 0, &result); in cmd_micp_mic_dev_aics_gain_setting_get()
307 if (index >= micp_included.aics_cnt) { in cmd_micp_mic_dev_aics_gain_setting_get()
309 micp_included.aics_cnt, index); in cmd_micp_mic_dev_aics_gain_setting_get()
314 result = bt_aics_gain_setting_get(micp_included.aics[index]); in cmd_micp_mic_dev_aics_gain_setting_get()
325 unsigned long index; in cmd_micp_mic_dev_aics_input_type_get() local
328 index = shell_strtoul(argv[1], 0, &result); in cmd_micp_mic_dev_aics_input_type_get()
335 if (index >= micp_included.aics_cnt) { in cmd_micp_mic_dev_aics_input_type_get()
337 micp_included.aics_cnt, index); in cmd_micp_mic_dev_aics_input_type_get()
342 result = bt_aics_type_get(micp_included.aics[index]); in cmd_micp_mic_dev_aics_input_type_get()
353 unsigned long index; in cmd_micp_mic_dev_aics_input_status_get() local
356 index = shell_strtoul(argv[1], 0, &result); in cmd_micp_mic_dev_aics_input_status_get()
363 if (index >= micp_included.aics_cnt) { in cmd_micp_mic_dev_aics_input_status_get()
365 micp_included.aics_cnt, index); in cmd_micp_mic_dev_aics_input_status_get()
370 result = bt_aics_status_get(micp_included.aics[index]); in cmd_micp_mic_dev_aics_input_status_get()
381 unsigned long index; in cmd_micp_mic_dev_aics_input_unmute() local
384 index = shell_strtoul(argv[1], 0, &result); in cmd_micp_mic_dev_aics_input_unmute()
391 if (index >= micp_included.aics_cnt) { in cmd_micp_mic_dev_aics_input_unmute()
393 micp_included.aics_cnt, index); in cmd_micp_mic_dev_aics_input_unmute()
398 result = bt_aics_unmute(micp_included.aics[index]); in cmd_micp_mic_dev_aics_input_unmute()
409 unsigned long index; in cmd_micp_mic_dev_aics_input_mute() local
412 index = shell_strtoul(argv[1], 0, &result); in cmd_micp_mic_dev_aics_input_mute()
419 if (index >= micp_included.aics_cnt) { in cmd_micp_mic_dev_aics_input_mute()
421 micp_included.aics_cnt, index); in cmd_micp_mic_dev_aics_input_mute()
426 result = bt_aics_mute(micp_included.aics[index]); in cmd_micp_mic_dev_aics_input_mute()
437 unsigned long index; in cmd_micp_mic_dev_aics_manual_input_gain_set() local
440 index = shell_strtoul(argv[1], 0, &result); in cmd_micp_mic_dev_aics_manual_input_gain_set()
447 if (index >= micp_included.aics_cnt) { in cmd_micp_mic_dev_aics_manual_input_gain_set()
449 micp_included.aics_cnt, index); in cmd_micp_mic_dev_aics_manual_input_gain_set()
454 result = bt_aics_manual_gain_set(micp_included.aics[index]); in cmd_micp_mic_dev_aics_manual_input_gain_set()
466 unsigned long index; in cmd_micp_mic_dev_aics_automatic_input_gain_set() local
469 index = shell_strtoul(argv[1], 0, &result); in cmd_micp_mic_dev_aics_automatic_input_gain_set()
476 if (index >= micp_included.aics_cnt) { in cmd_micp_mic_dev_aics_automatic_input_gain_set()
478 micp_included.aics_cnt, index); in cmd_micp_mic_dev_aics_automatic_input_gain_set()
483 result = bt_aics_automatic_gain_set(micp_included.aics[index]); in cmd_micp_mic_dev_aics_automatic_input_gain_set()
494 unsigned long index; in cmd_micp_mic_dev_aics_gain_set() local
498 index = shell_strtoul(argv[1], 0, &result); in cmd_micp_mic_dev_aics_gain_set()
505 if (index >= micp_included.aics_cnt) { in cmd_micp_mic_dev_aics_gain_set()
507 micp_included.aics_cnt, index); in cmd_micp_mic_dev_aics_gain_set()
512 if (index >= micp_included.aics_cnt) { in cmd_micp_mic_dev_aics_gain_set()
514 micp_included.aics_cnt, index); in cmd_micp_mic_dev_aics_gain_set()
533 result = bt_aics_gain_set(micp_included.aics[index], gain); in cmd_micp_mic_dev_aics_gain_set()
544 unsigned long index; in cmd_micp_mic_dev_aics_input_description_get() local
547 index = shell_strtoul(argv[1], 0, &result); in cmd_micp_mic_dev_aics_input_description_get()
554 if (index >= micp_included.aics_cnt) { in cmd_micp_mic_dev_aics_input_description_get()
556 micp_included.aics_cnt, index); in cmd_micp_mic_dev_aics_input_description_get()
561 result = bt_aics_description_get(micp_included.aics[index]); in cmd_micp_mic_dev_aics_input_description_get()
572 unsigned long index; in cmd_micp_mic_dev_aics_input_description_set() local
575 index = shell_strtoul(argv[1], 0, &result); in cmd_micp_mic_dev_aics_input_description_set()
582 if (index >= micp_included.aics_cnt) { in cmd_micp_mic_dev_aics_input_description_set()
584 micp_included.aics_cnt, index); in cmd_micp_mic_dev_aics_input_description_set()
589 result = bt_aics_description_set(micp_included.aics[index], argv[2]); in cmd_micp_mic_dev_aics_input_description_set()