[ SYSTEM ]: Linux srv.persadacompanies.com 4.18.0-553.56.1.el8_10.x86_64 #1 SMP Tue Jun 10 05:00:59 EDT 2025 x86_64
[ SERVER ]: Apache | PHP: 8.4.19
[ USER ]: persadamedika | IP: 45.64.1.108
GEFORCE FILE MANAGER
/
usr
/
src
/
kernels
/
4.18.0-553.64.1.el8_10.x86_64
/
include
/
sound
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📁 ac97
SET
[ DEL ]
📁 sof
SET
[ DEL ]
📄 ac97_codec.h
16,173 B
SET
[ EDIT ]
|
[ DEL ]
📄 aci.h
2,458 B
SET
[ EDIT ]
|
[ DEL ]
📄 acp63_chip_offset_byte.h
30,462 B
SET
[ EDIT ]
|
[ DEL ]
📄 ad1816a.h
4,843 B
SET
[ EDIT ]
|
[ DEL ]
📄 ad1843.h
1,516 B
SET
[ EDIT ]
|
[ DEL ]
📄 adau1373.h
706 B
SET
[ EDIT ]
|
[ DEL ]
📄 aess.h
1,668 B
SET
[ EDIT ]
|
[ DEL ]
📄 ak4113.h
10,461 B
SET
[ EDIT ]
|
[ DEL ]
📄 ak4114.h
9,773 B
SET
[ EDIT ]
|
[ DEL ]
📄 ak4117.h
8,542 B
SET
[ EDIT ]
|
[ DEL ]
📄 ak4531_codec.h
2,478 B
SET
[ EDIT ]
|
[ DEL ]
📄 ak4641.h
476 B
SET
[ EDIT ]
|
[ DEL ]
📄 ak4xxx-adda.h
2,724 B
SET
[ EDIT ]
|
[ DEL ]
📄 alc5623.h
536 B
SET
[ EDIT ]
|
[ DEL ]
📄 asequencer.h
2,975 B
SET
[ EDIT ]
|
[ DEL ]
📄 asound.h
590 B
SET
[ EDIT ]
|
[ DEL ]
📄 asoundef.h
16,403 B
SET
[ EDIT ]
|
[ DEL ]
📄 compress_driver.h
7,987 B
SET
[ EDIT ]
|
[ DEL ]
📄 control.h
10,989 B
SET
[ EDIT ]
|
[ DEL ]
📄 core.h
16,151 B
SET
[ EDIT ]
|
[ DEL ]
📄 cs35l33.h
888 B
SET
[ EDIT ]
|
[ DEL ]
📄 cs35l34.h
741 B
SET
[ EDIT ]
|
[ DEL ]
📄 cs35l35.h
2,267 B
SET
[ EDIT ]
|
[ DEL ]
📄 cs35l36.h
772 B
SET
[ EDIT ]
|
[ DEL ]
📄 cs35l41.h
34,962 B
SET
[ EDIT ]
|
[ DEL ]
📄 cs4231-regs.h
7,785 B
SET
[ EDIT ]
|
[ DEL ]
📄 cs4271.h
961 B
SET
[ EDIT ]
|
[ DEL ]
📄 cs42l42.h
35,337 B
SET
[ EDIT ]
|
[ DEL ]
📄 cs42l52.h
592 B
SET
[ EDIT ]
|
[ DEL ]
📄 cs42l56.h
1,046 B
SET
[ EDIT ]
|
[ DEL ]
📄 cs42l73.h
361 B
SET
[ EDIT ]
|
[ DEL ]
📄 cs8403.h
8,138 B
SET
[ EDIT ]
|
[ DEL ]
📄 cs8427.h
9,954 B
SET
[ EDIT ]
|
[ DEL ]
📄 da7213.h
1,032 B
SET
[ EDIT ]
|
[ DEL ]
📄 da7218.h
2,468 B
SET
[ EDIT ]
|
[ DEL ]
📄 da7219-aad.h
2,263 B
SET
[ EDIT ]
|
[ DEL ]
📄 da7219.h
998 B
SET
[ EDIT ]
|
[ DEL ]
📄 da9055.h
707 B
SET
[ EDIT ]
|
[ DEL ]
📄 designware_i2s.h
1,631 B
SET
[ EDIT ]
|
[ DEL ]
📄 dmaengine_pcm.h
6,802 B
SET
[ EDIT ]
|
[ DEL ]
📄 emu10k1.h
92,513 B
SET
[ EDIT ]
|
[ DEL ]
📄 emu10k1_synth.h
693 B
SET
[ EDIT ]
|
[ DEL ]
📄 emu8000.h
3,333 B
SET
[ EDIT ]
|
[ DEL ]
📄 emu8000_reg.h
9,767 B
SET
[ EDIT ]
|
[ DEL ]
📄 emux_legacy.h
4,811 B
SET
[ EDIT ]
|
[ DEL ]
📄 emux_synth.h
6,948 B
SET
[ EDIT ]
|
[ DEL ]
📄 es1688.h
2,923 B
SET
[ EDIT ]
|
[ DEL ]
📄 graph_card.h
1,070 B
SET
[ EDIT ]
|
[ DEL ]
📄 gus.h
20,119 B
SET
[ EDIT ]
|
[ DEL ]
📄 hda-mlink.h
6,065 B
SET
[ EDIT ]
|
[ DEL ]
📄 hda_chmap.h
2,660 B
SET
[ EDIT ]
|
[ DEL ]
📄 hda_codec.h
18,065 B
SET
[ EDIT ]
|
[ DEL ]
📄 hda_component.h
2,085 B
SET
[ EDIT ]
|
[ DEL ]
📄 hda_hwdep.h
736 B
SET
[ EDIT ]
|
[ DEL ]
📄 hda_i915.h
589 B
SET
[ EDIT ]
|
[ DEL ]
📄 hda_register.h
12,172 B
SET
[ EDIT ]
|
[ DEL ]
📄 hda_regmap.h
6,934 B
SET
[ EDIT ]
|
[ DEL ]
📄 hda_verbs.h
17,289 B
SET
[ EDIT ]
|
[ DEL ]
📄 hdaudio.h
24,529 B
SET
[ EDIT ]
|
[ DEL ]
📄 hdaudio_ext.h
6,626 B
SET
[ EDIT ]
|
[ DEL ]
📄 hdmi-codec.h
3,117 B
SET
[ EDIT ]
|
[ DEL ]
📄 hwdep.h
1,926 B
SET
[ EDIT ]
|
[ DEL ]
📄 i2c.h
2,857 B
SET
[ EDIT ]
|
[ DEL ]
📄 info.h
7,941 B
SET
[ EDIT ]
|
[ DEL ]
📄 initval.h
2,484 B
SET
[ EDIT ]
|
[ DEL ]
📄 intel-dsp-config.h
896 B
SET
[ EDIT ]
|
[ DEL ]
📄 intel-nhlt.h
3,840 B
SET
[ EDIT ]
|
[ DEL ]
📄 jack.h
3,172 B
SET
[ EDIT ]
|
[ DEL ]
📄 l3.h
524 B
SET
[ EDIT ]
|
[ DEL ]
📄 max9768.h
729 B
SET
[ EDIT ]
|
[ DEL ]
📄 max98088.h
1,074 B
SET
[ EDIT ]
|
[ DEL ]
📄 max98090.h
534 B
SET
[ EDIT ]
|
[ DEL ]
📄 max98095.h
1,357 B
SET
[ EDIT ]
|
[ DEL ]
📄 memalloc.h
3,879 B
SET
[ EDIT ]
|
[ DEL ]
📄 minors.h
3,738 B
SET
[ EDIT ]
|
[ DEL ]
📄 mixer_oss.h
1,773 B
SET
[ EDIT ]
|
[ DEL ]
📄 mpu401.h
3,905 B
SET
[ EDIT ]
|
[ DEL ]
📄 omap-hdmi-audio.h
971 B
SET
[ EDIT ]
|
[ DEL ]
📄 opl3.h
11,909 B
SET
[ EDIT ]
|
[ DEL ]
📄 opl4.h
459 B
SET
[ EDIT ]
|
[ DEL ]
📄 pcm-indirect.h
5,303 B
SET
[ EDIT ]
|
[ DEL ]
📄 pcm.h
55,007 B
SET
[ EDIT ]
|
[ DEL ]
📄 pcm_drm_eld.h
183 B
SET
[ EDIT ]
|
[ DEL ]
📄 pcm_iec958.h
597 B
SET
[ EDIT ]
|
[ DEL ]
📄 pcm_oss.h
2,063 B
SET
[ EDIT ]
|
[ DEL ]
📄 pcm_params.h
8,864 B
SET
[ EDIT ]
|
[ DEL ]
📄 pt2258.h
513 B
SET
[ EDIT ]
|
[ DEL ]
📄 pxa2xx-lib.h
2,190 B
SET
[ EDIT ]
|
[ DEL ]
📄 rawmidi.h
5,663 B
SET
[ EDIT ]
|
[ DEL ]
📄 rt1015.h
283 B
SET
[ EDIT ]
|
[ DEL ]
📄 rt286.h
314 B
SET
[ EDIT ]
|
[ DEL ]
📄 rt298.h
373 B
SET
[ EDIT ]
|
[ DEL ]
📄 rt5514.h
399 B
SET
[ EDIT ]
|
[ DEL ]
📄 rt5659.h
880 B
SET
[ EDIT ]
|
[ DEL ]
📄 rt5660.h
578 B
SET
[ EDIT ]
|
[ DEL ]
📄 rt5663.h
476 B
SET
[ EDIT ]
|
[ DEL ]
📄 rt5665.h
723 B
SET
[ EDIT ]
|
[ DEL ]
📄 rt5668.h
607 B
SET
[ EDIT ]
|
[ DEL ]
📄 rt5682.h
862 B
SET
[ EDIT ]
|
[ DEL ]
📄 rt5682s.h
915 B
SET
[ EDIT ]
|
[ DEL ]
📄 s3c24xx_uda134x.h
229 B
SET
[ EDIT ]
|
[ DEL ]
📄 sb.h
10,550 B
SET
[ EDIT ]
|
[ DEL ]
📄 sb16_csp.h
2,100 B
SET
[ EDIT ]
|
[ DEL ]
📄 sdw.h
1,667 B
SET
[ EDIT ]
|
[ DEL ]
📄 seq_device.h
2,165 B
SET
[ EDIT ]
|
[ DEL ]
📄 seq_kernel.h
3,378 B
SET
[ EDIT ]
|
[ DEL ]
📄 seq_midi_emul.h
6,757 B
SET
[ EDIT ]
|
[ DEL ]
📄 seq_midi_event.h
1,356 B
SET
[ EDIT ]
|
[ DEL ]
📄 seq_oss.h
2,264 B
SET
[ EDIT ]
|
[ DEL ]
📄 seq_oss_legacy.h
360 B
SET
[ EDIT ]
|
[ DEL ]
📄 seq_virmidi.h
2,123 B
SET
[ EDIT ]
|
[ DEL ]
📄 sh_dac_audio.h
441 B
SET
[ EDIT ]
|
[ DEL ]
📄 sh_fsi.h
693 B
SET
[ EDIT ]
|
[ DEL ]
📄 simple_card.h
529 B
SET
[ EDIT ]
|
[ DEL ]
📄 simple_card_utils.h
8,816 B
SET
[ EDIT ]
|
[ DEL ]
📄 snd_wavefront.h
5,704 B
SET
[ EDIT ]
|
[ DEL ]
📄 soc-acpi-intel-match.h
2,417 B
SET
[ EDIT ]
|
[ DEL ]
📄 soc-acpi.h
6,675 B
SET
[ EDIT ]
|
[ DEL ]
📄 soc-card.h
2,623 B
SET
[ EDIT ]
|
[ DEL ]
📄 soc-component.h
20,608 B
SET
[ EDIT ]
|
[ DEL ]
📄 soc-dai.h
21,113 B
SET
[ EDIT ]
|
[ DEL ]
📄 soc-dapm.h
34,141 B
SET
[ EDIT ]
|
[ DEL ]
📄 soc-dpcm.h
5,698 B
SET
[ EDIT ]
|
[ DEL ]
📄 soc-jack.h
3,822 B
SET
[ EDIT ]
|
[ DEL ]
📄 soc-link.h
1,172 B
SET
[ EDIT ]
|
[ DEL ]
📄 soc-topology.h
5,882 B
SET
[ EDIT ]
|
[ DEL ]
📄 soc.h
52,841 B
SET
[ EDIT ]
|
[ DEL ]
📄 sof.h
4,031 B
SET
[ EDIT ]
|
[ DEL ]
📄 soundfont.h
3,903 B
SET
[ EDIT ]
|
[ DEL ]
📄 spear_dma.h
350 B
SET
[ EDIT ]
|
[ DEL ]
📄 spear_spdif.h
345 B
SET
[ EDIT ]
|
[ DEL ]
📄 sta32x.h
1,015 B
SET
[ EDIT ]
|
[ DEL ]
📄 sta350.h
1,474 B
SET
[ EDIT ]
|
[ DEL ]
📄 tas2552-plat.h
283 B
SET
[ EDIT ]
|
[ DEL ]
📄 tas5086.h
210 B
SET
[ EDIT ]
|
[ DEL ]
📄 tea6330t.h
468 B
SET
[ EDIT ]
|
[ DEL ]
📄 timer.h
5,125 B
SET
[ EDIT ]
|
[ DEL ]
📄 tlv.h
1,627 B
SET
[ EDIT ]
|
[ DEL ]
📄 tlv320aic32x4.h
1,320 B
SET
[ EDIT ]
|
[ DEL ]
📄 tlv320dac33-plat.h
574 B
SET
[ EDIT ]
|
[ DEL ]
📄 tpa6130a2-plat.h
291 B
SET
[ EDIT ]
|
[ DEL ]
📄 uda134x.h
451 B
SET
[ EDIT ]
|
[ DEL ]
📄 uda1380.h
335 B
SET
[ EDIT ]
|
[ DEL ]
📄 util_mem.h
1,623 B
SET
[ EDIT ]
|
[ DEL ]
📄 vx_core.h
15,055 B
SET
[ EDIT ]
|
[ DEL ]
📄 wavefront.h
18,518 B
SET
[ EDIT ]
|
[ DEL ]
📄 wm0010.h
466 B
SET
[ EDIT ]
|
[ DEL ]
📄 wm1250-ev1.h
510 B
SET
[ EDIT ]
|
[ DEL ]
📄 wm2000.h
479 B
SET
[ EDIT ]
|
[ DEL ]
📄 wm2200.h
1,353 B
SET
[ EDIT ]
|
[ DEL ]
📄 wm5100.h
1,129 B
SET
[ EDIT ]
|
[ DEL ]
📄 wm8903.h
15,377 B
SET
[ EDIT ]
|
[ DEL ]
📄 wm8904.h
7,389 B
SET
[ EDIT ]
|
[ DEL ]
📄 wm8955.h
442 B
SET
[ EDIT ]
|
[ DEL ]
📄 wm8960.h
888 B
SET
[ EDIT ]
|
[ DEL ]
📄 wm8962.h
1,694 B
SET
[ EDIT ]
|
[ DEL ]
📄 wm8993.h
1,076 B
SET
[ EDIT ]
|
[ DEL ]
📄 wm8996.h
1,289 B
SET
[ EDIT ]
|
[ DEL ]
📄 wm9081.h
515 B
SET
[ EDIT ]
|
[ DEL ]
📄 wm9090.h
634 B
SET
[ EDIT ]
|
[ DEL ]
📄 wss.h
7,949 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: soc-dpcm.h
/* SPDX-License-Identifier: GPL-2.0 * * linux/sound/soc-dpcm.h -- ALSA SoC Dynamic PCM Support * * Author: Liam Girdwood <lrg@ti.com> */ #ifndef __LINUX_SND_SOC_DPCM_H #define __LINUX_SND_SOC_DPCM_H #include <linux/slab.h> #include <linux/list.h> #include <sound/pcm.h> struct snd_soc_pcm_runtime; /* * Types of runtime_update to perform. e.g. originated from FE PCM ops * or audio route changes triggered by muxes/mixers. */ enum snd_soc_dpcm_update { SND_SOC_DPCM_UPDATE_NO = 0, SND_SOC_DPCM_UPDATE_BE, SND_SOC_DPCM_UPDATE_FE, }; /* * Dynamic PCM Frontend -> Backend link management states. */ enum snd_soc_dpcm_link_state { SND_SOC_DPCM_LINK_STATE_NEW = 0, /* newly created link */ SND_SOC_DPCM_LINK_STATE_FREE, /* link to be dismantled */ }; /* * Dynamic PCM Frontend -> Backend link PCM states. */ enum snd_soc_dpcm_state { SND_SOC_DPCM_STATE_NEW = 0, SND_SOC_DPCM_STATE_OPEN, SND_SOC_DPCM_STATE_HW_PARAMS, SND_SOC_DPCM_STATE_PREPARE, SND_SOC_DPCM_STATE_START, SND_SOC_DPCM_STATE_STOP, SND_SOC_DPCM_STATE_PAUSED, SND_SOC_DPCM_STATE_SUSPEND, SND_SOC_DPCM_STATE_HW_FREE, SND_SOC_DPCM_STATE_CLOSE, }; /* * Dynamic PCM trigger ordering. Triggering flexibility is required as some * DSPs require triggering before/after their CPU platform and DAIs. * * i.e. some clients may want to manually order this call in their PCM * trigger() whilst others will just use the regular core ordering. */ enum snd_soc_dpcm_trigger { SND_SOC_DPCM_TRIGGER_PRE = 0, SND_SOC_DPCM_TRIGGER_POST, SND_SOC_DPCM_TRIGGER_BESPOKE, }; /* * Dynamic PCM link * This links together a FE and BE DAI at runtime and stores the link * state information and the hw_params configuration. */ struct snd_soc_dpcm { /* FE and BE DAIs*/ struct snd_soc_pcm_runtime *be; struct snd_soc_pcm_runtime *fe; /* link state */ enum snd_soc_dpcm_link_state state; /* list of BE and FE for this DPCM link */ struct list_head list_be; struct list_head list_fe; #ifdef CONFIG_DEBUG_FS struct dentry *debugfs_state; #endif }; /* * Dynamic PCM runtime data. */ struct snd_soc_dpcm_runtime { struct list_head be_clients; struct list_head fe_clients; int users; struct snd_pcm_hw_params hw_params; /* state and update */ enum snd_soc_dpcm_update runtime_update; enum snd_soc_dpcm_state state; int trigger_pending; /* trigger cmd + 1 if pending, 0 if not */ int be_start; /* refcount protected by BE stream pcm lock */ int be_pause; /* refcount protected by BE stream pcm lock */ bool fe_pause; /* used to track STOP after PAUSE */ }; #define for_each_dpcm_fe(be, stream, _dpcm) \ list_for_each_entry(_dpcm, &(be)->dpcm[stream].fe_clients, list_fe) #define for_each_dpcm_be(fe, stream, _dpcm) \ list_for_each_entry(_dpcm, &(fe)->dpcm[stream].be_clients, list_be) #define for_each_dpcm_be_safe(fe, stream, _dpcm, __dpcm) \ list_for_each_entry_safe(_dpcm, __dpcm, &(fe)->dpcm[stream].be_clients, list_be) #define for_each_dpcm_be_rollback(fe, stream, _dpcm) \ list_for_each_entry_continue_reverse(_dpcm, &(fe)->dpcm[stream].be_clients, list_be) /* can this BE stop and free */ int snd_soc_dpcm_can_be_free_stop(struct snd_soc_pcm_runtime *fe, struct snd_soc_pcm_runtime *be, int stream); /* can this BE perform a hw_params() */ int snd_soc_dpcm_can_be_params(struct snd_soc_pcm_runtime *fe, struct snd_soc_pcm_runtime *be, int stream); /* can this BE perform prepare */ int snd_soc_dpcm_can_be_prepared(struct snd_soc_pcm_runtime *fe, struct snd_soc_pcm_runtime *be, int stream); /* is the current PCM operation for this FE ? */ int snd_soc_dpcm_fe_can_update(struct snd_soc_pcm_runtime *fe, int stream); /* is the current PCM operation for this BE ? */ int snd_soc_dpcm_be_can_update(struct snd_soc_pcm_runtime *fe, struct snd_soc_pcm_runtime *be, int stream); /* get the substream for this BE */ struct snd_pcm_substream * snd_soc_dpcm_get_substream(struct snd_soc_pcm_runtime *be, int stream); /* update audio routing between PCMs and any DAI links */ int snd_soc_dpcm_runtime_update(struct snd_soc_card *card); #ifdef CONFIG_DEBUG_FS void soc_dpcm_debugfs_add(struct snd_soc_pcm_runtime *rtd); #else static inline void soc_dpcm_debugfs_add(struct snd_soc_pcm_runtime *rtd) { } #endif int dpcm_path_get(struct snd_soc_pcm_runtime *fe, int stream, struct snd_soc_dapm_widget_list **list_); void dpcm_path_put(struct snd_soc_dapm_widget_list **list); int dpcm_process_paths(struct snd_soc_pcm_runtime *fe, int stream, struct snd_soc_dapm_widget_list **list, int new); int dpcm_be_dai_startup(struct snd_soc_pcm_runtime *fe, int stream); void dpcm_be_dai_stop(struct snd_soc_pcm_runtime *fe, int stream, int do_hw_free, struct snd_soc_dpcm *last); void dpcm_be_disconnect(struct snd_soc_pcm_runtime *fe, int stream); void dpcm_clear_pending_state(struct snd_soc_pcm_runtime *fe, int stream); void dpcm_be_dai_hw_free(struct snd_soc_pcm_runtime *fe, int stream); int dpcm_be_dai_hw_params(struct snd_soc_pcm_runtime *fe, int tream); int dpcm_be_dai_trigger(struct snd_soc_pcm_runtime *fe, int stream, int cmd); int dpcm_be_dai_prepare(struct snd_soc_pcm_runtime *fe, int stream); int dpcm_dapm_stream_event(struct snd_soc_pcm_runtime *fe, int dir, int event); bool dpcm_end_walk_at_be(struct snd_soc_dapm_widget *widget, enum snd_soc_dapm_direction dir); int widget_in_list(struct snd_soc_dapm_widget_list *list, struct snd_soc_dapm_widget *widget); #define dpcm_be_dai_startup_rollback(fe, stream, last) \ dpcm_be_dai_stop(fe, stream, 0, last) #define dpcm_be_dai_startup_unwind(fe, stream) dpcm_be_dai_stop(fe, stream, 0, NULL) #define dpcm_be_dai_shutdown(fe, stream) dpcm_be_dai_stop(fe, stream, 1, NULL) #endif