Home
last modified time | relevance | path

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

12345678910>>...31

/sound/soc/intel/boards/
Dsof_ssp_amp.c192 pcm->device = rtd->dai_link->id; in sof_hdmi_init()
211 int i, id = 0; in sof_card_dai_links_create() local
231 links[id].cpus = &cpus[id]; in sof_card_dai_links_create()
232 links[id].cpus->dai_name = devm_kasprintf(dev, GFP_KERNEL, in sof_card_dai_links_create()
234 if (!links[id].cpus->dai_name) in sof_card_dai_links_create()
236 links[id].name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d-HDMI", port); in sof_card_dai_links_create()
237 if (!links[id].name) in sof_card_dai_links_create()
239 links[id].id = id; in sof_card_dai_links_create()
240 links[id].codecs = dummy_component; in sof_card_dai_links_create()
241 links[id].num_codecs = ARRAY_SIZE(dummy_component); in sof_card_dai_links_create()
[all …]
Dsof_cs42l42.c99 pcm->device = rtd->dai_link->id; in sof_hdmi_init()
309 int *id, int ssp_amp) in create_spk_amp_dai_links() argument
317 links[*id].name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d-Codec", in create_spk_amp_dai_links()
319 if (!links[*id].name) { in create_spk_amp_dai_links()
324 links[*id].id = *id; in create_spk_amp_dai_links()
327 max_98357a_dai_link(&links[*id]); in create_spk_amp_dai_links()
329 max_98360a_dai_link(&links[*id]); in create_spk_amp_dai_links()
336 links[*id].platforms = platform_component; in create_spk_amp_dai_links()
337 links[*id].num_platforms = ARRAY_SIZE(platform_component); in create_spk_amp_dai_links()
338 links[*id].dpcm_playback = 1; in create_spk_amp_dai_links()
[all …]
Dsof_nau8825.c77 pcm->device = rtd->dai_link->id; in sof_hdmi_init()
357 int i, id = 0; in sof_card_dai_links_create() local
367 links[id].name = devm_kasprintf(dev, GFP_KERNEL, in sof_card_dai_links_create()
369 if (!links[id].name) in sof_card_dai_links_create()
372 links[id].id = id; in sof_card_dai_links_create()
373 links[id].codecs = nau8825_component; in sof_card_dai_links_create()
374 links[id].num_codecs = ARRAY_SIZE(nau8825_component); in sof_card_dai_links_create()
375 links[id].platforms = platform_component; in sof_card_dai_links_create()
376 links[id].num_platforms = ARRAY_SIZE(platform_component); in sof_card_dai_links_create()
377 links[id].init = sof_nau8825_codec_init; in sof_card_dai_links_create()
[all …]
Dsof_pcm512x.c53 static int sof_pcm512x_quirk_cb(const struct dmi_system_id *id) in sof_pcm512x_quirk_cb() argument
55 sof_pcm512x_quirk = (unsigned long)id->driver_data; in sof_pcm512x_quirk_cb()
82 pcm->device = rtd->dai_link->id; in sof_hdmi_init()
227 int i, id = 0; in sof_card_dai_links_create() local
237 links[id].name = devm_kasprintf(dev, GFP_KERNEL, in sof_card_dai_links_create()
239 if (!links[id].name) in sof_card_dai_links_create()
242 links[id].id = id; in sof_card_dai_links_create()
243 links[id].codecs = pcm512x_component; in sof_card_dai_links_create()
244 links[id].num_codecs = ARRAY_SIZE(pcm512x_component); in sof_card_dai_links_create()
245 links[id].platforms = platform_component; in sof_card_dai_links_create()
[all …]
Dsof_rt5682.c86 static int sof_rt5682_quirk_cb(const struct dmi_system_id *id) in sof_rt5682_quirk_cb() argument
88 sof_rt5682_quirk = (unsigned long)id->driver_data; in sof_rt5682_quirk_cb()
252 pcm->device = rtd->dai_link->id; in sof_hdmi_init()
611 int i, id = 0; in sof_card_dai_links_create() local
621 links[id].name = devm_kasprintf(dev, GFP_KERNEL, in sof_card_dai_links_create()
623 if (!links[id].name) in sof_card_dai_links_create()
626 links[id].id = id; in sof_card_dai_links_create()
628 links[id].codecs = rt5682s_component; in sof_card_dai_links_create()
629 links[id].num_codecs = ARRAY_SIZE(rt5682s_component); in sof_card_dai_links_create()
631 links[id].codecs = rt5682_component; in sof_card_dai_links_create()
[all …]
Dsof_es8336.c262 pcm->device = runtime->dai_link->id; in sof_hdmi_init()
316 static int sof_es8336_quirk_cb(const struct dmi_system_id *id) in sof_es8336_quirk_cb() argument
318 quirk = (unsigned long)id->driver_data; in sof_es8336_quirk_cb()
440 int id = 0; in sof_card_dai_links_create() local
451 links[id].name = devm_kasprintf(dev, GFP_KERNEL, in sof_card_dai_links_create()
453 if (!links[id].name) in sof_card_dai_links_create()
456 links[id].id = id; in sof_card_dai_links_create()
457 links[id].codecs = es8336_codec; in sof_card_dai_links_create()
458 links[id].num_codecs = ARRAY_SIZE(es8336_codec); in sof_card_dai_links_create()
459 links[id].platforms = platform_component; in sof_card_dai_links_create()
[all …]
/sound/usb/
Dmixer_maps.c15 int id; member
22 int id; member
28 u32 id; member
178 .id = 0x80,
187 .id = 14, /* Capture Source */
192 .id = 29, /* Digital Out Source */
197 .id = 31, /* Headphone Source */
497 .id = USB_ID(0x041e, 0x3000),
501 .id = USB_ID(0x041e, 0x3010),
505 .id = USB_ID(0x041e, 0x3020),
[all …]
/sound/soc/tegra/
Dtegra186_asrc.c25 #define ASRC_STREAM_SOURCE_SELECT(id) \ argument
26 (TEGRA186_ASRC_CFG + ((id) * TEGRA186_ASRC_STREAM_STRIDE))
28 #define ASRC_STREAM_REG(reg, id) ((reg) + ((id) * TEGRA186_ASRC_STREAM_STRIDE)) argument
30 #define ASRC_STREAM_REG_DEFAULTS(id) \ argument
31 { ASRC_STREAM_REG(TEGRA186_ASRC_CFG, id), \
32 (((id) + 1) << 4) }, \
33 { ASRC_STREAM_REG(TEGRA186_ASRC_RATIO_INT_PART, id), \
35 { ASRC_STREAM_REG(TEGRA186_ASRC_RATIO_FRAC_PART, id), \
37 { ASRC_STREAM_REG(TEGRA186_ASRC_MUTE_UNMUTE_DURATION, id), \
39 { ASRC_STREAM_REG(TEGRA186_ASRC_RX_CIF_CTRL, id), \
[all …]
Dtegra210_mixer.c24 #define MIXER_REG(reg, id) ((reg) + ((id) * TEGRA210_MIXER_REG_STRIDE)) argument
27 #define MIXER_GAIN_CFG_RAM_ADDR(id) \ argument
29 ((id) * TEGRA210_MIXER_GAIN_CFG_RAM_ADDR_STRIDE))
31 #define MIXER_RX_REG_DEFAULTS(id) \ argument
32 { MIXER_REG(TEGRA210_MIXER_RX1_CIF_CTRL, id), 0x00007700}, \
33 { MIXER_REG(TEGRA210_MIXER_RX1_CTRL, id), 0x00010823}, \
34 { MIXER_REG(TEGRA210_MIXER_RX1_PEAK_CTRL, id), 0x000012c0}
36 #define MIXER_TX_REG_DEFAULTS(id) \ argument
37 { MIXER_REG(TEGRA210_MIXER_TX1_INT_MASK, (id)), 0x00000001}, \
38 { MIXER_REG(TEGRA210_MIXER_TX1_CIF_CTRL, (id)), 0x00007700}
[all …]
Dtegra210_adx.c154 TEGRA210_ADX_TX1_CIF_CTRL + ((dai->id - 1) * TEGRA210_ADX_AUDIOCIF_CH_STRIDE)); in tegra210_adx_out_hw_params()
255 #define OUT_DAI(id) \ argument
257 .name = "ADX-TX" #id "-CIF", \
259 .stream_name = "TX" #id "-CIF-Playback",\
268 .stream_name = "TX" #id "-CIF-Capture", \
296 #define STREAM_ROUTES(id, sname) \ argument
300 { "TX" #id, NULL, "RX" }, \
301 { "TX" #id "-CIF-" sname, NULL, "TX" #id }, \
302 { "TX" #id " XBAR-" sname, NULL, "TX" #id "-CIF-" sname }, \
303 { "TX" #id " XBAR-RX", NULL, "TX" #id " XBAR-" sname }
[all …]
/sound/isa/ad1816a/
Dad1816a.c27 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */ variable
40 module_param_array(id, charp, NULL, 0444);
41 MODULE_PARM_DESC(id, "ID string for ad1816a based soundcard.");
49 { .id = "ADS7150", .devs = { { .id = "ADS7150" }, { .id = "ADS7151" } } },
51 { .id = "ADS7180", .devs = { { .id = "ADS7180" }, { .id = "ADS7181" } } },
53 { .id = "ADS7181", .devs = { { .id = "ADS7180" }, { .id = "ADS7181" } } },
55 { .id = "AZT1022", .devs = { { .id = "AZT1018" }, { .id = "AZT2002" } } },
57 { .id = "LWC1061", .devs = { { .id = "ADS7180" }, { .id = "ADS7181" } } },
59 { .id = "MDK1605", .devs = { { .id = "ADS7180" }, { .id = "ADS7181" } } },
61 { .id = "SMM7180", .devs = { { .id = "ADS7180" }, { .id = "ADS7181" } } },
[all …]
/sound/isa/cs423x/
Dcs4236.c27 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */ variable
44 module_param_array(id, charp, NULL, 0444);
45 MODULE_PARM_DESC(id, "ID string for " IDENT " soundcard.");
92 { .id = "CSC0100" },
93 { .id = "CSC0000" },
96 { .id = "GIM0100" },
97 { .id = "" }
104 { .id = "CSC0d32", .devs = { { "CSC0000" }, { "CSC0010" }, { "PNPb006" } } },
106 { .id = "CSC1a32", .devs = { { "CSC0000" }, { "CSC0010" }, { "CSC0003" } } },
108 { .id = "CSC4232", .devs = { { "CSC0000" }, { "CSC0002" }, { "CSC0003" } } },
[all …]
/sound/pci/ice1712/
Dwtm.c68 int id, idx, change; in stac9460_dac_mute_all() local
71 for (id = 0; id < 7; id++) { in stac9460_dac_mute_all()
72 if (*change_mask & (0x01 << id)) { in stac9460_dac_mute_all()
73 if (id == 0) in stac9460_dac_mute_all()
76 idx = STAC946X_LF_VOLUME - 1 + id; in stac9460_dac_mute_all()
82 *change_mask = *change_mask | (0x01 << id); in stac9460_dac_mute_all()
84 *change_mask = *change_mask & ~(0x01 << id); in stac9460_dac_mute_all()
90 for (id = 0; id < 3; id++) { in stac9460_dac_mute_all()
91 if (*change_mask & (0x01 << (id + 7))) { in stac9460_dac_mute_all()
92 if (id == 0) in stac9460_dac_mute_all()
[all …]
/sound/isa/sb/
Dsb16.c47 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */ variable
71 module_param_array(id, charp, NULL, 0444);
72 MODULE_PARM_DESC(id, "ID string for SoundBlaster 16 soundcard.");
128 { .id = "CTL0024", .devs = { { "CTL0031" } } },
130 { .id = "CTL0025", .devs = { { "CTL0031" } } },
132 { .id = "CTL0026", .devs = { { "CTL0031" } } },
134 { .id = "CTL0027", .devs = { { "CTL0031" } } },
136 { .id = "CTL0028", .devs = { { "CTL0031" } } },
138 { .id = "CTL0029", .devs = { { "CTL0031" } } },
140 { .id = "CTL002a", .devs = { { "CTL0031" } } },
[all …]
/sound/core/
Dcontrol.c150 struct snd_ctl_elem_id *id) in snd_ctl_notify() argument
156 if (snd_BUG_ON(!card || !id)) in snd_ctl_notify()
169 if (ev->id.numid == id->numid) { in snd_ctl_notify()
176 ev->id = *id; in snd_ctl_notify()
204 struct snd_ctl_elem_id id = kctl->id; in snd_ctl_notify_one() local
207 id.index += ioff; in snd_ctl_notify_one()
208 id.numid += ioff; in snd_ctl_notify_one()
209 snd_ctl_notify(card, mask, &id); in snd_ctl_notify_one()
294 kctl->id.iface = ncontrol->iface; in snd_ctl_new1()
295 kctl->id.device = ncontrol->device; in snd_ctl_new1()
[all …]
/sound/soc/qcom/qdsp6/
Dq6routing.c28 #define Q6ROUTING_RX_MIXERS(id) \ argument
29 SOC_SINGLE_EXT("MultiMedia1", id, \
32 SOC_SINGLE_EXT("MultiMedia2", id, \
35 SOC_SINGLE_EXT("MultiMedia3", id, \
38 SOC_SINGLE_EXT("MultiMedia4", id, \
41 SOC_SINGLE_EXT("MultiMedia5", id, \
44 SOC_SINGLE_EXT("MultiMedia6", id, \
47 SOC_SINGLE_EXT("MultiMedia7", id, \
50 SOC_SINGLE_EXT("MultiMedia8", id, \
131 #define Q6ROUTING_TX_MIXERS(id) \ argument
[all …]
Dq6dsp-lpass-ports.c25 .id = did, \
43 .id = did, \
61 .id = did, \
79 .id = did, \
97 .id = HDMI_RX,
101 .id = SLIMBUS_0_RX,
116 .id = SLIMBUS_0_TX,
143 .id = SLIMBUS_1_RX,
146 .id = SLIMBUS_1_TX,
173 .id = SLIMBUS_2_RX,
[all …]
Dq6apm-lpass-dais.c31 struct audioreach_module_config *cfg = &dai_data->module_config[dai->id]; in q6dma_set_channel_map()
34 switch (dai->id) { in q6dma_set_channel_map()
85 __func__, dai->id); in q6dma_set_channel_map()
98 struct audioreach_module_config *cfg = &dai_data->module_config[dai->id]; in q6dma_hw_params()
112 if (!dai_data->is_port_started[dai->id]) in q6apm_lpass_dai_shutdown()
114 rc = q6apm_graph_stop(dai_data->graph[dai->id]); in q6apm_lpass_dai_shutdown()
118 q6apm_graph_close(dai_data->graph[dai->id]); in q6apm_lpass_dai_shutdown()
119 dai_data->is_port_started[dai->id] = false; in q6apm_lpass_dai_shutdown()
125 struct audioreach_module_config *cfg = &dai_data->module_config[dai->id]; in q6apm_lpass_dai_prepare()
127 int graph_id = dai->id; in q6apm_lpass_dai_prepare()
[all …]
Dq6afe-dai.c41 struct q6afe_slim_cfg *slim = &dai_data->port_config[dai->id].slim; in q6slim_hw_params()
71 struct q6afe_hdmi_cfg *hdmi = &dai_data->port_config[dai->id].hdmi; in q6hdmi_hw_params()
119 struct q6afe_i2s_cfg *i2s = &dai_data->port_config[dai->id].i2s_cfg; in q6i2s_hw_params()
124 i2s->sd_line_mask = dai_data->priv[dai->id].sd_line_mask; in q6i2s_hw_params()
132 struct q6afe_i2s_cfg *i2s = &dai_data->port_config[dai->id].i2s_cfg; in q6i2s_set_fmt()
146 struct q6afe_tdm_cfg *tdm = &dai_data->port_config[dai->id].tdm; in q6tdm_set_tdm_slot()
177 switch (dai->id) { in q6tdm_set_tdm_slot()
182 tdm->slot_mask = ((dai->id & 0x1) ? tx_mask : rx_mask) & cap_mask; in q6tdm_set_tdm_slot()
186 __func__, dai->id); in q6tdm_set_tdm_slot()
199 struct q6afe_tdm_cfg *tdm = &dai_data->port_config[dai->id].tdm; in q6tdm_set_channel_map()
[all …]
/sound/soc/qcom/
Dlpass-cdc-dma.c33 struct lpaif_dmactl **dmactl, int *id) in __lpass_get_dmactl_handle() argument
41 unsigned int dai_id = cpu_dai->driver->id; in __lpass_get_dmactl_handle()
46 *id = pcm_data->dma_ch; in __lpass_get_dmactl_handle()
50 *id = pcm_data->dma_ch - v->rxtx_wrdma_channel_start; in __lpass_get_dmactl_handle()
54 *id = pcm_data->dma_ch - v->va_wrdma_channel_start; in __lpass_get_dmactl_handle()
129 int ret, id, codec_intf; in __lpass_platform_codec_intf_init() local
130 unsigned int dai_id = cpu_dai->driver->id; in __lpass_platform_codec_intf_init()
138 __lpass_get_dmactl_handle(substream, dai, &dmactl, &id); in __lpass_platform_codec_intf_init()
142 ret = regmap_fields_write(dmactl->codec_intf, id, codec_intf); in __lpass_platform_codec_intf_init()
147 ret = regmap_fields_write(dmactl->codec_fs_sel, id, 0x0); in __lpass_platform_codec_intf_init()
[all …]
/sound/soc/intel/common/
Dsoc-acpi-intel-kbl-match.c47 .id = "INT343A",
52 .id = "INT343B",
60 .id = "MX98357A",
68 .id = "MX98927",
76 .id = "MX98927",
84 .id = "10EC5663",
89 .id = "DLGS7219",
97 .id = "DLGS7219",
105 .id = "10EC5660",
110 .id = "10EC3277",
[all …]
Dsoc-acpi-intel-cht-match.c16 static int cht_surface_quirk_cb(const struct dmi_system_id *id) in cht_surface_quirk_cb() argument
34 .id = "10EC5640",
95 .id = "10WM5102",
149 .id = "193C9890",
156 .id = "10508824",
170 .id = "ESSX8316",
187 .id = "10EC5682",
193 .id = "10EC5651",
200 .id = "14F10720",
207 .id = "104C5122",
[all …]
/sound/soc/mediatek/common/
Dmtk-afe-fe-dai.c43 int memif_num = asoc_rtd_to_cpu(rtd, 0)->id; in mtk_afe_fe_startup()
103 struct mtk_base_afe_memif *memif = &afe->memif[asoc_rtd_to_cpu(rtd, 0)->id]; in mtk_afe_fe_shutdown()
125 int id = asoc_rtd_to_cpu(rtd, 0)->id; in mtk_afe_fe_hw_params() local
126 struct mtk_base_afe_memif *memif = &afe->memif[id]; in mtk_afe_fe_hw_params()
146 ret = mtk_memif_set_addr(afe, id, in mtk_afe_fe_hw_params()
152 __func__, id, ret); in mtk_afe_fe_hw_params()
157 ret = mtk_memif_set_channel(afe, id, channels); in mtk_afe_fe_hw_params()
160 __func__, id, channels, ret); in mtk_afe_fe_hw_params()
165 ret = mtk_memif_set_rate_substream(substream, id, rate); in mtk_afe_fe_hw_params()
168 __func__, id, rate, ret); in mtk_afe_fe_hw_params()
[all …]
/sound/
Dac97_bus.c26 static bool snd_ac97_check_id(struct snd_ac97 *ac97, unsigned int id, in snd_ac97_check_id() argument
29 ac97->id = ac97->bus->ops->read(ac97, AC97_VENDOR_ID1) << 16; in snd_ac97_check_id()
30 ac97->id |= ac97->bus->ops->read(ac97, AC97_VENDOR_ID2); in snd_ac97_check_id()
32 if (ac97->id == 0x0 || ac97->id == 0xffffffff) in snd_ac97_check_id()
35 if (id != 0 && id != (ac97->id & id_mask)) in snd_ac97_check_id()
55 int snd_ac97_reset(struct snd_ac97 *ac97, bool try_warm, unsigned int id, in snd_ac97_reset() argument
62 if (snd_ac97_check_id(ac97, id, id_mask)) in snd_ac97_reset()
71 if (snd_ac97_check_id(ac97, id, id_mask)) in snd_ac97_reset()
/sound/isa/
Dals100.c33 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */ variable
45 module_param_array(id, charp, NULL, 0444);
46 MODULE_PARM_DESC(id, "ID string for Avance Logic based soundcard.");
61 { .id = "RWB1688",
65 { .id = "ALS0007",
69 { .id = "ALS0001",
73 { .id = "ALS0110",
77 { .id = "ALS0120",
81 { .id = "ALS0200",
85 { .id = "ALS0200",
[all …]

12345678910>>...31