/sound/aoa/fabrics/ |
D | layout.c | 59 char *name; member 273 .name = "onyx", 277 .name = "topaz", 284 .name = "onyx", 291 .name = "topaz", 299 .name = "onyx", 306 .name = "topaz", 314 .name = "onyx", 318 .name = "topaz", 325 .name = "onyx", [all …]
|
/sound/ |
D | sound_core.c | 110 char name[32]; member 205 …st struct file_operations *fops, int index, int low, int top, const char *name, umode_t mode, stru… in sound_insert_unit() argument 220 sprintf(s->name, "sound/%s", name); in sound_insert_unit() 222 sprintf(s->name, "sound/%s%d", name, r / SOUND_STEP); in sound_insert_unit() 225 NULL, s->name+6); in sound_insert_unit() 291 const char *name; in register_sound_special_device() local 296 name = "mixer"; in register_sound_special_device() 299 name = "sequencer"; in register_sound_special_device() 305 name = "midi"; in register_sound_special_device() 308 name = "dsp"; in register_sound_special_device() [all …]
|
/sound/usb/ |
D | usbmixer.c | 97 int name; member 203 if (p->id == unitid && p->name && in check_mapped_name() 206 return strlcpy(buf, p->name, buflen); in check_mapped_name() 220 if (p->id == unitid && ! p->name && in check_ignored_ctl() 490 char *name; member 532 unsigned char *name, int maxlen, int term_only) in get_term_name() argument 536 if (iterm->name) in get_term_name() 537 return snd_usb_copy_string_desc(state, iterm->name, name, maxlen); in get_term_name() 545 strcpy(name, "Selector"); return 8; in get_term_name() 547 strcpy(name, "Process Unit"); return 12; in get_term_name() [all …]
|
/sound/aoa/core/ |
D | gpio-pmf.c | 13 #define PMF_GPIO(name, bit) \ argument 14 static void pmf_gpio_set_##name(struct gpio_runtime *rt, int on)\ 20 rc = pmf_call_function(rt->node, #name "-mute", &args); \ 22 printk(KERN_WARNING "pmf_gpio_set_" #name \ 27 static int pmf_gpio_get_##name(struct gpio_runtime *rt) \ 141 char *name; in pmf_set_notify() local 147 name = "headphone-detect"; in pmf_set_notify() 151 name = "linein-detect"; in pmf_set_notify() 155 name = "lineout-detect"; in pmf_set_notify() 189 name, in pmf_set_notify() [all …]
|
D | gpio-feature.c | 52 static struct device_node *get_gpio(char *name, in get_gpio() argument 64 np = of_find_node_by_name(NULL, name); in get_gpio() 77 if (strcmp(audio_gpio, name) == 0) in get_gpio() 122 #define SWITCH_GPIO(name, v, on) \ argument 124 (name##_gpio_activestate==0?4:5): \ 125 (name##_gpio_activestate==0?5:4))) 127 #define FTR_GPIO(name, bit) \ argument 128 static void ftr_gpio_set_##name(struct gpio_runtime *rt, int on)\ 134 if (name##_mute_gpio < 0) \ 138 name##_mute_gpio, \ [all …]
|
/sound/oss/ |
D | dev_table.c | 51 int sound_install_audiodrv(int vers, char *name, struct audio_driver *driver, in sound_install_audiodrv() argument 60 printk(KERN_ERR "Sound: Incompatible audio driver for %s\n", name); in sound_install_audiodrv() 79 printk(KERN_ERR "Sound: Can't allocate driver for (%s)\n", name); in sound_install_audiodrv() 93 strlcpy(op->name, name, sizeof(op->name)); in sound_install_audiodrv() 110 int sound_install_mixer(int vers, char *name, struct mixer_operations *driver, in sound_install_mixer() argument 123 printk(KERN_ERR "Sound: Incompatible mixer driver for %s\n", name); in sound_install_mixer() 135 printk(KERN_ERR "Sound: Can't allocate mixer driver for (%s)\n", name); in sound_install_mixer() 141 strlcpy(op->name, name, sizeof(op->name)); in sound_install_mixer()
|
D | soundcard.c | 85 int *load_mixer_volumes(char *name, int *levels, int present) in load_mixer_volumes() argument 90 if (strcmp(name, mixer_vols[i].name) == 0) { in load_mixer_volumes() 97 printk(KERN_ERR "Sound: Too many mixers (%s)\n", name); in load_mixer_volumes() 102 strcpy(mixer_vols[n].name, name); in load_mixer_volumes() 122 load_mixer_volumes(buf.name, buf.levels, 0); in set_mixer_levels() 292 strlcpy(info.name, mixer_devs[dev]->name, sizeof(info.name)); in get_mixer_info() 304 strlcpy(info.name, mixer_devs[dev]->name, sizeof(info.name)); in get_old_mixer_info() 526 char *name; member 565 "%s", dev_list[i].name); in oss_init() 574 NULL, "%s%d", dev_list[i].name, j); in oss_init() [all …]
|
D | sb_common.c | 385 char name[100]; in init_Jazz16() local 436 strcpy(name, "Jazz16"); in init_Jazz16() 438 hw_config->name = "Jazz16"; in init_Jazz16() 642 char name[100]; in sb_dsp_init() local 650 name[0] = 0; in sb_dsp_init() 753 if (hw_config->name == NULL) in sb_dsp_init() 754 hw_config->name = "Sound Blaster Pro (8 BIT ONLY)"; in sb_dsp_init() 781 if (hw_config->name == NULL) in sb_dsp_init() 782 hw_config->name = "Sound Blaster 16 (ALS-100)"; in sb_dsp_init() 790 if (hw_config->name == NULL) in sb_dsp_init() [all …]
|
D | vidc.c | 403 .name = "VIDCsound", 441 char name[32]; in attach_vidc() local 444 sprintf(name, "VIDC %d-bit sound", hw_config->card_subtype); in attach_vidc() 445 conf_printf(name, hw_config); in attach_vidc() 448 adev = sound_install_audiodrv(AUDIO_DRIVER_VERSION, name, in attach_vidc() 464 name, &vidc_mixer_operations, in attach_vidc() 474 name); in attach_vidc() 480 if (sound_alloc_dma(hw_config->dma, hw_config->name)) { in attach_vidc() 481 printk(KERN_ERR "%s: DMA %d is in use\n", name, hw_config->dma); in attach_vidc() 486 hw_config->name, &dma_start)) { in attach_vidc() [all …]
|
/sound/drivers/opl3/ |
D | opl3_oss.c | 79 char name[32]; in snd_opl3_oss_create_port() local 96 sprintf(name, "OPL%i OSS Port", opl_ver); in snd_opl3_oss_create_port() 106 name); in snd_opl3_oss_create_port() 119 void snd_opl3_init_seq_oss(struct snd_opl3 *opl3, char *name) in snd_opl3_init_seq_oss() argument 129 strlcpy(dev->name, name, sizeof(dev->name)); in snd_opl3_init_seq_oss() 208 char name[32]; in snd_opl3_load_patch_seq_oss() local 235 memset(name, 0, sizeof(name)); in snd_opl3_load_patch_seq_oss() 236 sprintf(name, "Chan%d", sbi.channel); in snd_opl3_load_patch_seq_oss() 238 err = snd_opl3_load_patch(opl3, sbi.channel, 127, type, name, NULL, in snd_opl3_load_patch_seq_oss()
|
/sound/pci/hda/ |
D | patch_via.c | 263 static int via_add_control(struct via_spec *spec, int type, const char *name, in via_add_control() argument 273 knew->name = kstrdup(name, GFP_KERNEL); in via_add_control() 274 if (!knew->name) in via_add_control() 288 kfree(kctl[i].name); in via_free_kctls() 297 char name[32]; in via_new_analog_input() local 300 sprintf(name, "%s Playback Volume", ctlname); in via_new_analog_input() 301 err = via_add_control(spec, VIA_CTL_WIDGET_VOL, name, in via_new_analog_input() 305 sprintf(name, "%s Playback Switch", ctlname); in via_new_analog_input() 306 err = via_add_control(spec, VIA_CTL_WIDGET_MUTE, name, in via_new_analog_input() 490 .name = "Independent HP", [all …]
|
D | patch_si3054.c | 124 .name = kname, \ 205 info->name = "Si3054 Modem"; in si3054_build_pcms() 286 { .id = 0x163c3055, .name = "Si3054", .patch = patch_si3054 }, 287 { .id = 0x163c3155, .name = "Si3054", .patch = patch_si3054 }, 288 { .id = 0x11c13026, .name = "Si3054", .patch = patch_si3054 }, 289 { .id = 0x11c13055, .name = "Si3054", .patch = patch_si3054 }, 290 { .id = 0x11c13155, .name = "Si3054", .patch = patch_si3054 }, 291 { .id = 0x10573055, .name = "Si3054", .patch = patch_si3054 }, 292 { .id = 0x10573057, .name = "Si3054", .patch = patch_si3054 }, 293 { .id = 0x10573155, .name = "Si3054", .patch = patch_si3054 }, [all …]
|
D | hda_eld.c | 508 char name[64]; in hdmi_write_eld_info() local 514 if (sscanf(line, "%s %llx", name, &val) != 2) in hdmi_write_eld_info() 521 if (!strcmp(name, "connection_type")) in hdmi_write_eld_info() 523 else if (!strcmp(name, "port_id")) in hdmi_write_eld_info() 525 else if (!strcmp(name, "support_hdcp")) in hdmi_write_eld_info() 527 else if (!strcmp(name, "support_ai")) in hdmi_write_eld_info() 529 else if (!strcmp(name, "audio_sync_delay")) in hdmi_write_eld_info() 531 else if (!strcmp(name, "speakers")) in hdmi_write_eld_info() 533 else if (!strcmp(name, "sad_count")) in hdmi_write_eld_info() 535 else if (!strncmp(name, "sad", 3)) { in hdmi_write_eld_info() [all …]
|
D | patch_analog.c | 364 info->name = "AD198x Analog"; in ad198x_build_pcms() 375 info->name = "AD198x Digital"; in ad198x_build_pcms() 396 kfree(kctl[i].name); in ad198x_free_kctls() 556 .name = "Capture Source", 569 .name = "Channel Mode", 621 .name = "Capture Source", 662 .name = "Capture Source", 669 .name = "External Amplifier", 690 .name = "Capture Source", 697 .name = "External Amplifier", [all …]
|
D | patch_atihdmi.c | 137 info->name = "ATI HDMI"; in atihdmi_build_pcms() 190 { .id = 0x1002793c, .name = "RS600 HDMI", .patch = patch_atihdmi }, 191 { .id = 0x10027919, .name = "RS600 HDMI", .patch = patch_atihdmi }, 192 { .id = 0x1002791a, .name = "RS690/780 HDMI", .patch = patch_atihdmi }, 193 { .id = 0x1002aa01, .name = "R6xx HDMI", .patch = patch_atihdmi }, 194 { .id = 0x10951390, .name = "SiI1390 HDMI", .patch = patch_atihdmi }, 195 { .id = 0x17e80047, .name = "Chrontel HDMI", .patch = patch_atihdmi },
|
/sound/pci/ice1712/ |
D | aureon.c | 213 strcpy(uinfo->value.enumerated.name, texts[uinfo->value.enumerated.item]); in aureon_universe_inmux_info() 1130 strcpy(uinfo->value.enumerated.name, universe_texts[uinfo->value.enumerated.item]); in wm_adc_mux_info() 1135 strcpy(uinfo->value.enumerated.name, texts[uinfo->value.enumerated.item]); in wm_adc_mux_info() 1191 strcpy(uinfo->value.enumerated.name, prodigy_texts[uinfo->value.enumerated.item]); in aureon_cs8415_mux_info() 1193 strcpy(uinfo->value.enumerated.name, aureon_texts[uinfo->value.enumerated.item]); in aureon_cs8415_mux_info() 1416 strcpy(uinfo->value.enumerated.name, texts[uinfo->value.enumerated.item]); in aureon_oversampling_info() 1454 .name = "Master Playback Switch", 1463 .name = "Master Playback Volume", 1471 .name = "Front Playback Switch", 1481 .name = "Front Playback Volume", [all …]
|
D | vt1720_mobo.c | 95 .name = "Albatron K8X800 Pro II", 104 .name = "Chaintech ZNF3-150", 113 .name = "Chaintech ZNF3-250", 122 .name = "Chaintech 9CJS", 131 .name = "Shuttle SN25P",
|
/sound/pci/ |
D | intel8x0.c | 111 #define DEFINE_REGSET(name,base) \ argument 113 ICH_REG_##name##_BDBAR = base + 0x0, /* dword - buffer descriptor list base address */ \ 114 ICH_REG_##name##_CIV = base + 0x04, /* byte - current index value */ \ 115 ICH_REG_##name##_LVI = base + 0x05, /* byte - last valid index */ \ 116 ICH_REG_##name##_SR = base + 0x06, /* byte - status register */ \ 117 ICH_REG_##name##_PICB = base + 0x08, /* word - position in current buffer */ \ 118 ICH_REG_##name##_PIV = base + 0x0a, /* byte - prefetched index value */ \ 119 ICH_REG_##name##_CR = base + 0x0b, /* byte - control register */ \ 1478 char name[32]; in snd_intel8x0_pcm1() local 1481 sprintf(name, "Intel ICH - %s", rec->suffix); in snd_intel8x0_pcm1() [all …]
|
/sound/core/oss/ |
D | mixer_oss.c | 93 strlcpy(info.name, mixer && mixer->name[0] ? mixer->name : card->mixername, sizeof(info.name)); in snd_mixer_oss_info() 109 strlcpy(info.name, mixer && mixer->name[0] ? mixer->name : card->mixername, sizeof(info.name)); in snd_mixer_oss_info_obsolete() 488 static struct snd_kcontrol *snd_mixer_oss_test_id(struct snd_mixer_oss *mixer, const char *name, in… in snd_mixer_oss_test_id() argument 495 strcpy(id.name, name); in snd_mixer_oss_test_id() 877 const char *name; member 881 …ss_build_test(struct snd_mixer_oss *mixer, struct slot *slot, const char *name, int index, int ite… in snd_mixer_oss_build_test() argument 889 kcontrol = snd_mixer_oss_test_id(mixer, name, index); in snd_mixer_oss_build_test() 918 kfree(p->assigned->name); in snd_mixer_oss_slot_free() 943 err = snd_mixer_oss_build_test(mixer, slot, ptr->name, ptr->index, in snd_mixer_oss_build_test_all() 947 sprintf(str, "%s Switch", ptr->name); in snd_mixer_oss_build_test_all() [all …]
|
/sound/soc/ |
D | soc-dapm.c | 134 if (!(strcmp(p->name, e->texts[i])) && item == i) in dapm_set_path_status() 153 if (!(strcmp(p->name, e->texts[i])) && item == i) in dapm_set_path_status() 194 path->name = (char*)e->texts[i]; in dapm_connect_mux() 212 if (!strcmp(control_name, dest->kcontrols[i].name)) { in dapm_connect_mixer() 216 path->name = dest->kcontrols[i].name; in dapm_connect_mixer() 250 widget->name, widget->power ? "on" : "off", in dapm_update_bits() 323 if (path->name != (char*)w->kcontrols[i].name) in dapm_new_mixer() 327 name_len = 2 + strlen(w->name) in dapm_new_mixer() 328 + strlen(w->kcontrols[i].name); in dapm_new_mixer() 334 w->name, w->kcontrols[i].name); in dapm_new_mixer() [all …]
|
/sound/soc/pxa/ |
D | pxa2xx-ac97.c | 51 .name = "AC97 PCM Stereo out", 59 .name = "AC97 PCM Stereo in", 67 .name = "AC97 Aux PCM (Slot 5) Mono out", 75 .name = "AC97 Aux PCM (Slot 5) Mono in", 83 .name = "AC97 Mic PCM (Slot 6) Mono in", 173 .name = "pxa2xx-ac97", 196 .name = "pxa2xx-ac97-aux", 215 .name = "pxa2xx-ac97-mic",
|
D | pxa-ssp.c | 58 .name = "SSP1 PCM Mono out", 66 .name = "SSP1 PCM Mono in", 74 .name = "SSP1 PCM Stereo out", 82 .name = "SSP1 PCM Stereo in", 90 .name = "SSP2 PCM Mono out", 98 .name = "SSP2 PCM Mono in", 106 .name = "SSP2 PCM Stereo out", 114 .name = "SSP2 PCM Stereo in", 122 .name = "SSP3 PCM Mono out", 130 .name = "SSP3 PCM Mono in", [all …]
|
/sound/isa/gus/ |
D | interwave.c | 218 char name[32]; in snd_interwave_detect_stb() local 241 sprintf(name, "InterWave-%i", card->number); in snd_interwave_detect_stb() 242 if ((err = snd_i2c_bus_create(card, name, NULL, &bus)) < 0) in snd_interwave_detect_stb() 523 strcpy(id1.name, "Mic Playback Switch"); in snd_interwave_mixer() 526 strcpy(id1.name, "Mic Playback Volume"); in snd_interwave_mixer() 539 strcpy(id1.name, "Aux Playback Switch"); in snd_interwave_mixer() 540 strcpy(id2.name, "Synth Playback Switch"); in snd_interwave_mixer() 543 strcpy(id1.name, "Aux Playback Volume"); in snd_interwave_mixer() 544 strcpy(id2.name, "Synth Playback Volume"); in snd_interwave_mixer() 548 strcpy(id1.name, "Aux Playback Switch"); id1.index = 1; in snd_interwave_mixer() [all …]
|
/sound/pci/ca0106/ |
D | ca0106_mixer.c | 198 strcpy(uinfo->value.enumerated.name, texts[uinfo->value.enumerated.item]); in snd_ca0106_capture_source_info() 241 strcpy(uinfo->value.enumerated.name, texts[uinfo->value.enumerated.item]); in snd_ca0106_i2c_capture_source_info() 284 strcpy(uinfo->value.enumerated.name, texts[uinfo->value.enumerated.item]); in snd_ca0106_capture_line_in_side_out_info() 298 strcpy(uinfo->value.enumerated.name, texts[uinfo->value.enumerated.item]); in snd_ca0106_capture_mic_line_in_info() 332 .name = "Shared Mic/Line in Capture Switch", 341 .name = "Shared Line in/Side out Capture Switch", 582 .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, \ 617 .name = SNDRV_CTL_NAME_IEC958("",PLAYBACK,MASK), 624 .name = "IEC958 Playback Switch", 631 .name = "Digital Source Capture Enum", [all …]
|
/sound/pci/emu10k1/ |
D | emu10k1_main.c | 1336 .driver = "Audigy2", .name = "SB Audigy 4 [SB0610]", 1354 .driver = "Audigy2", .name = "SB Audigy 2 Value [SB0400]", 1393 .driver = "Audigy2", .name = "SB Audigy 2 ZS Notebook [SB0530]", 1403 .driver = "Audigy2", .name = "E-mu 1010 Notebook [MAEM8950]", 1413 .driver = "Audigy2", .name = "E-mu 1010b PCI [MAEM8960]", 1422 .driver = "Audigy2", .name = "E-mu 1010 [MAEM8810]", 1430 .driver = "Audigy2", .name = "E-mu 0404b PCI [MAEM8852]", 1438 .driver = "Audigy2", .name = "E-mu 0404 [MAEM8850]", 1446 .driver = "Audigy2", .name = "SB Audigy 2 Value [Unknown]", 1453 .driver = "Audigy2", .name = "SB Audigy 4 PRO [SB0380]", [all …]
|