Linux jobworks 6.8.0-136-generic #136-Ubuntu SMP PREEMPT_DYNAMIC Wed Jul 1 21:53:05 UTC 2026 x86_64
Apache/2.4.58 (Ubuntu)
Server IP : 10.0.1.5 & Your IP : 216.73.217.52
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
src /
linux-headers-6.8.0-136 /
include /
sound /
Delete
Unzip
Name
Size
Permission
Date
Action
ac97
[ DIR ]
drwxr-xr-x
2026-07-17 06:29
sof
[ DIR ]
drwxr-xr-x
2026-07-17 06:29
ac97_codec.h
15.8
KB
-rw-r--r--
2024-03-10 20:38
aci.h
2.4
KB
-rw-r--r--
2024-03-10 20:38
acp63_chip_offset_byte.h
29.75
KB
-rw-r--r--
2024-03-10 20:38
ad1816a.h
4.73
KB
-rw-r--r--
2024-03-10 20:38
ad1843.h
1.48
KB
-rw-r--r--
2024-03-10 20:38
adau1373.h
706
B
-rw-r--r--
2024-03-10 20:38
ak4113.h
10.22
KB
-rw-r--r--
2024-03-10 20:38
ak4114.h
9.54
KB
-rw-r--r--
2024-03-10 20:38
ak4117.h
8.34
KB
-rw-r--r--
2024-03-10 20:38
ak4531_codec.h
2.42
KB
-rw-r--r--
2024-03-10 20:38
ak4641.h
476
B
-rw-r--r--
2024-03-10 20:38
ak4xxx-adda.h
2.66
KB
-rw-r--r--
2024-03-10 20:38
alc5623.h
536
B
-rw-r--r--
2024-03-10 20:38
asequencer.h
3.06
KB
-rw-r--r--
2024-03-10 20:38
asound.h
590
B
-rw-r--r--
2024-03-10 20:38
asoundef.h
16.02
KB
-rw-r--r--
2024-03-10 20:38
compress_driver.h
7.8
KB
-rw-r--r--
2024-03-10 20:38
control.h
10.73
KB
-rw-r--r--
2024-03-10 20:38
core.h
15.78
KB
-rw-r--r--
2024-03-10 20:38
cs35l33.h
888
B
-rw-r--r--
2024-03-10 20:38
cs35l34.h
741
B
-rw-r--r--
2024-03-10 20:38
cs35l35.h
2.21
KB
-rw-r--r--
2024-03-10 20:38
cs35l36.h
772
B
-rw-r--r--
2024-03-10 20:38
cs35l41.h
34.14
KB
-rw-r--r--
2024-03-10 20:38
cs35l56.h
10.47
KB
-rw-r--r--
2026-07-01 19:48
cs4231-regs.h
7.6
KB
-rw-r--r--
2024-03-10 20:38
cs4271.h
906
B
-rw-r--r--
2024-03-10 20:38
cs42l42.h
34.51
KB
-rw-r--r--
2024-03-10 20:38
cs42l43.h
385
B
-rw-r--r--
2024-03-10 20:38
cs42l52.h
592
B
-rw-r--r--
2024-03-10 20:38
cs42l56.h
1.02
KB
-rw-r--r--
2024-03-10 20:38
cs42l73.h
361
B
-rw-r--r--
2024-03-10 20:38
cs8403.h
7.95
KB
-rw-r--r--
2024-03-10 20:38
cs8427.h
9.72
KB
-rw-r--r--
2024-03-10 20:38
da7213.h
1.01
KB
-rw-r--r--
2024-03-10 20:38
da7218.h
2.41
KB
-rw-r--r--
2024-03-10 20:38
da7219-aad.h
2.37
KB
-rw-r--r--
2024-03-10 20:38
da7219.h
998
B
-rw-r--r--
2024-03-10 20:38
da9055.h
707
B
-rw-r--r--
2024-03-10 20:38
designware_i2s.h
1.66
KB
-rw-r--r--
2024-03-10 20:38
dmaengine_pcm.h
6.7
KB
-rw-r--r--
2026-07-01 19:48
emu10k1.h
93.94
KB
-rw-r--r--
2026-07-01 19:48
emu10k1_synth.h
693
B
-rw-r--r--
2024-03-10 20:38
emu8000.h
3.25
KB
-rw-r--r--
2024-03-10 20:38
emu8000_reg.h
9.54
KB
-rw-r--r--
2024-03-10 20:38
emux_legacy.h
4.7
KB
-rw-r--r--
2024-03-10 20:38
emux_synth.h
6.78
KB
-rw-r--r--
2024-03-10 20:38
es1688.h
2.85
KB
-rw-r--r--
2024-03-10 20:38
graph_card.h
1.04
KB
-rw-r--r--
2024-03-10 20:38
gus.h
19.65
KB
-rw-r--r--
2024-03-10 20:38
hda-mlink.h
6.13
KB
-rw-r--r--
2024-03-10 20:38
hda_chmap.h
2.6
KB
-rw-r--r--
2024-03-10 20:38
hda_codec.h
17.75
KB
-rw-r--r--
2026-07-01 19:48
hda_component.h
2.04
KB
-rw-r--r--
2024-03-10 20:38
hda_hwdep.h
736
B
-rw-r--r--
2024-03-10 20:38
hda_i915.h
589
B
-rw-r--r--
2024-03-10 20:38
hda_register.h
11.93
KB
-rw-r--r--
2024-03-10 20:38
hda_regmap.h
6.77
KB
-rw-r--r--
2024-03-10 20:38
hda_verbs.h
16.88
KB
-rw-r--r--
2024-03-10 20:38
hdaudio.h
24.4
KB
-rw-r--r--
2024-03-10 20:38
hdaudio_ext.h
4.59
KB
-rw-r--r--
2026-07-01 19:48
hdmi-codec.h
3.04
KB
-rw-r--r--
2024-03-10 20:38
hwdep.h
1.88
KB
-rw-r--r--
2024-03-10 20:38
i2c.h
2.79
KB
-rw-r--r--
2024-03-10 20:38
info.h
7.75
KB
-rw-r--r--
2024-03-10 20:38
initval.h
2.43
KB
-rw-r--r--
2024-03-10 20:38
intel-dsp-config.h
896
B
-rw-r--r--
2024-03-10 20:38
intel-nhlt.h
3.75
KB
-rw-r--r--
2024-03-10 20:38
jack.h
3.1
KB
-rw-r--r--
2024-03-10 20:38
madera-pdata.h
1.95
KB
-rw-r--r--
2024-03-10 20:38
max9768.h
544
B
-rw-r--r--
2024-03-10 20:38
max98088.h
1.05
KB
-rw-r--r--
2024-03-10 20:38
max98090.h
534
B
-rw-r--r--
2024-03-10 20:38
max98095.h
1.33
KB
-rw-r--r--
2024-03-10 20:38
memalloc.h
3.79
KB
-rw-r--r--
2024-03-10 20:38
minors.h
3.65
KB
-rw-r--r--
2024-03-10 20:38
mixer_oss.h
1.73
KB
-rw-r--r--
2024-03-10 20:38
mpu401.h
3.81
KB
-rw-r--r--
2024-03-10 20:38
omap-hdmi-audio.h
971
B
-rw-r--r--
2024-03-10 20:38
opl3.h
11.62
KB
-rw-r--r--
2024-03-10 20:38
opl4.h
459
B
-rw-r--r--
2024-03-10 20:38
pcm-indirect.h
5.18
KB
-rw-r--r--
2024-03-10 20:38
pcm.h
54.31
KB
-rw-r--r--
2026-07-01 19:48
pcm_drm_eld.h
183
B
-rw-r--r--
2024-03-10 20:38
pcm_iec958.h
597
B
-rw-r--r--
2024-03-10 20:38
pcm_oss.h
2.01
KB
-rw-r--r--
2024-03-10 20:38
pcm_params.h
8.72
KB
-rw-r--r--
2024-03-10 20:38
pt2258.h
513
B
-rw-r--r--
2024-03-10 20:38
pxa2xx-lib.h
2.25
KB
-rw-r--r--
2024-03-10 20:38
rawmidi.h
6.01
KB
-rw-r--r--
2024-03-10 20:38
rt1015.h
283
B
-rw-r--r--
2024-03-10 20:38
rt286.h
314
B
-rw-r--r--
2024-03-10 20:38
rt298.h
373
B
-rw-r--r--
2024-03-10 20:38
rt5514.h
399
B
-rw-r--r--
2024-03-10 20:38
rt5659.h
880
B
-rw-r--r--
2024-03-10 20:38
rt5660.h
578
B
-rw-r--r--
2024-03-10 20:38
rt5663.h
476
B
-rw-r--r--
2024-03-10 20:38
rt5665.h
723
B
-rw-r--r--
2024-03-10 20:38
rt5668.h
607
B
-rw-r--r--
2024-03-10 20:38
rt5682.h
862
B
-rw-r--r--
2024-03-10 20:38
rt5682s.h
1.01
KB
-rw-r--r--
2024-03-10 20:38
sb.h
10.3
KB
-rw-r--r--
2024-03-10 20:38
sb16_csp.h
2.05
KB
-rw-r--r--
2024-03-10 20:38
sdw.h
1.63
KB
-rw-r--r--
2024-03-10 20:38
seq_device.h
2.16
KB
-rw-r--r--
2024-03-10 20:38
seq_kernel.h
3.66
KB
-rw-r--r--
2024-03-10 20:38
seq_midi_emul.h
6.6
KB
-rw-r--r--
2024-03-10 20:38
seq_midi_event.h
1.32
KB
-rw-r--r--
2024-03-10 20:38
seq_oss.h
2.21
KB
-rw-r--r--
2024-03-10 20:38
seq_oss_legacy.h
360
B
-rw-r--r--
2024-03-10 20:38
seq_virmidi.h
2.07
KB
-rw-r--r--
2024-03-10 20:38
sh_dac_audio.h
441
B
-rw-r--r--
2024-03-10 20:38
sh_fsi.h
693
B
-rw-r--r--
2024-03-10 20:38
simple_card.h
524
B
-rw-r--r--
2024-03-10 20:38
simple_card_utils.h
8.69
KB
-rw-r--r--
2024-03-10 20:38
snd_wavefront.h
5.49
KB
-rw-r--r--
2026-07-01 19:48
soc-acpi-intel-match.h
2.5
KB
-rw-r--r--
2024-03-10 20:38
soc-acpi.h
7.01
KB
-rw-r--r--
2024-03-10 20:38
soc-card.h
3.56
KB
-rw-r--r--
2024-03-10 20:38
soc-component.h
20.11
KB
-rw-r--r--
2024-03-10 20:38
soc-dai.h
20.75
KB
-rw-r--r--
2024-03-10 20:38
soc-dapm.h
33.45
KB
-rw-r--r--
2024-03-10 20:38
soc-dpcm.h
5.56
KB
-rw-r--r--
2024-03-10 20:38
soc-jack.h
3.73
KB
-rw-r--r--
2024-03-10 20:38
soc-link.h
1.14
KB
-rw-r--r--
2024-03-10 20:38
soc-topology.h
5.74
KB
-rw-r--r--
2024-03-10 20:38
soc.h
53.84
KB
-rw-r--r--
2026-07-01 19:48
sof.h
4.54
KB
-rw-r--r--
2024-03-10 20:38
soundfont.h
3.81
KB
-rw-r--r--
2024-03-10 20:38
spear_dma.h
350
B
-rw-r--r--
2024-03-10 20:38
spear_spdif.h
345
B
-rw-r--r--
2024-03-10 20:38
sta32x.h
1015
B
-rw-r--r--
2024-03-10 20:38
sta350.h
1.44
KB
-rw-r--r--
2024-03-10 20:38
tas2552-plat.h
283
B
-rw-r--r--
2024-03-10 20:38
tas2781-dsp.h
4.85
KB
-rw-r--r--
2026-07-01 19:48
tas2781-tlv.h
579
B
-rw-r--r--
2026-07-01 19:48
tas2781.h
5.27
KB
-rw-r--r--
2026-07-01 19:48
tas5086.h
210
B
-rw-r--r--
2024-03-10 20:38
tea6330t.h
468
B
-rw-r--r--
2024-03-10 20:38
timer.h
4.99
KB
-rw-r--r--
2024-03-10 20:38
tlv.h
1.59
KB
-rw-r--r--
2024-03-10 20:38
tlv320aic32x4.h
1.29
KB
-rw-r--r--
2024-03-10 20:38
tlv320dac33-plat.h
574
B
-rw-r--r--
2024-03-10 20:38
tpa6130a2-plat.h
291
B
-rw-r--r--
2024-03-10 20:38
uda1380.h
335
B
-rw-r--r--
2024-03-10 20:38
ump.h
8.14
KB
-rw-r--r--
2026-07-01 19:48
ump_convert.h
1.25
KB
-rw-r--r--
2026-07-01 19:48
ump_msg.h
13.81
KB
-rw-r--r--
2026-07-01 19:48
util_mem.h
1.58
KB
-rw-r--r--
2024-03-10 20:38
vx_core.h
14.7
KB
-rw-r--r--
2024-03-10 20:38
wavefront.h
16.32
KB
-rw-r--r--
2024-03-10 20:38
wm0010.h
321
B
-rw-r--r--
2024-03-10 20:38
wm2000.h
479
B
-rw-r--r--
2024-03-10 20:38
wm2200.h
1.21
KB
-rw-r--r--
2024-03-10 20:38
wm5100.h
935
B
-rw-r--r--
2024-03-10 20:38
wm8903.h
15.02
KB
-rw-r--r--
2024-03-10 20:38
wm8904.h
7.22
KB
-rw-r--r--
2024-03-10 20:38
wm8955.h
442
B
-rw-r--r--
2024-03-10 20:38
wm8960.h
888
B
-rw-r--r--
2024-03-10 20:38
wm8962.h
1.65
KB
-rw-r--r--
2024-03-10 20:38
wm8993.h
1.05
KB
-rw-r--r--
2024-03-10 20:38
wm8996.h
1.19
KB
-rw-r--r--
2024-03-10 20:38
wm9081.h
515
B
-rw-r--r--
2024-03-10 20:38
wm9090.h
634
B
-rw-r--r--
2024-03-10 20:38
wss.h
7.76
KB
-rw-r--r--
2024-03-10 20:38
Save
Rename
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Common definitions for Cirrus Logic CS35L56 smart amp * * Copyright (C) 2023 Cirrus Logic, Inc. and * Cirrus Logic International Semiconductor Ltd. */ #ifndef __CS35L56_H #define __CS35L56_H #include <linux/firmware/cirrus/cs_dsp.h> #include <linux/regulator/consumer.h> #include <linux/regmap.h> #define CS35L56_DEVID 0x0000000 #define CS35L56_REVID 0x0000004 #define CS35L56_RELID 0x000000C #define CS35L56_OTPID 0x0000010 #define CS35L56_SFT_RESET 0x0000020 #define CS35L56_GLOBAL_ENABLES 0x0002014 #define CS35L56_BLOCK_ENABLES 0x0002018 #define CS35L56_BLOCK_ENABLES2 0x000201C #define CS35L56_REFCLK_INPUT 0x0002C04 #define CS35L56_GLOBAL_SAMPLE_RATE 0x0002C0C #define CS35L56_ASP1_ENABLES1 0x0004800 #define CS35L56_ASP1_CONTROL1 0x0004804 #define CS35L56_ASP1_CONTROL2 0x0004808 #define CS35L56_ASP1_CONTROL3 0x000480C #define CS35L56_ASP1_FRAME_CONTROL1 0x0004810 #define CS35L56_ASP1_FRAME_CONTROL5 0x0004820 #define CS35L56_ASP1_DATA_CONTROL1 0x0004830 #define CS35L56_ASP1_DATA_CONTROL5 0x0004840 #define CS35L56_DACPCM1_INPUT 0x0004C00 #define CS35L56_DACPCM2_INPUT 0x0004C08 #define CS35L56_ASP1TX1_INPUT 0x0004C20 #define CS35L56_ASP1TX2_INPUT 0x0004C24 #define CS35L56_ASP1TX3_INPUT 0x0004C28 #define CS35L56_ASP1TX4_INPUT 0x0004C2C #define CS35L56_DSP1RX1_INPUT 0x0004C40 #define CS35L56_DSP1RX2_INPUT 0x0004C44 #define CS35L56_SWIRE_DP3_CH1_INPUT 0x0004C70 #define CS35L56_SWIRE_DP3_CH2_INPUT 0x0004C74 #define CS35L56_SWIRE_DP3_CH3_INPUT 0x0004C78 #define CS35L56_SWIRE_DP3_CH4_INPUT 0x0004C7C #define CS35L56_IRQ1_CFG 0x000E000 #define CS35L56_IRQ1_STATUS 0x000E004 #define CS35L56_IRQ1_EINT_1 0x000E010 #define CS35L56_IRQ1_EINT_2 0x000E014 #define CS35L56_IRQ1_EINT_4 0x000E01C #define CS35L56_IRQ1_EINT_8 0x000E02C #define CS35L56_IRQ1_EINT_18 0x000E054 #define CS35L56_IRQ1_EINT_20 0x000E05C #define CS35L56_IRQ1_MASK_1 0x000E090 #define CS35L56_IRQ1_MASK_2 0x000E094 #define CS35L56_IRQ1_MASK_4 0x000E09C #define CS35L56_IRQ1_MASK_8 0x000E0AC #define CS35L56_IRQ1_MASK_18 0x000E0D4 #define CS35L56_IRQ1_MASK_20 0x000E0DC #define CS35L56_DSP_VIRTUAL1_MBOX_1 0x0011020 #define CS35L56_DSP_VIRTUAL1_MBOX_2 0x0011024 #define CS35L56_DSP_VIRTUAL1_MBOX_3 0x0011028 #define CS35L56_DSP_VIRTUAL1_MBOX_4 0x001102C #define CS35L56_DSP_VIRTUAL1_MBOX_5 0x0011030 #define CS35L56_DSP_VIRTUAL1_MBOX_6 0x0011034 #define CS35L56_DSP_VIRTUAL1_MBOX_7 0x0011038 #define CS35L56_DSP_VIRTUAL1_MBOX_8 0x001103C #define CS35L56_DSP_RESTRICT_STS1 0x00190F0 #define CS35L56_DSP1_XMEM_PACKED_0 0x2000000 #define CS35L56_DSP1_XMEM_PACKED_6143 0x2005FFC #define CS35L56_DSP1_XMEM_UNPACKED32_0 0x2400000 #define CS35L56_DSP1_XMEM_UNPACKED32_4095 0x2403FFC #define CS35L56_DSP1_SYS_INFO_ID 0x25E0000 #define CS35L56_DSP1_SYS_INFO_END 0x25E004C #define CS35L56_DSP1_AHBM_WINDOW_DEBUG_0 0x25E2040 #define CS35L56_DSP1_AHBM_WINDOW_DEBUG_1 0x25E2044 #define CS35L56_DSP1_XMEM_UNPACKED24_0 0x2800000 #define CS35L56_DSP1_FW_VER 0x2800010 #define CS35L56_DSP1_HALO_STATE_A1 0x2801E58 #define CS35L56_DSP1_HALO_STATE 0x28021E0 #define CS35L56_DSP1_PM_CUR_STATE_A1 0x2804000 #define CS35L56_DSP1_PM_CUR_STATE 0x2804308 #define CS35L56_DSP1_XMEM_UNPACKED24_8191 0x2807FFC #define CS35L56_DSP1_CORE_BASE 0x2B80000 #define CS35L56_DSP1_SCRATCH1 0x2B805C0 #define CS35L56_DSP1_SCRATCH2 0x2B805C8 #define CS35L56_DSP1_SCRATCH3 0x2B805D0 #define CS35L56_DSP1_SCRATCH4 0x2B805D8 #define CS35L56_DSP1_YMEM_PACKED_0 0x2C00000 #define CS35L56_DSP1_YMEM_PACKED_4604 0x2C047F0 #define CS35L56_DSP1_YMEM_UNPACKED32_0 0x3000000 #define CS35L56_DSP1_YMEM_UNPACKED32_3070 0x3002FF8 #define CS35L56_DSP1_YMEM_UNPACKED24_0 0x3400000 #define CS35L56_MAIN_RENDER_USER_MUTE 0x3400024 #define CS35L56_MAIN_RENDER_USER_VOLUME 0x340002C #define CS35L56_MAIN_POSTURE_NUMBER 0x3400094 #define CS35L56_PROTECTION_STATUS 0x34000D8 #define CS35L56_TRANSDUCER_ACTUAL_PS 0x3400150 #define CS35L56_DSP1_YMEM_UNPACKED24_6141 0x3405FF4 #define CS35L56_DSP1_PMEM_0 0x3800000 #define CS35L56_DSP1_PMEM_5114 0x3804FE8 /* DEVID */ #define CS35L56_DEVID_MASK 0x00FFFFFF /* REVID */ #define CS35L56_AREVID_MASK 0x000000F0 #define CS35L56_MTLREVID_MASK 0x0000000F #define CS35L56_REVID_B0 0x000000B0 /* ASP_ENABLES1 */ #define CS35L56_ASP_RX2_EN_SHIFT 17 #define CS35L56_ASP_RX1_EN_SHIFT 16 #define CS35L56_ASP_TX4_EN_SHIFT 3 #define CS35L56_ASP_TX3_EN_SHIFT 2 #define CS35L56_ASP_TX2_EN_SHIFT 1 #define CS35L56_ASP_TX1_EN_SHIFT 0 /* ASP_CONTROL1 */ #define CS35L56_ASP_BCLK_FREQ_MASK 0x0000003F #define CS35L56_ASP_BCLK_FREQ_SHIFT 0 /* ASP_CONTROL2 */ #define CS35L56_ASP_RX_WIDTH_MASK 0xFF000000 #define CS35L56_ASP_RX_WIDTH_SHIFT 24 #define CS35L56_ASP_TX_WIDTH_MASK 0x00FF0000 #define CS35L56_ASP_TX_WIDTH_SHIFT 16 #define CS35L56_ASP_FMT_MASK 0x00000700 #define CS35L56_ASP_FMT_SHIFT 8 #define CS35L56_ASP_BCLK_INV_MASK 0x00000040 #define CS35L56_ASP_FSYNC_INV_MASK 0x00000004 /* ASP_CONTROL3 */ #define CS35L56_ASP1_DOUT_HIZ_CTRL_MASK 0x00000003 /* ASP_DATA_CONTROL1 */ #define CS35L56_ASP_TX_WL_MASK 0x0000003F /* ASP_DATA_CONTROL5 */ #define CS35L56_ASP_RX_WL_MASK 0x0000003F /* ASPTXn_INPUT */ #define CS35L56_ASP_TXn_SRC_MASK 0x0000007F /* SWIRETX[1..7]_SRC SDWTXn INPUT */ #define CS35L56_SWIRETXn_SRC_MASK 0x0000007F /* IRQ1_STATUS */ #define CS35L56_IRQ1_STS_MASK 0x00000001 /* IRQ1_EINT_1 */ #define CS35L56_AMP_SHORT_ERR_EINT1_MASK 0x80000000 /* IRQ1_EINT_2 */ #define CS35L56_DSP_VIRTUAL2_MBOX_WR_EINT1_MASK 0x00200000 /* IRQ1_EINT_4 */ #define CS35L56_OTP_BOOT_DONE_MASK 0x00000002 /* IRQ1_EINT_8 */ #define CS35L56_TEMP_ERR_EINT1_MASK 0x80000000 /* Mixer input sources */ #define CS35L56_INPUT_SRC_NONE 0x00 #define CS35L56_INPUT_SRC_ASP1RX1 0x08 #define CS35L56_INPUT_SRC_ASP1RX2 0x09 #define CS35L56_INPUT_SRC_VMON 0x18 #define CS35L56_INPUT_SRC_IMON 0x19 #define CS35L56_INPUT_SRC_ERR_VOL 0x20 #define CS35L56_INPUT_SRC_CLASSH 0x21 #define CS35L56_INPUT_SRC_VDDBMON 0x28 #define CS35L56_INPUT_SRC_VBSTMON 0x29 #define CS35L56_INPUT_SRC_DSP1TX1 0x32 #define CS35L56_INPUT_SRC_DSP1TX2 0x33 #define CS35L56_INPUT_SRC_DSP1TX3 0x34 #define CS35L56_INPUT_SRC_DSP1TX4 0x35 #define CS35L56_INPUT_SRC_DSP1TX5 0x36 #define CS35L56_INPUT_SRC_DSP1TX6 0x37 #define CS35L56_INPUT_SRC_DSP1TX7 0x38 #define CS35L56_INPUT_SRC_DSP1TX8 0x39 #define CS35L56_INPUT_SRC_TEMPMON 0x3A #define CS35L56_INPUT_SRC_INTERPOLATOR 0x40 #define CS35L56_INPUT_SRC_SWIRE_DP1_CHANNEL1 0x44 #define CS35L56_INPUT_SRC_SWIRE_DP1_CHANNEL2 0x45 #define CS35L56_INPUT_MASK 0x7F #define CS35L56_NUM_INPUT_SRC 21 /* ASP formats */ #define CS35L56_ASP_FMT_DSP_A 0 #define CS35L56_ASP_FMT_I2S 2 /* ASP HiZ modes */ #define CS35L56_ASP_UNUSED_HIZ_OFF_HIZ 3 /* MAIN_RENDER_ACTUAL_PS */ #define CS35L56_PS0 0 #define CS35L56_PS3 3 /* CS35L56_DSP_RESTRICT_STS1 */ #define CS35L56_RESTRICTED_MASK 0x7 /* CS35L56_MAIN_RENDER_USER_MUTE */ #define CS35L56_MAIN_RENDER_USER_MUTE_MASK 1 /* CS35L56_MAIN_RENDER_USER_VOLUME */ #define CS35L56_MAIN_RENDER_USER_VOLUME_MIN -400 #define CS35L56_MAIN_RENDER_USER_VOLUME_MAX 400 #define CS35L56_MAIN_RENDER_USER_VOLUME_MASK 0x0000FFC0 #define CS35L56_MAIN_RENDER_USER_VOLUME_SHIFT 6 #define CS35L56_MAIN_RENDER_USER_VOLUME_SIGNBIT 9 /* CS35L56_MAIN_POSTURE_NUMBER */ #define CS35L56_MAIN_POSTURE_MIN 0 #define CS35L56_MAIN_POSTURE_MAX 255 #define CS35L56_MAIN_POSTURE_MASK CS35L56_MAIN_POSTURE_MAX /* CS35L56_PROTECTION_STATUS */ #define CS35L56_FIRMWARE_MISSING BIT(0) /* Software Values */ #define CS35L56_HALO_STATE_SHUTDOWN 1 #define CS35L56_HALO_STATE_BOOT_DONE 2 #define CS35L56_MBOX_CMD_AUDIO_PLAY 0x0B000001 #define CS35L56_MBOX_CMD_AUDIO_PAUSE 0x0B000002 #define CS35L56_MBOX_CMD_AUDIO_REINIT 0x0B000003 #define CS35L56_MBOX_CMD_HIBERNATE_NOW 0x02000001 #define CS35L56_MBOX_CMD_WAKEUP 0x02000002 #define CS35L56_MBOX_CMD_PREVENT_AUTO_HIBERNATE 0x02000003 #define CS35L56_MBOX_CMD_ALLOW_AUTO_HIBERNATE 0x02000004 #define CS35L56_MBOX_CMD_SHUTDOWN 0x02000005 #define CS35L56_MBOX_CMD_SYSTEM_RESET 0x02000007 #define CS35L56_MBOX_TIMEOUT_US 5000 #define CS35L56_MBOX_POLL_US 250 #define CS35L56_PS0_POLL_US 500 #define CS35L56_PS0_TIMEOUT_US 50000 #define CS35L56_PS3_POLL_US 500 #define CS35L56_PS3_TIMEOUT_US 300000 #define CS35L56_CONTROL_PORT_READY_US 2200 #define CS35L56_HALO_STATE_POLL_US 1000 #define CS35L56_HALO_STATE_TIMEOUT_US 250000 #define CS35L56_RESET_PULSE_MIN_US 1100 #define CS35L56_WAKE_HOLD_TIME_US 1000 #define CS35L56_SDW1_PLAYBACK_PORT 1 #define CS35L56_SDW1_CAPTURE_PORT 3 #define CS35L56_NUM_BULK_SUPPLIES 3 #define CS35L56_NUM_DSP_REGIONS 5 struct cs35l56_base { struct device *dev; struct regmap *regmap; int irq; struct mutex irq_lock; u8 rev; bool init_done; bool fw_patched; bool secured; bool can_hibernate; struct gpio_desc *reset_gpio; }; extern struct regmap_config cs35l56_regmap_i2c; extern struct regmap_config cs35l56_regmap_spi; extern struct regmap_config cs35l56_regmap_sdw; extern const char * const cs35l56_tx_input_texts[CS35L56_NUM_INPUT_SRC]; extern const unsigned int cs35l56_tx_input_values[CS35L56_NUM_INPUT_SRC]; int cs35l56_set_patch(struct cs35l56_base *cs35l56_base); int cs35l56_mbox_send(struct cs35l56_base *cs35l56_base, unsigned int command); int cs35l56_firmware_shutdown(struct cs35l56_base *cs35l56_base); int cs35l56_wait_for_firmware_boot(struct cs35l56_base *cs35l56_base); void cs35l56_wait_control_port_ready(void); void cs35l56_wait_min_reset_pulse(void); void cs35l56_system_reset(struct cs35l56_base *cs35l56_base, bool is_soundwire); int cs35l56_irq_request(struct cs35l56_base *cs35l56_base, int irq); irqreturn_t cs35l56_irq(int irq, void *data); int cs35l56_is_fw_reload_needed(struct cs35l56_base *cs35l56_base); int cs35l56_runtime_suspend_common(struct cs35l56_base *cs35l56_base); int cs35l56_runtime_resume_common(struct cs35l56_base *cs35l56_base, bool is_soundwire); void cs35l56_init_cs_dsp(struct cs35l56_base *cs35l56_base, struct cs_dsp *cs_dsp); int cs35l56_read_prot_status(struct cs35l56_base *cs35l56_base, bool *fw_missing, unsigned int *fw_version); int cs35l56_hw_init(struct cs35l56_base *cs35l56_base); int cs35l56_get_speaker_id(struct cs35l56_base *cs35l56_base); int cs35l56_get_bclk_freq_id(unsigned int freq); void cs35l56_fill_supply_names(struct regulator_bulk_data *data); #endif /* ifndef __CS35L56_H */