Lines Matching defs:cards
82 struct listnode cards;
143 list_add_tail(&sndmonitor.cards, &s->node);
149 const char* cards = "/proc/asound/cards";
162 if ((fp = fopen(cards, "r")) == NULL) {
163 ALOGE("Cannot open %s file to get list of sound cards", cards);
175 // the output format of /proc/asound/cards
237 while (!list_empty(&sndmonitor.cards)) {
238 struct listnode * n = list_head(&sndmonitor.cards);
417 list_for_each(node, &sndmonitor.cards) {
469 list_for_each(node, &sndmonitor.cards) {
591 list_init(&sndmonitor.cards);