/sound/oss/ |
D | sb_card.h | 28 {.id = "CTL0024", .driver_data = 0, .devs = { {.id="CTL0031"}, } }, 30 {.id = "CTL0025", .driver_data = 0, .devs = { {.id="CTL0031"}, } }, 32 {.id = "CTL0026", .driver_data = 0, .devs = { {.id="CTL0031"}, } }, 34 {.id = "CTL0027", .driver_data = 0, .devs = { {.id="CTL0031"}, } }, 36 {.id = "CTL0028", .driver_data = 0, .devs = { {.id="CTL0031"}, } }, 38 {.id = "CTL0029", .driver_data = 0, .devs = { {.id="CTL0031"}, } }, 40 {.id = "CTL002a", .driver_data = 0, .devs = { {.id="CTL0031"}, } }, 42 {.id = "CTL002b", .driver_data = 0, .devs = { {.id="CTL0031"}, } }, 44 {.id = "CTL002c", .driver_data = 0, .devs = { {.id="CTL0031"}, } }, 46 {.id = "CTL00ed", .driver_data = 0, .devs = { {.id="CTL0041"}, } }, [all …]
|
/sound/usb/ |
D | mixer_maps.c | 28 int id; member 35 int id; member 41 u32 id; member 191 .id = 0x80, 200 .id = 14, /* Capture Source */ 205 .id = 29, /* Digital Out Source */ 210 .id = 31, /* Headphone Source */ 372 .id = USB_ID(0x041e, 0x3000), 377 .id = USB_ID(0x041e, 0x3010), 381 .id = USB_ID(0x041e, 0x3020), [all …]
|
D | mixer.c | 70 int id; member 122 for (p = state->map; p->id; p++) { in find_map() 123 if (p->id == unitid && in find_map() 173 for (p = state->selector_map; p->id; p++) { in check_mapped_selector_name() 174 if (p->id == unitid && index < p->count) in check_mapped_selector_name() 325 idx = snd_usb_ctrl_intf(chip) | (cval->head.id << 8); in get_ctl_value_v1() 373 idx = snd_usb_ctrl_intf(chip) | (cval->head.id << 8); in get_ctl_value_v2() 497 idx = snd_usb_ctrl_intf(chip) | (cval->head.id << 8); in snd_usb_mixer_set_ctl_value() 600 while (snd_ctl_find_id(mixer->chip->card, &kctl->id)) in snd_usb_mixer_add_control() 601 kctl->id.index++; in snd_usb_mixer_add_control() [all …]
|
/sound/isa/ad1816a/ |
D | ad1816a.c | 46 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */ variable 59 module_param_array(id, charp, NULL, 0444); 60 MODULE_PARM_DESC(id, "ID string for ad1816a based soundcard."); 68 { .id = "ADS7150", .devs = { { .id = "ADS7150" }, { .id = "ADS7151" } } }, 70 { .id = "ADS7180", .devs = { { .id = "ADS7180" }, { .id = "ADS7181" } } }, 72 { .id = "ADS7181", .devs = { { .id = "ADS7180" }, { .id = "ADS7181" } } }, 74 { .id = "AZT1022", .devs = { { .id = "AZT1018" }, { .id = "AZT2002" } } }, 76 { .id = "LWC1061", .devs = { { .id = "ADS7180" }, { .id = "ADS7181" } } }, 78 { .id = "MDK1605", .devs = { { .id = "ADS7180" }, { .id = "ADS7181" } } }, 80 { .id = "SMM7180", .devs = { { .id = "ADS7180" }, { .id = "ADS7181" } } }, [all …]
|
/sound/isa/cs423x/ |
D | cs4236.c | 76 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */ variable 93 module_param_array(id, charp, NULL, 0444); 94 MODULE_PARM_DESC(id, "ID string for " IDENT " soundcard."); 142 { .id = "CSC0100" }, 143 { .id = "CSC0000" }, 146 { .id = "GIM0100" }, 147 { .id = "" } 154 { .id = "CSC0d32", .devs = { { "CSC0000" }, { "CSC0010" }, { "PNPb006" } } }, 156 { .id = "CSC1a32", .devs = { { "CSC0000" }, { "CSC0010" }, { "CSC0003" } } }, 158 { .id = "CSC4232", .devs = { { "CSC0000" }, { "CSC0002" }, { "CSC0003" } } }, [all …]
|
/sound/pci/ice1712/ |
D | wtm.c | 82 int id, idx, change; in stac9460_dac_mute_all() local 85 for (id = 0; id < 7; id++) { in stac9460_dac_mute_all() 86 if (*change_mask & (0x01 << id)) { in stac9460_dac_mute_all() 87 if (id == 0) in stac9460_dac_mute_all() 90 idx = STAC946X_LF_VOLUME - 1 + id; in stac9460_dac_mute_all() 96 *change_mask = *change_mask | (0x01 << id); in stac9460_dac_mute_all() 98 *change_mask = *change_mask & ~(0x01 << id); in stac9460_dac_mute_all() 104 for (id = 0; id < 3; id++) { in stac9460_dac_mute_all() 105 if (*change_mask & (0x01 << (id + 7))) { in stac9460_dac_mute_all() 106 if (id == 0) in stac9460_dac_mute_all() [all …]
|
/sound/isa/sb/ |
D | sb16.c | 70 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */ variable 94 module_param_array(id, charp, NULL, 0444); 95 MODULE_PARM_DESC(id, "ID string for SoundBlaster 16 soundcard."); 151 { .id = "CTL0024", .devs = { { "CTL0031" } } }, 153 { .id = "CTL0025", .devs = { { "CTL0031" } } }, 155 { .id = "CTL0026", .devs = { { "CTL0031" } } }, 157 { .id = "CTL0027", .devs = { { "CTL0031" } } }, 159 { .id = "CTL0028", .devs = { { "CTL0031" } } }, 161 { .id = "CTL0029", .devs = { { "CTL0031" } } }, 163 { .id = "CTL002a", .devs = { { "CTL0031" } } }, [all …]
|
/sound/core/ |
D | control.c | 156 struct snd_ctl_elem_id *id) in snd_ctl_notify() argument 162 if (snd_BUG_ON(!card || !id)) in snd_ctl_notify() 175 if (ev->id.numid == id->numid) { in snd_ctl_notify() 182 ev->id = *id; in snd_ctl_notify() 276 kctl->id.iface = ncontrol->iface; in snd_ctl_new1() 277 kctl->id.device = ncontrol->device; in snd_ctl_new1() 278 kctl->id.subdevice = ncontrol->subdevice; in snd_ctl_new1() 280 strlcpy(kctl->id.name, ncontrol->name, sizeof(kctl->id.name)); in snd_ctl_new1() 281 if (strcmp(ncontrol->name, kctl->id.name) != 0) in snd_ctl_new1() 283 ncontrol->name, kctl->id.name); in snd_ctl_new1() [all …]
|
D | init.c | 107 snd_iprintf(buffer, "%s\n", entry->card->id); in snd_card_id_read() 220 strlcpy(card->id, xid, sizeof(card->id)); in snd_card_new() 537 static bool card_id_ok(struct snd_card *card, const char *id) in card_id_ok() argument 540 if (!snd_info_check_reserved_words(id)) in card_id_ok() 544 !strcmp(snd_cards[i]->id, id)) in card_id_ok() 554 char *id = card->id; in copy_valid_id_string() local 559 *id++ = isalpha(*src) ? *src : 'D'; in copy_valid_id_string() 560 while (*nid && (size_t)(id - card->id) < sizeof(card->id) - 1) { in copy_valid_id_string() 562 *id++ = *nid; in copy_valid_id_string() 565 *id = 0; in copy_valid_id_string() [all …]
|
D | control_compat.c | 66 struct snd_ctl_elem_id id; // the size of struct is same member 106 if (copy_from_user(&data->id, &data32->id, sizeof(data->id))) in snd_ctl_elem_info_compat() 123 if (copy_to_user(&data32->id, &data->id, sizeof(data->id)) || in snd_ctl_elem_info_compat() 159 struct snd_ctl_elem_id id; member 174 struct snd_ctl_elem_id id; member 186 static int get_ctl_type(struct snd_card *card, struct snd_ctl_elem_id *id, in get_ctl_type() argument 194 kctl = snd_ctl_find_id(card, id); in get_ctl_type() 204 info->id = *id; in get_ctl_type() 242 if (copy_from_user(&data->id, &data32->id, sizeof(data->id))) in copy_ctl_value_from_user() 248 type = get_ctl_type(card, &data->id, &count); in copy_ctl_value_from_user() [all …]
|
D | seq_device.c | 63 return strcmp(sdrv->id, sdev->id) == 0 && in snd_seq_bus_match() 83 snd_iprintf(buffer, "snd-%s,%s,%d\n", sdev->id, in print_dev_info() 109 request_module("snd-%s", sdev->id); in request_seq_drv() 206 int snd_seq_device_new(struct snd_card *card, int device, const char *id, in snd_seq_device_new() argument 220 if (snd_BUG_ON(!id)) in snd_seq_device_new() 230 dev->id = id; in snd_seq_device_new() 237 dev_set_name(&dev->dev, "%s-%d-%d", dev->id, card->number, device); in snd_seq_device_new() 258 if (WARN_ON(!drv->driver.name || !drv->id)) in __snd_seq_driver_register()
|
D | timer.c | 887 int snd_timer_new(struct snd_card *card, char *id, struct snd_timer_id *tid, in snd_timer_new() argument 909 if (id) in snd_timer_new() 910 strlcpy(timer->id, id, sizeof(timer->id)); in snd_timer_new() 1058 int snd_timer_global_new(char *id, int device, struct snd_timer **rtimer) in snd_timer_global_new() argument 1067 return snd_timer_new(NULL, id, &tid, rtimer); in snd_timer_global_new() 1475 static void snd_timer_user_zero_id(struct snd_timer_id *id) in snd_timer_user_zero_id() argument 1477 id->dev_class = SNDRV_TIMER_CLASS_NONE; in snd_timer_user_zero_id() 1478 id->dev_sclass = SNDRV_TIMER_SCLASS_NONE; in snd_timer_user_zero_id() 1479 id->card = -1; in snd_timer_user_zero_id() 1480 id->device = -1; in snd_timer_user_zero_id() [all …]
|
/sound/soc/intel/atom/sst/ |
D | sst_acpi.c | 287 const struct acpi_device_id *id; in sst_acpi_probe() local 295 id = acpi_match_device(dev->driver->acpi_match_table, dev); in sst_acpi_probe() 296 if (!id) in sst_acpi_probe() 298 dev_dbg(dev, "for %s\n", id->id); in sst_acpi_probe() 300 mach = (struct sst_acpi_mach *)id->driver_data; in sst_acpi_probe() 309 ret = kstrtouint(id->id, 16, &dev_id); in sst_acpi_probe() 389 static int cht_surface_quirk_cb(const struct dmi_system_id *id) in cht_surface_quirk_cb() argument 395 static int byt_thinkpad10_quirk_cb(const struct dmi_system_id *id) in byt_thinkpad10_quirk_cb() argument 440 .id = "10EC5640", 448 .id = "10EC5640", [all …]
|
/sound/ |
D | ac97_bus.c | 30 static bool snd_ac97_check_id(struct snd_ac97 *ac97, unsigned int id, in snd_ac97_check_id() argument 33 ac97->id = ac97->bus->ops->read(ac97, AC97_VENDOR_ID1) << 16; in snd_ac97_check_id() 34 ac97->id |= ac97->bus->ops->read(ac97, AC97_VENDOR_ID2); in snd_ac97_check_id() 36 if (ac97->id == 0x0 || ac97->id == 0xffffffff) in snd_ac97_check_id() 39 if (id != 0 && id != (ac97->id & id_mask)) in snd_ac97_check_id() 59 int snd_ac97_reset(struct snd_ac97 *ac97, bool try_warm, unsigned int id, in snd_ac97_reset() argument 66 if (snd_ac97_check_id(ac97, id, id_mask)) in snd_ac97_reset() 75 if (snd_ac97_check_id(ac97, id, id_mask)) in snd_ac97_reset()
|
/sound/isa/ |
D | als100.c | 56 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */ variable 68 module_param_array(id, charp, NULL, 0444); 69 MODULE_PARM_DESC(id, "ID string for Avance Logic based soundcard."); 84 { .id = "RWB1688", 88 { .id = "ALS0007", 92 { .id = "ALS0001", 96 { .id = "ALS0110", 100 { .id = "ALS0120", 104 { .id = "ALS0200", 108 { .id = "ALS0200", [all …]
|
D | azt2320.c | 57 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */ variable 70 module_param_array(id, charp, NULL, 0444); 71 MODULE_PARM_DESC(id, "ID string for azt2320 based soundcard."); 84 { .id = "AZT1008", .devs = { { "AZT1008" }, { "AZT2001" }, } }, 86 { .id = "AZT2320", .devs = { { "AZT0001" }, { "AZT0002" }, } }, 88 { .id = "AZT3000", .devs = { { "AZT1003" }, { "AZT2001" }, } }, 90 { .id = "AZT3002", .devs = { { "AZT1004" }, { "AZT2001" }, } }, 92 { .id = "AZT3005", .devs = { { "AZT1003" }, { "AZT2001" }, } }, 94 { .id = "AZT3011", .devs = { { "AZT1003" }, { "AZT2001" }, } }, 95 { .id = "" } /* end */ [all …]
|
/sound/soc/sh/rcar/ |
D | ssiu.c | 32 int id = rsnd_mod_id(mod); in rsnd_ssiu_init() local 37 switch (id) { in rsnd_ssiu_init() 43 rsnd_mod_write(mod, SSI_SYS_STATUS0, 0xf << (id * 4)); in rsnd_ssiu_init() 44 rsnd_mod_write(mod, SSI_SYS_STATUS2, 0xf << (id * 4)); in rsnd_ssiu_init() 45 rsnd_mod_write(mod, SSI_SYS_STATUS4, 0xf << (id * 4)); in rsnd_ssiu_init() 46 rsnd_mod_write(mod, SSI_SYS_STATUS6, 0xf << (id * 4)); in rsnd_ssiu_init() 59 rsnd_mod_bset(mod, SSI_MODE0, (1 << id), !use_busif << id); in rsnd_ssiu_init() 67 if (id == 8) { in rsnd_ssiu_init() 74 switch (id) { in rsnd_ssiu_init() 230 static struct rsnd_mod *rsnd_ssiu_mod_get(struct rsnd_priv *priv, int id) in rsnd_ssiu_mod_get() argument [all …]
|
/sound/pci/oxygen/ |
D | virtuoso.c | 34 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; variable 39 module_param_array(id, charp, NULL, 0444); 40 MODULE_PARM_DESC(id, "ID string"); 64 const struct pci_device_id *id) in get_xonar_model() argument 66 if (get_xonar_pcm179x_model(chip, id) >= 0) in get_xonar_model() 68 if (get_xonar_cs43xx_model(chip, id) >= 0) in get_xonar_model() 70 if (get_xonar_wm87x6_model(chip, id) >= 0) in get_xonar_model() 87 err = oxygen_pci_probe(pci, index[dev], id[dev], THIS_MODULE, in xonar_probe()
|
/sound/firewire/bebob/ |
D | bebob_focusrite.c | 145 u32 id; in saffirepro_both_clk_freq_get() local 148 err = saffire_read_quad(bebob, SAFFIREPRO_RATE_NOREBOOT, &id); in saffirepro_both_clk_freq_get() 151 if (id >= ARRAY_SIZE(rates)) in saffirepro_both_clk_freq_get() 154 *rate = rates[id]; in saffirepro_both_clk_freq_get() 161 u32 id; in saffirepro_both_clk_freq_set() local 163 for (id = 0; id < ARRAY_SIZE(rates); id++) { in saffirepro_both_clk_freq_set() 164 if (rates[id] == rate) in saffirepro_both_clk_freq_set() 167 if (id == ARRAY_SIZE(rates)) in saffirepro_both_clk_freq_set() 170 return saffire_write_quad(bebob, SAFFIREPRO_RATE_NOREBOOT, id); in saffirepro_both_clk_freq_set() 178 saffirepro_both_clk_src_get(struct snd_bebob *bebob, unsigned int *id) in saffirepro_both_clk_src_get() argument [all …]
|
/sound/soc/intel/skylake/ |
D | skl-messages.c | 204 .id = 0x9d70, 212 .id = 0x9d71, 220 .id = 0x5a98, 228 .id = 0x3198, 236 .id = 0x9dc8, 250 if (dsp_ops[i].id == pci_id) in skl_get_dsp_ops() 874 module_config->id.module_id, param_size); in skl_set_module_format() 881 struct skl_module_inst_id id, int max) in skl_get_queue_index() argument 886 if (mpin[i].id.module_id == id.module_id && in skl_get_queue_index() 887 mpin[i].id.instance_id == id.instance_id) in skl_get_queue_index() [all …]
|
/sound/hda/ |
D | hda_bus_type.c | 26 const struct hda_device_id *id = drv->id_table; in hdac_get_device_id() local 28 while (id->vendor_id) { in hdac_get_device_id() 29 if (hdev->vendor_id == id->vendor_id && in hdac_get_device_id() 30 (!id->rev_id || id->rev_id == hdev->revision_id)) in hdac_get_device_id() 31 return id; in hdac_get_device_id() 32 id++; in hdac_get_device_id()
|
/sound/soc/codecs/ |
D | cs42l73.c | 947 u8 id = codec_dai->id; in cs42l73_set_dai_fmt() local 951 spc = snd_soc_read(codec, CS42L73_SPC(id)); in cs42l73_set_dai_fmt() 952 mmcc = snd_soc_read(codec, CS42L73_MMCC(id)); in cs42l73_set_dai_fmt() 981 if (id == CS42L73_ASP) { in cs42l73_set_dai_fmt() 1011 priv->config[id].spc = spc; in cs42l73_set_dai_fmt() 1012 priv->config[id].mmcc = mmcc; in cs42l73_set_dai_fmt() 1032 static void cs42l73_update_asrc(struct snd_soc_codec *codec, int id, int srate) in cs42l73_update_asrc() argument 1039 switch (id) { in cs42l73_update_asrc() 1060 int id = dai->id; in cs42l73_pcm_hw_params() local 1064 if (priv->config[id].mmcc & CS42L73_MS_MASTER) { in cs42l73_pcm_hw_params() [all …]
|
/sound/soc/intel/atom/ |
D | sst-mfld-platform-compress.c | 70 stream->id = 0; in sst_platform_compr_open() 93 str_id = stream->id; in sst_platform_compr_free() 123 switch (params->codec.id) { in sst_platform_compr_set_params() 151 pr_err("codec not supported, id =%d\n", params->codec.id); in sst_platform_compr_set_params() 173 stream->id = retval; in sst_platform_compr_set_params() 184 return stream->compr_ops->stream_start(sst->dev, stream->id); in sst_platform_compr_trigger() 188 return stream->compr_ops->stream_drop(sst->dev, stream->id); in sst_platform_compr_trigger() 192 return stream->compr_ops->stream_drain(sst->dev, stream->id); in sst_platform_compr_trigger() 196 return stream->compr_ops->stream_partial_drain(sst->dev, stream->id); in sst_platform_compr_trigger() 200 return stream->compr_ops->stream_pause(sst->dev, stream->id); in sst_platform_compr_trigger() [all …]
|
/sound/pci/au88x0/ |
D | au88x0_mixer.c | 16 struct snd_ctl_elem_id id; in remove_ctl() local 17 memset(&id, 0, sizeof(id)); in remove_ctl() 18 strcpy(id.name, name); in remove_ctl() 19 id.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in remove_ctl() 20 return snd_ctl_remove_id(card, &id); in remove_ctl()
|
/sound/pci/hda/ |
D | patch_sigmatel.c | 347 mask = 1U << snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in stac_capture_led_hook() 600 unsigned int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in stac_aloopback_get() 613 unsigned int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in stac_aloopback_put() 947 unsigned int smux_idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in stac_smux_enum_get() 958 unsigned int smux_idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in stac_smux_enum_put() 1480 { .id = STAC_REF, .name = "ref" }, 1481 { .id = STAC_9200_OQO, .name = "oqo" }, 1482 { .id = STAC_9200_DELL_D21, .name = "dell-d21" }, 1483 { .id = STAC_9200_DELL_D22, .name = "dell-d22" }, 1484 { .id = STAC_9200_DELL_D23, .name = "dell-d23" }, [all …]
|