Home
last modified time | relevance | path

Searched +full:ignore +full:- +full:suspend +full:- +full:widgets (Results 1 – 16 of 16) sorted by relevance

/linux/Documentation/devicetree/bindings/sound/
H A Dsound-card-common.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/sound-card-common.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Mark Brown <broonie@kernel.org>
13 audio-routing:
14 $ref: /schemas/types.yaml#/definitions/non-unique-string-array
20 ignore-suspend-widgets:
21 $ref: /schemas/types.yaml#/definitions/non-unique-string-array
23 A list of audio sound widgets which are marked ignoring system suspend.
[all …]
/linux/Documentation/sound/hd-audio/
H A Drealtek-pc-beep.rst7 route audio between pins but aren't themselves exposed as HDA widgets. As far
9 for codecs that don't have mixer widgets in their output paths. Why it's easier
20 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
24 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
35 by h and S bits. Does not affect the level of 1Ah exposed to other widgets.
39 by h and S bits. Does not affect the level of 1Ah exposed to other widgets.
58 +--DIV--+--!DIV--+ {1Ah boost control}
60 +--(b == 0)--+--(b != 0)--+
70 +-----!h-----+-----S-----+
79 All Realtek HDA codecs have a vendor-defined widget with node ID 20h which
[all …]
/linux/sound/soc/
H A Dsoc-core.c1 // SPDX-License-Identifier: GPL-2.0+
3 // soc-core.c -- ALSA SoC Audio Layer
11 // with code, comments and ideas from :-
40 #include <sound/soc-dpcm.h>
41 #include <sound/soc-topology.h>
42 #include <sound/soc-link.h>
76 return sysfs_emit(buf, "%ld\n", rtd->pmdown_time); in pmdown_time_show()
86 ret = kstrtol(buf, 10, &rtd->pmdown_time); in pmdown_time_store()
110 return attr->mode; /* always visible */ in soc_dev_attr_is_visible()
111 return rtd->dai_link->num_codecs ? attr->mode : 0; /* enabled only with codec */ in soc_dev_attr_is_visible()
[all …]
H A Dsoc-dapm.c1 // SPDX-License-Identifier: GPL-2.0+
3 // soc-dapm.c -- ALSA SoC Dynamic Audio Power Management
12 // o Platform power domain - can support external components i.e. amps and
15 // o Jack insertion power event initiation - e.g. hp insertion will enable
43 #define DAPM_UPDATE_STAT(widget, val) widget->dapm->car
1330 dapm_widget_list_create(struct snd_soc_dapm_widget_list ** list,struct list_head * widgets) dapm_widget_list_create() argument
[all...]
H A Dsoc-pcm.c1 // SPDX-License-Identifier: GPL-2.0+
3 // soc-pcm.c -- ALSA SoC PCM
25 #include <sound/soc-dpcm.h>
26 #include <sound/soc-link.h>
33 return snd_soc_ret(rtd->dev, ret, in _soc_pcm_ret()
34 "at %s() on %s\n", func, rtd->dai_link->name); in _soc_pcm_ret()
41 if (fe->dpcm[stream].runtime_update == SND_SOC_DPCM_UPDATE_FE)
51 if ((fe->dpcm[stream].runtime_update == SND_SOC_DPCM_UPDATE_FE) || in snd_soc_dpcm_can_be_update()
52 ((fe->dpcm[stream].runtime_update == SND_SOC_DPCM_UPDATE_BE) && in snd_soc_dpcm_can_be_update()
53 be->dpcm[stream].runtime_update)) in snd_soc_dpcm_can_be_update()
[all …]
/linux/sound/hda/common/
H A Dbind.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * HD-audio codec driver binding
28 u32 id = codec->probe_id ? codec->probe_id : codec->core.vendor_id; in hda_codec_match()
29 u32 rev_id = codec->core.revision_id; in hda_codec_match()
31 for (list = driver->id; list->vendor_id; list++) { in hda_codec_match()
32 if (list->vendor_id == id && in hda_codec_match()
33 (!list->rev_id || list->rev_id == rev_id)) { in hda_codec_match()
34 codec->preset = list; in hda_codec_match()
47 /* ignore unsol events during shutdown */ in hda_codec_unsol_event()
48 if (codec->card->shutdown || codec->bus->shutdown) in hda_codec_unsol_event()
[all …]
H A Dcodec.c1 // SPDX-License-Identifier: GPL-2.0-or-later
28 #define codec_in_pm(codec) snd_hdac_is_in_pm(&codec->core)
29 #define hda_codec_is_power_on(codec) snd_hdac_is_power_on(&codec->core)
31 ((codec)->core.power_caps & AC_PWRST_EPSS)
33 ((codec)->core.power_caps & AC_PWRST_CLKSTOP)
42 guard(mutex)(&bus->cor in codec_exec_verb()
[all...]
/linux/sound/soc/sof/
H A Dipc3-topology.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
12 #include "sof-priv.h"
13 #include "sof-audio.h"
14 #include "ipc3-priv.h"
354 * sof_comp_alloc - allocate and initialize buffer for a new component
367 size_t ext_size = sizeof(swidget->uuid); in sof_comp_alloc()
369 /* only non-zero UUID is valid */ in sof_comp_alloc()
370 if (!guid_is_null(&swidget->uuid)) in sof_comp_alloc()
378 comp->hdr.size = total_size; in sof_comp_alloc()
379 comp->hdr.cmd = SOF_IPC_GLB_TPLG_MSG | SOF_IPC_TPLG_COMP_NEW; in sof_comp_alloc()
[all …]
H A Dipc4-pcm.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
11 #include "sof-audio.h"
12 #include "sof-priv.h"
14 #include "ipc4-priv.h"
15 #include "ipc4-topology.h"
16 #include "ipc4-fw-reg.h"
19 * struct sof_ipc4_timestamp_info - IPC4 timestamp info
42 * struct sof_ipc4_pcm_stream_priv - IPC4 specific private data
57 * the wrap-around point of any hardware counter, and larger than any
67 struct sof_ipc4_pcm_stream_priv *stream_priv = sps->private; in sof_ipc4_sps_to_time_info()
[all …]
H A Dipc4-topology.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
14 #include <sound/intel-nhlt.h>
15 #include "sof-priv.h"
16 #include "sof-audio.h"
17 #include "ipc4-priv.h"
18 #include "ipc4-topology.h"
22 * The ignore_cpc flag can be used to ignore the CPC value for all modules by
32 "Ignore CPC values. This option will disable clock scaling in firmware.");
216 list_for_each_entry(swidget, &sdev->widget_list, list) { in sof_ipc4_find_swidget_by_ids()
217 struct sof_ipc4_fw_module *fw_module = swidget->module_info; in sof_ipc4_find_swidget_by_ids()
[all …]
/linux/include/sound/
H A Dsoc.h1 /* SPDX-License-Identifier: GPL-2.0
3 * linux/sound/soc.h -- ALSA SoC Layer
213 .mask = xitems ? roundup_pow_of_two(xitems) - 1 : 0}
407 #include <sound/soc-dapm.h>
408 #include <sound/soc-dpcm.h>
409 #include <sound/soc-topology.h>
480 snd_soc_runtime_action(rtd, stream, - in snd_soc_runtime_deactivate()
794 unsigned int ignore:1; global() member
1056 struct list_head widgets; global() member
[all...]
/linux/include/uapi/sound/
H A Dasoc.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3 * uapi/sound/asoc.h -- ALSA SoC Firmware Controls and DAPM
9 * algorithms, equalisers, DAIs, widgets etc.
38 /* individual kcontrol info types - can be mixed with other types */
49 /* individual widget kcontrol info types - can be mixed with other types */
56 /* DAPM widget types - add new items to the end */
116 /* vendor block IDs - please add new vendor types to end */
234 * firmware. Core will ignore this data.
336 __le32 id; /* unique ID - - used to match */
363 * File block representation for manifest :-
[all …]
/linux/sound/soc/intel/avs/
H A Dpcm.c1 // SPDX-License-Identifier: GPL-2.0-only
3 // Copyright(c) 2021-2022 Intel Corporation
14 #include <sound/soc-acpi.h>
15 #include <sound/soc-acpi-intel-match.h>
16 #include <sound/soc-componen
[all...]
/linux/include/linux/greybus/
H A Dgreybus_protocols.h1 /* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */
3 * Copyright(c) 2014 - 2015 Google Inc. All rights reserved.
4 * Copyright(c) 2014 - 2015 Linaro Ltd. All rights reserved.
14 /* SVC switch-port device ids */
43 * endian. Any operation-specific data begins immediately after the
51 __u8 pad[2]; /* must be zero (ignore when read) */
153 * Interface Suspend Prepare and Deactivate Prepare operations use the same
374 #define GB_BOOTROM_TYPE_AP_READY 0x05 /* Request with no-payload */
375 #define GB_BOOTROM_TYPE_GET_VID_PID 0x06 /* Request with no-payload */
663 * The data for each write (master -> slave) op in the array is sent
[all …]
/linux/sound/soc/codecs/
H A Dmadera.c1 // SPDX-License-Identifier: GPL-2.0-only
5 // Copyright (C) 2015-2019 Cirrus Logic, Inc. and
19 #include <linux/irqchip/irq-madera.h>
23 #include <sound/madera-pdata.h>
25 #include <dt-bindings/sound/madera.h>
144 dev_err(_fll->madera->dev, "FLL%d: " fmt, _fll->id, ##__VA_ARGS__)
146 dev_warn(_fll->madera->dev, "FLL%d: " fmt, _fll->id, ##__VA_ARGS__)
148 dev_dbg(_fll->madera->dev, "FLL%d: " fmt, _fll->id, ##__VA_ARGS__)
151 dev_err(_dai->dev, "AIF%d: " fmt, _dai->id, ##__VA_ARGS__)
153 dev_warn(_dai->dev, "AIF%d: " fmt, _dai->id, ##__VA_ARGS__)
[all …]
/linux/sound/hda/codecs/
H A Dgeneric.c1 // SPDX-License-Identifier: GPL-2.0-or-later
32 * snd_hda_gen_spec_init - initialize hda_gen_spec struct
39 snd_array_init(&spec->kctls, sizeof(struct snd_kcontrol_new), 32); in snd_hda_gen_spec_init()
40 snd_array_init(&spec->paths, sizeof(struct nid_path), 8); in snd_hda_gen_spec_init()
41 snd_array_init(&spec->loopback_list, sizeof(struct hda_amp_list), 8); in snd_hda_gen_spec_init()
42 mutex_init(&spec->pcm_mute in snd_hda_gen_spec_init()
[all...]