Home
last modified time | relevance | path

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

/linux-6.12.1/Documentation/devicetree/bindings/sound/
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-6.12.1/sound/soc/fsl/
Dimx-rpmsg.c1 // SPDX-License-Identifier: GPL-2.0+
2 // Copyright 2017-2020 NXP
14 #include <sound/soc-dapm.h>
15 #include "imx-pcm-rpmsg.h"
36 struct snd_soc_pcm_runtime *rtd = list_first_entry(&card->rtd_list, in imx_rpmsg_late_probe()
39 struct device *dev = card->dev; in imx_rpmsg_late_probe()
42 if (data->lpa) { in imx_rpmsg_late_probe()
48 codec_np = data->dai.codecs->of_node; in imx_rpmsg_late_probe()
55 codec_dev = &codec_i2c->dev; in imx_rpmsg_late_probe()
59 codec_dev = &codec_pdev->dev; in imx_rpmsg_late_probe()
[all …]
/linux-6.12.1/Documentation/sound/hd-audio/
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-6.12.1/sound/soc/
Dsoc-core.c1 // SPDX-License-Identifier: GPL-2.0+
3 // soc-core.c -- ALSA SoC Audio Layer
11 // with code, comments and ideas from :-
39 #include <sound/soc-dpcm.h>
40 #include <sound/soc-topology.h>
41 #include <sound/soc-link.h>
75 return sysfs_emit(buf, "%ld\n", rtd->pmdown_time); in pmdown_time_show()
85 ret = kstrtol(buf, 10, &rtd->pmdown_time); in pmdown_time_store()
109 return attr->mode; /* always visible */ in soc_dev_attr_is_visible()
110 return rtd->dai_link->num_codecs ? attr->mode : 0; /* enabled only with codec */ in soc_dev_attr_is_visible()
[all …]
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->card->dapm_stats.val++;
68 /* dapm power sequences - make this per codec in the future */
153 if (snd_soc_card_is_instantiated(dapm->card)) in dapm_assert_locked()
186 return !list_empty(&w->dirty); in dapm_dirty_widget()
191 dapm_assert_locked(w->dapm); in dapm_mark_dirty()
194 dev_vdbg(w->dapm->dev, "Marking %s dirty due to %s\n", in dapm_mark_dirty()
[all …]
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>
39 case -EPROBE_DEFER: in _soc_pcm_ret()
40 case -ENOTSUPP: in _soc_pcm_ret()
41 case -EINVAL: in _soc_pcm_ret()
44 dev_err(rtd->dev, in _soc_pcm_ret()
46 func, rtd->dai_link->name, ret); in _soc_pcm_ret()
56 if (fe->dpcm[stream].runtime_update == SND_SOC_DPCM_UPDATE_FE)
[all …]
/linux-6.12.1/sound/pci/hda/
Dhda_bind.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()
46 /* ignore unsol events during shutdown */ in hda_codec_unsol_event()
47 if (codec->bus->shutdown) in hda_codec_unsol_event()
[all …]
Dhda_codec.c1 // SPDX-License-Identifier: GPL-2.0-or-later
27 #define codec_in_pm(codec) snd_hdac_is_in_pm(&codec->core)
28 #define hda_codec_is_power_on(codec) snd_hdac_is_power_on(&codec->core)
30 ((codec)->core.power_caps & AC_PWRST_EPSS)
32 ((codec)->core.power_caps & AC_PWRST_CLKSTOP)
35 * Send and receive a verb - passed to exec_verb override for hdac_device
41 struct hda_bus *bus = codec->bus; in codec_exec_verb()
45 return -1; in codec_exec_verb()
49 mutex_lock(&bus->core.cmd_mutex); in codec_exec_verb()
51 bus->no_response_fallback = 1; in codec_exec_verb()
[all …]
Dhda_generic.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_mutex); in snd_hda_gen_spec_init()
48 * snd_hda_gen_add_kctl - Add a new kctl_new struct from the template
62 struct snd_kcontrol_new *knew = snd_array_new(&spec->kctls); in snd_hda_gen_add_kctl()
67 knew->name = kstrdup(name, GFP_KERNEL); in snd_hda_gen_add_kctl()
68 else if (knew->name) in snd_hda_gen_add_kctl()
[all …]
/linux-6.12.1/sound/soc/sof/
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"
351 * sof_comp_alloc - allocate and initialize buffer for a new component
364 size_t ext_size = sizeof(swidget->uuid); in sof_comp_alloc()
366 /* only non-zero UUID is valid */ in sof_comp_alloc()
367 if (!guid_is_null(&swidget->uuid)) in sof_comp_alloc()
375 comp->hdr.size = total_size; in sof_comp_alloc()
376 comp->hdr.cmd = SOF_IPC_GLB_TPLG_MSG | SOF_IPC_TPLG_COMP_NEW; in sof_comp_alloc()
[all …]
Dsof-priv.h1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */
35 #define SOF_DBG_DISABLE_MULTICORE BIT(5) /* schedule all pipelines/widgets
39 #define SOF_DBG_IGNORE_D3_PERSISTENT BIT(7) /* ignore the DSP D3 persistent capability
48 #define SOF_DBG_FORCE_NOCODEC BIT(10) /* ignore all codec-related
70 /* time in ms for runtime suspend delay */
95 u32 substate; /* platform-specific */
98 /* System suspend target state */
134 * struct snd_sof_platform_stream_params - platform dependent stream parameters
151 * struct sof_firmware - Container struct for SOF firmware
305 int (*suspend)(struct snd_sof_dev *sof_dev, member
[all …]
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
41 * struct sof_ipc4_pcm_stream_priv - IPC4 specific private data
54 struct sof_ipc4_pcm_stream_priv *stream_priv = sps->private; in sof_ipc4_sps_to_time_info()
56 return stream_priv->time_info; in sof_ipc4_sps_to_time_info()
[all …]
Dipc4-topology.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
13 #include <sound/intel-nhlt.h>
14 #include "sof-priv.h"
15 #include "sof-audio.h"
16 #include "ipc4-priv.h"
17 #include "ipc4-topology.h"
21 * The ignore_cpc flag can be used to ignore the CPC value for all modules by
31 "Ignore CPC values. This option will disable clock scaling in firmware.");
175 list_for_each_entry(swidget, &sdev->widget_list, list) { in sof_ipc4_find_swidget_by_ids()
176 struct sof_ipc4_fw_module *fw_module = swidget->module_info; in sof_ipc4_find_swidget_by_ids()
[all …]
/linux-6.12.1/include/sound/
Dsoc.h1 /* SPDX-License-Identifier: GPL-2.0
3 * linux/sound/soc.h -- ALSA SoC Layer
238 .mask = xitems ? roundup_pow_of_two(xitems) - 1 : 0}
440 #include <sound/soc-dapm.h>
441 #include <sound/soc-dpcm.h>
442 #include <sound/soc-topology.h>
516 snd_soc_runtime_action(rtd, stream, -1); in snd_soc_runtime_deactivate()
635 SND_SOC_TRIGGER_ORDER_DEFAULT = 0, /* Link->Component->DAI DAI->Component->Link */
636 SND_SOC_TRIGGER_ORDER_LDC, /* Link->DAI->Component Component->DAI->Link */
682 * [dai_link->ch_maps Image sample]
[all …]
/linux-6.12.1/include/uapi/sound/
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-6.12.1/sound/soc/codecs/
Drt1308.c1 // SPDX-License-Identifier: GPL-2.0
3 // rt1308.c -- RT1308 ALSA SoC amplifier component driver
23 #include <sound/soc-dapm.h>
199 return regmap_multi_reg_write(rt1308->regmap, init_list, in rt1308_reg_init()
300 snd_soc_dapm_to_component(w->dapm); in rt1308_classd_event()
351 /* Supply Widgets */
441 return -EINVAL; in rt1308_get_clk_info()
448 return -EINVAL; in rt1308_get_clk_info()
454 struct snd_soc_component *component = dai->component; in rt1308_hw_params()
459 rt1308->lrck = params_rate(params); in rt1308_hw_params()
[all …]
Dmadera.c1 // SPDX-License-Identifier: GPL-2.0-only
5 // Copyright (C) 2015-2019 Cirrus Logic, Inc. and
18 #include <linux/irqchip/irq-madera.h>
22 #include <sound/madera-pdata.h>
24 #include <dt-bindings/sound/madera.h>
143 dev_err(_fll->madera->dev, "FLL%d: " fmt, _fll->id, ##__VA_ARGS__)
145 dev_warn(_fll->madera->dev, "FLL%d: " fmt, _fll->id, ##__VA_ARGS__)
147 dev_dbg(_fll->madera->dev, "FLL%d: " fmt, _fll->id, ##__VA_ARGS__)
150 dev_err(_dai->dev, "AIF%d: " fmt, _dai->id, ##__VA_ARGS__)
152 dev_warn(_dai->dev, "AIF%d: " fmt, _dai->id, ##__VA_ARGS__)
[all …]
/linux-6.12.1/sound/soc/intel/avs/
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-component.h>
28 /* LINK-stream utilized in BE operations while HOST in FE ones. */
51 dp = list_first_entry_or_null(&dw->edges[dir], typeof(*dp), list_node[dir]); in avs_dai_find_path_template()
56 dw = (dp->source == dw) ? dp->sink : dp->source; in avs_dai_find_path_template()
58 return dw->priv; in avs_dai_find_path_template()
65 snd_pcm_period_elapsed(data->substream); in avs_period_elapsed_work()
[all …]
/linux-6.12.1/include/linux/greybus/
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 …]