Home
last modified time | relevance | path

Searched refs:id (Results 1 – 25 of 502) sorted by relevance

12345678910>>...21

/sound/oss/
Dsb_card.h28 {.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/
Dmixer_maps.c28 int id; member
35 int id; member
41 u32 id; member
189 .id = 0x80,
198 .id = 14, /* Capture Source */
203 .id = 29, /* Digital Out Source */
208 .id = 31, /* Headphone Source */
378 .id = USB_ID(0x041e, 0x3000),
383 .id = USB_ID(0x041e, 0x3010),
387 .id = USB_ID(0x041e, 0x3020),
[all …]
Dmixer.c69 int id; member
121 for (p = state->map; p->id; p++) { in find_map()
122 if (p->id == unitid && in find_map()
172 for (p = state->selector_map; p->id; p++) { in check_mapped_selector_name()
173 if (p->id == unitid && index < p->count) in check_mapped_selector_name()
324 idx = snd_usb_ctrl_intf(chip) | (cval->head.id << 8); in get_ctl_value_v1()
369 idx = snd_usb_ctrl_intf(chip) | (cval->head.id << 8); in get_ctl_value_v2()
493 idx = snd_usb_ctrl_intf(chip) | (cval->head.id << 8); in snd_usb_mixer_set_ctl_value()
594 while (snd_ctl_find_id(mixer->chip->card, &kctl->id)) in snd_usb_mixer_add_list()
595 kctl->id.index++; in snd_usb_mixer_add_list()
[all …]
/sound/isa/ad1816a/
Dad1816a.c46 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/
Dcs4236.c76 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/
Dwtm.c82 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/
Dsb16.c70 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/
Dcontrol.c155 struct snd_ctl_elem_id *id) in snd_ctl_notify() argument
161 if (snd_BUG_ON(!card || !id)) in snd_ctl_notify()
174 if (ev->id.numid == id->numid) { in snd_ctl_notify()
181 ev->id = *id; in snd_ctl_notify()
275 kctl->id.iface = ncontrol->iface; in snd_ctl_new1()
276 kctl->id.device = ncontrol->device; in snd_ctl_new1()
277 kctl->id.subdevice = ncontrol->subdevice; in snd_ctl_new1()
279 strlcpy(kctl->id.name, ncontrol->name, sizeof(kctl->id.name)); in snd_ctl_new1()
280 if (strcmp(ncontrol->name, kctl->id.name) != 0) in snd_ctl_new1()
282 ncontrol->name, kctl->id.name); in snd_ctl_new1()
[all …]
Dinit.c107 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()
535 static bool card_id_ok(struct snd_card *card, const char *id) in card_id_ok() argument
538 if (!snd_info_check_reserved_words(id)) in card_id_ok()
542 !strcmp(snd_cards[i]->id, id)) in card_id_ok()
552 char *id = card->id; in copy_valid_id_string() local
557 *id++ = isalpha(*src) ? *src : 'D'; in copy_valid_id_string()
558 while (*nid && (size_t)(id - card->id) < sizeof(card->id) - 1) { in copy_valid_id_string()
560 *id++ = *nid; in copy_valid_id_string()
563 *id = 0; in copy_valid_id_string()
[all …]
Dcontrol_compat.c66 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()
125 if (copy_to_user(&data32->id, &data->id, sizeof(data->id)) || in snd_ctl_elem_info_compat()
161 struct snd_ctl_elem_id id; member
176 struct snd_ctl_elem_id id; member
188 static int get_ctl_type(struct snd_card *card, struct snd_ctl_elem_id *id, in get_ctl_type() argument
196 kctl = snd_ctl_find_id(card, id); in get_ctl_type()
206 info->id = *id; in get_ctl_type()
244 if (copy_from_user(&data->id, &data32->id, sizeof(data->id))) in copy_ctl_value_from_user()
250 type = get_ctl_type(card, &data->id, &count); in copy_ctl_value_from_user()
[all …]
/sound/
Dac97_bus.c30 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/
Dals100.c56 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 …]
Dazt2320.c57 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/intel/skylake/
Dskl-messages.c548 module_config->id.module_id, param_size); in skl_set_module_format()
555 struct skl_module_inst_id id, int max) in skl_get_queue_index() argument
560 if (mpin[i].id.module_id == id.module_id && in skl_get_queue_index()
561 mpin[i].id.instance_id == id.instance_id) in skl_get_queue_index()
574 struct skl_module_inst_id id, int max) in skl_alloc_queue() argument
588 mpin[i].id.module_id = id.module_id; in skl_alloc_queue()
589 mpin[i].id.instance_id = id.instance_id; in skl_alloc_queue()
593 if (mpin[i].id.module_id == id.module_id && in skl_alloc_queue()
594 mpin[i].id.instance_id == id.instance_id) in skl_alloc_queue()
606 mpin[q_index].id.module_id = 0; in skl_free_queue()
[all …]
/sound/pci/oxygen/
Dvirtuoso.c34 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/soc/sh/rcar/
Ddma.c34 int (*init)(struct rsnd_dai_stream *io, struct rsnd_dma *dma, int id,
156 struct rsnd_dma *dma, int id, in rsnd_dmaen_init() argument
180 (void *)(uintptr_t)id); in rsnd_dmaen_init()
274 int id = rsnd_mod_id(mod); in rsnd_dmapp_get_id() local
291 if (size <= id) in rsnd_dmapp_get_id()
294 return entry[id]; in rsnd_dmapp_get_id()
352 struct rsnd_dma *dma, int id, in rsnd_dmapp_init() argument
432 int id = rsnd_mod_id(mod); in rsnd_gen2_dma_addr() local
440 { RDMA_SRC_O_N(src, id), RDMA_SRC_I_P(src, id) }, in rsnd_gen2_dma_addr()
441 { RDMA_CMD_O_N(src, id), RDMA_SRC_I_P(src, id) } }, in rsnd_gen2_dma_addr()
[all …]
/sound/firewire/bebob/
Dbebob_focusrite.c145 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 …]
Dbebob_terratec.c17 phase88_rack_clk_src_get(struct snd_bebob *bebob, unsigned int *id) in phase88_rack_clk_src_get() argument
30 *id = 0; in phase88_rack_clk_src_get()
32 *id = 1; in phase88_rack_clk_src_get()
34 *id = 2; in phase88_rack_clk_src_get()
44 phase24_series_clk_src_get(struct snd_bebob *bebob, unsigned int *id) in phase24_series_clk_src_get() argument
48 err = avc_audio_get_selector(bebob->unit, 0, 4, id); in phase24_series_clk_src_get()
52 if (*id >= ARRAY_SIZE(phase24_series_clk_src_types)) in phase24_series_clk_src_get()
/sound/hda/
Dhda_bus_type.c26 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/pci/au88x0/
Dau88x0_mixer.c15 struct snd_ctl_elem_id id; in remove_ctl() local
16 memset(&id, 0, sizeof(id)); in remove_ctl()
17 strcpy(id.name, name); in remove_ctl()
18 id.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in remove_ctl()
19 return snd_ctl_remove_id(card, &id); in remove_ctl()
/sound/soc/intel/atom/
Dsst-mfld-platform-compress.c70 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()
187 return stream->compr_ops->stream_drop(sst->dev, stream->id); in sst_platform_compr_trigger()
190 return stream->compr_ops->stream_drain(sst->dev, stream->id); in sst_platform_compr_trigger()
193 return stream->compr_ops->stream_partial_drain(sst->dev, stream->id); in sst_platform_compr_trigger()
196 return stream->compr_ops->stream_pause(sst->dev, stream->id); in sst_platform_compr_trigger()
[all …]
/sound/soc/codecs/
Dcs42l73.c947 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/usb/line6/
Dpodhd.c83 const struct usb_device_id *id) in podhd_init() argument
117 .id = "PODHD300",
129 .id = "PODHD400",
141 .id = "PODHD500",
153 .id = "PODHD500",
170 const struct usb_device_id *id) in podhd_probe() argument
172 return line6_probe(interface, id, "Line6-PODHD", in podhd_probe()
173 &podhd_properties_table[id->driver_info], in podhd_probe()
/sound/pci/hda/
Dpatch_sigmatel.c346 mask = 1U << snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in stac_capture_led_hook()
599 unsigned int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in stac_aloopback_get()
612 unsigned int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in stac_aloopback_put()
946 unsigned int smux_idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in stac_smux_enum_get()
957 unsigned int smux_idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in stac_smux_enum_put()
1458 { .id = STAC_REF, .name = "ref" },
1459 { .id = STAC_9200_OQO, .name = "oqo" },
1460 { .id = STAC_9200_DELL_D21, .name = "dell-d21" },
1461 { .id = STAC_9200_DELL_D22, .name = "dell-d22" },
1462 { .id = STAC_9200_DELL_D23, .name = "dell-d23" },
[all …]
/sound/core/seq/
Dseq_device.c63 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()
204 int snd_seq_device_new(struct snd_card *card, int device, const char *id, in snd_seq_device_new() argument
218 if (snd_BUG_ON(!id)) in snd_seq_device_new()
228 dev->id = id; in snd_seq_device_new()
235 dev_set_name(&dev->dev, "%s-%d-%d", dev->id, card->number, device); in snd_seq_device_new()
256 if (WARN_ON(!drv->driver.name || !drv->id)) in __snd_seq_driver_register()

12345678910>>...21