Home
last modified time | relevance | path

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

12345

/sound/soc/
DKconfig34 source "sound/soc/adi/Kconfig"
35 source "sound/soc/atmel/Kconfig"
36 source "sound/soc/au1x/Kconfig"
37 source "sound/soc/bcm/Kconfig"
38 source "sound/soc/blackfin/Kconfig"
39 source "sound/soc/cirrus/Kconfig"
40 source "sound/soc/davinci/Kconfig"
41 source "sound/soc/dwc/Kconfig"
42 source "sound/soc/fsl/Kconfig"
43 source "sound/soc/jz4740/Kconfig"
[all …]
Dsoc-dapm.c53 int (*connected)(struct snd_soc_dapm_widget *source,
303 path->source, NULL, NULL); in dapm_kcontrol_add_path()
772 struct list_head *source) in dapm_clear_walk_input() argument
776 list_for_each_entry(p, source, list_sink) { in dapm_clear_walk_input()
779 dapm_clear_walk_input(dapm, &p->source->sources); in dapm_clear_walk_input()
1020 if (path->source && path->connect) { in is_connected_input_ep()
1027 err = dapm_list_add_widget(list, path->source); in is_connected_input_ep()
1037 con += is_connected_input_ep(path->source, list); in is_connected_input_ep()
1219 !path->connected(path->source, path->sink)) in dapm_supply_check_power()
1640 if (path->source) { in dapm_widget_set_power()
[all …]
/sound/pci/au88x0/
Dau88x0_a3d.c38 a3d_addrA(a->slice, a->source, A3D_A_HrtfTrackTC), HrtfTrack); in a3dsrc_SetTimeConsts()
40 a3d_addrA(a->slice, a->source, A3D_A_ITDTrackTC), ItdTrack); in a3dsrc_SetTimeConsts()
42 a3d_addrA(a->slice, a->source, A3D_A_GainTrackTC), GTrack); in a3dsrc_SetTimeConsts()
44 a3d_addrA(a->slice, a->source, A3D_A_CoeffTrackTC), CTrack); in a3dsrc_SetTimeConsts()
64 a3d_addrB(a->slice, a->source, A3D_B_A21Target), in a3dsrc_SetAtmosTarget()
67 a3d_addrB(a->slice, a->source, A3D_B_B10Target), in a3dsrc_SetAtmosTarget()
70 a3d_addrB(a->slice, a->source, A3D_B_B2Target), c); in a3dsrc_SetAtmosTarget()
79 a3d_addrB(a->slice, a->source, A3D_B_A12Current), in a3dsrc_SetAtmosCurrent()
82 a3d_addrB(a->slice, a->source, A3D_B_B01Current), in a3dsrc_SetAtmosCurrent()
85 a3d_addrB(a->slice, a->source, A3D_B_B2Current), c); in a3dsrc_SetAtmosCurrent()
[all …]
Dau88x0_a3d.h49 unsigned int source; /* this_04 */ member
118 #define a3d_addrA(slice,source,reg) (((slice)<<0xd)+((source)*0x3A4)+(reg)) argument
119 #define a3d_addrB(slice,source,reg) (((slice)<<0xd)+((source)*0x2C8)+(reg)) argument
Dau88x0_core.c1721 unsigned char source, unsigned char dest) in vortex_route() argument
1725 route = ((source & ADB_MASK) << ADB_SHIFT) | (dest & ADB_MASK); in vortex_route()
1728 if ((source < (OFFSET_SRCOUT + NR_SRC)) in vortex_route()
1729 && (source >= OFFSET_SRCOUT)) in vortex_route()
1730 vortex_src_addWTD(vortex, (source - OFFSET_SRCOUT), in vortex_route()
1732 else if ((source < (OFFSET_MIXOUT + NR_MIXOUT)) in vortex_route()
1733 && (source >= OFFSET_MIXOUT)) in vortex_route()
1735 (source - OFFSET_MIXOUT), channel); in vortex_route()
1738 if ((source < (OFFSET_SRCOUT + NR_SRC)) in vortex_route()
1739 && (source >= OFFSET_SRCOUT)) in vortex_route()
[all …]
/sound/
DKconfig57 source "sound/oss/dmasound/Kconfig"
71 source "sound/core/Kconfig"
73 source "sound/drivers/Kconfig"
75 source "sound/isa/Kconfig"
77 source "sound/pci/Kconfig"
79 source "sound/ppc/Kconfig"
81 source "sound/aoa/Kconfig"
83 source "sound/arm/Kconfig"
85 source "sound/atmel/Kconfig"
87 source "sound/spi/Kconfig"
[all …]
/sound/firewire/fireworks/
Dfireworks_command.c30 u32 source; member
284 be32_to_cpus(&clock->source); in command_get_clock()
295 unsigned int source, unsigned int rate) in command_set_clock() argument
301 if ((source == UINT_MAX) && (rate == UINT_MAX)) { in command_set_clock()
312 if ((clock.source == source) && (clock.sampling_rate == rate)) in command_set_clock()
316 if ((source != UINT_MAX) && (clock.source != source)) in command_set_clock()
317 clock.source = source; in command_set_clock()
322 cpu_to_be32s(&clock.source); in command_set_clock()
344 enum snd_efw_clock_source *source) in snd_efw_command_get_clock_source() argument
351 *source = clock.source; in snd_efw_command_get_clock_source()
Dfireworks_transaction.c166 handle_resp_for_user(struct fw_card *card, int generation, int source, in handle_resp_for_user() argument
184 if (device->node_id != source) in handle_resp_for_user()
198 handle_resp_for_kernel(struct fw_card *card, int generation, int source, in handle_resp_for_kernel() argument
212 if (device->node_id != source) in handle_resp_for_kernel()
228 int tcode, int destination, int source, in efw_response() argument
246 handle_resp_for_kernel(card, generation, source, in efw_response()
249 handle_resp_for_user(card, generation, source, in efw_response()
252 handle_resp_for_user(card, generation, source, in efw_response()
/sound/soc/codecs/
Dwm2000.c437 enum wm2000_anc_mode source; member
443 .source = ANC_OFF,
451 .source = ANC_OFF,
459 .source = ANC_OFF,
468 .source = ANC_ACTIVE,
476 .source = ANC_ACTIVE,
484 .source = ANC_ACTIVE,
492 .source = ANC_BYPASS,
500 .source = ANC_BYPASS,
509 .source = ANC_BYPASS,
[all …]
Dwm8940.c529 static void pll_factors(unsigned int target, unsigned int source) in pll_factors() argument
534 Ndiv = target / source; in pll_factors()
537 source <<= 1; in pll_factors()
540 Ndiv = target / source; in pll_factors()
542 source >>= 2; in pll_factors()
545 Ndiv = target / source; in pll_factors()
547 source >>= 1; in pll_factors()
550 Ndiv = target / source; in pll_factors()
560 Nmod = target % source; in pll_factors()
563 do_div(Kpart, source); in pll_factors()
[all …]
Dadav80x.c212 static int adav80x_dapm_sysclk_check(struct snd_soc_dapm_widget *source, in adav80x_dapm_sysclk_check() argument
215 struct snd_soc_codec *codec = source->codec; in adav80x_dapm_sysclk_check()
233 return strcmp(source->name, clk) == 0; in adav80x_dapm_sysclk_check()
236 static int adav80x_dapm_pll_check(struct snd_soc_dapm_widget *source, in adav80x_dapm_pll_check() argument
239 struct snd_soc_codec *codec = source->codec; 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
630 switch (source) { in adav80x_set_pll()
646 if (source == ADAV80X_PLL_SRC_XIN) { in adav80x_set_pll()
679 if (source != adav80x->pll_src) { in adav80x_set_pll()
[all …]
Drt5631.c287 static int check_sysclk1_source(struct snd_soc_dapm_widget *source, in check_sysclk1_source() argument
292 reg = snd_soc_read(source->codec, RT5631_GLOBAL_CLK_CTRL); in check_sysclk1_source()
296 static int check_dmic_used(struct snd_soc_dapm_widget *source, in check_dmic_used() argument
299 struct rt5631_priv *rt5631 = snd_soc_codec_get_drvdata(source->codec); in check_dmic_used()
303 static int check_dacl_to_outmixl(struct snd_soc_dapm_widget *source, in check_dacl_to_outmixl() argument
308 reg = snd_soc_read(source->codec, RT5631_OUTMIXER_L_CTRL); in check_dacl_to_outmixl()
312 static int check_dacr_to_outmixr(struct snd_soc_dapm_widget *source, in check_dacr_to_outmixr() argument
317 reg = snd_soc_read(source->codec, RT5631_OUTMIXER_R_CTRL); in check_dacr_to_outmixr()
321 static int check_dacl_to_spkmixl(struct snd_soc_dapm_widget *source, in check_dacl_to_spkmixl() argument
326 reg = snd_soc_read(source->codec, RT5631_SPK_MIXER_CTRL); in check_dacl_to_spkmixl()
[all …]
Dwm8974.c280 unsigned int target, unsigned int source) in pll_factors() argument
288 Ndiv = target / source; in pll_factors()
290 source /= 2; in pll_factors()
292 Ndiv = target / source; in pll_factors()
302 Nmod = target % source; in pll_factors()
305 do_div(Kpart, source); in pll_factors()
320 int source, unsigned int freq_in, unsigned int freq_out) in wm8974_set_dai_pll() argument
Dwm8510.c280 static void pll_factors(unsigned int target, unsigned int source) in pll_factors() argument
285 Ndiv = target / source; in pll_factors()
287 source >>= 1; in pll_factors()
289 Ndiv = target / source; in pll_factors()
299 Nmod = target % source; in pll_factors()
302 do_div(Kpart, source); in pll_factors()
317 int source, unsigned int freq_in, unsigned int freq_out) in wm8510_set_dai_pll() argument
Dwm8580.c370 unsigned int source) in pll_factors() argument
376 pr_debug("wm8580: PLL %uHz->%uHz\n", source, target); in pll_factors()
397 Ndiv = target / source; in pll_factors()
400 source /= 2; in pll_factors()
402 Ndiv = target / source; in pll_factors()
413 Nmod = target % source; in pll_factors()
416 do_div(Kpart, source); in pll_factors()
430 int source, unsigned int freq_in, unsigned int freq_out) in wm8580_set_dai_pll() argument
Dwm8804.c322 unsigned int source, unsigned int mclk_div) in pll_factors() argument
350 Ndiv = target / source; in pll_factors()
352 source >>= 1; in pll_factors()
354 Ndiv = target / source; in pll_factors()
364 Nmod = target % source; in pll_factors()
367 do_div(Kpart, source); in pll_factors()
379 int source, unsigned int freq_in, in wm8804_set_pll() argument
Dwm8960.c781 static int pll_factors(unsigned int source, unsigned int target, in pll_factors() argument
787 pr_debug("WM8960 PLL: setting %dHz->%dHz\n", source, target); in pll_factors()
792 Ndiv = target / source; in pll_factors()
794 source >>= 1; in pll_factors()
796 Ndiv = target / source; in pll_factors()
806 Nmod = target % source; in pll_factors()
809 do_div(Kpart, source); in pll_factors()
829 int source, unsigned int freq_in, unsigned int freq_out) in wm8960_set_dai_pll() argument
Dwm9713.c692 static void pll_factors(struct _pll_div *pll_div, unsigned int source) in pll_factors() argument
701 if (source > 14400000) { in pll_factors()
702 source >>= 1; in pll_factors()
705 if (source > 14400000) { in pll_factors()
706 source >>= 1; in pll_factors()
719 if (source < 8192000) { in pll_factors()
725 Ndiv = target / source; in pll_factors()
732 Nmod = target % source; in pll_factors()
735 do_div(Kpart, source); in pll_factors()
819 int source, unsigned int freq_in, unsigned int freq_out) in wm9713_set_dai_pll() argument
Darizona.c859 int source, unsigned int freq, int dir) in arizona_set_sysclk() argument
866 unsigned int val = source << ARIZONA_SYSCLK_SRC_SHIFT; in arizona_set_sysclk()
1423 routes[0].source = arizona_dai_clk_str(dai_priv->clk); in arizona_dai_set_sysclk()
1424 routes[1].source = arizona_dai_clk_str(dai_priv->clk); in arizona_dai_set_sysclk()
1427 routes[0].source = arizona_dai_clk_str(clk_id); in arizona_dai_set_sysclk()
1428 routes[1].source = arizona_dai_clk_str(clk_id); in arizona_dai_set_sysclk()
1769 struct arizona_fll_cfg *cfg, int source, in arizona_apply_fll() argument
1783 source << ARIZONA_FLL1_CLK_REF_SRC_SHIFT); in arizona_apply_fll()
1924 int arizona_set_fll_refclk(struct arizona_fll *fll, int source, in arizona_set_fll_refclk() argument
1929 if (fll->ref_src == source && fll->ref_freq == Fref) in arizona_set_fll_refclk()
[all …]
Dwm8978.c412 struct wm8978_pll_div *pll_div, unsigned int target, unsigned int source) in pll_factors() argument
417 n_div = target / source; in pll_factors()
419 source >>= 1; in pll_factors()
421 n_div = target / source; in pll_factors()
432 n_mod = target - source * n_div; in pll_factors()
433 k_part = FIXED_PLL_SIZE * (long long)n_mod + source / 2; in pll_factors()
435 do_div(k_part, source); in pll_factors()
/sound/aoa/
DKconfig11 source "sound/aoa/fabrics/Kconfig"
13 source "sound/aoa/codecs/Kconfig"
15 source "sound/aoa/soundbus/Kconfig"
/sound/core/seq/
Dseq_system.c80 ev->source.client = sysclient; in setheader()
81 ev->source.port = announce_port; in setheader()
108 ev->source.client = sysclient; in snd_seq_system_notify()
109 ev->source.port = announce_port; in snd_seq_system_notify()
Dseq_dummy.c95 if (ev->source.client == SNDRV_SEQ_CLIENT_SYSTEM || in dummy_input()
100 tmpev.source.port = p->connect; in dummy_input()
102 tmpev.source.port = p->port; in dummy_input()
/sound/pci/asihpi/
Dasihpi.c111 int source; member
1647 u16 source, err; in snd_asihpi_aesebu_format_get() local
1649 err = func(h_control, &source); in snd_asihpi_aesebu_format_get()
1656 if (source == HPI_AESEBU_FORMAT_SPDIF) in snd_asihpi_aesebu_format_get()
1658 if (source == HPI_AESEBU_FORMAT_AESEBU) in snd_asihpi_aesebu_format_get()
1671 u16 source = HPI_AESEBU_FORMAT_SPDIF; in snd_asihpi_aesebu_format_put() local
1674 source = HPI_AESEBU_FORMAT_SPDIF; in snd_asihpi_aesebu_format_put()
1676 source = HPI_AESEBU_FORMAT_AESEBU; in snd_asihpi_aesebu_format_put()
1678 if (func(h_control, source) != 0) in snd_asihpi_aesebu_format_put()
2364 u16 source, srcindex = 0; in snd_asihpi_clksrc_get() local
[all …]
/sound/usb/hiface/
Dpcm.c265 u8 *source; in hiface_pcm_playback() local
277 source = alsa_rt->dma_area + sub->dma_off; in hiface_pcm_playback()
278 memcpy_swahw32(urb->buffer, source, PCM_PACKET_SIZE); in hiface_pcm_playback()
289 source = alsa_rt->dma_area + sub->dma_off; in hiface_pcm_playback()
290 memcpy_swahw32(urb->buffer, source, len); in hiface_pcm_playback()
292 source = alsa_rt->dma_area; in hiface_pcm_playback()
293 memcpy_swahw32(urb->buffer + len, source, in hiface_pcm_playback()

12345