Home
last modified time | relevance | path

Searched refs:ucm_section (Results 1 – 16 of 16) sorted by relevance

/external/adhd/cras/src/server/
Dcras_alsa_ucm_section.c14 static void ucm_section_free(struct ucm_section *section) { in ucm_section_free()
27 void ucm_section_free_list(struct ucm_section *sections) in ucm_section_free_list()
29 struct ucm_section *section; in ucm_section_free_list()
36 struct ucm_section *ucm_section_create(const char *name, in ucm_section_create()
42 struct ucm_section *section_list = NULL; in ucm_section_create()
43 struct ucm_section *section; in ucm_section_create()
48 section = (struct ucm_section *) in ucm_section_create()
49 calloc(1, sizeof(struct ucm_section)); in ucm_section_create()
81 int ucm_section_set_mixer_name(struct ucm_section *section, in ucm_section_set_mixer_name()
95 int ucm_section_add_coupled(struct ucm_section *section, in ucm_section_add_coupled()
[all …]
Dcras_alsa_ucm_section.h17 struct ucm_section { struct
27 struct ucm_section *prev, *next; argument
42 struct ucm_section *ucm_section_create(const char *name,
57 int ucm_section_set_mixer_name(struct ucm_section *section,
71 int ucm_section_add_coupled(struct ucm_section *section,
84 int ucm_section_concat_coupled(struct ucm_section *section,
92 void ucm_section_free_list(struct ucm_section *sections);
99 void ucm_section_dump(struct ucm_section *section);
Dcras_alsa_jack.c142 struct ucm_section *section;
609 struct ucm_section *section = data->section; in open_and_monitor_gpio_with_section()
765 struct ucm_section *section, in find_gpio_jacks()
1009 struct ucm_section *section, in find_hctl_jack_for_section()
1080 struct ucm_section *ucm_section, in cras_alsa_jack_list_add_jack_for_section() argument
1085 if (!ucm_section) in cras_alsa_jack_list_add_jack_for_section()
1088 if (!ucm_section->jack_name) { in cras_alsa_jack_list_add_jack_for_section()
1093 if (!ucm_section->jack_type) { in cras_alsa_jack_list_add_jack_for_section()
1096 ucm_section->jack_name, ucm_section->name); in cras_alsa_jack_list_add_jack_for_section()
1100 if (!strcmp(ucm_section->jack_type, "hctl")) { in cras_alsa_jack_list_add_jack_for_section()
[all …]
Dcras_alsa_mixer.h24 struct ucm_section;
46 struct ucm_section *section);
204 const struct ucm_section *section);
Dcras_alsa_io.h17 struct ucm_section;
74 struct ucm_section *section);
Dcras_alsa_jack.h81 struct ucm_section *ucm_section,
Dcras_alsa_ucm.h315 struct ucm_section *ucm_get_sections(struct cras_use_case_mgr *mgr);
Dcras_alsa_card.c331 struct ucm_section *section; in add_controls_and_iodevs_with_ucm()
332 struct ucm_section *ucm_sections; in add_controls_and_iodevs_with_ucm()
Dcras_alsa_ucm.c803 struct ucm_section *ucm_get_sections(struct cras_use_case_mgr *mgr) in ucm_get_sections()
805 struct ucm_section *sections = NULL; in ucm_get_sections()
806 struct ucm_section *dev_sec; in ucm_get_sections()
Dcras_alsa_mixer.c862 struct ucm_section *section) in cras_alsa_mixer_add_controls_in_section()
1132 const struct ucm_section *section) in cras_alsa_mixer_get_control_for_section()
Dcras_alsa_io.c2180 struct ucm_section *section) in alsa_iodev_ucm_add_nodes_and_jacks()
/external/adhd/cras/src/tests/
Dalsa_jack_unittest.cc258 struct ucm_section *ucm_section, in run_test_with_section() argument
282 cras_alsa_jack_list_add_jack_for_section(jack_list, ucm_section, &jack)); in run_test_with_section()
820 struct ucm_section *section; in TEST()
862 struct ucm_section *section; in TEST()
907 struct ucm_section *section; in TEST()
935 struct ucm_section *section; in TEST()
1079 struct ucm_section *section) in cras_alsa_mixer_get_control_for_section()
Dalsa_card_unittest.cc91 static struct ucm_section *ucm_get_sections_return_value;
713 struct ucm_section *GenerateUcmSections (void) { in GenerateUcmSections()
714 struct ucm_section *sections = NULL; in GenerateUcmSections()
715 struct ucm_section *section; in GenerateUcmSections()
758 ASSERT_NE(ucm_get_sections_return_value, (struct ucm_section *)NULL); in TEST()
797 ASSERT_NE(ucm_get_sections_return_value, (struct ucm_section *)NULL); in TEST()
913 struct ucm_section *section) { in alsa_iodev_ucm_add_nodes_and_jacks()
1107 struct ucm_section *ucm_get_sections(struct cras_use_case_mgr *mgr) in ucm_get_sections()
1121 struct ucm_section *section) in cras_alsa_mixer_add_controls_in_section()
Dalsa_mixer_unittest.cc1363 struct ucm_section *sections = NULL; in SetUp()
1364 struct ucm_section *section; in SetUp()
1399 ASSERT_NE(sections, (struct ucm_section *)NULL); in SetUp()
1436 ASSERT_NE((struct ucm_section *)NULL, section->next); in SetUp()
1439 ASSERT_NE((struct ucm_section *)NULL, section->next); in SetUp()
1442 ASSERT_NE((struct ucm_section *)NULL, section->next); in SetUp()
1445 ASSERT_NE((struct ucm_section *)NULL, section->next); in SetUp()
1448 ASSERT_NE((struct ucm_section *)NULL, section->next); in SetUp()
1451 EXPECT_EQ(section->next, (struct ucm_section*)NULL); in SetUp()
1478 struct ucm_section *sections_;
[all …]
Dalsa_ucm_unittest.cc1104 struct ucm_section *section_list = NULL; in TEST()
1105 struct ucm_section *section; in TEST()
1121 EXPECT_EQ(reinterpret_cast<struct ucm_section*>(NULL), section); in TEST()
1124 EXPECT_NE(reinterpret_cast<struct ucm_section*>(NULL), section); in TEST()
1175 struct ucm_section* sections; in TEST()
1176 struct ucm_section* section; in TEST()
1245 ASSERT_NE(sections, (struct ucm_section*)NULL); in TEST()
1327 struct ucm_section* sections; in TEST()
1356 struct ucm_section* sections; in TEST()
Dalsa_io_unittest.cc1088 struct ucm_section *section; in TEST()
1144 struct ucm_section *section; in TEST()
1234 struct ucm_section *section; in TEST()
1276 struct ucm_section *section; in TEST()
1321 struct ucm_section *section; in TEST()
1408 struct ucm_section *section; in TEST()
1450 struct ucm_section *section; in TEST()
2442 const struct ucm_section *section) in cras_alsa_mixer_get_control_for_section()
2632 struct ucm_section *ucm_section, in cras_alsa_jack_list_add_jack_for_section() argument