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
2
Pull requests
0
Actions
Projects
0
Wiki
Security
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security
Insights
Files
cb515f1
Documentation
LICENSES
arch
block
certs
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
ac97
aoa
arm
atmel
core
drivers
firewire
hda
i2c
isa
mips
oss
parisc
pci
pcmcia
ppc
sh
soc
adi
amd
atmel
au1x
bcm
cirrus
codecs
dwc
fsl
generic
hisilicon
img
intel
jz4740
kirkwood
mediatek
meson
mxs
pxa
qcom
rockchip
samsung
sh
sof
amd
imx
intel
Kconfig
Makefile
apl.c
atom.c
atom.h
bdw.c
byt.c
cnl.c
ext_manifest.h
hda-bus.c
hda-codec.c
hda-ctrl.c
hda-dai.c
hda-dsp.c
hda-ipc.c
hda-ipc.h
hda-loader.c
hda-pcm.c
hda-probes.c
hda-stream.c
hda-trace.c
hda.c
hda.h
icl.c
pci-apl.c
pci-cnl.c
pci-icl.c
pci-tgl.c
pci-tng.c
shim.h
tgl.c
mediatek
xtensa
Kconfig
Makefile
compress.c
control.c
core.c
debug.c
ipc.c
loader.c
nocodec.c
ops.c
ops.h
pcm.c
pm.c
sof-acpi-dev.c
sof-acpi-dev.h
sof-audio.c
sof-audio.h
sof-of-dev.c
sof-of-dev.h
sof-pci-dev.c
sof-pci-dev.h
sof-priv.h
sof-probes.c
sof-probes.h
stream-ipc.c
topology.c
trace.c
utils.c
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.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
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile
README
Breadcrumbs
linux
/
sound
/
soc
/
sof
/
intel
/
atom.h
Blame
Blame
Latest commit
History
History
74 lines (59 loc) · 1.93 KB
Breadcrumbs
linux
/
sound
/
soc
/
sof
/
intel
/
atom.h
Top
File metadata and controls
Code
Blame
74 lines (59 loc) · 1.93 KB
Raw
/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ /* * This file is provided under a dual BSD/GPLv2 license. When using or * redistributing this file, you may do so under either license. * * Copyright(c) 2017-2021 Intel Corporation. All rights reserved. * * Author: Liam Girdwood <liam.r.girdwood@linux.intel.com> */ #ifndef __SOF_INTEL_ATOM_H #define __SOF_INTEL_ATOM_H /* DSP memories */ #define IRAM_OFFSET 0x0C0000 #define IRAM_SIZE (80 * 1024) #define DRAM_OFFSET 0x100000 #define DRAM_SIZE (160 * 1024) #define SHIM_OFFSET 0x140000 #define SHIM_SIZE_BYT 0x100 #define SHIM_SIZE_CHT 0x118 #define MBOX_OFFSET 0x144000 #define MBOX_SIZE 0x1000 #define EXCEPT_OFFSET 0x800 #define EXCEPT_MAX_HDR_SIZE 0x400 /* DSP peripherals */ #define DMAC0_OFFSET 0x098000 #define DMAC1_OFFSET 0x09c000 #define DMAC2_OFFSET 0x094000 #define DMAC_SIZE 0x420 #define SSP0_OFFSET 0x0a0000 #define SSP1_OFFSET 0x0a1000 #define SSP2_OFFSET 0x0a2000 #define SSP3_OFFSET 0x0a4000 #define SSP4_OFFSET 0x0a5000 #define SSP5_OFFSET 0x0a6000 #define SSP_SIZE 0x100 #define STACK_DUMP_SIZE 32 #define PCI_BAR_SIZE 0x200000 #define PANIC_OFFSET(x) (((x) & GENMASK_ULL(47, 32)) >> 32) /* * Debug */ #define MBOX_DUMP_SIZE 0x30 /* BARs */ #define DSP_BAR 0 #define PCI_BAR 1 #define IMR_BAR 2 irqreturn_t atom_irq_handler(int irq, void *context); irqreturn_t atom_irq_thread(int irq, void *context); int atom_send_msg(struct snd_sof_dev *sdev, struct snd_sof_ipc_msg *msg); int atom_get_mailbox_offset(struct snd_sof_dev *sdev); int atom_get_window_offset(struct snd_sof_dev *sdev, u32 id); int atom_run(struct snd_sof_dev *sdev); int atom_reset(struct snd_sof_dev *sdev); void atom_dump(struct snd_sof_dev *sdev, u32 flags); struct snd_soc_acpi_mach *atom_machine_select(struct snd_sof_dev *sdev); void atom_set_mach_params(struct snd_soc_acpi_mach *mach, struct snd_sof_dev *sdev); extern struct snd_soc_dai_driver atom_dai[]; #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
73
74
You can’t perform that action at this time.