Home
last modified time | relevance | path

Searched refs:alsa_card (Results 1 – 4 of 4) sorted by relevance

/external/adhd/cras/src/server/
Dcras_alsa_card.c80 struct cras_alsa_card *alsa_card, struct cras_alsa_card_info *info, in create_iodev_for_device() argument
91 DL_FOREACH (alsa_card->iodevs, node) { in create_iodev_for_device()
109 snprintf(pcm_name, MAX_ALSA_PCM_NAME_LENGTH, "%s,%u", alsa_card->name, in create_iodev_for_device()
116 first, alsa_card->mixer, alsa_card->config, in create_iodev_for_device()
117 alsa_card->ucm, alsa_card->hctl, direction, in create_iodev_for_device()
130 DL_APPEND(alsa_card->iodevs, new_dev); in create_iodev_for_device()
136 static int card_has_hctl_jack(struct cras_alsa_card *alsa_card) in card_has_hctl_jack() argument
141 DL_FOREACH (alsa_card->iodevs, node) { in card_has_hctl_jack()
199 struct cras_alsa_card *alsa_card, in add_controls_and_iodevs_by_matching() argument
210 if (alsa_card->ucm) { in add_controls_and_iodevs_by_matching()
[all …]
Dcras_alsa_card.h42 void cras_alsa_card_destroy(struct cras_alsa_card *alsa_card);
49 size_t cras_alsa_card_get_index(const struct cras_alsa_card *alsa_card);
Dcras_system_state.c450 struct cras_alsa_card *alsa_card; in cras_system_add_alsa_card() local
462 alsa_card = in cras_system_add_alsa_card()
466 if (alsa_card == NULL) in cras_system_add_alsa_card()
471 card->card = alsa_card; in cras_system_add_alsa_card()
/external/adhd/cras/src/tests/
Dsystem_state_unittest.cc477 void cras_alsa_card_destroy(struct cras_alsa_card* alsa_card) { in cras_alsa_card_destroy() argument
481 size_t cras_alsa_card_get_index(const struct cras_alsa_card* alsa_card) { in cras_alsa_card_get_index() argument