/sound/pci/lola/ |
D | lola_pcm.c | 52 struct lola_stream *str) in lola_stream_clear_pending_irq() argument 54 unsigned int val = lola_dsd_read(chip, str->dsd, STS); in lola_stream_clear_pending_irq() 57 lola_dsd_write(chip, str->dsd, STS, val); in lola_stream_clear_pending_irq() 60 static void lola_stream_start(struct lola *chip, struct lola_stream *str, in lola_stream_start() argument 63 lola_stream_clear_pending_irq(chip, str); in lola_stream_start() 64 lola_dsd_write(chip, str->dsd, CTL, in lola_stream_start() 72 static void lola_stream_stop(struct lola *chip, struct lola_stream *str, in lola_stream_stop() argument 75 lola_dsd_write(chip, str->dsd, CTL, in lola_stream_stop() 80 lola_stream_clear_pending_irq(chip, str); in lola_stream_stop() 83 static void wait_for_srst_clear(struct lola *chip, struct lola_stream *str) in wait_for_srst_clear() argument [all …]
|
/sound/xen/ |
D | xen_snd_front_cfg.c | 294 char *str = NULL; in cfg_get_stream_type() local 306 str = xenbus_read(XBT_NIL, stream_path, XENSND_FIELD_TYPE, NULL); in cfg_get_stream_type() 307 if (IS_ERR(str)) { in cfg_get_stream_type() 308 ret = PTR_ERR(str); in cfg_get_stream_type() 309 str = NULL; in cfg_get_stream_type() 313 if (!strncasecmp(str, XENSND_STREAM_TYPE_PLAYBACK, in cfg_get_stream_type() 316 } else if (!strncasecmp(str, XENSND_STREAM_TYPE_CAPTURE, in cfg_get_stream_type() 327 kfree(str); in cfg_get_stream_type() 336 char *str = NULL; in cfg_stream() local 348 str = xenbus_read(XBT_NIL, stream_path, XENSND_FIELD_TYPE, NULL); in cfg_stream() [all …]
|
/sound/isa/sb/ |
D | sb_common.c | 95 char *str; in snd_sbdsp_probe() local 123 str = "1.0"; in snd_sbdsp_probe() 128 str = "2.01+"; in snd_sbdsp_probe() 131 str = "2.0"; in snd_sbdsp_probe() 136 str = "Pro"; in snd_sbdsp_probe() 140 str = "16"; in snd_sbdsp_probe() 149 str = "16 (ALS-100)"; in snd_sbdsp_probe() 152 str = "16 (ALS-4000)"; in snd_sbdsp_probe() 155 str = "(DT019X/ALS007)"; in snd_sbdsp_probe() 158 str = "16 (CS5530)"; in snd_sbdsp_probe() [all …]
|
/sound/firewire/motu/ |
D | motu-midi.c | 86 struct snd_rawmidi_str *str) in set_midi_substream_names() argument 90 list_for_each_entry(subs, &str->substreams, list) { in set_midi_substream_names() 109 struct snd_rawmidi_str *str; in snd_motu_create_midi_devices() local 127 str = &rmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT]; in snd_motu_create_midi_devices() 128 set_midi_substream_names(motu, str); in snd_motu_create_midi_devices() 132 str = &rmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT]; in snd_motu_create_midi_devices() 133 set_midi_substream_names(motu, str); in snd_motu_create_midi_devices()
|
/sound/firewire/fireworks/ |
D | fireworks_midi.c | 82 struct snd_rawmidi_str *str) in set_midi_substream_names() argument 86 list_for_each_entry(subs, &str->substreams, list) { in set_midi_substream_names() 105 struct snd_rawmidi_str *str; in snd_efw_create_midi_devices() local 125 str = &rmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT]; in snd_efw_create_midi_devices() 127 set_midi_substream_names(efw, str); in snd_efw_create_midi_devices() 136 str = &rmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT]; in snd_efw_create_midi_devices() 138 set_midi_substream_names(efw, str); in snd_efw_create_midi_devices()
|
/sound/firewire/bebob/ |
D | bebob_midi.c | 82 struct snd_rawmidi_str *str) in set_midi_substream_names() argument 86 list_for_each_entry(subs, &str->substreams, list) { in set_midi_substream_names() 106 struct snd_rawmidi_str *str; in snd_bebob_create_midi_devices() local 126 str = &rmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT]; in snd_bebob_create_midi_devices() 128 set_midi_substream_names(bebob, str); in snd_bebob_create_midi_devices() 137 str = &rmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT]; in snd_bebob_create_midi_devices() 139 set_midi_substream_names(bebob, str); in snd_bebob_create_midi_devices()
|
/sound/pci/trident/ |
D | trident.c | 67 const char *str; in snd_trident_probe() local 94 str = "TRID4DWAVEDX"; in snd_trident_probe() 97 str = "TRID4DWAVENX"; in snd_trident_probe() 100 str = "SI7018"; in snd_trident_probe() 103 str = "Unknown"; in snd_trident_probe() 105 strcpy(card->driver, str); in snd_trident_probe() 111 strcat(card->shortname, str); in snd_trident_probe()
|
/sound/firewire/dice/ |
D | dice-midi.c | 86 struct snd_rawmidi_str *str) in set_midi_substream_names() argument 90 list_for_each_entry(subs, &str->substreams, list) { in set_midi_substream_names() 109 struct snd_rawmidi_str *str; in snd_dice_create_midi() local 141 str = &rmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT]; in snd_dice_create_midi() 143 set_midi_substream_names(dice, str); in snd_dice_create_midi() 152 str = &rmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT]; in snd_dice_create_midi() 154 set_midi_substream_names(dice, str); in snd_dice_create_midi()
|
/sound/firewire/oxfw/ |
D | oxfw-midi.c | 127 struct snd_rawmidi_str *str) in set_midi_substream_names() argument 131 list_for_each_entry(subs, &str->substreams, list) { in set_midi_substream_names() 151 struct snd_rawmidi_str *str; in snd_oxfw_create_midi() local 174 str = &rmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT]; in snd_oxfw_create_midi() 176 set_midi_substream_names(oxfw, str); in snd_oxfw_create_midi() 185 str = &rmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT]; in snd_oxfw_create_midi() 187 set_midi_substream_names(oxfw, str); in snd_oxfw_create_midi()
|
/sound/pci/ymfpci/ |
D | ymfpci.c | 173 const char *str, *model; in snd_card_ymfpci_probe() local 190 case 0x0004: str = "YMF724"; model = "DS-1"; break; in snd_card_ymfpci_probe() 191 case 0x000d: str = "YMF724F"; model = "DS-1"; break; in snd_card_ymfpci_probe() 192 case 0x000a: str = "YMF740"; model = "DS-1L"; break; in snd_card_ymfpci_probe() 193 case 0x000c: str = "YMF740C"; model = "DS-1L"; break; in snd_card_ymfpci_probe() 194 case 0x0010: str = "YMF744"; model = "DS-1S"; break; in snd_card_ymfpci_probe() 195 case 0x0012: str = "YMF754"; model = "DS-1E"; break; in snd_card_ymfpci_probe() 196 default: model = str = "???"; break; in snd_card_ymfpci_probe() 272 strcpy(card->driver, str); in snd_card_ymfpci_probe() 273 sprintf(card->shortname, "Yamaha %s (%s)", model, str); in snd_card_ymfpci_probe()
|
/sound/core/oss/ |
D | mixer_oss.c | 982 char str[64]; in snd_mixer_oss_build_test_all() local 989 sprintf(str, "%s 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 Route", ptr->name); in snd_mixer_oss_build_test_all() 995 err = snd_mixer_oss_build_test(mixer, slot, str, ptr->index, in snd_mixer_oss_build_test_all() 999 sprintf(str, "%s Volume", ptr->name); in snd_mixer_oss_build_test_all() 1000 err = snd_mixer_oss_build_test(mixer, slot, str, ptr->index, in snd_mixer_oss_build_test_all() 1004 sprintf(str, "%s Playback Switch", ptr->name); in snd_mixer_oss_build_test_all() 1005 err = snd_mixer_oss_build_test(mixer, slot, str, ptr->index, in snd_mixer_oss_build_test_all() 1009 sprintf(str, "%s Playback Route", ptr->name); in snd_mixer_oss_build_test_all() [all …]
|
D | pcm_oss.c | 2982 char line[128], str[32], task_name[32]; in snd_pcm_oss_proc_write() local 3002 ptr = snd_info_get_str(str, ptr, sizeof(str)); in snd_pcm_oss_proc_write() 3003 template.periods = simple_strtoul(str, NULL, 10); in snd_pcm_oss_proc_write() 3004 ptr = snd_info_get_str(str, ptr, sizeof(str)); in snd_pcm_oss_proc_write() 3005 template.period_size = simple_strtoul(str, NULL, 10); in snd_pcm_oss_proc_write() 3012 ptr = snd_info_get_str(str, ptr, sizeof(str)); in snd_pcm_oss_proc_write() 3013 if (!strcmp(str, "disable")) { in snd_pcm_oss_proc_write() 3015 } else if (!strcmp(str, "direct")) { in snd_pcm_oss_proc_write() 3017 } else if (!strcmp(str, "block")) { in snd_pcm_oss_proc_write() 3019 } else if (!strcmp(str, "non-block")) { in snd_pcm_oss_proc_write() [all …]
|
/sound/soc/sof/ |
D | ipc.c | 53 u8 *str; in ipc_log_header() local 64 str = "GLB_REPLY"; break; in ipc_log_header() 66 str = "GLB_COMPOUND"; break; in ipc_log_header() 68 str = "GLB_TPLG_MSG"; in ipc_log_header() 93 str = "GLB_PM_MSG"; in ipc_log_header() 114 str = "GLB_COMP_MSG"; in ipc_log_header() 129 str = "GLB_STREAM_MSG"; in ipc_log_header() 161 str = "FW_READY"; break; in ipc_log_header() 163 str = "GLB_DAI_MSG"; in ipc_log_header() 174 str = "GLB_TRACE_MSG"; break; in ipc_log_header() [all …]
|
/sound/core/ |
D | info_oss.c | 54 char *str; in snd_sndstat_show_strings() local 59 str = snd_sndstat_strings[idx][dev]; in snd_sndstat_show_strings() 60 if (str) { in snd_sndstat_show_strings() 65 snd_iprintf(buf, "%i: %s\n", idx, str); in snd_sndstat_show_strings()
|
D | sound.c | 66 char *str; in snd_request_other() local 69 case SNDRV_MINOR_SEQUENCER: str = "snd-seq"; break; in snd_request_other() 70 case SNDRV_MINOR_TIMER: str = "snd-timer"; break; in snd_request_other() 73 request_module(str); in snd_request_other()
|
D | pcm_memory.c | 191 char line[64], str[64]; in snd_pcm_lib_preallocate_proc_write() local 201 snd_info_get_str(str, line, sizeof(str)); in snd_pcm_lib_preallocate_proc_write() 202 size = simple_strtoul(str, NULL, 10) * 1024; in snd_pcm_lib_preallocate_proc_write()
|
D | info.c | 21 int snd_info_check_reserved_words(const char *str) in snd_info_check_reserved_words() argument 41 if (!strcmp(*xstr, str)) in snd_info_check_reserved_words() 45 if (!strncmp(str, "card", 4)) in snd_info_check_reserved_words() 504 char str[8]; in snd_info_card_create() local 510 sprintf(str, "card%i", card->number); in snd_info_card_create() 511 entry = create_subdir(card->module, str); in snd_info_card_create()
|
/sound/firewire/digi00x/ |
D | digi00x-midi.c | 95 struct snd_rawmidi_str *str; in set_substream_names() local 99 str = &rmidi->streams[i]; in set_substream_names() 101 list_for_each_entry(subs, &str->substreams, list) { in set_substream_names()
|
/sound/isa/gus/ |
D | interwave.c | 635 char *str; in snd_interwave_probe() local 733 str = "AMD InterWave"; in snd_interwave_probe() 735 str = "Dynasonic 3-D"; in snd_interwave_probe() 737 str = "InterWave STB"; in snd_interwave_probe() 739 strcpy(card->driver, str); in snd_interwave_probe() 740 strcpy(card->shortname, str); in snd_interwave_probe() 742 str, in snd_interwave_probe()
|
/sound/pci/hda/ |
D | hda_sysfs.c | 294 static void remove_trail_spaces(char *str) in remove_trail_spaces() argument 297 if (!*str) in remove_trail_spaces() 299 p = str + strlen(str) - 1; in remove_trail_spaces() 302 if (p == str) in remove_trail_spaces()
|
/sound/soc/codecs/ |
D | da7219-aad.c | 549 da7219_aad_fw_jack_det_rate(struct device *dev, const char *str) in da7219_aad_fw_jack_det_rate() argument 551 if (!strcmp(str, "32ms_64ms")) { in da7219_aad_fw_jack_det_rate() 553 } else if (!strcmp(str, "64ms_128ms")) { in da7219_aad_fw_jack_det_rate() 555 } else if (!strcmp(str, "128ms_256ms")) { in da7219_aad_fw_jack_det_rate() 557 } else if (!strcmp(str, "256ms_512ms")) { in da7219_aad_fw_jack_det_rate()
|
D | wm8958-dsp2.c | 48 char *str; in wm8958_dsp2_fw() local 124 str = kzalloc(block_len + 1, GFP_KERNEL); in wm8958_dsp2_fw() 125 if (str) { in wm8958_dsp2_fw() 126 memcpy(str, data + 8, block_len); in wm8958_dsp2_fw() 127 dev_info(component->dev, "%s: %s\n", name, str); in wm8958_dsp2_fw() 128 kfree(str); in wm8958_dsp2_fw()
|
D | da7218.c | 2327 da7218_of_mic_amp_in_sel(struct snd_soc_component *component, const char *str) in da7218_of_mic_amp_in_sel() argument 2329 if (!strcmp(str, "diff")) { in da7218_of_mic_amp_in_sel() 2331 } else if (!strcmp(str, "se_p")) { in da7218_of_mic_amp_in_sel() 2333 } else if (!strcmp(str, "se_n")) { in da7218_of_mic_amp_in_sel() 2342 da7218_of_dmic_data_sel(struct snd_soc_component *component, const char *str) in da7218_of_dmic_data_sel() argument 2344 if (!strcmp(str, "lrise_rfall")) { in da7218_of_dmic_data_sel() 2346 } else if (!strcmp(str, "lfall_rrise")) { in da7218_of_dmic_data_sel() 2355 da7218_of_dmic_samplephase(struct snd_soc_component *component, const char *str) in da7218_of_dmic_samplephase() argument 2357 if (!strcmp(str, "on_clkedge")) { in da7218_of_dmic_samplephase() 2359 } else if (!strcmp(str, "between_clkedge")) { in da7218_of_dmic_samplephase()
|
/sound/soc/ |
D | soc-core.c | 1122 const char *str; in soc_set_name_prefix() local 1138 ret = of_property_read_string(of_node, "sound-name-prefix", &str); in soc_set_name_prefix() 1142 component->name_prefix = str; in soc_set_name_prefix() 1533 static void append_dmi_string(struct snd_soc_card *card, const char *str) in append_dmi_string() argument 1540 snprintf(dst + len, dst_len - len, "-%s", str); in append_dmi_string() 2767 const char *str; in snd_soc_of_parse_node_prefix() local 2770 ret = of_property_read_string(np, propname, &str); in snd_soc_of_parse_node_prefix() 2777 codec_conf->name_prefix = str; in snd_soc_of_parse_node_prefix() 2877 const char *str; in snd_soc_of_parse_daifmt() local 2901 ret = of_property_read_string(np, "dai-format", &str); in snd_soc_of_parse_daifmt() [all …]
|
/sound/core/seq/ |
D | seq_timer.c | 262 char str[32]; in snd_seq_timer_open() local 270 sprintf(str, "sequencer queue %i", q->queue); in snd_seq_timer_open() 275 t = snd_timer_instance_new(str); in snd_seq_timer_open()
|