Home
last modified time | relevance | path

Searched refs:source (Results 1 – 25 of 220) sorted by relevance

123456789

/sound/soc/
DKconfig69 source "sound/soc/adi/Kconfig"
70 source "sound/soc/amd/Kconfig"
71 source "sound/soc/apple/Kconfig"
72 source "sound/soc/atmel/Kconfig"
73 source "sound/soc/au1x/Kconfig"
74 source "sound/soc/bcm/Kconfig"
75 source "sound/soc/cirrus/Kconfig"
76 source "sound/soc/dwc/Kconfig"
77 source "sound/soc/fsl/Kconfig"
78 source "sound/soc/hisilicon/Kconfig"
[all …]
Dsoc-dapm.c54 int (*connected)(struct snd_soc_dapm_widget *source,
295 if (p->source->endpoints[SND_SOC_DAPM_DIR_IN] != 0) in dapm_path_invalidate()
298 dapm_widget_invalidate_output_paths(p->source); in dapm_path_invalidate()
1011 path->source, in dapm_new_mixer()
1470 !path->connected(path->source, path->sink)) in dapm_supply_check_power()
1899 dapm_widget_set_peer_power(path->source, power, path->connect); in dapm_widget_set_power()
2149 if (p->connected && !p->connected(p->source, p->sink)) in dapm_widget_power_read_file()
2271 dapm_mark_dirty(path->source, reason); in soc_dapm_connect_path()
2672 p->source->name, p->sink->name); in dapm_update_dai_chan()
2707 ret = dapm_update_dai_chan(p, p->source, channels); in dapm_update_dai_unlocked()
[all …]
/sound/
DKconfig40 source "sound/oss/dmasound/Kconfig"
54 source "sound/core/Kconfig"
56 source "sound/drivers/Kconfig"
58 source "sound/isa/Kconfig"
60 source "sound/pci/Kconfig"
62 source "sound/hda/Kconfig"
64 source "sound/ppc/Kconfig"
66 source "sound/ac97/Kconfig"
68 source "sound/aoa/Kconfig"
70 source "sound/arm/Kconfig"
[all …]
/sound/pci/au88x0/
Dau88x0_a3d.c26 a3d_addrA(a->slice, a->source, A3D_A_HrtfTrackTC), HrtfTrack); in a3dsrc_SetTimeConsts()
28 a3d_addrA(a->slice, a->source, A3D_A_ITDTrackTC), ItdTrack); in a3dsrc_SetTimeConsts()
30 a3d_addrA(a->slice, a->source, A3D_A_GainTrackTC), GTrack); in a3dsrc_SetTimeConsts()
32 a3d_addrA(a->slice, a->source, A3D_A_CoeffTrackTC), CTrack); in a3dsrc_SetTimeConsts()
52 a3d_addrB(a->slice, a->source, A3D_B_A21Target), in a3dsrc_SetAtmosTarget()
55 a3d_addrB(a->slice, a->source, A3D_B_B10Target), in a3dsrc_SetAtmosTarget()
58 a3d_addrB(a->slice, a->source, A3D_B_B2Target), c); in a3dsrc_SetAtmosTarget()
67 a3d_addrB(a->slice, a->source, A3D_B_A12Current), in a3dsrc_SetAtmosCurrent()
70 a3d_addrB(a->slice, a->source, A3D_B_B01Current), in a3dsrc_SetAtmosCurrent()
73 a3d_addrB(a->slice, a->source, A3D_B_B2Current), c); in a3dsrc_SetAtmosCurrent()
[all …]
Dau88x0_a3d.h37 unsigned int source; /* this_04 */ member
106 #define a3d_addrA(slice,source,reg) (((slice)<<0xd)+((source)*0x3A4)+(reg)) argument
107 #define a3d_addrB(slice,source,reg) (((slice)<<0xd)+((source)*0x2C8)+(reg)) argument
Dau88x0_core.c1717 unsigned char source, unsigned char dest) in vortex_route() argument
1721 route = ((source & ADB_MASK) << ADB_SHIFT) | (dest & ADB_MASK); in vortex_route()
1724 if ((source < (OFFSET_SRCOUT + NR_SRC)) in vortex_route()
1725 && (source >= OFFSET_SRCOUT)) in vortex_route()
1726 vortex_src_addWTD(vortex, (source - OFFSET_SRCOUT), in vortex_route()
1728 else if ((source < (OFFSET_MIXOUT + NR_MIXOUT)) in vortex_route()
1729 && (source >= OFFSET_MIXOUT)) in vortex_route()
1731 (source - OFFSET_MIXOUT), channel); in vortex_route()
1734 if ((source < (OFFSET_SRCOUT + NR_SRC)) in vortex_route()
1735 && (source >= OFFSET_SRCOUT)) in vortex_route()
[all …]
/sound/firewire/fireworks/
Dfireworks_command.c29 u32 source; member
283 be32_to_cpus(&clock->source); in command_get_clock()
294 unsigned int source, unsigned int rate) in command_set_clock() argument
300 if ((source == UINT_MAX) && (rate == UINT_MAX)) { in command_set_clock()
311 if ((clock.source == source) && (clock.sampling_rate == rate)) in command_set_clock()
315 if ((source != UINT_MAX) && (clock.source != source)) in command_set_clock()
316 clock.source = source; in command_set_clock()
321 cpu_to_be32s(&clock.source); in command_set_clock()
343 enum snd_efw_clock_source *source) in snd_efw_command_get_clock_source() argument
350 *source = clock.source; in snd_efw_command_get_clock_source()
Dfireworks_transaction.c165 handle_resp_for_user(struct fw_card *card, int generation, int source, in handle_resp_for_user() argument
183 if (device->node_id != source) in handle_resp_for_user()
197 handle_resp_for_kernel(struct fw_card *card, int generation, int source, in handle_resp_for_kernel() argument
211 if (device->node_id != source) in handle_resp_for_kernel()
227 int tcode, int destination, int source, in efw_response() argument
245 handle_resp_for_kernel(card, generation, source, in efw_response()
248 handle_resp_for_user(card, generation, source, in efw_response()
251 handle_resp_for_user(card, generation, source, in efw_response()
/sound/usb/line6/
Dtoneport.c45 int source; member
215 ucontrol->value.enumerated.item[0] = toneport->source; in snd_toneport_source_get()
225 unsigned int source; in snd_toneport_source_put() local
227 source = ucontrol->value.enumerated.item[0]; in snd_toneport_source_put()
228 if (source >= ARRAY_SIZE(toneport_source_info)) in snd_toneport_source_put()
230 if (source == toneport->source) in snd_toneport_source_put()
233 toneport->source = source; in snd_toneport_source_put()
235 toneport_source_info[source].code, 0x0000); in snd_toneport_source_put()
382 toneport_source_info[toneport->source].code, in toneport_setup()
/sound/soc/intel/avs/boards/
Dssm4567.c148 dr[idx].source = devm_kasprintf(dev, GFP_KERNEL, "ssp%d Tx", ssp_port); in avs_create_dapm_routes()
149 if (!dr[idx].sink || !dr[idx].source) in avs_create_dapm_routes()
154 dr[idx].source = devm_kasprintf(dev, GFP_KERNEL, "ssp%d Tx", ssp_port); in avs_create_dapm_routes()
155 if (!dr[idx].sink || !dr[idx].source) in avs_create_dapm_routes()
160 dr[idx].source = devm_kasprintf(dev, GFP_KERNEL, "Left Capture Sense"); in avs_create_dapm_routes()
161 if (!dr[idx].sink || !dr[idx].source) in avs_create_dapm_routes()
166 dr[idx].source = devm_kasprintf(dev, GFP_KERNEL, "Right Capture Sense"); in avs_create_dapm_routes()
167 if (!dr[idx].sink || !dr[idx].source) in avs_create_dapm_routes()
Di2s_test.c67 dr[0].source = devm_kasprintf(dev, GFP_KERNEL, "ssp%d Tx", ssp_port); in avs_create_dapm_routes()
68 if (!dr[0].sink || !dr[0].source) in avs_create_dapm_routes()
72 dr[1].source = devm_kasprintf(dev, GFP_KERNEL, "ssp%dcp", ssp_port); in avs_create_dapm_routes()
73 if (!dr[1].sink || !dr[1].source) in avs_create_dapm_routes()
/sound/firewire/motu/
Dmotu-register-dsp-message-parser.c201 if (param->mixer.source[mixer_ch].gain[mixer_src_ch] != val) { in snd_motu_register_dsp_message_parser_parse()
203 param->mixer.source[mixer_ch].gain[mixer_src_ch] = val; in snd_motu_register_dsp_message_parser_parse()
207 if (param->mixer.source[mixer_ch].pan[mixer_src_ch] != val) { in snd_motu_register_dsp_message_parser_parse()
209 param->mixer.source[mixer_ch].pan[mixer_src_ch] = val; in snd_motu_register_dsp_message_parser_parse()
213 if (param->mixer.source[mixer_ch].flag[mixer_src_ch] != val) { in snd_motu_register_dsp_message_parser_parse()
215 param->mixer.source[mixer_ch].flag[mixer_src_ch] = val; in snd_motu_register_dsp_message_parser_parse()
219 if (param->mixer.source[mixer_ch].paired_balance[mixer_src_ch] != val) { in snd_motu_register_dsp_message_parser_parse()
221 param->mixer.source[mixer_ch].paired_balance[mixer_src_ch] = val; in snd_motu_register_dsp_message_parser_parse()
225 if (param->mixer.source[mixer_ch].paired_width[mixer_src_ch] != val) { in snd_motu_register_dsp_message_parser_parse()
227 param->mixer.source[mixer_ch].paired_width[mixer_src_ch] = val; in snd_motu_register_dsp_message_parser_parse()
Dmotu-proc.c32 enum snd_motu_clock_source source; in proc_read_clock() local
36 if (snd_motu_protocol_get_clock_source(motu, &source) < 0) in proc_read_clock()
40 snd_iprintf(buffer, "Source:\t%s\n", clock_names[source]); in proc_read_clock()
/sound/aoa/
DKconfig12 source "sound/aoa/fabrics/Kconfig"
14 source "sound/aoa/codecs/Kconfig"
16 source "sound/aoa/soundbus/Kconfig"
/sound/soc/codecs/
Dwm8940.c524 static void pll_factors(unsigned int target, unsigned int source) in pll_factors() argument
529 Ndiv = target / source; in pll_factors()
532 source <<= 1; in pll_factors()
535 Ndiv = target / source; in pll_factors()
537 source >>= 2; in pll_factors()
540 Ndiv = target / source; in pll_factors()
542 source >>= 1; in pll_factors()
545 Ndiv = target / source; in pll_factors()
555 Nmod = target % source; in pll_factors()
558 do_div(Kpart, source); in pll_factors()
[all …]
Dwm2000.c428 enum wm2000_anc_mode source; member
434 .source = ANC_OFF,
442 .source = ANC_OFF,
450 .source = ANC_OFF,
459 .source = ANC_ACTIVE,
467 .source = ANC_ACTIVE,
475 .source = ANC_ACTIVE,
483 .source = ANC_BYPASS,
491 .source = ANC_BYPASS,
500 .source = ANC_BYPASS,
[all …]
Dadav80x.c211 static int adav80x_dapm_sysclk_check(struct snd_soc_dapm_widget *source, in adav80x_dapm_sysclk_check() argument
214 struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm); in adav80x_dapm_sysclk_check()
232 return strcmp(source->name, clk) == 0; in adav80x_dapm_sysclk_check()
235 static int adav80x_dapm_pll_check(struct snd_soc_dapm_widget *source, in adav80x_dapm_pll_check() argument
238 struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm); in adav80x_dapm_pll_check()
538 int clk_id, int source, in adav80x_set_sysclk() argument
623 int source, unsigned int freq_in, unsigned int freq_out) in adav80x_set_pll() argument
631 switch (source) { in adav80x_set_pll()
647 if (source == ADAV80X_PLL_SRC_XIN) { in adav80x_set_pll()
681 if (source != adav80x->pll_src) { in adav80x_set_pll()
[all …]
Drt5631.c282 static int check_sysclk1_source(struct snd_soc_dapm_widget *source, in check_sysclk1_source() argument
285 struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm); in check_sysclk1_source()
292 static int check_dmic_used(struct snd_soc_dapm_widget *source, in check_dmic_used() argument
295 struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm); in check_dmic_used()
300 static int check_dacl_to_outmixl(struct snd_soc_dapm_widget *source, in check_dacl_to_outmixl() argument
303 struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm); in check_dacl_to_outmixl()
310 static int check_dacr_to_outmixr(struct snd_soc_dapm_widget *source, in check_dacr_to_outmixr() argument
313 struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm); in check_dacr_to_outmixr()
320 static int check_dacl_to_spkmixl(struct snd_soc_dapm_widget *source, in check_dacl_to_spkmixl() argument
323 struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm); in check_dacl_to_spkmixl()
[all …]
Drt1016.c176 static int rt1016_is_sys_clk_from_pll(struct snd_soc_dapm_widget *source, in rt1016_is_sys_clk_from_pll() argument
180 snd_soc_dapm_to_component(source->dapm); in rt1016_is_sys_clk_from_pll()
420 int clk_id, int source, unsigned int freq, int dir) in rt1016_set_component_sysclk() argument
455 int pll_id, int source, unsigned int freq_in, in rt1016_set_component_pll() argument
471 if (source == rt1016->pll_src && freq_in == rt1016->pll_in && in rt1016_set_component_pll()
475 switch (source) { in rt1016_set_component_pll()
487 dev_err(component->dev, "Unknown PLL Source %d\n", source); in rt1016_set_component_pll()
512 rt1016->pll_src = source; in rt1016_set_component_pll()
Dwm8510.c277 static void pll_factors(unsigned int target, unsigned int source) in pll_factors() argument
282 Ndiv = target / source; in pll_factors()
284 source >>= 1; in pll_factors()
286 Ndiv = target / source; in pll_factors()
296 Nmod = target % source; in pll_factors()
299 do_div(Kpart, source); in pll_factors()
314 int source, unsigned int freq_in, unsigned int freq_out) in wm8510_set_dai_pll() argument
Dwm8960.c51 static bool is_pll_freq_available(unsigned int source, unsigned int target);
1124 static bool is_pll_freq_available(unsigned int source, unsigned int target) in is_pll_freq_available() argument
1128 if (source == 0 || target == 0) in is_pll_freq_available()
1133 Ndiv = target / source; in is_pll_freq_available()
1136 source >>= 1; in is_pll_freq_available()
1137 Ndiv = target / source; in is_pll_freq_available()
1150 static int pll_factors(unsigned int source, unsigned int target, in pll_factors() argument
1156 pr_debug("WM8960 PLL: setting %dHz->%dHz\n", source, target); in pll_factors()
1161 Ndiv = target / source; in pll_factors()
1163 source >>= 1; in pll_factors()
[all …]
/sound/soc/intel/avs/
Dpath.c565 binding->source = target_mod; in avs_path_binding_arm()
570 binding->source = this_mod; in avs_path_binding_arm()
605 struct avs_path_module *source, *sink; in avs_path_pipeline_arm() local
617 source = mod; in avs_path_pipeline_arm()
619 if (!source || !sink) in avs_path_pipeline_arm()
622 ret = avs_ipc_bind(adev, source->module_id, source->instance_id, in avs_path_pipeline_arm()
850 struct avs_tplg_module *tsource = binding->source->template; in avs_path_bind_prepare()
851 struct avs_path_module *source = binding->source; in avs_path_bind_prepare() local
866 ret = avs_ipc_copier_set_sink_format(adev, source->module_id, in avs_path_bind_prepare()
867 source->instance_id, binding->source_pin, in avs_path_bind_prepare()
[all …]
/sound/soc/meson/
Dmeson-codec-glue.c25 snd_soc_dapm_to_component(p->source->dapm)) in meson_codec_glue_get_input()
28 if (p->source->id == snd_soc_dapm_dai_in) in meson_codec_glue_get_input()
29 return p->source; in meson_codec_glue_get_input()
31 in = meson_codec_glue_get_input(p->source); in meson_codec_glue_get_input()
/sound/core/seq/
Dseq_system.c65 ev->source.client = sysclient; in setheader()
66 ev->source.port = announce_port; in setheader()
93 ev->source.client = sysclient; in snd_seq_system_notify()
94 ev->source.port = announce_port; in snd_seq_system_notify()
/sound/soc/mediatek/mt8183/
Dmt8183-dai-i2s.c423 static int mtk_afe_i2s_share_connect(struct snd_soc_dapm_widget *source, in mtk_afe_i2s_share_connect() argument
441 return i2s_priv->share_i2s_id == get_i2s_id_by_name(afe, source->name); in mtk_afe_i2s_share_connect()
444 static int mtk_afe_i2s_hd_connect(struct snd_soc_dapm_widget *source, in mtk_afe_i2s_hd_connect() argument
460 get_i2s_id_by_name(afe, source->name)) in mtk_afe_i2s_hd_connect()
467 if (i2s_priv->share_i2s_id == get_i2s_id_by_name(afe, source->name)) in mtk_afe_i2s_hd_connect()
473 static int mtk_afe_i2s_apll_connect(struct snd_soc_dapm_widget *source, in mtk_afe_i2s_apll_connect() argument
491 cur_apll = mt8183_get_apll_by_name(afe, source->name); in mtk_afe_i2s_apll_connect()
499 static int mtk_afe_i2s_mclk_connect(struct snd_soc_dapm_widget *source, in mtk_afe_i2s_mclk_connect() argument
515 get_i2s_id_by_name(afe, source->name)) in mtk_afe_i2s_mclk_connect()
522 if (i2s_priv->share_i2s_id == get_i2s_id_by_name(afe, source->name)) in mtk_afe_i2s_mclk_connect()
[all …]

123456789