/sound/soc/ |
D | Kconfig | 44 source "sound/soc/adi/Kconfig" 45 source "sound/soc/amd/Kconfig" 46 source "sound/soc/atmel/Kconfig" 47 source "sound/soc/au1x/Kconfig" 48 source "sound/soc/bcm/Kconfig" 49 source "sound/soc/cirrus/Kconfig" 50 source "sound/soc/dwc/Kconfig" 51 source "sound/soc/fsl/Kconfig" 52 source "sound/soc/hisilicon/Kconfig" 53 source "sound/soc/jz4740/Kconfig" [all …]
|
D | soc-dapm.c | 54 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() 1468 !path->connected(path->source, path->sink)) in dapm_supply_check_power() 1895 dapm_widget_set_peer_power(path->source, power, path->connect); in dapm_widget_set_power() 2146 if (p->connected && !p->connected(p->source, p->sink)) in dapm_widget_power_read_file() 2268 dapm_mark_dirty(path->source, reason); in soc_dapm_connect_path() 2663 p->source->name, p->sink->name); in dapm_update_dai_chan() 2698 ret = dapm_update_dai_chan(p, p->source, channels); in dapm_update_dai_unlocked() [all …]
|
/sound/ |
D | Kconfig | 40 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/ |
D | au88x0_a3d.c | 26 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 …]
|
D | au88x0_a3d.h | 37 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
|
D | au88x0_core.c | 1717 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/ |
D | fireworks_command.c | 29 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()
|
D | fireworks_transaction.c | 165 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/ |
D | toneport.c | 45 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/aoa/ |
D | Kconfig | 12 source "sound/aoa/fabrics/Kconfig" 14 source "sound/aoa/codecs/Kconfig" 16 source "sound/aoa/soundbus/Kconfig"
|
/sound/soc/codecs/ |
D | wm8940.c | 524 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 …]
|
D | wm2000.c | 428 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 …]
|
D | adav80x.c | 211 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() 537 int clk_id, int source, in adav80x_set_sysclk() argument 622 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() 680 if (source != adav80x->pll_src) { in adav80x_set_pll() [all …]
|
D | rt5631.c | 282 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 …]
|
D | rt1016.c | 176 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() 511 rt1016->pll_src = source; in rt1016_set_component_pll()
|
D | wm8960.c | 48 static bool is_pll_freq_available(unsigned int source, unsigned int target); 1114 static bool is_pll_freq_available(unsigned int source, unsigned int target) in is_pll_freq_available() argument 1118 if (source == 0 || target == 0) in is_pll_freq_available() 1123 Ndiv = target / source; in is_pll_freq_available() 1126 source >>= 1; in is_pll_freq_available() 1127 Ndiv = target / source; in is_pll_freq_available() 1140 static int pll_factors(unsigned int source, unsigned int target, in pll_factors() argument 1146 pr_debug("WM8960 PLL: setting %dHz->%dHz\n", source, target); in pll_factors() 1151 Ndiv = target / source; in pll_factors() 1153 source >>= 1; in pll_factors() [all …]
|
D | wm8510.c | 277 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
|
D | wm8804.c | 345 unsigned int source, unsigned int mclk_div) in pll_factors() argument 373 Ndiv = target / source; in pll_factors() 375 source >>= 1; in pll_factors() 377 Ndiv = target / source; in pll_factors() 387 Nmod = target % source; in pll_factors() 390 do_div(Kpart, source); in pll_factors() 402 int source, unsigned int freq_in, in wm8804_set_pll() argument
|
/sound/soc/meson/ |
D | meson-codec-glue.c | 25 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/ |
D | seq_system.c | 65 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()
|
D | seq_dummy.c | 81 if (ev->source.client == SNDRV_SEQ_CLIENT_SYSTEM || in dummy_input() 86 tmpev.source.port = p->connect; in dummy_input() 88 tmpev.source.port = p->port; in dummy_input()
|
/sound/firewire/motu/ |
D | motu-proc.c | 32 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/usb/ |
D | clock.c | 270 struct uac_clock_source_descriptor *source; in __uac_clock_find_source() local 284 source = snd_usb_find_clock_source(chip->ctrl_intf, entity_id); in __uac_clock_find_source() 285 if (source) { in __uac_clock_find_source() 286 entity_id = source->bClockID; in __uac_clock_find_source() 374 struct uac3_clock_source_descriptor *source; in __uac3_clock_find_source() local 388 source = snd_usb_find_clock_source_v3(chip->ctrl_intf, entity_id); in __uac3_clock_find_source() 389 if (source) { in __uac3_clock_find_source() 390 entity_id = source->bClockID; in __uac3_clock_find_source()
|
/sound/soc/mediatek/mt8183/ |
D | mt8183-dai-i2s.c | 424 static int mtk_afe_i2s_share_connect(struct snd_soc_dapm_widget *source, in mtk_afe_i2s_share_connect() argument 442 return i2s_priv->share_i2s_id == get_i2s_id_by_name(afe, source->name); in mtk_afe_i2s_share_connect() 445 static int mtk_afe_i2s_hd_connect(struct snd_soc_dapm_widget *source, in mtk_afe_i2s_hd_connect() argument 461 get_i2s_id_by_name(afe, source->name)) in mtk_afe_i2s_hd_connect() 468 if (i2s_priv->share_i2s_id == get_i2s_id_by_name(afe, source->name)) in mtk_afe_i2s_hd_connect() 474 static int mtk_afe_i2s_apll_connect(struct snd_soc_dapm_widget *source, in mtk_afe_i2s_apll_connect() argument 492 cur_apll = mt8183_get_apll_by_name(afe, source->name); in mtk_afe_i2s_apll_connect() 500 static int mtk_afe_i2s_mclk_connect(struct snd_soc_dapm_widget *source, in mtk_afe_i2s_mclk_connect() argument 516 get_i2s_id_by_name(afe, source->name)) in mtk_afe_i2s_mclk_connect() 523 if (i2s_priv->share_i2s_id == get_i2s_id_by_name(afe, source->name)) in mtk_afe_i2s_mclk_connect() [all …]
|
/sound/pci/asihpi/ |
D | asihpi.c | 97 int source; member 1648 u16 source, err; in snd_asihpi_aesebu_format_get() local 1650 err = func(h_control, &source); in snd_asihpi_aesebu_format_get() 1657 if (source == HPI_AESEBU_FORMAT_SPDIF) in snd_asihpi_aesebu_format_get() 1659 if (source == HPI_AESEBU_FORMAT_AESEBU) in snd_asihpi_aesebu_format_get() 1672 u16 source = HPI_AESEBU_FORMAT_SPDIF; in snd_asihpi_aesebu_format_put() local 1675 source = HPI_AESEBU_FORMAT_SPDIF; in snd_asihpi_aesebu_format_put() 1677 source = HPI_AESEBU_FORMAT_AESEBU; in snd_asihpi_aesebu_format_put() 1679 if (func(h_control, source) != 0) in snd_asihpi_aesebu_format_put() 2343 u16 source, srcindex = 0; in snd_asihpi_clksrc_get() local [all …]
|