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 141 struct cras_alsa_jack_list *jack_list; member 348 jack->jack_list->change_callback(jack, in jack_state_change_cb() 350 jack->jack_list->callback_data); in jack_state_change_cb() 415 struct cras_alsa_jack_list* jack_list, in gpio_jack_match_device() argument 425 if (!jack_list->ucm || !jack->ucm_device) in gpio_jack_match_device() 426 return jack_list->is_first_device; in gpio_jack_match_device() 430 jack_list->ucm, jack->ucm_device, direction); in gpio_jack_match_device() 433 return jack_list->is_first_device; in gpio_jack_match_device() 437 target_device_name, card_name, jack_list->device_index); in gpio_jack_match_device() [all …]
|
D | cras_alsa_jack.h | 69 struct cras_alsa_jack_list *jack_list); 80 struct cras_alsa_jack_list *jack_list, 88 void cras_alsa_jack_list_destroy(struct cras_alsa_jack_list *jack_list); 94 int cras_alsa_jack_list_has_hctl_jacks(struct cras_alsa_jack_list *jack_list); 118 void cras_alsa_jack_list_report(const struct cras_alsa_jack_list *jack_list);
|
D | cras_alsa_io.c | 147 struct cras_alsa_jack_list *jack_list; member 2057 aio->jack_list = in alsa_iodev_create() 2071 if (!aio->jack_list) in alsa_iodev_create() 2119 err = cras_alsa_jack_list_find_jacks_by_name_matching(aio->jack_list); in alsa_iodev_legacy_complete_init() 2126 cras_alsa_jack_list_report(aio->jack_list); in alsa_iodev_legacy_complete_init() 2218 aio->jack_list, section, &jack); in alsa_iodev_ucm_add_nodes_and_jacks() 2245 cras_alsa_jack_list_report(aio->jack_list); in alsa_iodev_ucm_complete_init() 2271 cras_alsa_jack_list_destroy(aio->jack_list); in alsa_iodev_destroy() 2297 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 | 162 struct cras_alsa_jack_list *jack_list; in TEST() local 164 jack_list = cras_alsa_jack_list_create(0, "c1", 0, 1, in TEST() 170 ASSERT_NE(static_cast<struct cras_alsa_jack_list *>(NULL), jack_list); in TEST() 171 EXPECT_EQ(0, cras_alsa_jack_list_find_jacks_by_name_matching(jack_list)); in TEST() 177 cras_alsa_jack_list_destroy(jack_list); in TEST() 181 struct cras_alsa_jack_list *jack_list; in TEST() local 185 jack_list = cras_alsa_jack_list_create(0, "c1", 0, 1, in TEST() 191 ASSERT_NE(static_cast<struct cras_alsa_jack_list *>(NULL), jack_list); in TEST() 192 EXPECT_EQ(0, cras_alsa_jack_list_find_jacks_by_name_matching(jack_list)); in TEST() 200 cras_alsa_jack_list_destroy(jack_list); in TEST() [all …]
|
D | alsa_io_unittest.cc | 2624 struct cras_alsa_jack_list *jack_list) in cras_alsa_jack_list_find_jacks_by_name_matching() argument 2631 struct cras_alsa_jack_list *jack_list, in cras_alsa_jack_list_add_jack_for_section() argument 2641 void cras_alsa_jack_list_destroy(struct cras_alsa_jack_list *jack_list) in cras_alsa_jack_list_destroy() argument 2646 int cras_alsa_jack_list_has_hctl_jacks(struct cras_alsa_jack_list *jack_list) in cras_alsa_jack_list_has_hctl_jacks() argument 2651 void cras_alsa_jack_list_report(const struct cras_alsa_jack_list *jack_list) in cras_alsa_jack_list_report() argument
|