Home
last modified time | relevance | path

Searched refs:target_device_name (Results 1 – 2 of 2) sorted by relevance

/external/adhd/cras/src/server/
Dcras_alsa_ucm.c788 static int get_device_index_from_target(const char *target_device_name) in get_device_index_from_target() argument
791 const char *pos = target_device_name; in get_device_index_from_target()
829 const char *target_device_name; in ucm_get_sections() local
835 target_device_name = in ucm_get_sections()
837 if (target_device_name) in ucm_get_sections()
840 target_device_name = in ucm_get_sections()
843 if (target_device_name) in ucm_get_sections()
846 if (target_device_name) { in ucm_get_sections()
848 target_device_name); in ucm_get_sections()
849 free((void *)target_device_name); in ucm_get_sections()
Dcras_alsa_jack.c419 const char* target_device_name = NULL; in gpio_jack_match_device() local
429 target_device_name = ucm_get_device_name_for_dev( in gpio_jack_match_device()
432 if (!target_device_name) in gpio_jack_match_device()
437 target_device_name, card_name, jack_list->device_index); in gpio_jack_match_device()
447 rc = !strcmp(current_device_name, target_device_name); in gpio_jack_match_device()
448 free((void*)target_device_name); in gpio_jack_match_device()