Lines Matching full:pcm
3 // kselftest for the ALSA PCM API
9 // every PCM device it can find. This may conflict with other system
129 pcm_config = conf_get_subtree(card_config, "pcm", NULL); in missing_devices()
228 sprintf(key, "pcm.%d.%s", dev, snd_pcm_stream_name(stream)); in find_pcms()
231 ksft_print_msg("skipping pcm %d.%d.%s\n", card, dev, snd_pcm_stream_name(stream)); in find_pcms()
249 sprintf(key, "pcm.%d.%d.%s", dev, subdev, snd_pcm_stream_name(stream)); in find_pcms()
251 ksft_print_msg("skipping pcm %d.%d.%d.%s\n", card, dev, in find_pcms()
353 snprintf(msg, sizeof(msg), "Failed to get pcm handle: %s", snd_strerror(err)); in test_pcm_time()
554 void run_time_tests(struct pcm_data *pcm, enum test_class class, in run_time_tests() argument
574 test_pcm_time(pcm, class, test_name, pcm_cfg); in run_time_tests()
583 struct pcm_data *pcm; in card_thread() local
585 for (pcm = pcm_list; pcm != NULL; pcm = pcm->next) { in card_thread()
586 if (pcm->card != card->card) in card_thread()
589 run_time_tests(pcm, TEST_CLASS_DEFAULT, default_pcm_config); in card_thread()
590 run_time_tests(pcm, TEST_CLASS_SYSTEM, pcm->pcm_config); in card_thread()
600 struct pcm_data *pcm; in main() local
608 global_config = conf_load_from_file("pcm-test.conf"); in main()
609 default_pcm_config = conf_get_subtree(global_config, "pcm", NULL); in main()
611 ksft_exit_fail_msg("default pcm test configuration (pcm compound) is missing\n"); in main()
623 for (pcm = pcm_list; pcm != NULL; pcm = pcm->next) { in main()
625 cfg = pcm->pcm_config; in main()
641 for (pcm = pcm_missing; pcm != NULL; pcm = pcm->next) { in main()
643 pcm->card_name, pcm->device, pcm->subdevice, in main()
644 snd_pcm_stream_name(pcm->stream)); in main()