Home
last modified time | relevance | path

Searched refs:str (Results 1 – 25 of 40) sorted by relevance

12

/sound/pci/lola/
Dlola_pcm.c65 struct lola_stream *str) in lola_stream_clear_pending_irq() argument
67 unsigned int val = lola_dsd_read(chip, str->dsd, STS); in lola_stream_clear_pending_irq()
70 lola_dsd_write(chip, str->dsd, STS, val); in lola_stream_clear_pending_irq()
73 static void lola_stream_start(struct lola *chip, struct lola_stream *str, in lola_stream_start() argument
76 lola_stream_clear_pending_irq(chip, str); in lola_stream_start()
77 lola_dsd_write(chip, str->dsd, CTL, in lola_stream_start()
85 static void lola_stream_stop(struct lola *chip, struct lola_stream *str, in lola_stream_stop() argument
88 lola_dsd_write(chip, str->dsd, CTL, in lola_stream_stop()
93 lola_stream_clear_pending_irq(chip, str); in lola_stream_stop()
96 static void wait_for_srst_clear(struct lola *chip, struct lola_stream *str) in wait_for_srst_clear() argument
[all …]
/sound/isa/sb/
Dsb_common.c109 char *str; in snd_sbdsp_probe() local
137 str = "1.0"; in snd_sbdsp_probe()
142 str = "2.01+"; in snd_sbdsp_probe()
145 str = "2.0"; in snd_sbdsp_probe()
150 str = "Pro"; in snd_sbdsp_probe()
154 str = "16"; in snd_sbdsp_probe()
163 str = "16 (ALS-100)"; in snd_sbdsp_probe()
166 str = "16 (ALS-4000)"; in snd_sbdsp_probe()
169 str = "(DT019X/ALS007)"; in snd_sbdsp_probe()
172 str = "16 (CS5530)"; in snd_sbdsp_probe()
[all …]
/sound/soc/samsung/
Dsmdk_wm8580.c221 char *str; in smdk_audio_init() local
227 str = (char *)smdk_dai[PRI_PLAYBACK].cpu_dai_name; in smdk_audio_init()
228 str[strlen(str) - 1] = '2'; in smdk_audio_init()
229 str = (char *)smdk_dai[PRI_CAPTURE].cpu_dai_name; in smdk_audio_init()
230 str[strlen(str) - 1] = '2'; in smdk_audio_init()
/sound/core/oss/
Dmixer_oss.c967 char str[64]; in snd_mixer_oss_build_test_all() local
974 sprintf(str, "%s Switch", ptr->name); in snd_mixer_oss_build_test_all()
975 err = snd_mixer_oss_build_test(mixer, slot, str, ptr->index, in snd_mixer_oss_build_test_all()
979 sprintf(str, "%s Route", ptr->name); in snd_mixer_oss_build_test_all()
980 err = snd_mixer_oss_build_test(mixer, slot, str, ptr->index, in snd_mixer_oss_build_test_all()
984 sprintf(str, "%s Volume", ptr->name); in snd_mixer_oss_build_test_all()
985 err = snd_mixer_oss_build_test(mixer, slot, str, ptr->index, in snd_mixer_oss_build_test_all()
989 sprintf(str, "%s Playback Switch", ptr->name); in snd_mixer_oss_build_test_all()
990 err = snd_mixer_oss_build_test(mixer, slot, str, ptr->index, in snd_mixer_oss_build_test_all()
994 sprintf(str, "%s Playback Route", ptr->name); in snd_mixer_oss_build_test_all()
[all …]
Dpcm_oss.c2878 char line[128], str[32], task_name[32]; in snd_pcm_oss_proc_write() local
2898 ptr = snd_info_get_str(str, ptr, sizeof(str)); in snd_pcm_oss_proc_write()
2899 template.periods = simple_strtoul(str, NULL, 10); in snd_pcm_oss_proc_write()
2900 ptr = snd_info_get_str(str, ptr, sizeof(str)); in snd_pcm_oss_proc_write()
2901 template.period_size = simple_strtoul(str, NULL, 10); in snd_pcm_oss_proc_write()
2908 ptr = snd_info_get_str(str, ptr, sizeof(str)); in snd_pcm_oss_proc_write()
2909 if (!strcmp(str, "disable")) { in snd_pcm_oss_proc_write()
2911 } else if (!strcmp(str, "direct")) { in snd_pcm_oss_proc_write()
2913 } else if (!strcmp(str, "block")) { in snd_pcm_oss_proc_write()
2915 } else if (!strcmp(str, "non-block")) { in snd_pcm_oss_proc_write()
[all …]
/sound/pci/ymfpci/
Dymfpci.c179 const char *str, *model; in snd_card_ymfpci_probe() local
195 case 0x0004: str = "YMF724"; model = "DS-1"; break; in snd_card_ymfpci_probe()
196 case 0x000d: str = "YMF724F"; model = "DS-1"; break; in snd_card_ymfpci_probe()
197 case 0x000a: str = "YMF740"; model = "DS-1L"; break; in snd_card_ymfpci_probe()
198 case 0x000c: str = "YMF740C"; model = "DS-1L"; break; in snd_card_ymfpci_probe()
199 case 0x0010: str = "YMF744"; model = "DS-1S"; break; in snd_card_ymfpci_probe()
200 case 0x0012: str = "YMF754"; model = "DS-1E"; break; in snd_card_ymfpci_probe()
201 default: model = str = "???"; break; in snd_card_ymfpci_probe()
275 strcpy(card->driver, str); in snd_card_ymfpci_probe()
276 sprintf(card->shortname, "Yamaha %s (%s)", model, str); in snd_card_ymfpci_probe()
/sound/pci/trident/
Dtrident.c82 const char *str; in snd_trident_probe() local
108 str = "TRID4DWAVEDX"; in snd_trident_probe()
111 str = "TRID4DWAVENX"; in snd_trident_probe()
114 str = "SI7018"; in snd_trident_probe()
117 str = "Unknown"; in snd_trident_probe()
119 strcpy(card->driver, str); in snd_trident_probe()
/sound/core/
Dinfo_oss.c73 char *str; in snd_sndstat_show_strings() local
78 str = snd_sndstat_strings[idx][dev]; in snd_sndstat_show_strings()
79 if (str) { in snd_sndstat_show_strings()
84 snd_iprintf(buf, "%i: %s\n", idx, str); in snd_sndstat_show_strings()
Dpcm_memory.c167 char line[64], str[64]; in snd_pcm_lib_preallocate_proc_write() local
176 snd_info_get_str(str, line, sizeof(str)); in snd_pcm_lib_preallocate_proc_write()
177 size = simple_strtoul(str, NULL, 10) * 1024; in snd_pcm_lib_preallocate_proc_write()
Dsound.c82 char *str; in snd_request_other() local
85 case SNDRV_MINOR_SEQUENCER: str = "snd-seq"; break; in snd_request_other()
86 case SNDRV_MINOR_TIMER: str = "snd-timer"; break; in snd_request_other()
89 request_module(str); in snd_request_other()
Dinfo.c42 int snd_info_check_reserved_words(const char *str) in snd_info_check_reserved_words() argument
62 if (!strcmp(*xstr, str)) in snd_info_check_reserved_words()
66 if (!strncmp(str, "card", 4)) in snd_info_check_reserved_words()
592 char str[8]; in snd_info_card_create() local
598 sprintf(str, "card%i", card->number); in snd_info_card_create()
599 if ((entry = snd_info_create_module_entry(card->module, str, NULL)) == NULL) in snd_info_card_create()
Dpcm.c999 const char *str; in show_pcm_class() local
1009 str = "none"; in show_pcm_class()
1011 str = strs[pcm->dev_class]; in show_pcm_class()
1012 return snprintf(buf, PAGE_SIZE, "%s\n", str); in show_pcm_class()
1023 char str[16]; in snd_pcm_dev_register() local
1042 sprintf(str, "pcmC%iD%ip", pcm->card->number, pcm->device); in snd_pcm_dev_register()
1046 sprintf(str, "pcmC%iD%ic", pcm->card->number, pcm->device); in snd_pcm_dev_register()
1060 pcm, str, dev); in snd_pcm_dev_register()
Dcompress_offload.c811 char str[16]; in snd_compress_dev_register() local
818 sprintf(str, "comprC%iD%i", compr->card->number, compr->device); in snd_compress_dev_register()
819 pr_debug("reg %s for device %s, direction %d\n", str, compr->name, in snd_compress_dev_register()
823 compr->device, &snd_compr_file_ops, compr, str); in snd_compress_dev_register()
/sound/oss/
Dvidc_fill.S27 str r4, [r2], #4
41 str r4, [r2], #4
53 str r4, [r2], #4
67 str r4, [r2], #4
80 str r4, [r2], #4
96 str r4, [r2], #4
118 str r0, [r2], #4
Duart6850.c347 static int __init setup_uart6850(char *str) in setup_uart6850() argument
352 str = get_options(str, ARRAY_SIZE(ints), ints); in setup_uart6850()
Dpas2_card.c439 static int __init setup_pas2(char *str) in setup_pas2() argument
444 str = get_options(str, ARRAY_SIZE(ints), ints); in setup_pas2()
Dtrix.c503 static int __init setup_trix (char *str) in setup_trix() argument
508 str = get_options(str, ARRAY_SIZE(ints), ints); in setup_trix()
Duart401.c470 static int __init setup_uart401(char *str) in setup_uart401() argument
475 str = get_options(str, ARRAY_SIZE(ints), ints); in setup_uart401()
Daedsp16.c1356 static int __init setup_aedsp16(char *str) in setup_aedsp16() argument
1361 str = get_options(str, ARRAY_SIZE(ints), ints); in setup_aedsp16()
/sound/core/seq/
Dseq_timer.c268 char str[32]; in snd_seq_timer_open() local
276 sprintf(str, "sequencer queue %i", q->queue); in snd_seq_timer_open()
281 err = snd_timer_open(&t, str, &tmr->alsa_id, q->queue); in snd_seq_timer_open()
291 err = snd_timer_open(&t, str, &tid, q->queue); in snd_seq_timer_open()
/sound/isa/gus/
Dinterwave.c657 char *str; in snd_interwave_probe() local
753 str = "AMD InterWave"; in snd_interwave_probe()
755 str = "Dynasonic 3-D"; in snd_interwave_probe()
757 str = "InterWave STB"; in snd_interwave_probe()
759 strcpy(card->driver, str); in snd_interwave_probe()
760 strcpy(card->shortname, str); in snd_interwave_probe()
762 str, in snd_interwave_probe()
/sound/usb/
Dcard.c321 static void remove_trailing_spaces(char *str) in remove_trailing_spaces() argument
325 if (!*str) in remove_trailing_spaces()
327 for (p = str + strlen(str) - 1; p >= str && isspace(*p); p--) in remove_trailing_spaces()
/sound/pci/hda/
Dhda_hwdep.c424 static void remove_trail_spaces(char *str) in remove_trail_spaces() argument
427 if (!*str) in remove_trail_spaces()
429 p = str + strlen(str) - 1; in remove_trail_spaces()
432 if (p == str) in remove_trail_spaces()
/sound/soc/codecs/
Dwm8958-dsp2.c49 char *str; in wm8958_dsp2_fw() local
131 str = kzalloc(block_len + 1, GFP_KERNEL); in wm8958_dsp2_fw()
132 if (str) { in wm8958_dsp2_fw()
133 memcpy(str, data + 8, block_len); in wm8958_dsp2_fw()
134 dev_info(codec->dev, "%s: %s\n", name, str); in wm8958_dsp2_fw()
135 kfree(str); in wm8958_dsp2_fw()
/sound/core/seq/oss/
Dseq_oss_init.c508 static char *str[] = { in filemode_str() local
511 return str[val & SNDRV_SEQ_OSS_FILE_ACMODE]; in filemode_str()

12