Searched refs:jack_list (Results 1 – 5 of 5) sorted by relevance
/external/adhd/cras/src/server/ |
D | cras_alsa_jack.c | 94 struct cras_alsa_jack_list *jack_list; member 140 struct cras_alsa_jack_list *jack_list; member 343 jack->jack_list->change_callback(jack, get_jack_current_state(jack), in jack_state_change_cb() 344 jack->jack_list->callback_data); in jack_state_change_cb() 410 struct cras_alsa_jack_list *jack_list, in gpio_jack_match_device() argument 417 if (!jack_list->ucm || !jack->ucm_device) in gpio_jack_match_device() 418 return jack_list->is_first_device; in gpio_jack_match_device() 424 jack_list->ucm, jack->ucm_device, direction); in gpio_jack_match_device() 427 return jack_list->is_first_device; in gpio_jack_match_device() 432 target_dev_idx, jack_list->card_name, jack_list->device_index); in gpio_jack_match_device() [all …]
|
D | cras_alsa_jack.h | 64 struct cras_alsa_jack_list *jack_list); 75 struct cras_alsa_jack_list *jack_list, struct ucm_section *ucm_section, 82 void cras_alsa_jack_list_destroy(struct cras_alsa_jack_list *jack_list); 88 int cras_alsa_jack_list_has_hctl_jacks(struct cras_alsa_jack_list *jack_list); 112 void cras_alsa_jack_list_report(const struct cras_alsa_jack_list *jack_list);
|
D | cras_alsa_io.c | 155 struct cras_alsa_jack_list *jack_list; member 2165 aio->jack_list = cras_alsa_jack_list_create( in alsa_iodev_create() 2171 if (!aio->jack_list) in alsa_iodev_create() 2219 err = cras_alsa_jack_list_find_jacks_by_name_matching(aio->jack_list); in alsa_iodev_legacy_complete_init() 2226 cras_alsa_jack_list_report(aio->jack_list); in alsa_iodev_legacy_complete_init() 2327 rc = cras_alsa_jack_list_add_jack_for_section(aio->jack_list, section, in alsa_iodev_ucm_add_nodes_and_jacks() 2356 cras_alsa_jack_list_report(aio->jack_list); in alsa_iodev_ucm_complete_init() 2402 cras_alsa_jack_list_destroy(aio->jack_list); in alsa_iodev_destroy() 2417 return cras_alsa_jack_list_has_hctl_jacks(aio->jack_list); in alsa_iodev_has_hctl_jacks()
|
/external/adhd/cras/src/tests/ |
D | alsa_jack_unittest.cc | 160 struct cras_alsa_jack_list* jack_list; in TEST() local 162 jack_list = cras_alsa_jack_list_create(0, "c1", 0, 1, fake_mixer, NULL, NULL, in TEST() 165 ASSERT_NE(static_cast<struct cras_alsa_jack_list*>(NULL), jack_list); in TEST() 166 EXPECT_EQ(0, cras_alsa_jack_list_find_jacks_by_name_matching(jack_list)); in TEST() 172 cras_alsa_jack_list_destroy(jack_list); in TEST() 176 struct cras_alsa_jack_list* jack_list; in TEST() local 180 jack_list = cras_alsa_jack_list_create(0, "c1", 0, 1, fake_mixer, NULL, in TEST() 183 ASSERT_NE(static_cast<struct cras_alsa_jack_list*>(NULL), jack_list); in TEST() 184 EXPECT_EQ(0, cras_alsa_jack_list_find_jacks_by_name_matching(jack_list)); in TEST() 192 cras_alsa_jack_list_destroy(jack_list); in TEST() [all …]
|
D | alsa_io_unittest.cc | 2680 struct cras_alsa_jack_list* jack_list) { in cras_alsa_jack_list_find_jacks_by_name_matching() argument 2686 struct cras_alsa_jack_list* jack_list, in cras_alsa_jack_list_add_jack_for_section() argument 2695 void cras_alsa_jack_list_destroy(struct cras_alsa_jack_list* jack_list) { in cras_alsa_jack_list_destroy() argument 2699 int cras_alsa_jack_list_has_hctl_jacks(struct cras_alsa_jack_list* jack_list) { in cras_alsa_jack_list_has_hctl_jacks() argument 2703 void cras_alsa_jack_list_report(const struct cras_alsa_jack_list* jack_list) {} in cras_alsa_jack_list_report() argument
|