Lines Matching refs:index

309 	unsigned long index;  in cmd_micp_mic_ctlr_aics_input_state_get()  local
312 index = shell_strtoul(argv[1], 0, &result); in cmd_micp_mic_ctlr_aics_input_state_get()
319 if (index >= micp_included.aics_cnt) { in cmd_micp_mic_ctlr_aics_input_state_get()
321 micp_included.aics_cnt, index); in cmd_micp_mic_ctlr_aics_input_state_get()
330 result = bt_aics_state_get(micp_included.aics[index]); in cmd_micp_mic_ctlr_aics_input_state_get()
341 unsigned long index; in cmd_micp_mic_ctlr_aics_gain_setting_get() local
344 index = shell_strtoul(argv[1], 0, &result); in cmd_micp_mic_ctlr_aics_gain_setting_get()
351 if (index >= micp_included.aics_cnt) { in cmd_micp_mic_ctlr_aics_gain_setting_get()
353 micp_included.aics_cnt, index); in cmd_micp_mic_ctlr_aics_gain_setting_get()
362 result = bt_aics_gain_setting_get(micp_included.aics[index]); in cmd_micp_mic_ctlr_aics_gain_setting_get()
373 unsigned long index; in cmd_micp_mic_ctlr_aics_input_type_get() local
376 index = shell_strtoul(argv[1], 0, &result); in cmd_micp_mic_ctlr_aics_input_type_get()
383 if (index >= micp_included.aics_cnt) { in cmd_micp_mic_ctlr_aics_input_type_get()
385 micp_included.aics_cnt, index); in cmd_micp_mic_ctlr_aics_input_type_get()
394 result = bt_aics_type_get(micp_included.aics[index]); in cmd_micp_mic_ctlr_aics_input_type_get()
405 unsigned long index; in cmd_micp_mic_ctlr_aics_input_status_get() local
408 index = shell_strtoul(argv[1], 0, &result); in cmd_micp_mic_ctlr_aics_input_status_get()
415 if (index >= micp_included.aics_cnt) { in cmd_micp_mic_ctlr_aics_input_status_get()
417 micp_included.aics_cnt, index); in cmd_micp_mic_ctlr_aics_input_status_get()
426 result = bt_aics_status_get(micp_included.aics[index]); in cmd_micp_mic_ctlr_aics_input_status_get()
437 unsigned long index; in cmd_micp_mic_ctlr_aics_input_unmute() local
440 index = shell_strtoul(argv[1], 0, &result); in cmd_micp_mic_ctlr_aics_input_unmute()
447 if (index >= micp_included.aics_cnt) { in cmd_micp_mic_ctlr_aics_input_unmute()
449 micp_included.aics_cnt, index); in cmd_micp_mic_ctlr_aics_input_unmute()
454 result = bt_aics_unmute(micp_included.aics[index]); in cmd_micp_mic_ctlr_aics_input_unmute()
465 unsigned long index; in cmd_micp_mic_ctlr_aics_input_mute() local
468 index = shell_strtoul(argv[1], 0, &result); in cmd_micp_mic_ctlr_aics_input_mute()
475 if (index >= micp_included.aics_cnt) { in cmd_micp_mic_ctlr_aics_input_mute()
477 micp_included.aics_cnt, index); in cmd_micp_mic_ctlr_aics_input_mute()
486 result = bt_aics_mute(micp_included.aics[index]); in cmd_micp_mic_ctlr_aics_input_mute()
497 unsigned long index; in cmd_micp_mic_ctlr_aics_manual_input_gain_set() local
500 index = shell_strtoul(argv[1], 0, &result); in cmd_micp_mic_ctlr_aics_manual_input_gain_set()
507 if (index >= micp_included.aics_cnt) { in cmd_micp_mic_ctlr_aics_manual_input_gain_set()
509 micp_included.aics_cnt, index); in cmd_micp_mic_ctlr_aics_manual_input_gain_set()
518 result = bt_aics_manual_gain_set(micp_included.aics[index]); in cmd_micp_mic_ctlr_aics_manual_input_gain_set()
530 unsigned long index; in cmd_micp_mic_ctlr_aics_automatic_input_gain_set() local
533 index = shell_strtoul(argv[1], 0, &result); in cmd_micp_mic_ctlr_aics_automatic_input_gain_set()
540 if (index >= micp_included.aics_cnt) { in cmd_micp_mic_ctlr_aics_automatic_input_gain_set()
542 micp_included.aics_cnt, index); in cmd_micp_mic_ctlr_aics_automatic_input_gain_set()
551 result = bt_aics_automatic_gain_set(micp_included.aics[index]); in cmd_micp_mic_ctlr_aics_automatic_input_gain_set()
562 unsigned long index; in cmd_micp_mic_ctlr_aics_gain_set() local
566 index = shell_strtoul(argv[1], 0, &result); in cmd_micp_mic_ctlr_aics_gain_set()
573 if (index >= micp_included.aics_cnt) { in cmd_micp_mic_ctlr_aics_gain_set()
575 micp_included.aics_cnt, index); in cmd_micp_mic_ctlr_aics_gain_set()
598 result = bt_aics_gain_set(micp_included.aics[index], gain); in cmd_micp_mic_ctlr_aics_gain_set()
609 unsigned long index; in cmd_micp_mic_ctlr_aics_input_description_get() local
612 index = shell_strtoul(argv[1], 0, &result); in cmd_micp_mic_ctlr_aics_input_description_get()
619 if (index >= micp_included.aics_cnt) { in cmd_micp_mic_ctlr_aics_input_description_get()
621 micp_included.aics_cnt, index); in cmd_micp_mic_ctlr_aics_input_description_get()
630 result = bt_aics_description_get(micp_included.aics[index]); in cmd_micp_mic_ctlr_aics_input_description_get()
641 unsigned long index; in cmd_micp_mic_ctlr_aics_input_description_set() local
644 index = shell_strtoul(argv[1], 0, &result); in cmd_micp_mic_ctlr_aics_input_description_set()
651 if (index >= micp_included.aics_cnt) { in cmd_micp_mic_ctlr_aics_input_description_set()
653 micp_included.aics_cnt, index); in cmd_micp_mic_ctlr_aics_input_description_set()
662 result = bt_aics_description_set(micp_included.aics[index], argv[2]); in cmd_micp_mic_ctlr_aics_input_description_set()