Skip to content
Navigation Menu
Toggle navigation
Sign in
In this repository
All GitHub Enterprise
↵
Jump to
↵
No suggested jump to results
In this repository
All GitHub Enterprise
↵
Jump to
↵
In this organization
All GitHub Enterprise
↵
Jump to
↵
In this repository
All GitHub Enterprise
↵
Jump to
↵
Sign in
Reseting focus
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
mariux64
/
linux
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Issues
1
Pull requests
0
Actions
Projects
0
Wiki
Security
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security
Insights
Files
bac4d82
Documentation
LICENSES
arch
block
certs
crypto
drivers
fs
include
init
io_uring
ipc
kernel
lib
mm
net
rust
samples
scripts
security
sound
ac97
aoa
arm
atmel
core
drivers
firewire
hda
i2c
isa
mips
oss
parisc
pci
pcmcia
ppc
sh
soc
adi
amd
apple
atmel
au1x
bcm
cirrus
codecs
dwc
fsl
generic
hisilicon
img
intel
atom
avs
boards
Makefile
apl.c
avs.h
board_selection.c
cldma.c
cldma.h
control.c
control.h
core.c
debugfs.c
dsp.c
ipc.c
loader.c
messages.c
messages.h
path.c
path.h
pcm.c
probes.c
registers.h
skl.c
topology.c
topology.h
trace.c
trace.h
utils.c
boards
catpt
common
keembay
skylake
Kconfig
Makefile
jz4740
kirkwood
mediatek
meson
mxs
pxa
qcom
rockchip
samsung
sh
sof
spear
sprd
sti
stm
sunxi
tegra
ti
uniphier
ux500
xilinx
xtensa
Kconfig
Makefile
soc-ac97.c
soc-acpi.c
soc-card.c
soc-component.c
soc-compress.c
soc-core.c
soc-dai.c
soc-dapm.c
soc-devres.c
soc-generic-dmaengine-pcm.c
soc-jack.c
soc-link.c
soc-ops.c
soc-pcm.c
soc-topology-test.c
soc-topology.c
soc-utils-test.c
soc-utils.c
sparc
spi
synth
usb
virtio
x86
xen
Kconfig
Makefile
ac97_bus.c
last.c
sound_core.c
tools
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
.rustfmt.toml
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile
README
Breadcrumbs
linux
/
sound
/
soc
/
intel
/
avs
/
path.h
Copy path
Blame
Blame
Latest commit
History
History
72 lines (60 loc) · 1.71 KB
Breadcrumbs
linux
/
sound
/
soc
/
intel
/
avs
/
path.h
Top
File metadata and controls
Code
Blame
72 lines (60 loc) · 1.71 KB
Raw
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright(c) 2021 Intel Corporation. All rights reserved. * * Authors: Cezary Rojewski <cezary.rojewski@intel.com> * Amadeusz Slawinski <amadeuszx.slawinski@linux.intel.com> */ #ifndef __SOUND_SOC_INTEL_AVS_PATH_H #define __SOUND_SOC_INTEL_AVS_PATH_H #include <linux/list.h> #include "avs.h" #include "topology.h" struct avs_path { u32 dma_id; struct list_head ppl_list; u32 state; struct avs_tplg_path *template; struct avs_dev *owner; /* device path management */ struct list_head node; }; struct avs_path_pipeline { u8 instance_id; struct list_head mod_list; struct list_head binding_list; struct avs_tplg_pipeline *template; struct avs_path *owner; /* path pipelines management */ struct list_head node; }; struct avs_path_module { u16 module_id; u8 instance_id; union avs_gtw_attributes gtw_attrs; struct avs_tplg_module *template; struct avs_path_pipeline *owner; /* pipeline modules management */ struct list_head node; }; struct avs_path_binding { struct avs_path_module *source; u8 source_pin; struct avs_path_module *sink; u8 sink_pin; struct avs_tplg_binding *template; struct avs_path_pipeline *owner; /* pipeline bindings management */ struct list_head node; }; void avs_path_free(struct avs_path *path); struct avs_path *avs_path_create(struct avs_dev *adev, u32 dma_id, struct avs_tplg_path_template *template, struct snd_pcm_hw_params *fe_params, struct snd_pcm_hw_params *be_params); int avs_path_bind(struct avs_path *path); int avs_path_unbind(struct avs_path *path); int avs_path_reset(struct avs_path *path); int avs_path_pause(struct avs_path *path); int avs_path_run(struct avs_path *path, int trigger); #endif
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
You can’t perform that action at this time.